Comment 7 for bug 177713

Revision history for this message
Daniel Hahler (blueyed) wrote : Re: 2.6.24-2: Regression with idle cpu cycle handling

Re-assigning the bug task to boinc:
it's related to CONFIG_FAIR_USER_SCHED: each user gets the same amout of CPU slices/cycles and therein the niceness is applied. Therefore, the boinc user gets half of the CPU.
This can be adjusted using the following command, which will give "2" cpu_share units to the boinc user (the default is 1024 and root gets 2048). Caution: assigning 1 there locked my (single core) system!
$ echo 2 | sudo tee /sys/kernel/uids/`id -u boinc`/cpu_share

I will provide a patch for the boinc-client init script.

I've posted about this to http://lkml.org/lkml/2008/1/19/63, but without a reply until now.