mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Twin Prime Search

Reply
 
Thread Tools
Old 2020-04-09, 11:51   #1
hunson
 
Feb 2020
Germany

100002 Posts
Default Queestion about twinsieve

Hey,


I am experimenting a bit with twinsieve.exe.
I tried the following command: twinsieve.exe -k 1 -K 100000000 -b 2 -n 268768 -P 1e14 -W 12
After a while I got this this error message.

Quote:
p=6057931104593, 53.01M p/sec, 99902590 factors found at 3.15 sec per factor, 6.1% done. ETC 2020-04-10 04:47
Fatal Error: Something is wrong. Counted terms (96257) != expected terms (97304)
Can someone please explain to me what I did wrong ? Sieving for -k 1 -K 10000000 -P 1e12 for the same base resulted in no error.


Thanks in advance.
hunson is offline   Reply With Quote
Old 2020-04-09, 12:52   #2
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·1,931 Posts
Default

Quote:
Originally Posted by hunson View Post
I am experimenting a bit with twinsieve.exe.
I tried the following command: twinsieve.exe -k 1 -K 100000000 -b 2 -n 268768 -P 1e14 -W 12
After a while I got this this error message.

Can someone please explain to me what I did wrong ? Sieving for -k 1 -K 10000000 -P 1e12 for the same base resulted in no error.
Which version and build date? I will have to take a look.
rogue is offline   Reply With Quote
Old 2020-04-09, 13:41   #3
hunson
 
Feb 2020
Germany

24 Posts
Default

Hey,


twinsieve is from the mtsieve-framework version 1.9.5, version 1.2.
Sorry can't find the build date.


My machine:
Win10-64bit
AMD Ryzen 3600 (6 cores, 12 threads)

16 GB RAM




Thanks for helping out.
hunson is offline   Reply With Quote
Old 2020-04-12, 13:55   #4
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

22·3·107 Posts
Default

Quote:
Originally Posted by hunson View Post
Hey,


twinsieve is from the mtsieve-framework version 1.9.5, version 1.2.
Sorry can't find the build date.


My machine:
Win10-64bit
AMD Ryzen 3600 (6 cores, 12 threads)

16 GB RAM




Thanks for helping out.
Old bug you must use start point that is not even
pepi37 is online now   Reply With Quote
Old 2020-04-12, 15:38   #5
hunson
 
Feb 2020
Germany

24 Posts
Default

What start point do you mean ? In my case k is not even and works for smaller ranges (1-10.000.000).
hunson is offline   Reply With Quote
Old 2020-04-12, 16:42   #6
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

16A116 Posts
Default

Quote:
Originally Posted by hunson View Post
twinsieve is from the mtsieve-framework version 1.9.5, version 1.2.
Try 1.9.6 (assuming I posted it). I fixed a patch when using multiple threads. I haven't had time to try to reproduce this.

Note that for twinsieve, it might be difficult to get maximum utilization from multiple threads due to how fast it goes thru a chunk of work.

Last fiddled with by LaurV on 2020-04-13 at 02:50 Reason: fixed quote tag
rogue is offline   Reply With Quote
Old 2020-04-12, 20:37   #7
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

132418 Posts
Default

I ran a test with 1.9.6 framework. No issues. This means that either the bug has been fixed or I don't have the right conditions for reproducing it.
rogue is offline   Reply With Quote
Old 2020-04-12, 22:39   #8
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

24048 Posts
Default

Quote:
Originally Posted by rogue View Post
I ran a test with 1.9.6 framework. No issues. This means that either the bug has been fixed or I don't have the right conditions for reproducing it.

I cannot find 1.9.6


e:\MTSIEVE\mtsieve1957\twin>twinsieve -P10000000000 -W6 -k 6 -K 990000000 -n 50000 -b10 -fN -r -o twinb10.txt
twinsieve v1.2, a program to find factors of k*b^n+1/-1 numbers for fixed b and n and variable k
Sieve started: 1 < p < 1e10 with 890999995 terms (6 < k < 990000000, k*10^50000) (expecting 864178223 factors)
Sieve completed at p=10000000019.
Processor time: 104.38 sec. (3.52 sieving) (1.93 cores)
Fatal Error: Something is wrong. Counted terms (2331345) != expected terms (2349970)
pepi37 is online now   Reply With Quote
Old 2020-04-12, 23:10   #9
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

16A116 Posts
Default

I posted 1.9.6 executables on the mtsieve home page. Hopefully that resolves the multi-threading issue.
rogue is offline   Reply With Quote
Old 2020-04-12, 23:22   #10
pepi37
 
pepi37's Avatar
 
Dec 2011
After milion nines:)

22·3·107 Posts
Default

Quote:
Originally Posted by rogue View Post
I posted 1.9.6 executables on the mtsieve home page. Hopefully that resolves the multi-threading issue.
Speed is same...as CPU usage.

Last fiddled with by pepi37 on 2020-04-12 at 23:22
pepi37 is online now   Reply With Quote
Old 2020-04-13, 00:16   #11
rogue
 
rogue's Avatar
 
"Mark"
Apr 2003
Between here and the

3·1,931 Posts
Default

Quote:
Originally Posted by pepi37 View Post
Speed is same...as CPU usage.
I would not expect any speed gains. The best way to gain speed with this sieve is to do one of two things:

1) Run multiple copies then use the factor files to eliminate terms.
2) When running one copy, use -w to increase the number of primes per chunk of work.

In any case I'm hoping that the Fatal Error is gone.

Last fiddled with by rogue on 2020-04-13 at 00:17
rogue is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
queestion about ecm-gmp firejuggler Factoring 15 2010-11-19 18:16

All times are UTC. The time now is 10:38.

Tue Jul 7 10:38:17 UTC 2020 up 104 days, 8:11, 1 user, load averages: 2.67, 2.43, 2.39

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.