suspended CPU usage

Message boards : Questions and problems : suspended CPU usage
Message board moderation

To post messages, you must log in.

AuthorMessage
Travis von Dessonneck

Send message
Joined: 31 Jul 08
Posts: 32
United States
Message 102117 - Posted: 13 Dec 2020, 2:56:23 UTC

I am trying to make it so that the suspended CPU usage is no 0 (in hopes that exclusive apps will simply limit resources, not cut them off completely). I changed the <suspend_cpu_usage>0.000000</suspend_cpu_usage> in global_prefs_override.xml to <suspend_cpu_usage>50.000000</suspend_cpu_usage> (seems like a simple solution), but do not see any difference when I run an exclusive app or even just tell the program to suspend. I saw in other threads a mention of just a global_prefs.xml file, but I cannot find that file anywhere. Does anyone have any ideas as to where I might look to play with this setting?
ID: 102117 · Report as offensive
Nick Name

Send message
Joined: 14 Aug 19
Posts: 55
United States
Message 102119 - Posted: 13 Dec 2020, 5:23:36 UTC - in response to Message 102117.  

BOINC doesn't dynamically manage resources in that way. <suspend_cpu_usage> means if the system load - not counting BOINC - is above that percentage, stop computing. There's no way to do what you want unless you can script something using boinccmd.

re. global_prefs, it will be in the BOINC data folder, however if you are changing settings in the manager the file you want to look at is global_prefs_override.xml. Parameters are set with the BOINC manager so there shouldn't be any need to mess with it. If you do decide to tinker with it outside of BOINC, use a plain text editor and make sure it's set as an XML file.
Team USA forum
Follow us on Twitter
Help us #crunchforcures!
ID: 102119 · Report as offensive
Travis von Dessonneck

Send message
Joined: 31 Jul 08
Posts: 32
United States
Message 102148 - Posted: 14 Dec 2020, 14:41:20 UTC - in response to Message 102119.  

I figured with the line in the global_prefs_override.xml file of <suspend_cpu_usage>0.000000</suspend_cpu_usage> it might mean that one could set the number of processors available when in a suspended state. If that is not what it does, then what does this line do?
ID: 102148 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2531
United Kingdom
Message 102150 - Posted: 14 Dec 2020, 15:34:47 UTC - in response to Message 102148.  

I figured with the line in the global_prefs_override.xml file of <suspend_cpu_usage>0.000000</suspend_cpu_usage> it might mean that one could set the number of processors available when in a suspended state. If that is not what it does, then what does this line do?


If you change it from the default of 0.000000 which means no restriction, then it should suspend cpu usage if non-boinc cpu usage is above whatever figure you put in there which should be less than 100 as the figure is a percentage. Or that is my understanding of it at any rate.
ID: 102150 · Report as offensive

Message boards : Questions and problems : suspended CPU usage

Copyright © 2024 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.