read_global_prefs_override

Message boards : Questions and problems : read_global_prefs_override
Message board moderation

To post messages, you must log in.

AuthorMessage
legolas13

Send message
Joined: 16 Oct 06
Posts: 4
Germany
Message 18981 - Posted: 31 Jul 2008, 15:39:27 UTC

Hi all,
I'm just upgraded to 6.2.14 and found out that it is not longer possible to use only one CPU on a dual core windows system.
With 5.10.45 I could change the global_prefs_override.xml to set the max_cpus to 1.
I did this in the morning to reduce the boinc load on my system and set it to 2 in the evening so that Boinc got full CPU load over night.
Then I used the command boinccmd --read_global_prefs_override to apply these changes and that worked fine.
Now with the new version I see that the file has been read but the number of used CPUs didn't change.

What has been changed here?

legolas13
ID: 18981 · Report as offensive
legolas13

Send message
Joined: 16 Oct 06
Posts: 4
Germany
Message 18982 - Posted: 31 Jul 2008, 15:51:46 UTC

Hi again,
I found it out.
the attribute <max_cpus>2</max_cpus> has changed to
<max_ncpus_pct>100.000000</max_ncpus_pct>

with this my mechanism to reduce the used CPUs works fine again.



ID: 18982 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 18999 - Posted: 31 Jul 2008, 22:39:26 UTC - in response to Message 18991.  

I wonder if in this transitional period where projects have yet not adopted the % parm in their website profiles, if there is a mechanism to translate the old to new on the client side?

Nope, the preference change was done without any thought about backwards compatibility or userfriendliness.

Without any thought, really.
ID: 18999 · Report as offensive
Odd-Rod

Send message
Joined: 29 Oct 07
Posts: 13
South Africa
Message 19047 - Posted: 1 Aug 2008, 21:01:22 UTC - in response to Message 18999.  

I wonder if in this transitional period where projects have yet not adopted the % parm in their website profiles, if there is a mechanism to translate the old to new on the client side?

Nope, the preference change was done without any thought about backwards compatibility or userfriendliness.

Without any thought, really.


Sadly, I agree with this comment. I may be wrong but I think users would want to specify the exact number of CPUs to use, rather than a fraction.

Also, 75% of 4 cores is 3, but what is 75% of 2 cores? Which way does it round off?
But, for me I'll just get to know the values I want and live with it.
ID: 19047 · Report as offensive
Nicolas

Send message
Joined: 19 Jan 07
Posts: 1179
Argentina
Message 19056 - Posted: 2 Aug 2008, 0:43:19 UTC - in response to Message 19047.  

I may be wrong but I think users would want to specify the exact number of CPUs to use, rather than a fraction.

I'm not getting in the discussion of whether it's better to have a fraction or an exact CPU count. What I disagree with is with *changing it* from the way it was before, without providing any "migration path".
ID: 19056 · Report as offensive

Message boards : Questions and problems : read_global_prefs_override

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.