mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-12-23, 08:38   #364
VBCurtis
 
VBCurtis's Avatar
 
"Curtis"
Feb 2005
Riverside, CA

22×1,217 Posts
Default

Quote:
Originally Posted by theonetruepath View Post
Heh of course you can't. So I took an arbitrary time period and worked out how many iterations each worker contributed in that time, then worked out net msecs per iter for the system
13 cores is 1.62 ms/iter
10 cores is 1.42 ms/iter

Maybe the program could work this out from time to time...
It does. Consider it a homework assignment to find the benchmark tools, run such a benchmark, and choose whichever combination of workers and threads per worker maximizes iterations per second.
It may be that the first time you ran it, you had something else running that confused the testing process and left P95 with that 13-core choice.
VBCurtis is offline   Reply With Quote
Old 2018-12-23, 09:58   #365
theonetruepath
 
"Patrick Hamlyn"
Dec 2018
Perth Au

22·3 Posts
Default

Quote:
Originally Posted by VBCurtis View Post
It does. Consider it a homework assignment to find the benchmark tools, run such a benchmark, and choose whichever combination of workers and threads per worker maximizes iterations per second.
It may be that the first time you ran it, you had something else running that confused the testing process and left P95 with that 13-core choice.
I had a few tiling programs flogging 4 threads yes.

So apparently 1 worker with 10 cores is quickest...

Down to 1.28 ms/iter now
theonetruepath is offline   Reply With Quote
Old 2018-12-24, 20:31   #366
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

11101011100012 Posts
Default

Quote:
Originally Posted by theonetruepath View Post
Any idea why version 29.5 crashes on my system - is there some diagnostic info I can scrape together for you?
See https://www.mersenneforum.org/showpo...0&postcount=99
Prime95 is offline   Reply With Quote
Old 2018-12-25, 00:18   #367
theonetruepath
 
"Patrick Hamlyn"
Dec 2018
Perth Au

22·3 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Yup I tried that one as well. Both versions ask the initial questions if firing up in a 'clean' directory, but crash immediately when finished with those, and immediately if running subsequently but without those initial questions.
theonetruepath is offline   Reply With Quote
Old 2018-12-25, 02:04   #368
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by theonetruepath View Post
Yup I tried that one as well. Both versions ask the initial questions if firing up in a 'clean' directory, but crash immediately when finished with those, and immediately if running subsequently but without those initial questions.
If you add "CPUSupportsAVX512F=0" to local.txt, does it still crash?
Prime95 is offline   Reply With Quote
Old 2018-12-25, 04:55   #369
theonetruepath
 
"Patrick Hamlyn"
Dec 2018
Perth Au

11002 Posts
Default

Quote:
Originally Posted by Prime95 View Post
If you add "CPUSupportsAVX512F=0" to local.txt, does it still crash?
That stops it crashing. Seems to run slower than the older version though.
theonetruepath is offline   Reply With Quote
Old 2018-12-25, 05:50   #370
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

165618 Posts
Default

Quote:
Originally Posted by theonetruepath View Post
That stops it crashing. Seems to run slower than the older version though.
That should make it essentially equivalent to 29.4. The question is why does your machine crash trying to use AVX-512 instructions.
Prime95 is offline   Reply With Quote
Old 2018-12-26, 10:18   #371
theonetruepath
 
"Patrick Hamlyn"
Dec 2018
Perth Au

22×3 Posts
Default

Quote:
Originally Posted by Prime95 View Post
That should make it essentially equivalent to 29.4. The question is why does your machine crash trying to use AVX-512 instructions.
Might be something to do with this. (I'm running Windows 7 Pro)
============================
Note that an operating system (OS) needs to support the new extended CPU state (OS-XSAVE) to allow software to use new instruction sets like AVX, AVX2/FMA, AVX512*, etc.

Windows 7, 8.x, 10.x or later / Server 2008/R2, 2012/R2, 2016 is required.

* AVX512 and later are/will only supported by Windows 10.x / Server 2016.

Older operating systems like Windows XP, Windows Vista and earlier have not been updated and are not likely to be.
theonetruepath is offline   Reply With Quote
Old 2018-12-26, 10:30   #372
theonetruepath
 
"Patrick Hamlyn"
Dec 2018
Perth Au

11002 Posts
Default

Here is what y-cruncher says:
======================
Performance Warning:

This processor supports AVX512 instructions. However, it cannot be used
because the operating system has not enabled it.

This could be due to either of the following reasons:
- The operating system is too old and does not support AVX512.
- AVX512 has been explicitly disabled.

To achieve maximum performance, AVX512 must be enabled in the OS.
======================
So I'm hoping Microsoft will come to the party with a hotfix to enable AVX-512 in Windows 7...
theonetruepath is offline   Reply With Quote
Old 2018-12-26, 10:48   #373
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24×389 Posts
Default

Yeah. I think P95 could be improved by testing that the instructions can be executed, instead of assuming they can be executed by only reading the feature bits. Indeed there is no need to read the feature bits at all, just test the instructions and catch any exceptions. That way you test the entire path: CPU, OS, VM, etc.; all the things that might not have support for recent instructions.
retina is online now   Reply With Quote
Old 2018-12-26, 15:18   #374
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

7,537 Posts
Default

Quote:
Originally Posted by retina View Post
Yeah. I think P95 could be improved by testing that the instructions can be executed, instead of assuming they can be executed by only reading the feature bits. .
Will do
Prime95 is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prime95 version 27.3 Prime95 Software 148 2012-03-18 19:24
Prime95 version 26.3 Prime95 Software 76 2010-12-11 00:11
Prime95 version 25.5 Prime95 PrimeNet 369 2008-02-26 05:21
Prime95 version 25.4 Prime95 PrimeNet 143 2007-09-24 21:01
When the next prime95 version ? pacionet Software 74 2006-12-07 20:30

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


Mon Aug 2 14:13:23 UTC 2021 up 10 days, 8:42, 0 users, load averages: 3.81, 3.77, 3.32

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.