|
|
Log in / Subscribe / Register

Userspace scheduling policy daemon

Userspace scheduling policy daemon

Posted Jul 5, 2007 13:49 UTC (Thu) by abatters (✭ supporter ✭, #6932)
Parent article: CFS group scheduling

> So any particular policy can be implemented through the creation of a simple, user-space daemon which responds to process creation events by placing newly-created processes in the right group.

Using a userspace daemon to set process scheduling policy might be fine for long-running processes like the X server, but wouldn't it introduce a lot of overhead for short-lived processes like gcc during kernel builds? I expect it would add a few context switches of overhead to every fork(); that doesn't seem consistent with general kernel developer attitude towards efficiency.


to post comments

Userspace scheduling policy daemon

Posted Jul 6, 2007 10:11 UTC (Fri) by TRS-80 (guest, #1804) [Link]

The usual way to handle this is child processes get put into the same group as their parent. Obviously you wouldn't want this for all processes, but the daemon could mark things like make and gcc as creating a new sub-hierarchy.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds