Re: Regression with idle cpu cycle handling in 2.6.24 (compared to 2.6.22)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: LKML <linux-kernel@...>
Date: Saturday, January 19, 2008 - 10:52 am

Hello,

I've now found the reason and a workaround for this. Apparently, it's
related to CONFIG_FAIR_USER_SCHED and can be worked around by
assigning a really small value to the boinc users cpu_share (125 is
the uid of "boinc"):
$ echo 2 | sudo tee /sys/kernel/uids/125/cpu_share

While looking around, I've found the following patch, which seems to
address this:
http://www.ussg.iu.edu/hypermail/linux/kernel/0710.3/3849.html

It has been posted here, but without any response.

btw: writing 1 into "cpu_share" totally locks up the computer!


Cheers.

On Jan 19, 2008 3:05 PM, I wrote:



-- 
http://daniel.hahler.de/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Regression with idle cpu cycle handling in 2.6.24 (compa..., dAniel hAhler, (Sat Jan 19, 10:52 am)
Re: Regression with idle cpu cycle handling in 2.6.24 (compa..., Srivatsa Vaddagiri, (Mon Jan 21, 1:18 pm)