mersenneforum.org  

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

Reply
 
Thread Tools
Old 2013-02-21, 20:10   #1
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

1000000111012 Posts
Default i7-2600k on Windows 8.

Why does Prime95 choose 4 threads instead of 8?

Would switching to 64bit Windows give me a speed increase?

(I haven't used Prime95 in ages.)


Last fiddled with by Flatlander on 2013-02-21 at 20:14 Reason: typos, typos, typos
Flatlander is offline   Reply With Quote
Old 2013-02-21, 20:34   #2
science_man_88
 
science_man_88's Avatar
 
"Forget I exist"
Jul 2009
Dumbassville

26×131 Posts
Default

Quote:
Originally Posted by Flatlander View Post
Would switching to 64bit Windows give me a speed increase?
from another thread:
Quote:
Originally Posted by Prime95 View Post
BTW, if your CPU supports 64-bit then 64-bit prime95 is 10-15% faster than 32-bit prime95.
science_man_88 is offline   Reply With Quote
Old 2013-02-21, 21:21   #3
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31×67 Posts
Default

Thanks. I'll re-install tonight when everything hits 100%. I assume the save files won't transfer?
64bit will run hotter?
Should I force 8 threads?
Flatlander is offline   Reply With Quote
Old 2013-02-21, 21:23   #4
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

The save files should transfer. The intermediate data is independent of calculation method.
Dubslow is offline   Reply With Quote
Old 2013-02-21, 21:48   #5
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23·101 Posts
Default

Quote:
Originally Posted by Flatlander View Post
Why does Prime95 choose 4 threads instead of 8?


1. Hyperthreading is turned off in the bios.
2. P95 didn't detect all cpu configs.
3. you can manually set it to 8 from the menu.


Expect to see ~0.026 iteration times for 4 threads and ~0.050 for 8 threads as hyperthreading comes at a cost. (4.0 ghz, dual channel memory, LL testing).

Your mileage may vary a bit, but you'll see similar results.

Last fiddled with by swl551 on 2013-02-21 at 21:56
swl551 is offline   Reply With Quote
Old 2013-02-21, 22:02   #6
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31×67 Posts
Default

Quote:
Originally Posted by swl551 View Post
1. Hyperthreading is turned off in the bios.
2. P95 didn't detect all cpu configs.
3. you can manually set it to 8 from the menu.


Expect to see ~0.026 iteration times for 4 threads and ~0.50 for 8 threads as hyperthreading comes at a cost. (4.0 ghz, dual channel memory, LL testing).

Your mileage may vary a bit, but you'll see similar results.
I'm getting 0.030, about right.
Quote:
[Main thread Feb 20 19:18] Mersenne number primality test program version 27.7
[Main thread Feb 20 19:18] Optimizing for CPU architecture: Core i3/i5/i7, L2 cache size: 256 KB, L3 cache size: 8 MB
[Main thread Feb 20 19:18] Logical CPUs 1,5 form one physical CPU.
[Main thread Feb 20 19:18] Logical CPUs 2,6 form one physical CPU.
[Main thread Feb 20 19:18] Logical CPUs 3,7 form one physical CPU.
[Main thread Feb 20 19:18] Logical CPUs 4,8 form one physical CPU.
[Main thread Feb 20 19:18] Starting workers.
Quote:
Core(TM) i7-2600K CPU @ 3.40GHz
CPU speed 3392.28 MHz, 4 hyperthreaded cores
CPU features: Prefetch SSE, SSe2 SSe4, AVX
...
Flatlander is offline   Reply With Quote
Old 2013-02-21, 22:17   #7
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

23×101 Posts
Default

Quote:
Originally Posted by Flatlander View Post
I'm getting 0.030, about right.
Looks good. However you on version 27.7 and 27.9 is available. I have read posts where people stated better stability with hyperthreading using 27.9. I never had a problem with 27.7, but now run all my PCs on 27.9 anyway.

Last fiddled with by swl551 on 2013-02-21 at 22:49
swl551 is offline   Reply With Quote
Old 2013-02-22, 00:27   #8
kracker
 
kracker's Avatar
 
"Mr. Meeseeks"
Jan 2012
California, USA

23×271 Posts
Default

4. Hyper-threading makes it actually slower, at least for LL tests.
kracker is offline   Reply With Quote
Old 2013-02-23, 20:56   #9
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

207710 Posts
Default

Thanks. Things are starting to make sense again.
But, what happened to P90 years!? (Or was it days?)
Flatlander is offline   Reply With Quote
Old 2013-02-24, 19:03   #10
Flatlander
I quite division it
 
Flatlander's Avatar
 
"Chris"
Feb 2005
England

31×67 Posts
Default

From the 'Best way to find large factors thread',
Quote:
Originally Posted by ATH View Post
P-1 will also run in around 1 day (anywhere from 12 hours to 2-3 days probably) depending on how much RAM you give it and how fast your CPU is.

It's almost a "waste" now to trialfactor on a CPU since GPU's are so much faster at it and P-1 is more needed atm, but it is of course up to you what you want to do.

For P-1 you should give at least 300 Mb RAM for every thread that runs P-1, and the more the better.
1) If I choose P-1 work should I run on 8 threads or 4?
(2560K of 4096K reserved 24/7, i7-2600k on 64bitWin8)

2) If 8 threads is faster is that enough memory? Candidates are at 62-63M.
Stage 1 of M62,089,483 says,
Quote:
Using AVX FFT length 3360K, ...
Thanks.
Flatlander is offline   Reply With Quote
Old 2013-02-24, 19:13   #11
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3·29·83 Posts
Default

Quote:
Originally Posted by Flatlander View Post
From the 'Best way to find large factors thread',

1) If I choose P-1 work should I run on 8 threads or 4?
(2560K of 4096K reserved 24/7, i7-2600k on 64bitWin8)

2) If 8 threads is faster is that enough memory? Candidates are at 62-63M.
Stage 1 of M62,089,483 says,

Thanks.
I would say 4 is probably better -- the more independent threads, the more memory bandwidth you need, and with AVX and DDR3-1333 you're pretty close the memory-bottlenecking limit as it is.

(Testing of course is the best way to produce an answer )
Dubslow is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it worth the trouble to "upgrade" Windows 8 to Windows 7? ixfd64 Lounge 23 2013-04-13 11:12
Core i5 2500K vs Core i7 2600K (Linear algebra phase) em99010pepe Hardware 0 2011-11-11 15:18
Windows 7 Windows Update & Prime95 issue!!! Unregistered Information & Answers 14 2010-04-10 21:47
New PC - x64 Windows Prime95 Software 9 2005-09-24 03:56
Windows XP 64? jebeagles Software 7 2004-08-17 11:06

All times are UTC. The time now is 22:08.


Fri Aug 6 22:08:21 UTC 2021 up 14 days, 16:37, 1 user, load averages: 3.86, 3.31, 2.94

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.