Welcome to MilkyWay@home

Client ignoring max threads

Message boards : Number crunching : Client ignoring max threads
Message board moderation

To post messages, you must log in.

AuthorMessage
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 16
Credit: 80,682,579
RAC: 9,369
Message 77659 - Posted: 14 Oct 2025, 17:47:49 UTC

As per title, I have set the max threads for one of my boxes to 12, yet its still downloading units for 16cpus?
ID: 77659 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ryan Munro

Send message
Joined: 22 Jun 09
Posts: 16
Credit: 80,682,579
RAC: 9,369
Message 77660 - Posted: 14 Oct 2025, 18:32:28 UTC

Ok I have managed to force it to 12 via an app_config file, shouldn't setting max CPU's to 12 in the web settings do the same thing though?
ID: 77660 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 819
Credit: 21,098,268
RAC: 5,537
Message 77661 - Posted: 15 Oct 2025, 15:27:07 UTC - in response to Message 77660.  
Last modified: 15 Oct 2025, 15:27:42 UTC

Yes, it should and for me it works. Did you set it in the right venue? (default/home/school/work)
ID: 77661 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Conan
Avatar

Send message
Joined: 2 Jan 08
Posts: 127
Credit: 70,786,760
RAC: 7,267
Message 77663 - Posted: 17 Oct 2025, 4:45:45 UTC

I have a host that is also ignoring my app_config.xml settings of 8 threads, which has worked for ages.
It now runs on single threads for some reason.
Had BOINC Manager reread my config files but this made no difference, still using 1 cpu thread.

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

Send message
Joined: 19 Jul 10
Posts: 819
Credit: 21,098,268
RAC: 5,537
Message 77664 - Posted: 17 Oct 2025, 9:59:18 UTC - in response to Message 77663.  
Last modified: 17 Oct 2025, 10:02:43 UTC

Post your app_config.xml. But in general you should not need it anymore except for <fraction_done_exact/> if you want to use that feature.

My looks like that:
<app_config>
 <app>
  <name>milkyway_nbody</name>
  <fraction_done_exact/>
 </app>
 <app>
  <name>milkyway_nbody_orbit_fitting</name>
  <fraction_done_exact/>
 </app>
 <project_max_concurrent>16</project_max_concurrent>
</app_config>

ID: 77664 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Conan
Avatar

Send message
Joined: 2 Jan 08
Posts: 127
Credit: 70,786,760
RAC: 7,267
Message 77666 - Posted: 17 Oct 2025, 13:13:12 UTC

Thanks Link

I didn't realize that I could set the max thread option from my account preferences.

So I deleted my app_config.xml, made the changes in my account for 8 threads and hit update on my computers.

Well I was a bit disappointed with the result.

Under my default location in my account I have 2 computers, one downloaded work units using 8 threads, the other downloaded work units using single threads.
I have now set up an actual Home location and placed the one in the Default location in the Home location, will see what happens.

I have reset that host but now am awaiting new work to test again.

The one that had the single work units before has now downloaded work units that will use 8 threads so that seems OK.

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

Send message
Joined: 19 Jul 10
Posts: 819
Credit: 21,098,268
RAC: 5,537
Message 77667 - Posted: 17 Oct 2025, 14:49:03 UTC - in response to Message 77666.  

Yes, after deleting app_config.xml reseting the project might be necessary in some cases. If it stil doesn't work detach, shut down the BOINC client (or restart the computer) and attach again, that should definitely fix everything.
ID: 77667 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Conan
Avatar

Send message
Joined: 2 Jan 08
Posts: 127
Credit: 70,786,760
RAC: 7,267
Message 77669 - Posted: 17 Oct 2025, 22:17:06 UTC

The reset worked, working as per preferences

Conan
ID: 77669 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Profile Conan
Avatar

Send message
Joined: 2 Jan 08
Posts: 127
Credit: 70,786,760
RAC: 7,267
Message 77672 - Posted: 18 Oct 2025, 23:20:51 UTC

Well the reset sort of worked.

I now realize that there are both single threaded and multi-threaded applications available.

With my app_config.xml I controlled this, but now that the project seems to be ignoring the app_config.xml file I am getting both types of work units.

Deleting the app_config.xml file did not help as I am getting both work unit types. There is no setting to select single or multi threaded work units that I can see.

Single thread work units can take over 10 hours. At least I get my hours up on WUProp@Home

I may fiddle around with app_config.xml settings to block the single and just have MT, but I will see how it goes.


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

Send message
Joined: 19 Jul 10
Posts: 819
Credit: 21,098,268
RAC: 5,537
Message 77673 - Posted: 19 Oct 2025, 10:46:21 UTC - in response to Message 77672.  

That's strange. I recently switched from single thread tasks to 7 thread tasks and it worked as it should, not one single ST task since than. A mix would be extremely annoying considering how well BOINC handles a mix of ST and MT tasks.

Did you specify the amount of threads per task or set it to "no limit"? IIRC "no limit" gives a mix, a specific number gives exactly that number of threads or less in case the computer doesn't have or BOINC isn't allowed to use that amount of threads, but it should eliminate the ST tasks.
ID: 77673 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Client ignoring max threads

©2026 Astroinformatics Group