Help Limiting Asteroids Tasks


Message boards : Number crunching : Help Limiting Asteroids Tasks

Message board moderation

To post messages, you must log in.
AuthorMessage
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8456 - Posted: 1 Jul 2024, 1:39:04 UTC
I have an AMD 12 core CPU that usually runs 24 tasks at a time. I can do this on DENIS, Einstein, Rosetta and Universe Projects. But Asteroids' tasks really lite my CPU up. Meaning it overheats and shuts down, I share task time for the all of projects. I know I can limit how much Boinc uses my computer but I don't need to do that. I just want to limit Asteroids project from doing more than 7 tasks at once, I have tried by using the account_asteroidsathome.net_boinc.xml file and trying two different limits but neither worked and I hoped someone understood how to limit the tasks just for Asteroids project.
1) I added this to the file I mentioned:
<app_config>
<app>
<name>period_search</name>
<max_concurrent>7</max_concurrent>
</app>
</app_config>

I did not see an error in the BOINC log file after rereading the config files. The Asteroids tasks were not limited.

2) I added this instead to the file:
<app_config>
<app_version>
<app_name>period_search</app_name>
<plan_class></plan_class>
<cmdline>--optimization 3</cmdline>
</app_version>
</app_config>
I did not see an error in the BOINC log file after rereading the config files. The Asteroids tasks were not limited.

How can I limit the number of tasks that Asteroids runs at the same time on my computer.

Thanks
ID: 8456 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Ian&Steve C.
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 23 Apr 21
Posts: 83
Credit: 100,102,162
RAC: 251,461
Message 8457 - Posted: 1 Jul 2024, 13:59:32 UTC - in response to Message 8456.  
the second option you tried would not limit the number of tasks, that's why it didnt work. that command line argument is for telling the app which optimization to use (SSE3/AVX/etc). has nothing to do with task limiting.

go back to your previous config. but do it this way instead:

<app_config>
<project_max_concurrent>7</project_max_concurrent>
</app_config>

you need to add these into an app_config.xml file located in your project folder, wherever that is (maybe /var/lib/boinc or something similar, look for a directory like /var/lib/boinc/projects/asteroidsathome.net_boinc/). put the app_config.xml there. then re-read config files.

ID: 8457 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Steve Gaber

Send message
Joined: 7 Mar 14
Posts: 77
Credit: 6,620,738
RAC: 2,872
Message 8459 - Posted: 2 Jul 2024, 4:12:03 UTC - in response to Message 8456.  
I have an AMD 12 core CPU that usually runs 24 tasks at a time. I can do this on DENIS, Einstein, Rosetta and Universe Projects. But Asteroids' tasks really lite my CPU up. Meaning it overheats and shuts down, I share task time for the all of projects. I know I can limit how much Boinc uses my computer but I don't need to do that. I just want to limit Asteroids project from doing more than 7 tasks at once, I have tried by using the account_asteroidsathome.net_boinc.xml file and trying two different limits but neither worked and I hoped someone understood how to limit the tasks just for Asteroids project.
1) I added this to the file I mentioned:
<app_config>
<app>
<name>period_search</name>
<max_concurrent>7</max_concurrent>
</app>
</app_config>

I did not see an error in the BOINC log file after rereading the config files. The Asteroids tasks were not limited.

2) I added this instead to the file:
<app_config>
<app_version>
<app_name>period_search</app_name>
<plan_class></plan_class>
<cmdline>--optimization 3</cmdline>
</app_version>
</app_config>
I did not see an error in the BOINC log file after rereading the config files. The Asteroids tasks were not limited.

How can I limit the number of tasks that Asteroids runs at the same time on my computer.

Thanks


I have a similar experience but not with Asteroids. The CPU in my computer ozAuthenticAMD
AMD Ryzen 7 5700G with Radeon Graphics [Family 25 Model 80 Stepping 0] (16 processors).

It can do 16 Asteroids tasks at once while running at 170 degrees F. Similar results with Einstein or Milky Way.

