Welcome to MilkyWay@home

Not getting MT tasks

Message boards : Number crunching : Not getting MT tasks
Message board moderation

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
JohnDK
Avatar

Send message
Joined: 18 Feb 10
Posts: 61
Credit: 223,412,732
RAC: 5,083
Message 77156 - Posted: 17 Jun 2024, 19:38:25 UTC

Suddenly I'm only receiving single threaded tasks and not the 3 threaded MT tasks as normal according my settings. Any idea why?
ID: 77156 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Tuba Jim

Send message
Joined: 8 Sep 21
Posts: 9
Credit: 23,857,668
RAC: 14,694
Message 77157 - Posted: 18 Jun 2024, 16:10:20 UTC - in response to Message 77156.  

I did too, but the last seem to be finishing up now. Several took more than a day. Only happened to one of my computers though.
Tuba Jim
ID: 77157 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JohnDK
Avatar

Send message
Joined: 18 Feb 10
Posts: 61
Credit: 223,412,732
RAC: 5,083
Message 77158 - Posted: 18 Jun 2024, 17:39:20 UTC

The last 5 WUs I got today are MT tasks again, so far so good.
ID: 77158 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77159 - Posted: 19 Jun 2024, 11:50:06 UTC

To avoid a mix of single thread and multi thread WUs change in your Milkyway@home preferences "Max # of threads for each MilkyWay@home task" from "no limit" to the number of cores you want to use for each task.
ID: 77159 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
JohnDK
Avatar

Send message
Joined: 18 Feb 10
Posts: 61
Credit: 223,412,732
RAC: 5,083
Message 77160 - Posted: 19 Jun 2024, 13:07:06 UTC - in response to Message 77159.  

To avoid a mix of single thread and multi thread WUs change in your Milkyway@home preferences "Max # of threads for each MilkyWay@home task" from "no limit" to the number of cores you want to use for each task.

I did change it to 3 and it worked until 2-3 days ago where I then got single tread tasks. Now I'm using app_config, and it seems to work.
ID: 77160 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Michael E.

Send message
Joined: 27 Jan 10
Posts: 7
Credit: 21,249,345
RAC: 663
Message 77161 - Posted: 20 Jun 2024, 3:00:17 UTC

I usually make sure the Options > Computing Preferences (Advanced view) uses 2 cores (or > 34% and < 49% on my old 6-core PC).

On the BOINC Advanced View, my Status appends (2 CPUs) for the dual-threaded work units. If the (2 CPUs) is not present, I assume that indicates a single-threaded work unit.

I sometimes receive a few single-threaded tasks even with "Max # of threads for each MilkyWay@home task" set to 2. Not sure why!

Whether you get single- or multi-threaded work units might depend upon your Computing Preferences, such that MilkyWay@home won't assign work units with more threads than your Computing Preferences number of cores. It might also depend on what BOINC projects are active at the time the request for more tasks is made, because I often run multiple BOINC projects.

I do not have an app config XML in C:\ProgramData\BOINC\projects\milkyway.cs.rpi.edu_milkyway
ID: 77161 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Skip Da Shu
Avatar

Send message
Joined: 11 Apr 08
Posts: 82
Credit: 70,483,162
RAC: 51,887
Message 77282 - Posted: 19 Nov 2024, 9:14:16 UTC - in response to Message 77161.  

One box (my main desktop, 5950X) not getting (mt) tasks now... well for maybe a month...

https://milkyway.cs.rpi.edu/milkyway/show_host_detail.php?hostid=1029692

I have another box(5900X) that has the same OS, same virtualization (none) and it's getting mt tasks.
I've looked at this till I'm blue in the face so it is likely something very obvious that I'm just overlooking. Any thoughts?

Thanx, Skip

PS: All are Linux Mint boxes.
ID: 77282 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77283 - Posted: 19 Nov 2024, 14:57:00 UTC - in response to Message 77282.  
Last modified: 19 Nov 2024, 14:59:12 UTC

Not getting MT tasks is not an issue, it's actually something good. MT seems very inefficient, so unless you want MT tasks for some special reason, I'd recommend to run Milkyway in single thread mode. This also makes it a lot easier to run Milkyway tasks together with other projects, which are usually ST too.
ID: 77283 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77404 - Posted: 2 May 2025, 15:42:01 UTC

One of my computers doesn't receive any mt tasks and I've tried everything I can think of. Almost all the single thread tasks take an extremely long time. More than 24 hours is much too long.

Any help is appreciated.

Neal
ID: 77404 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77406 - Posted: 3 May 2025, 0:22:44 UTC

I just noticed that a mt task has appeared on that computer.

Neal
ID: 77406 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 726
Credit: 563,012,367
RAC: 18,316
Message 77407 - Posted: 3 May 2025, 0:29:09 UTC - in response to Message 77283.  

Not getting MT tasks is not an issue, it's actually something good. MT seems very inefficient, so unless you want MT tasks for some special reason, I'd recommend to run Milkyway in single thread mode. This also makes it a lot easier to run Milkyway tasks together with other projects, which are usually ST too.

+1
ID: 77407 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77409 - Posted: 4 May 2025, 1:36:26 UTC

Milkyway@home isn't my primary project, so I prefer short tasks. I noticed that Milkyway (mt) never hits 100% CPU utilization in windows task manager. However, you may get higher cache utilization from multithreading. It would be interesting if somebody ran MT and ST for a while and was able to compare the two.

