More WUs simultaneously

Message boards : Number crunching : More WUs simultaneously

To post messages, you must log in.

AuthorMessage
Profile David703

Send message
Joined: 17 Jul 17
Posts: 5
Credit: 64,485
RAC: 0
Message 90312 - Posted: 7 Feb 2019, 14:35:57 UTC

Will the completion time for each WU increase if I run more than one at a time?
ID: 90312 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
LarryMajor

Send message
Joined: 1 Apr 16
Posts: 22
Credit: 31,533,212
RAC: 0
Message 90314 - Posted: 7 Feb 2019, 21:14:38 UTC - in response to Message 90312.  

Just raising (or lowering) the CPU count to change the number of concurrent jobs won't change the runtime; each job will follow the project's target runtime.
If you change the project target runtime, then yes, it will affect all WUs including those you have already downloaded.
ID: 90314 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile David703

Send message
Joined: 17 Jul 17
Posts: 5
Credit: 64,485
RAC: 0
Message 90318 - Posted: 8 Feb 2019, 13:46:23 UTC - in response to Message 90314.  

Ok, but will I complete less work? (i.e. less structures in the same runtime)
ID: 90318 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
oldWing

Send message
Joined: 26 Mar 11
Posts: 6
Credit: 22,285,965
RAC: 6,674
Message 90319 - Posted: 8 Feb 2019, 14:16:34 UTC - in response to Message 90318.  

CPUs with multiple cores and hyperthreading can run multiple WUs at the same time. If that increases the temperature of the CPU then it may throttle the clock rate to avoid exceeding the maximum thermal design power (TDP) of the chip. The result would be fewer models completed per thread in a given time period. If you are running eight WUs at once and throttle back by 15% then you are still getting a lot more work done overall.
ID: 90319 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile David703

Send message
Joined: 17 Jul 17
Posts: 5
Credit: 64,485
RAC: 0
Message 90331 - Posted: 10 Feb 2019, 11:03:37 UTC - in response to Message 90319.  
Last modified: 10 Feb 2019, 11:14:26 UTC

I did some tests and turns out if you run more WUs simultaneously the work completed for each WU may significantly decrease. Obviously you'll still get more job done than when you just do one at a time. From what I read on the world community grid forums in the section of the sub-project that uses Rosetta, this pehnomenon is linked to the L3 cache of your CPU.
ID: 90331 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
boxer

Send message
Joined: 4 Sep 11
Posts: 2
Credit: 4,885,552
RAC: 0
Message 90413 - Posted: 23 Feb 2019, 18:47:24 UTC - in response to Message 90331.  

I have a quad core laptop with hyperthreading and 32 GB memory. By default, BOINC chooses to run 8 work units at a time. I don't care about credits. I only care about promoting the science. Is it better for the project to limit the threads to 4 or do 8 with hyperthreading? If I want to limit to 4, how would I do that?
ID: 90413 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile dcdc

Send message
Joined: 3 Nov 05
Posts: 1831
Credit: 119,526,853
RAC: 5,737
Message 90414 - Posted: 23 Feb 2019, 20:08:18 UTC - in response to Message 90413.  

On a desktop the general rule is that if there's enough RAM, then run one thread or logical core, and you'll get about 30% more throughput, but will use some more power in doing so. But on a laptop you're much more likely to go into thermal throttling, so I'd recommend limiting one thread per real core. There will be less cache contention, so it'll be more efficient.
ID: 90414 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Jim1348

Send message
Joined: 19 Jan 06
Posts: 881
Credit: 52,257,545
RAC: 0
Message 90415 - Posted: 24 Feb 2019, 0:05:40 UTC - in response to Message 90413.  

If I want to limit to 4, how would I do that?

I agree with dcdc's advice. If you can do 8 cores without thermal problems, then that produces more output than 4 cores.
But if not, you can limit it to four cores in the BOINC Manager settings. Set it to "use at most 50% of the processors".
ID: 90415 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
boxer

Send message
Joined: 4 Sep 11
Posts: 2
Credit: 4,885,552
RAC: 0
Message 90422 - Posted: 25 Feb 2019, 6:27:14 UTC - in response to Message 90415.  

Thanks, the laptop has an Intel Core i5-8350U CPU. At 4 cores, the CPU was typically at 80% so I set it to 5 cores and it's now very close to 100%.
ID: 90422 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Number crunching : More WUs simultaneously



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