Welcome to MilkyWay@home

Multithreaded opt out.

Message boards : Number crunching : Multithreaded opt out.
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile adrianxw

Send message
Joined: 25 May 14
Posts: 31
Credit: 56,750,059
RAC: 0
Message 62122 - Posted: 6 Aug 2014, 18:31:48 UTC

Just looked at my settings trying to find an opt out for the multithreaded wu's. couldn't find it. Where is it?
ID: 62122 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3339
Credit: 524,010,781
RAC: 0
Message 62126 - Posted: 7 Aug 2014, 10:33:49 UTC - in response to Message 62122.  

Just looked at my settings trying to find an opt out for the multithreaded wu's. couldn't find it. Where is it?


I just looked at te type of units you have selected under Your Account, Milky Wy @home preferences this is the kind of unit you are running:
MilkyWay@Home N-Body Simulation v1.42 (mt)

The solution is too uncheck that kind of unit and then you won't get them anymore. So in your case uncheck the 'N-body' units.
ID: 62126 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile adrianxw

Send message
Joined: 25 May 14
Posts: 31
Credit: 56,750,059
RAC: 0
Message 62130 - Posted: 7 Aug 2014, 18:44:03 UTC - in response to Message 62126.  

Okay, done. I had assumed that multithreading would be a project wide setting, and hence, was looking in the wrong place.

For the curious, I wanted to get out of mt because it waste significant resources - I hate to see the Windows Idle Process "running" when I have loads of work for other projects waiting on the same machine. I dumped LHC's T4T project for the same reason.
ID: 62130 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3339
Credit: 524,010,781
RAC: 0
Message 62136 - Posted: 8 Aug 2014, 10:11:46 UTC - in response to Message 62130.  

Okay, done. I had assumed that multithreading would be a project wide setting, and hence, was looking in the wrong place.

For the curious, I wanted to get out of mt because it waste significant resources - I hate to see the Windows Idle Process "running" when I have loads of work for other projects waiting on the same machine. I dumped LHC's T4T project for the same reason.


It doesn't really 'waste' them it just uses all your cpu cores for a single unit, making it crunch faster, than if it only used a single core and took much longer. But yes it does prevent your other cores from crunching other projects too. Although unless you have a cc_config file you could still end up crunching 4 MW units and none of the other projects units.
ID: 62136 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
swiftmallard
Avatar

Send message
Joined: 18 Jul 09
Posts: 300
Credit: 303,565,482
RAC: 0
Message 62137 - Posted: 8 Aug 2014, 12:30:52 UTC - in response to Message 62136.  

Okay, done. I had assumed that multithreading would be a project wide setting, and hence, was looking in the wrong place.

For the curious, I wanted to get out of mt because it waste significant resources - I hate to see the Windows Idle Process "running" when I have loads of work for other projects waiting on the same machine. I dumped LHC's T4T project for the same reason.


It doesn't really 'waste' them it just uses all your cpu cores for a single unit, making it crunch faster, than if it only used a single core and took much longer. But yes it does prevent your other cores from crunching other projects too. Although unless you have a cc_config file you could still end up crunching 4 MW units and none of the other projects units.

It is not really multi-thread opt out, rather n-body opt out. If the next version of n-body is not multi-threaded, you still won't get them.
ID: 62137 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile mikey
Avatar

Send message
Joined: 8 May 09
Posts: 3339
Credit: 524,010,781
RAC: 0
Message 62139 - Posted: 9 Aug 2014, 10:32:36 UTC - in response to Message 62137.  

Okay, done. I had assumed that multithreading would be a project wide setting, and hence, was looking in the wrong place.

For the curious, I wanted to get out of mt because it waste significant resources - I hate to see the Windows Idle Process "running" when I have loads of work for other projects waiting on the same machine. I dumped LHC's T4T project for the same reason.


It doesn't really 'waste' them it just uses all your cpu cores for a single unit, making it crunch faster, than if it only used a single core and took much longer. But yes it does prevent your other cores from crunching other projects too. Although unless you have a cc_config file you could still end up crunching 4 MW units and none of the other projects units.


