CPU Usage Limits

Questions and Answers : Preferences : CPU Usage Limits

To post messages, you must log in.

AuthorMessage
jrich

Send message
Joined: 20 Mar 20
Posts: 2
Credit: 1,901,090
RAC: 0
Message 99607 - Posted: 7 Nov 2020, 17:54:41 UTC

Hello,

I am trying to split my CPU cores between 2 different projects. I have adjusted my computing preferences in Rosetta settings to allow the project to use at most 50% of the CPU's. However when I look at my BOINC manager, Rosetta is still using all the cores from my CPU. Do I need to limit the number of cores for Rosetta?

Thanks,
ID: 99607 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Grant (SSSF)

Send message
Joined: 28 Mar 20
Posts: 1684
Credit: 17,932,799
RAC: 22,884
Message 99610 - Posted: 7 Nov 2020, 21:05:08 UTC - in response to Message 99607.  
Last modified: 7 Nov 2020, 21:05:26 UTC

I am trying to split my CPU cores between 2 different projects. I have adjusted my computing preferences in Rosetta settings to allow the project to use at most 50% of the CPU's. However when I look at my BOINC manager, Rosetta is still using all the cores from my CPU. Do I need to limit the number of cores for Rosetta?
With a lot of mucking around you can limit the number of cores a project can use at any given time using a configuration file.
However, that will result in periods where some (or even most) of your cores will be idle as the Manager stops working on one project completely in order to meet your Resource share settings due to different deadlines, Task runtimes & credit allocation between projects.

It is best just to set a small (or zero cache), reserve a CPU core to support your GPU if doing GPU processing, and just let the Manager process work as needed using all possible CPU cores/threads for all projects (make sure use at most xx of the CPUs is 100% for all projects) in order to meet your Resource share settings.
Grant
Darwin NT
ID: 99610 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
jrich

Send message
Joined: 20 Mar 20
Posts: 2
Credit: 1,901,090
RAC: 0
Message 99620 - Posted: 9 Nov 2020, 4:07:39 UTC - in response to Message 99610.  

Thanks for the info!
ID: 99620 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Questions and Answers : Preferences : CPU Usage Limits



©2024 University of Washington
https://www.bakerlab.org