Welcome to MilkyWay@home

Task not using 100% of CPU

Questions and Answers : Windows : Task not using 100% of CPU
Message board moderation

To post messages, you must log in.

AuthorMessage
blyons123

Send message
Joined: 18 May 10
Posts: 2
Credit: 440,085
RAC: 0
Message 61241 - Posted: 26 Feb 2014, 14:41:54 UTC

Milkyway@Home N-Body Simulation 1.4 (mt) (running 8 CPUS) uses only 70-75% of CPU even though preferences is set at 100%? Other single M@H tasks use 100% and other projects run at 100%.
ID: 61241 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
dazhi

Send message
Joined: 3 Nov 20
Posts: 1
Credit: 12,466,377
RAC: 0
Message 70222 - Posted: 7 Dec 2020, 5:21:41 UTC - in response to Message 61241.  

Milkyway@Home N-Body Simulation 1.4 (mt) (running 8 CPUS) uses only 70-75% of CPU even though preferences is set at 100%? Other single M@H tasks use 100% and other projects run at 100%.


I has the same problem. Milkyway@home N-Body Simulation 1.76 (mt) (16 CPUs) uses only 4%-15% CPU. and it takes 8days to finish.. waste power
ID: 70222 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Wh99-milkyway

Send message
Joined: 31 Jul 24
Posts: 4
Credit: 5,731
RAC: 17
Message 77214 - Posted: 27 Aug 2024, 16:52:11 UTC

Thread bump.

Was this ever resolved, because I have the same problem.

It shows 8 days to finish something and is only using 17% of my cpu, even though I specified 75% as the max (i.e., 6 out of 8 for me).
ID: 77214 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 618
Credit: 19,254,980
RAC: 12
Message 77219 - Posted: 30 Aug 2024, 14:35:49 UTC - in response to Message 77214.  

The solution has been posted several times: set "Max # of threads for each MilkyWay@home task" to 1 in your MilkyWay@home preferences. Also make sure to allow BOINC to use 100% of CPU time.
ID: 77219 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
rjs5

Send message
Joined: 18 Nov 10
Posts: 19
Credit: 179,704,217
RAC: 15,329
Message 77221 - Posted: 31 Aug 2024, 8:13:23 UTC - in response to Message 77214.  

Thread bump.

Was this ever resolved, because I have the same problem.

It shows 8 days to finish something and is only using 17% of my cpu, even though I specified 75% as the max (i.e., 6 out of 8 for me).

I doubt anyone is even looking at it.

Most projects that use multiple CPU will have a main loop that assigns work to each CPU and then waits for all to finish. There is some compute
overlap with multiple CPU, but not 100%. I have historically seen the Milkyway project not have real efficient multithreading.

I recently changed the NCPUs to 1 and the WU throughput increased dramatically along with CPU usage. If a WU has been computing a long time, I abort it.
That one CPU can finish several WU during the time it would sit there and not finish. Probably a bug in the threading logic.
ID: 77221 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Questions and Answers : Windows : Task not using 100% of CPU

©2024 Astroinformatics Group