Comment #5 on issue 27798 by craig.schlenter: Reduce niceness on background  
tabs
http://code.google.com/p/chromium/issues/detail?id=27798

[ gmatht is the reporter of the ubuntu bug btw. ]

I think that ulimit returns the raw value of getrlimit(RLIMIT_NICE ...) and  
the
actual nice ceiling is 20 - rlim_currrent so if ulimit -e is reporting 20  
then your
allowable ceiling is indeed a nice level of 0. Since chromium checks  
getrlimit in
base/process_linux.cc (introduced in r30470) to renice background tabs, I  
suspect
this should already be working out of the box on "Ubuntu 9.04" and whatever  
other
versions of ubuntu are allowing this. Can someone on an appropriate machine  
check if
their inactive renderer processes are actually niced please?

It's working for me btw. but on my Fedora box I had to fiddle
/etc/security/limits.conf as ulimit -e normally reports 0 (i.e. default is  
that you
can't raise process priorities at all).

Since the kernel and limits.conf appear unchanged, I wonder if ubuntu has  
modified
the pam package to change the defaults?

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to