Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 209322 - app-misc/dnetc-2.9011.496-r1: issue with fair group cpu scheduler of kernel 2.6.24
Summary: app-misc/dnetc-2.9011.496-r1: issue with fair group cpu scheduler of kernel 2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-08 08:11 UTC by Toralf Förster
Modified: 2008-04-10 00:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!