Should you run with some threads "idling" or not?

Message boards : Number crunching : Should you run with some threads "idling" or not?

To post messages, you must log in.

AuthorMessage
Tom M

Send message
Joined: 20 Jun 17
Posts: 85
Credit: 5,294,750
RAC: 49,645
Message 96219 - Posted: 7 May 2020, 11:43:31 UTC

My previous experience with Boinc projects is you need to run at less than 100% CPU threads to maximize production.
This was always on machines that mixed CPU and GPU crunching.
You needed at least 1 thread clear up to 4 threads clear on the larger multi-core count cpus.
That can translate into 75% (4 cores), 90% or in one of my cases 87.5%.

Does this "rule of thumb" change on systems that do only CPU-based crunching?

I don't think it does. But I could add up to 4 more threads crunching on one Rig if CPU-based crunching doesn't have the same experience as CPU/GPU crunching.

Thank you.
Tom M
Help, my tagline is missing..... Help, my tagline is......... Help, m........ Hel.....
ID: 96219 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1491
Credit: 14,677,518
RAC: 14,569
Message 96220 - Posted: 7 May 2020, 11:48:44 UTC - in response to Message 96219.  

My previous experience with Boinc projects is you need to run at less than 100% CPU threads to maximize production.
This was always on machines that mixed CPU and GPU crunching.
You needed at least 1 thread clear up to 4 threads clear on the larger multi-core count cpus.
I never found that to be the case.
I always ran with all cores & threads, but i did reserve a thread to support each GPU Task that was running- that was because the only reason for losing output was if a thread was trying to process a CPU Task and support a GPU at the same time.
Leaving a spare thread was just another way of doing the same thing, just not taking advantage of all the system's resources.

Unless you are making heavy use of the system while processing Rosetta work, there is no reason not to use all cores & threads (or unless you don't have enough RAM to support all cores & threads being in use).
Grant
Darwin NT
ID: 96220 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
MarkJ

Send message
Joined: 28 Mar 20
Posts: 72
Credit: 25,032,776
RAC: 2,226
Message 96224 - Posted: 7 May 2020, 13:00:52 UTC

For my x64 machines I keep one thread free for GPU work. I also keep one thread free to give the OS and BOINC something if needed. I originally did that prior to the 4.20 Rosetta app. I haven’t tried setting it back to 100% to see if it increases the output.

With my Raspberry Pi’s I keep a core free due to memory concerns. Even the 4GB models are using 92% of available memory when using 3 out of 4 cores.
BOINC blog
ID: 96224 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Mod.Sense
Volunteer moderator

Send message
Joined: 22 Aug 06
Posts: 4018
Credit: 0
RAC: 0
Message 96227 - Posted: 7 May 2020, 13:49:04 UTC - in response to Message 96219.  

I believe the primary reason, with a GPU project, to leave a CPU available is to handle servicing the GPU tasks. R@h is presently a CPU-only project, and so that requirement isn't there. However, as others have pointed out, there may be other reasons to run with less than all of the CPUs: Temps, fan noise, memory contention, active users... etc.
Rosetta Moderator: Mod.Sense
ID: 96227 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Raistmer

Send message
Joined: 7 Apr 20
Posts: 49
Credit: 794,064
RAC: 0
Message 96272 - Posted: 8 May 2020, 18:14:24 UTC
Last modified: 8 May 2020, 18:14:45 UTC

Some example when you should.
Not from this project, from E@h (those devcies can't do this project at all):

I have 2 identical Digma Hit phones (cheap smartphone, but 4 ARM cores in it).

See their results:
https://einsteinathome.org/ru/host/12826438/tasks/0/0
and
https://einsteinathome.org/ru/host/12826433/tasks/0/0

One running only 1 core of 4, second - 2 cores of 4.
Results self-explaining. If some other resource limiting (storage space in that particular case) no matter how many cores device has, matters how many it can really use.
ID: 96272 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : Should you run with some threads "idling" or not?



©2024 University of Washington
https://www.bakerlab.org