Hello,

I think <max_cpus> is deprecated and has been replaced by <max_ncpus_pct>,
which is the percentage of the total cores to use.

If you have 4 cores and you only want to use 1 core, try modifying the
global_prefs_override.xml to include

    <max_cpus>1</max_cpus>
    <max_ncpus_pct>25.0</max_ncpus_pct>

and leaving the rest of the file intact. Then reload it.

BTW, it seems to round down. On my dual core machine I can set it to 99.0
percent and it will only use 1 cpu core. On your 4 core machine, anything
from 25.0 to 49.0 should just use 1 core.

Hope this helps,

David Ball

On 3/6/2013 3:10 PM, Jöbstl, Emanuel wrote:
> Hello David and John, thank you for your fast replies.
>
> I investigated the configuration files located in C:\ProgramData\Boinc,
and also validated that read_global_prefs_override is set.
>
> In my config files (global_prefs and global_prefs_override), max_cpus is
set to 1, but still there are four tasks running, using all the
processor cores.
>
> What could cause this issue?
>
> I attached the configuration files and the output of boinccmd.exe
--get_tasks.
>
> with best regards,
> Emi
> ________________________________________
> Von: boinc_dev [[email protected]] im Auftrag von David
Anderson [[email protected]]
> Gesendet: Dienstag, 5. März 2013 22:01
> An: [email protected]
> Betreff: Re: [boinc_dev] Preferences Override
>
> Here's how things are supposed to work:
>
> global_prefs.xml contains preferences from the project server.
>
> global_prefs_override.xml contains preferences set locally.
>     It's written by the set_global_prefs_override() GUI RPC.
>     As the name implies, values specified here override
>     those in global_prefs.xml.
>
> Note: after calling set_global_prefs_override(),
>     you must call read_global_prefs_override() to have the
>     new preferences take effect.
>
> -- David
>
> On 05-Mar-2013 12:02 PM, Jöbstl, Emanuel wrote:
>> Hello Boinc Devs,
>>
>> Again, I need some help:
>>
>> 1)
>>
>> I noticed that my local Boinc preferences are being overwritten with the
>> preferences from the project server. Is there any way to avoid this or
do I
>> have to change the preferences on the server too? I am setting the
>> preferences by doing a "set_global_prefs_override" Gui-Rpc call.
>>
>> 2)
>>
>> Is there any way to detect that a task has been finished on client side
>> (using Gui Rpc)?
>>
>> with best regards and thanks, Emanuel
>> _______________________________________________ boinc_dev mailing list
>> [email protected]
>> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe,
>> visit the above URL and (near bottom of page) enter your email address.
>>
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.
> _______________________________________________
> boinc_dev mailing list
> [email protected]
> http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
> To unsubscribe, visit the above URL and
> (near bottom of page) enter your email address.


_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to