Neal
ID: 77409 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77410 - Posted: 4 May 2025, 7:32:22 UTC - in response to Message 77409.  
Last modified: 4 May 2025, 7:35:19 UTC

It would be interesting if somebody ran MT and ST for a while and was able to compare the two.
I did and as I have written just 4 posts above yours, running the application in MT mode is complete nonsense IMHO, even if you use just two thraeds per task. With more threads per task it only gets worse.
ID: 77410 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77419 - Posted: 6 May 2025, 19:59:24 UTC - in response to Message 77410.  
Last modified: 6 May 2025, 19:59:34 UTC

The kind of efficiency I care most about is power efficiency. If MT wastes power, then that matters to me.

Have you determined the credit rate with an ST task running on every core vs the max number of MT tasks running concurrently?

Neal
ID: 77419 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77421 - Posted: 6 May 2025, 20:36:36 UTC - in response to Message 77419.  
Last modified: 6 May 2025, 20:39:16 UTC

The kind of efficiency I care most about is power efficiency. If MT wastes power, then that matters to me.
It always does, the synchronisation between the threads is additional work. In addition to that, cores are not loaded 100%, there's lots of waiting, you can see that in task manager.

Have you determined the credit rate with an ST task running on every core vs the max number of MT tasks running concurrently?
Yes, runtimes and credits for 300 tasks of each were recorded and the credit per day calculated based on those tasks.
ID: 77421 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77424 - Posted: 15 May 2025, 22:41:20 UTC - in response to Message 77421.  

The kind of efficiency I care most about is power efficiency. If MT wastes power, then that matters to me.

It always does, the synchronisation between the threads is additional work. In addition to that, cores are not loaded 100%, there's lots of waiting, you can see that in task manager.


There shouldn't be a lot of overhead associated with multi-threading if each thread has its own hardware thread where it can just park.

I think that the clock speed has a much bigger impact on power efficiency. High clock speeds are less efficient. So reducing the utilization could be beneficial to power efficiency.

 

Have you determined the credit rate with an ST task running on every core vs the max number of MT tasks running concurrently?
Yes, runtimes and credits for 300 tasks of each were recorded and the credit per day calculated based on those tasks.


That's a valuable contribution. I just wanted to get to 5 million credits on this project. I'm going to go back to favoring bio/medicine projects.

Neal
ID: 77424 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77432 - Posted: 18 May 2025, 17:46:48 UTC - in response to Message 77424.  

There shouldn't be a lot of overhead associated with multi-threading if each thread has its own hardware thread where it can just park.
Well, there obviously is some bottleneck somewhere, just check how low CPU utilisation is when running one task on all cores.


I think that the clock speed has a much bigger impact on power efficiency. High clock speeds are less efficient. So reducing the utilization could be beneficial to power efficiency.
Yes, high clock speeds are less efficient. That's why I don't let my Ryzen 5700G boost beyond 4 GHz manually via BIOS. The MT-tasks do not downclock your CPU, actually it can boost a lot more compared to other projects because it doesn't run into any limits as fast as on other projects. For maximum efficiency you want low clock and you want to use every cycle, not cores doing nothing part of the time at high clocks and voltages.
ID: 77432 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
nealburns5

Send message
Joined: 19 Feb 22
Posts: 8
Credit: 5,560,571
RAC: 8,965
Message 77435 - Posted: 18 May 2025, 18:22:29 UTC - in response to Message 77432.  

I think that the clock speed has a much bigger impact on power efficiency. High clock speeds are less efficient. So reducing the utilization could be beneficial to power efficiency.
Yes, high clock speeds are less efficient. That's why I don't let my Ryzen 5700G boost beyond 4 GHz manually via BIOS. The MT-tasks do not downclock your CPU, actually it can boost a lot more compared to other projects because it doesn't run into any limits as fast as on other projects. For maximum efficiency you want low clock and you want to use every cycle, not cores doing nothing part of the time at high clocks and voltages.


I've observed some odd behavior with the MT tasks. Going by the ratio of reported CPU time to wall clock time, it will often use 1 thread less than it's allowed. It might use around 12 threads on average when it's allowed 16, but if it's given 8 threads it will average 7.
ID: 77435 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 691
Credit: 19,679,507
RAC: 4,270
Message 77436 - Posted: 18 May 2025, 18:35:43 UTC - in response to Message 77435.  

Going by the ratio of reported CPU time to wall clock time, it will often use 1 thread less than it's allowed. It might use around 12 threads on average when it's allowed 16, but if it's given 8 threads it will average 7.
Yes, that are basically cores waiting for the other cores to finish their part of the job. The fewer threads you allow per task, the less waiting time you get, with single thread WUs it's zero.
ID: 77436 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Beyond
Avatar

Send message
Joined: 15 Jul 08
Posts: 384
Credit: 731,024,715
RAC: 47,305
Message 77439 - Posted: 19 May 2025, 1:24:05 UTC - in response to Message 77436.  
Last modified: 19 May 2025, 1:26:26 UTC

Never mind it's back up... :-)
ID: 77439 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
1 · 2 · Next

Message boards : Number crunching : Not getting MT tasks

©2025 Astroinformatics Group