mersenneforum.org  

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

Reply
 
Thread Tools
Old 2014-01-02, 22:49   #12
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

9,767 Posts
Default

Quote:
Originally Posted by sdbardwick View Post
Although I note that the first example looks like the default assignment, and your second 2 examples involve impossible core configs such that mprime might be smart enough to ignore them and revert to the default. I haven't looked at the source code for error handling, so just speculation on my part.
When I tell my software to do something, I expect it to do what I say.

I'm sentient; it isn't.
chalsall is offline   Reply With Quote
Old 2014-01-02, 23:30   #13
Aramis Wyler
 
Aramis Wyler's Avatar
 
"Bill Staffen"
Jan 2013
Pittsburgh, PA, USA

23·53 Posts
Default

The program will always bow before the will of it's programmer before it listens to the will of it's end user.
Aramis Wyler is offline   Reply With Quote
Old 2014-01-03, 10:11   #14
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

5×223 Posts
Default

*Yawn* Yet another Linux hyperthreading affinity thread. I identified this sort of problem last year whilst testing on the NVIDIA big iron. See here, and here, among others.

TL, DR: This is a known issue/bug/feature. I am sure it is on George's list, just maybe not near the top. It is also, IIRC, not a readily replicated condition.
NBtarheel_33 is offline   Reply With Quote
Old 2014-01-03, 10:20   #15
NBtarheel_33
 
NBtarheel_33's Avatar
 
"Nathan"
Jul 2008
Maryland, USA

5·223 Posts
Default

Quote:
Originally Posted by chalsall View Post
This is, instead, mprime making a much bigger mistake. Read: Not understanding how to deal with multi-socket-CPU environments.
Definitely. That was the question that I had last year: Perhaps mprime knows how to handle multi-core systems, but does it know how to handle multi-socket systems? And from my experience, I think the answer (at this moment in time) ranges from "absolutely not" to "quite poorly".

Do keep in mind that multi-core support in Prime95/mprime is a relatively recent innovation. There are very few users clamoring for multi-socket support.

One thought that I had last year was to try running as many copies of mprime as there are sockets, and see if that works somehow.
NBtarheel_33 is offline   Reply With Quote
Old 2014-01-03, 15:45   #16
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2·5·293 Posts
Default

Quote:
Originally Posted by chalsall View Post
Final note: all of these tests were under CentOS 6.4. There may be different behavior under other versions of Linux.
CentOS 6.4 has a four year old kernel, 2.6.32, which is pretty ancient in Linux terms. Linux NUMA support isn't perfect, but a lot of work has gone into it over the last four years. I would try 3.12 and see if it helps.
Mark Rose is offline   Reply With Quote
Old 2014-01-03, 15:55   #17
chalsall
If I May
 
chalsall's Avatar
 
"Chris Halsall"
Sep 2002
Barbados

976710 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I would try 3.12 and see if it helps.
Interesting point.

Unfortunately the R720's are "production", and intentionally use older, stable software which can be maintained by others if I'm "hit by a bus". Further, they are the only multi-socket machines I have access to.

Lastly, I would argue that this is a bug in mprime. It seems that it ignores the AffinityScramble2 settings, and while sets the affinity correctly for the first four cores of each CPU (when each Worker section has an Affinity statement), it incorrectly sets it for the latter four cores.

I'm going to drill down on this further over the weekend and examine the mprime source code, and hopefully be able to provide George with some code delta suggestions.
chalsall is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Patch] CPU affinity prompt problem in mprime Linux / OS X build Explorer09 Software 1 2017-03-01 02:34
mprime ETA and primenet "days to go" do not match blip Software 1 2015-11-20 16:43
Primenet doesn't believe that "I fixed the hardware..." Syntony PrimeNet 6 2014-10-23 00:23
64 bit mprime "not in executable format" Mr. P-1 Information & Answers 5 2013-02-08 16:06
mprime on FC4 on x86_64 : "cannot execute binary file" T.Rex Software 9 2006-09-01 21:21

All times are UTC. The time now is 07:18.


Mon Aug 2 07:18:07 UTC 2021 up 10 days, 1:47, 0 users, load averages: 1.05, 1.66, 1.68

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.