But anywhere from five to ten Rosetta tasks will push it over 200 degrees F. Ten WCGT tasks will make it run over 190 degrees.

So I try to limit the number of those tasks running to a few, while still running combinations of 10 or 12 Asteroids, Milky Way or Einstein by suspending most of the Rosetta and WCG tasks. Sometimes I have to select No New Tasks or even suspend one of those. Problem is, Rosetta has only a 3-day turn-around time.

S. Gaber
ID: 8459 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8463 - Posted: 3 Jul 2024, 7:36:09 UTC - in response to Message 8459.  
Thanks. I do limit them by setting my "Use at most % of CPU time" to 75 or 80%. That cools things down but when no Asteroid tasks are running I set it back up to 100%. This morning there were 12 Asteroid tasks running and my CPU got up to 101° C. I want to avoid that and just limit the number of Asteroid tasks.
ID: 8463 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8464 - Posted: 3 Jul 2024, 8:18:04 UTC - in response to Message 8457.  
Thanks. I tried that and restarted my computer so I was sure the XML was reread and I did not see any errors in the Event Log file. Later at about 21:30 the file was rewritten for some reason and my changes were gone. I hate to seem stupid and I have been looking at the documentation on the BIONC config files but I don't see anything that totally explains the XML file's layout. Mine has:
<account>
with various values
<project preferences>
<resource_share>100</resource_share>
<no_cpu>0</no_cpu>
<no_ati>0</no_ati>
<no_cuda>0</no_cuda>
</project_preferences>
<gui_urls>
<gui_url>
</gui_url>
<gui_url>
</gui_url>
<gui_url>
</gui_url>
</gui_urls>
<ifteam/>
<account/>

Should I add the new section in the <project_preferences> section?
<project_preferences>
current values
<app_config>
<project_max_concurrent>7</project_max_concurrent>
</app_config>
</project_preferences>
ID: 8464 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8465 - Posted: 3 Jul 2024, 8:54:14 UTC - in response to Message 8457.  
Sorry, I see my error. I created the app_config.xml in the /var/lib/boinc-client/projects/asteroidsathome.net_boinc on my computer running Ubuntu Linux. I turned the Unparsed XML flag on and when I "Read config files" the log showed that Asteroids@home found the app_config.xml file. It did not list any unparsed XML. So I expect the task limit to work. I will just need to check the Asteroids project activity.

THANKS!!!
ID: 8465 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8466 - Posted: 3 Jul 2024, 12:55:43 UTC - in response to Message 8465.  
The change you suggested did limit the tasks to 7 and was holding at about 86 to 87°C, so I ran the limit to 8 tasks and that keeps it at about 88 to 89°C. This will depend heavily on the ambient temperature. On reboot BIONC logs values that were read from the XML that it read. Thanks again.
ID: 8466 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8469 - Posted: 3 Jul 2024, 20:29:41 UTC - in response to Message 8459.  
The fix to create app_config.xml file and add the suggested xml worked GREAT to keep my temperature down. I just limit how many tasks run concurrently For the Asteroids@home project.
You could do something similar for Rossetta@home project. I run Rossetta also and the project directory on my computer is "boinc.bakerlab.org_rosetta".
Good Luck
ID: 8469 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote
Winton

Send message
Joined: 12 Nov 23
Posts: 7
Credit: 672,752
RAC: 2,319
Message 8470 - Posted: 3 Jul 2024, 20:29:59 UTC - in response to Message 8459.  
The fix to create app_config.xml file and add the suggested xml worked GREAT to keep my temperature down. I just limit how many tasks run concurrently For the Asteroids@home project.
You could do something similar for Rossetta@home project. I run Rossetta also and the project directory on my computer is "boinc.bakerlab.org_rosetta".
Good Luck
ID: 8470 · Rating: 0 · rate: Rate + / Rate - Report as offensive     Reply Quote

Message boards : Number crunching : Help Limiting Asteroids Tasks