Message boards :
Questions and problems :
Limiting CPU & RAM from Linux Terminal
Message board moderation
Author | Message |
---|---|
Send message Joined: 7 Sep 08 Posts: 2 ![]() |
Hi, I'm currently running BOINC from a remote linux terminal, but I can't figure out how to limit the CPU and RAM usage. I start BOINC with "./boinc" from inside a screen session, and everything runs fine, but it always uses 4/4 processors, where as I only want it to use 3/4 processors. Any ideas? Cheers, Daniel. |
Send message Joined: 8 Aug 08 Posts: 3 ![]() |
...I start BOINC with "./boinc" from inside a screen session, and everything runs fine, but it always uses 4/4 processors, where as I only want it to use 3/4 processors... Try editing the "global_prefs_override.xml" file in the BOINC directory and amend the line <max_ncpus_pct>100.000000</max_ncpus_pct> to <max_ncpus_pct>75.000000</max_ncpus_pct> This will set the BOINC client to use 3/4 of your processors when it re-reads the settings files on startup. From the command line you will need to issue boinccmd --read_global_prefs_override to get the revised settings used at once. Andrew |
Send message Joined: 7 Sep 08 Posts: 2 ![]() |
Excellent, I was looking through the directory trying to find a config file and I have no idea how I managed to miss that... Thank you sir! |
Copyright © 2023 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.