You are not logged in.

#1 2011-04-22 11:38:36

jdn06
Member
Registered: 2010-02-01
Posts: 67

nice priority with new kernel 2.6.38

I don't understand how tu use correctly the scheduling of the new kernel. An example to be clear:
Now when I launch a compilation with mencoder, the computer divides computing time in two equal parts: 48% for mencoder (with nice 0) & 48% for boinc jobs (with nice 19).
Before 2.6.38, the kernel respected the nice priority and divides time in 95% for mencoder and less than 1% for boinc jobs, which was logical for me.

How can I tune this with the new kernel? What is now the function of "nice" if the kernel doesn't use it anymore to set priority?

Offline

#2 2011-04-22 12:29:02

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: nice priority with new kernel 2.6.38

Take a look through this thread. If I got the gist of it correctly when scanning through, the behaviour is due to the fact that time is split between cgroups instead of processes. You should really read it though, as I just skimmed it.

Offline

#3 2011-04-25 21:57:01

jdn06
Member
Registered: 2010-02-01
Posts: 67

Re: nice priority with new kernel 2.6.38

Thank you for the link: I solved my problem by adding "noautogroup" on the kernel line in grub. No more new scheduling feature.
But if someone can explain how to manage cgroups with ulatencyd, I would be very interested.

Last edited by jdn06 (2011-04-25 22:00:26)

Offline

Board footer

Powered by FluxBB