Hi,
On Fri, Mar 10, 2006 at 09:44:35AM +1100, Peter Williams wrote:
> I'm working on a patch to add soft and hard CPU rate caps to the
> scheduler and the soft caps may be useful for what you're trying to do.
> They are a generalization of your SCHED_BATCH implementation in
> staircase (which would have been better called SCHED_BACKGROUND :-)
Which SCHED_BATCH? ;) I only know it as SCHED_IDLEPRIO, which, come to think
of it, is a better name, I believe :-)
(renamed due to mainline introducing a *different* SCHED_BATCH mechanism)
> IMHO) in that a task with a soft cap will only use more CPU than that
> cap if it (the cpu) would otherwise go unused. The main difference
> between this mechanism and staircase's SCHED_BATCH mechanism is that you
> can specify how much (as parts per thousand of a CPU) the task can use
> instead of just being background or not background. With the soft cap
> set to zero the effect would be essentially the same.
Interesting. Hopefully it will bring some nice results!
Andreas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]