mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2011-04-09, 10:48   #485
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3·23·89 Posts
Default

Quote:
Originally Posted by cheesehead View Post
Module gwnum.h in the Windows source has the definition

#define MAX_PRIME_SSE2 596000000L /* SSE2 bit limit */

595999993 is probably the largest prime < 596000000

LL, ECM and P-1 all use FFTs, and 596000000 is the maximum exponent the FFTs can now handle AFAIK.

Perhaps the higher exponents were processed with a Mac version of the software rather than a Windows version.
AFAIK the non-SSE2 code supports higher exponents than SSE2 code. The sacrifice was thought worthwhile at the time.
henryzz is offline   Reply With Quote
Old 2011-04-09, 11:42   #486
Mr. P-1
 
Mr. P-1's Avatar
 
Jun 2003

7·167 Posts
Default

Quote:
Originally Posted by xilman View Post
To compensate, rate the top 1000 by the size of P-1 after division by all powers of the Mersenne exponent.
Why all powers? Why not one power?

Quote:
Note that this proposal scales down composite P-1 factors also.
Composite factors should be resolved into their constituent primes.
Mr. P-1 is offline   Reply With Quote
Old 2011-04-10, 05:31   #487
cheesehead
 
cheesehead's Avatar
 
"Richard B. Woods"
Aug 2002
Wisconsin USA

170148 Posts
Default

Quote:
Originally Posted by henryzz View Post
AFAIK the non-SSE2 code supports higher exponents than SSE2 code.
I haven't found the definition of MAX_PRIME yet.
cheesehead is offline   Reply With Quote
Old 2011-04-10, 06:40   #488
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

2·17·347 Posts
Default

Quote:
Originally Posted by Mr. P-1 View Post
Why all powers? Why not one power?



Composite factors should be resolved into their constituent primes.
Purely to give a way of dealing with composites. If they are factored, multiple powers are not the issue.

Paul
xilman is online now   Reply With Quote
Old 2011-04-10, 08:19   #489
axn
 
axn's Avatar
 
Jun 2003

23×683 Posts
Default

Quote:
Originally Posted by xilman View Post
Purely to give a way of dealing with composites. If they are factored, multiple powers are not the issue.

Paul
Slighly confused. Are you suggesting that if C = P1*P2 be a composite factor of a mersenne M(p), then C-1 will be divisible by p^2?

Obviously (P1-1)*(P2-1) will be divisible by p^2, but, in general, C-1 won't be.
axn is offline   Reply With Quote
Old 2011-04-10, 09:06   #490
xilman
Bamboozled!
 
xilman's Avatar
 
"๐’‰บ๐’ŒŒ๐’‡ท๐’†ท๐’€ญ"
May 2003
Down not across

2×17×347 Posts
Default

Quote:
Originally Posted by axn View Post
Slighly confused. Are you suggesting that if C = P1*P2 be a composite factor of a mersenne M(p), then C-1 will be divisible by p^2?

Obviously (P1-1)*(P2-1) will be divisible by p^2, but, in general, C-1 won't be.
You're right and I was confused (read: wrong).

The correct approach, IMO, is to report only prime factors and to scale them by dividing by p.

Division by p rewards hard work, because higher B1 & B2 gives a higher chance of finding a factor, and good luck.

Paul
xilman is online now   Reply With Quote
Old 2011-04-13, 11:00   #491
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

6416 Posts
Default

Quote:
Originally Posted by petrw1 View Post
And if I put my entire (albeit meagre) team of P-1 capable PCs (3 Quads and 6 Duals and 1 P4=25 cores) I estimate I could complete only about 10 or 12 per day or 5 - 6%.

Mind you, all 4 cores of a Quad on P-1 could be quite taxing.
I now have 5 cores running P-1's and over the last 30 days I'm averaging 2.6 per day in the 53M range all in the 4.6 - 4.7 GHz-Day range.
drh is offline   Reply With Quote
Old 2011-04-13, 11:37   #492
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dartmouth NS

8,461 Posts
Default

Quote:
Originally Posted by drh View Post
I now have 5 cores running P-1's and over the last 30 days I'm averaging 2.6 per day in the 53M range all in the 4.6 - 4.7 GHz-Day range.
I remember being told by someone that p-1 would only take me 7 days but I stopped it ~1 day in because it had only done like 3% (100/3 =33.3 days not 7)
science_man_88 is offline   Reply With Quote
Old 2011-04-13, 15:05   #493
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

532510 Posts
Default

Quote:
Originally Posted by science_man_88 View Post
I remember being told by someone that p-1 would only take me 7 days but I stopped it ~1 day in because it had only done like 3% (100/3 =33.3 days not 7)
Depends completely on what CPU you are running on and how much RAM you allocate.

