mersenneforum.org  

Go Back   mersenneforum.org > Prime Search Projects > Sierpinski/Riesel Base 5

Reply
 
Thread Tools
Old 2006-12-28, 21:44   #199
Xentar
 
Xentar's Avatar
 
Sep 2006

11×17 Posts
Default

Quote:
Originally Posted by geoff View Post
Sorry, version 1.4.12 had a bug which could have caused 1 factor in 240 to be missed. If anyone is using it then please upgrade to version 1.4.13.
I used 1.4.12 for about 6 hours - do you think, it is necessary to redo this range?

Last fiddled with by Xentar on 2006-12-28 at 21:44
Xentar is offline   Reply With Quote
Old 2006-12-28, 21:50   #200
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

DB316 Posts
Default

Quote:
Originally Posted by geoff View Post
Sorry, version 1.4.12 had a bug which could have caused 1 factor in 240 to be missed. If anyone is using it then please upgrade to version 1.4.13.
111,100 k/sec. Awesome.
jasong is offline   Reply With Quote
Old 2006-12-29, 21:40   #201
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

100100001012 Posts
Default

Quote:
Originally Posted by Xentar View Post
I used 1.4.12 for about 6 hours - do you think, it is necessary to redo this range?
No, but if you let me know the range concerned I can find any missed factors faster than fully resieving it -- only the factors p where p=1 (mod 120) have to be checked.

Version 1.4.14 fixes another bug that would have slowed the PPC build down a bit, but probably didn't affect the i386 builds.
geoff is offline   Reply With Quote
Old 2006-12-29, 23:59   #202
Xentar
 
Xentar's Avatar
 
Sep 2006

11·17 Posts
Default

Quote:
Originally Posted by geoff View Post
No, but if you let me know the range concerned I can find any missed factors faster than fully resieving it -- only the factors p where p=1 (mod 120) have to be checked.
The ranges are 4200-4300 and 4300-4400. I think, I tried version 1.4.12 somewhere between 75 and 85%.. sorry, dont know exactly :(

Btw, could you please try to explain the math to me? I know, that for example 5 mod 3 = 2, but p = 1 mod 120 doesnt make any sense? Or I just dont understand it..
Xentar is offline   Reply With Quote
Old 2006-12-30, 02:28   #203
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

115710 Posts
Default

Quote:
Originally Posted by Xentar View Post
The ranges are 4200-4300 and 4300-4400. I think, I tried version 1.4.12 somewhere between 75 and 85%.. sorry, dont know exactly :(
I'll test those 10% ranges tonight. It takes only 1/32 of the work of the full sieve to check, and I am interested to see how many if any were missed.

Quote:
Btw, could you please try to explain the math to me? I know, that for example 5 mod 3 = 2, but p = 1 mod 120 doesnt make any sense? Or I just dont understand it..
5 = 2 (mod 3) [or properly, 5\equiv2\pmod3 means the same as 5 mod 3 = 2 in this case. The factors p of interest are all of the form 120x+1 for some x.
geoff is offline   Reply With Quote
Old 2006-12-30, 14:33   #204
Xentar
 
Xentar's Avatar
 
Sep 2006

101110112 Posts
Default

Quote:
Originally Posted by geoff View Post
I'll test those 10% ranges tonight. It takes only 1/32 of the work of the full sieve to check, and I am interested to see how many if any were missed.
OK, could you then please send them as PM to me, so I can check, they are already in the factors-list?

Quote:
5 = 2 (mod 3) [or properly, 5\equiv2\pmod3 means the same as 5 mod 3 = 2 in this case. The factors p of interest are all of the form 120x+1 for some x.
Ok, I understand. So I was just confused by the kind of writing p = 1 (mod 120) :D
So, for any reason, the version 1.4.12 didnt check p = 120x+1 and if this p is a factor, it was missed, right?
Ok, thank you :)
Xentar is offline   Reply With Quote
Old 2006-12-31, 02:10   #205
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13·89 Posts
Default

It appears that the 1.4.12 bug is in code that is never used, so there are no missed factors. Once I work out exactly why that piece of code is not needed then I can remove it, and probably some other pieces too, and make the program faster :-)

Quote:
Originally Posted by Xentar View Post
OK, could you then please send them as PM to me, so I can check, they are already in the factors-list?
Done, just in case.

Last fiddled with by geoff on 2006-12-31 at 02:11 Reason: munged quote
geoff is offline   Reply With Quote
Old 2006-12-31, 13:55   #206
Xentar
 
Xentar's Avatar
 
Sep 2006

11×17 Posts
Default

Quote:
Originally Posted by geoff View Post
It appears that the 1.4.12 bug is in code that is never used, so there are no missed factors. Once I work out exactly why that piece of code is not needed then I can remove it, and probably some other pieces too, and make the program faster :-)
Just checked the factors, you send to me. All of them are already in my factors file, so no one was missed.
Xentar is offline   Reply With Quote
Old 2007-01-05, 22:34   #207
geoff
 
geoff's Avatar
 
Mar 2003
New Zealand

13×89 Posts
Default sr5sieve 1.4.16

The main change is the addition of a SSE2 mulmod function for 32-bit machines. The FPU is still used for the division (so it still works mod primes up to 2^62), but uses SSE2 to perform the integer multiplications. It runs about 9% faster on my P4/Celeron. (That was the machine I tuned the code for, it may not do as well on AMD/Core2, all benchmarks welcome.)
geoff is offline   Reply With Quote
Old 2007-01-07, 12:14   #208
tnerual
 
tnerual's Avatar
 
Oct 2006

25910 Posts
Default

Quote:
Originally Posted by geoff View Post
The main change is the addition of a SSE2 mulmod function for 32-bit machines. The FPU is still used for the division (so it still works mod primes up to 2^62), but uses SSE2 to perform the integer multiplications. It runs about 9% faster on my P4/Celeron. (That was the machine I tuned the code for, it may not do as well on AMD/Core2, all benchmarks welcome.)
i don't know if it's normal but i have a good speed improve on my amd x2 4200

i use one core, sieving for one k (285728), speed was 2600000 and now is 4650000 it's a 78% improve ... and factor density is the same after 1 day running so it may be true.

if geoff can confirm it's not missing factors, it can give a good boost ...
tnerual is offline   Reply With Quote
Old 2007-01-07, 15:01   #209
Xentar
 
Xentar's Avatar
 
Sep 2006

11·17 Posts
Default

Quote:
Originally Posted by geoff View Post
The main change is the addition of a SSE2 mulmod function for 32-bit machines. The FPU is still used for the division (so it still works mod primes up to 2^62), but uses SSE2 to perform the integer multiplications. It runs about 9% faster on my P4/Celeron. (That was the machine I tuned the code for, it may not do as well on AMD/Core2, all benchmarks welcome.)
about 5 % improve on Core2. (just tested for a few minutes)
Xentar is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Very Prime Riesel and Sierpinski k robert44444uk Open Projects 587 2016-11-13 15:26
Sierpinski/ Riesel bases 6 to 18 robert44444uk Conjectures 'R Us 139 2007-12-17 05:17
Sierpinski/Riesel Base 10 rogue Conjectures 'R Us 11 2007-12-17 05:08
Sierpinski / Riesel - Base 23 michaf Conjectures 'R Us 2 2007-12-17 05:04
Sierpinski / Riesel - Base 22 michaf Conjectures 'R Us 49 2007-12-17 05:03

All times are UTC. The time now is 05:56.


Fri Aug 6 05:56:08 UTC 2021 up 14 days, 25 mins, 1 user, load averages: 3.61, 3.53, 3.24

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.