Welcome to MilkyWay@home

Task is using more threads that allocated in preferences

Message boards : Number crunching : Task is using more threads that allocated in preferences
Message board moderation

To post messages, you must log in.

AuthorMessage
greg_be

Send message
Joined: 18 Aug 09
Posts: 133
Credit: 21,586,001
RAC: 3,698
Message 77314 - Posted: 30 Dec 2024, 21:10:01 UTC

Tasks are using 14 threads per task at 40 minute run times.
In preferences I have it set for 8, but that is ignored.

Is it possible to run tasks with 8 threads instead of 14?
Do I have to make a app_config to make this happen?
I suppose it increases run time, but that would free up some threads for other projects.
ID: 77314 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 650
Credit: 19,514,602
RAC: 1,042
Message 77315 - Posted: 31 Dec 2024, 11:42:01 UTC - in response to Message 77314.  

IIRC it applies only to tasks downloaded after the change.
ID: 77315 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
greg_be

Send message
Joined: 18 Aug 09
Posts: 133
Credit: 21,586,001
RAC: 3,698
Message 77316 - Posted: 31 Dec 2024, 12:04:36 UTC - in response to Message 77315.  
Last modified: 31 Dec 2024, 12:41:23 UTC

IIRC it applies only to tasks downloaded after the change.



Ok, I'll have to check tonight then.
But what gets me is this setting has been in place for a month and BOINC ignores it.
I'll set the project to no new tasks and tomorrow I'll change it to 6 and reset the project. Maybe that will kick in the changes.
ID: 77316 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
greg_be

Send message
Joined: 18 Aug 09
Posts: 133
Credit: 21,586,001
RAC: 3,698
Message 77317 - Posted: 31 Dec 2024, 23:58:52 UTC

Cleared out all remaining old tasks.
Reset project, downloaded new work when my queue was freed up.
End result the same. BOINC ignores the project page settings of 8 threads and uses 14.
ID: 77317 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 650
Credit: 19,514,602
RAC: 1,042
Message 77318 - Posted: 1 Jan 2025, 20:28:11 UTC - in response to Message 77317.  
Last modified: 1 Jan 2025, 20:30:11 UTC

Have you set the preference in the right venue? So far nobody else complained about it and for me it works with just one thread per task as it should.

If you are sure, that everything is configured correctly, than detach and reattach instead of just resetting.
ID: 77318 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
greg_be

Send message
Joined: 18 Aug 09
Posts: 133
Credit: 21,586,001
RAC: 3,698
Message 77319 - Posted: 1 Jan 2025, 20:41:18 UTC - in response to Message 77318.  
Last modified: 1 Jan 2025, 20:54:24 UTC

my own damn fault.
I have an app_config I forgot about that is set for 12 which bumped it to 14 for some reason.
I lowered it to 8 and I have 8 cores working on it now.

Sorry about that...just not thinking through all the possibilities

So disregard this post.
ID: 77319 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Link
Avatar

Send message
Joined: 19 Jul 10
Posts: 650
Credit: 19,514,602
RAC: 1,042
Message 77320 - Posted: 2 Jan 2025, 11:40:38 UTC - in response to Message 77319.  

I recommend to either remove the app_info.xml completely or replace it with:

<app_config>
 <app>
  <name>milkyway_nbody</name>
  <fraction_done_exact/>
 </app>
 <app>
  <name>milkyway_nbody_orbit_fitting</name>
  <fraction_done_exact/>
 </app>
</app_config>
if you want to get better runtime estimates.
ID: 77320 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Task is using more threads that allocated in preferences

©2025 Astroinformatics Group