Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 209322

Summary: app-misc/dnetc-2.9011.496-r1: issue with fair group cpu scheduler of kernel 2.6.24
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Status: RESOLVED FIXED    
Severity: minor CC: jakub
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2008-02-08 08:11:13 UTC
From a longer discussion at lkml http://lkml.org/lkml/2008/1/28/155 it seems that at least the app-misc/dnetc package should add something like this :

# fair group cpu scheduler
#
[[ -d /sys/kernel/uids/ ]] && echo 2 > /sys/kernel/uids/$(grep -w dnetc
/etc/passwd | cut -d: -f3)/cpu_share

to local.start or sth. similar.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-08 08:18:17 UTC
We are not adding anything to local.start, that file is for users' use *only*. 

Granted we can use dev-util/unifdef or whatnot to create the initscript dynamically, but asking for such changes in applications just for them to not completely suck with kernel default configuration sounds like a rather twisted logic.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-10 00:49:44 UTC
OK, I've fixed this in the tree by modifying the init script.  Thanks for the bug report!