![]() |
|
|
#254 |
|
"Mark"
Apr 2003
Between here and the
2×32×353 Posts |
I have committed a number of code changes to sourceforge to address the reported issues. The changes are not fully tested, but I think the reported issues are fixed. I haven't updated the distribution yet. I will do that as soon as I can.
|
|
|
|
|
|
#255 |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
I tracked down the memory leak in srsieve2. It was caused by an overloaded operator that was using a copy constructor.
|
|
|
|
|
|
#256 |
|
Jun 2003
2·7·113 Posts |
I am interested in low weight numbers of the form k*b^n+-1 with fixed k and b and variable n. (srsieve2.exe)
Is it possible to add support for large bases where b'=b^x and large k values where k'=k*b^y where b is small <100 and b' is greater than 2^64 Currently the program does not automatically convert k*b^n+-1 to k'*b'^n+-1 to increase speed. Thanks. Last fiddled with by Citrix on 2019-10-27 at 01:33 |
|
|
|
|
|
#257 | |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
Quote:
Am I missing something? |
|
|
|
|
|
|
#258 | |
|
Jun 2003
30568 Posts |
Quote:
For a range of n=1 to 1000000 the discrete log would have 1000 BS and 1000 GS If we know x =16 Then the range becomes n=1 to 62500 (for base b^16) and the discrete log would have 250 BS and 250 GS 4 times faster. For extremely low weights (that I am working with) where x can be close to 10000 the program can be made significantly faster. (~100 times) Currently the program does not automatically detect the pattern and calculate the value of x. (To calculate x you just need the gcd of the difference of all the consecutive candidates left in the sieve. You can do this just once at the start of the sieve). Thanks. Last fiddled with by Citrix on 2019-10-27 at 15:22 |
|
|
|
|
|
|
#259 | |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
2×33×109 Posts |
Quote:
Last fiddled with by henryzz on 2019-10-27 at 20:53 |
|
|
|
|
|
|
#260 | |
|
Jun 2003
30568 Posts |
Quote:
|
|
|
|
|
|
|
#261 |
|
Dec 2011
After milion nines:)
145110 Posts |
As you know I do many jobs with your twinsieve. Since I buy new 6 core CPU I noticed something I was not sow on 4 core CPU.
If I run sieve from start somewhere up to 2e15 I can get nearly 96% of CPU usage on 6 core CPU . But if I run it from 2e16 to 4e16 then I cannot get more then 45% of CPU usage. I can increase "W" option and can get around 62% of CPU usage but that is all I can get. I assume on higher sieve depth CPU do less job since there is smaller number of primes to test, but how to get at least 90% of CPU usage on those, higher sieve depth? I try to increase worker number from 6 to 8 but that doesnot help. Any other suggestion? |
|
|
|
|
|
#262 | |
|
"Mark"
Apr 2003
Between here and the
2×32×353 Posts |
Quote:
One option would be to run two instances across two different ranges of primes, saving the factors (-O) then using -I to remove terms from the original input file. |
|
|
|
|
|
|
#263 |
|
Sep 2011
Germany
1011001110102 Posts |
@rogue: Is there any progress for the srsieve2 prp output format. I could really need it.
|
|
|
|
|
|
#264 |
|
"Mark"
Apr 2003
Between here and the
2·32·353 Posts |
(going off of memory here) I think this is the -fB option. Can you verify that it exists in the latest released version and if it does, if that is what you are looking for?
|
|
|
|