I have a i5-750 that will complete a P-1 in the 50M range in 31 hours and a PIV 2.4 Ghz that takes over 100 hours.
petrw1 is offline   Reply With Quote
Old 2011-04-13, 15:30   #494
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

10100110011012 Posts
Default

Quote:
Originally Posted by drh View Post
I now have 5 cores running P-1's and over the last 30 days I'm averaging 2.6 per day in the 53M range all in the 4.6 - 4.7 GHz-Day range.
Is that 5 cores on 1 PC? Or 1 core on each of 5 PC's or a combination of such?

If you have more than 1 core on a PC doing P-1 do you notice any conflict for CPu resources; for example, do the run times drop noticeably if there are more than 1 cores doing stage 2?
petrw1 is offline   Reply With Quote
Old 2011-04-13, 16:53   #495
drh
 
drh's Avatar
 
Jan 2011
Cincinnati, OH

6416 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Is that 5 cores on 1 PC? Or 1 core on each of 5 PC's or a combination of such?

If you have more than 1 core on a PC doing P-1 do you notice any conflict for CPu resources; for example, do the run times drop noticeably if there are more than 1 cores doing stage 2?
Here is what I'm doing right now -

1 Intel Core i5 M 540 @ 2.53GHz 4Gig RAM -- (1 Core P-1 & 1 Core mafktc)
1 Intel Core i7 Q 720 @ 1.60GHz 8Gig RAM -- (2 Cores P-1 & 2 Cores LL)
1 Intel Core2 Quad Q8400 @ 2.66GHz 8Gig RAM -- (2 Cores P-1 & 2 Cores LL)

The memory on the systems running (2 P-1's) automatically adjusts when they are both in stage 2, but the throughput remains the same, as well as the throughput of the LL's. I'm contemplating trying (3 P-1's) at a time, and if I do, I'll let you know those results as well.
drh is offline   Reply With Quote
Reply



All times are UTC. The time now is 13:06.


Fri Jul 7 13:06:11 UTC 2023 up 323 days, 10:34, 0 users, load averages: 0.82, 1.10, 1.15

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

โ‰  ยฑ โˆ“ รท ร— ยท โˆ’ โˆš โ€ฐ โŠ— โŠ• โŠ– โŠ˜ โŠ™ โ‰ค โ‰ฅ โ‰ฆ โ‰ง โ‰จ โ‰ฉ โ‰บ โ‰ป โ‰ผ โ‰ฝ โŠ โА โŠ‘ โŠ’ ยฒ ยณ ยฐ
โˆ  โˆŸ ยฐ โ‰… ~ โ€– โŸ‚ โซ›
โ‰ก โ‰œ โ‰ˆ โˆ โˆž โ‰ช โ‰ซ โŒŠโŒ‹ โŒˆโŒ‰ โˆ˜ โˆ โˆ โˆ‘ โˆง โˆจ โˆฉ โˆช โจ€ โŠ• โŠ— ๐–• ๐–– ๐–— โŠฒ โŠณ
โˆ… โˆ– โˆ โ†ฆ โ†ฃ โˆฉ โˆช โІ โŠ‚ โŠ„ โŠŠ โЇ โŠƒ โŠ… โŠ‹ โŠ– โˆˆ โˆ‰ โˆ‹ โˆŒ โ„• โ„ค โ„š โ„ โ„‚ โ„ต โ„ถ โ„ท โ„ธ ๐“Ÿ
ยฌ โˆจ โˆง โŠ• โ†’ โ† โ‡’ โ‡ โ‡” โˆ€ โˆƒ โˆ„ โˆด โˆต โŠค โŠฅ โŠข โŠจ โซค โŠฃ โ€ฆ โ‹ฏ โ‹ฎ โ‹ฐ โ‹ฑ
โˆซ โˆฌ โˆญ โˆฎ โˆฏ โˆฐ โˆ‡ โˆ† ฮด โˆ‚ โ„ฑ โ„’ โ„“
๐›ข๐›ผ ๐›ฃ๐›ฝ ๐›ค๐›พ ๐›ฅ๐›ฟ ๐›ฆ๐œ€๐œ– ๐›ง๐œ ๐›จ๐œ‚ ๐›ฉ๐œƒ๐œ— ๐›ช๐œ„ ๐›ซ๐œ… ๐›ฌ๐œ† ๐›ญ๐œ‡ ๐›ฎ๐œˆ ๐›ฏ๐œ‰ ๐›ฐ๐œŠ ๐›ฑ๐œ‹ ๐›ฒ๐œŒ ๐›ด๐œŽ๐œ ๐›ต๐œ ๐›ถ๐œ ๐›ท๐œ™๐œ‘ ๐›ธ๐œ’ ๐›น๐œ“ ๐›บ๐œ”