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



On Sun, Jan 20, 2008 at 09:03:38AM +0530, Dhaval Giani wrote:
On Sat, Jan 19, 2008 at 03:52:44PM +0100, dAniel hAhler wrote:
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


Correct, that is the way to go about it.

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!


Can you please provide some more details. Can you go into another
console (try ctrl-alt-f1) and try to reproduce the issue there. Could
you take a photo of the oops/panic and upload it somewhere so that we
can see it?


I've not been able to reproduce this problem on my system here. Do you
try to change the cpu_share of the current user?

--
regards,
Dhaval
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Form.Close problem
    ... I can't reproduce the problem consistently in .NET 1.1, ... If the workaround presented by Dejan Jelovic is necesary, ... > of windows to the top level form. ... > internal interface IWinFormsHack{ ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Maximised MDIChild bug?
    ... Follow your steps and I can reproduce the problem on my side. ... A quick workaround is to set the MenuStrip's Visible property to false and ... I will check our inner database to see if it is a known issue in the next ...
    (microsoft.public.dotnet.languages.vb)
  • Re: The Top Ten Niggling, Irritating, and Downright Bad IDE Bugs List
    ... Randy Magruder wrote: ... trying like hell to help this reproduce, find a workaround etc. I'd ...
    (borland.public.delphi.non-technical)
  • Re: Cached assemblies cause me grief
    ... So far I can not reproduce the problem. ... And I think you may try to use the workaround your refer to in your last ... Prev by Date: ...
    (microsoft.public.office.developer.com.add_ins)
  • Re: bug or feature in userland thread library (O_NONBLOCK)
    ... >I think our userland thread library has some bugs in ... >handling descriptors. ... I can reproduce the behaviour on -current ... >The code includes a workaround but it is not particularly nice. ...
    (freebsd-current)

Loading