It is not really multi-thread opt out, rather n-body opt out. If the next version of n-body is not multi-threaded, you still won't get them.


GOOD POINT!!
ID: 62139 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile adrianxw

Send message
Joined: 25 May 14
Posts: 31
Credit: 56,750,059
RAC: 0
Message 63136 - Posted: 12 Feb 2015, 5:16:34 UTC

>>> It doesn't really 'waste' them

When I see the Windows idle process running, there is computing power available that is not being used. Yes, it IS wasting them.
ID: 63136 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Jacob Klein

Send message
Joined: 22 Jun 11
Posts: 32
Credit: 41,852,496
RAC: 0
Message 63140 - Posted: 14 Feb 2015, 22:36:07 UTC
Last modified: 14 Feb 2015, 22:51:38 UTC

I too have been noticing MilkyWay nbody mt (multi-threading) v1.46 tasks... go to 100%, and then continue doing something indefinitely, utilizing only a single core, despite BOINC budgeting multiple CPUs (3, or 4, or 8) to the task. Worse yet, there are no saved checkpoints for the task!

So, yes, it is for sure leading to idle resources.

The questions are:
- Is it expected for a MilkyWay nbody mt task to continue running for a long time, single-threaded, after the 100% mark? This is wasting resources.
- If it is expected, for how long should we wait until we consider it a bug? This is wasting resources.
- Why aren't there any checkpoints? If a user decides to suspend the workunit, and restart it, it'll restart from the very beginning again. This is wasting resources.
- Does the v1.48 app solve any of these problems, and if so, which ones?

Have I made my point? My questions deserve answers.
ID: 63140 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
M0CZY
Avatar

Send message
Joined: 26 Jun 09
Posts: 18
Credit: 468,518
RAC: 957
Message 77274 - Posted: 7 Nov 2024, 14:08:34 UTC

Recently, one of my computers stopped receiving multithreaded work units, and is instead getting one work unit per thread.
How can I persuade the server to return to sending it multithreaded work units again?
ID: 77274 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Keith Myers
Avatar

Send message
Joined: 24 Jan 11
Posts: 715
Credit: 555,430,633
RAC: 38,320
Message 77275 - Posted: 7 Nov 2024, 19:29:06 UTC - in response to Message 77274.  

Go to Project Preferences and select Edit and in the "Max # of threads for each MilkyWay@home task" entry box, input the number of threads you want to use. Sounds like it is currently set to only 1 for you now.

Also select all applications, though we seem to be getting only Orbit-Fitting tasks for the past year. That search has two different apps, a single-thread app and a multi-thread app.
ID: 77275 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
M0CZY
Avatar

Send message
Joined: 26 Jun 09
Posts: 18
Credit: 468,518
RAC: 957
Message 77276 - Posted: 8 Nov 2024, 15:24:48 UTC - in response to Message 77275.  

Go to Project Preferences and select Edit and in the "Max # of threads for each MilkyWay@home task" entry box, input the number of threads you want to use.

That didn't work for me. I ended up with just one single-thread work unit running.
What I had to do was reset, then detach and reattach to the project. Now I have multithreaded work units again.
ID: 77276 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
cuphi

Send message
Joined: 16 Aug 22
Posts: 4
Credit: 5,034,409
RAC: 32,725
Message 77277 - Posted: 10 Nov 2024, 1:48:45 UTC - in response to Message 62126.  

Just looked at my settings trying to find an opt out for the multithreaded wu's. couldn't find it. Where is it?


I just looked at te type of units you have selected under Your Account, Milky Wy @home preferences this is the kind of unit you are running:
MilkyWay@Home N-Body Simulation v1.42 (mt)

The solution is too uncheck that kind of unit and then you won't get them anymore. So in your case uncheck the 'N-body' units.



Linux Containers in WSL. Once you figure it out you can dedicate how many threads (virtual CPUs) each container can use and have each container focus on a single project. You can ever pin containers to specific vCPU's so they always run their workloads on a set of cores.
ID: 77277 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Multithreaded opt out.

©2024 Astroinformatics Group