[Bug 527639] Re: boinc should use chrt instead of schedtool
Daniel Hahler
launchpad at thequod.de
Tue Mar 2 03:16:28 UTC 2010
This makes sense to me.
I've started to change this.
Shortcomings: "chrt -p $PID" will not display niceness.
PID 12161: PRIO 0, POLICY D: SCHED_IDLEPRIO, NICE 19, AFFINITY 0x3
vs
pid 12161's current scheduling policy: SCHED_IDLE
pid 12161's current scheduling priority: 0
What's the best way to get niceness of a given process?
Also, chrt does not accept multiple PIDs at once, so a loop is necessary
(which I've abstracted into chrt_many function).
Apart from this, it works as expected. See the attached patch.
** Patch added: "boinc-client-chrt.diff"
http://launchpadlibrarian.net/39944980/boinc-client-chrt.diff
--
boinc should use chrt instead of schedtool
https://bugs.launchpad.net/bugs/527639
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in ubuntu.
More information about the pkg-boinc-devel
mailing list