Re: [ckrm-tech] [PATCH 0/4] sched: Add CPU rate caps

From: Chris Friesen
Date: Mon Jun 19 2006 - 14:54:14 EST


Peter Williams wrote:
These patches implement CPU usage rate limits for tasks.

Personally, I'm more comfortable with guarantees rather than limits.

Specifying a limit doesn't do anything to ensure that a task (or group of tasks) gets enough cpu time to actually accomplish anything unless you specify limits on every task in the system.

Suppose you have a server app that needs at least 50% of the cpu. With a guarantee, you can say "this guy needs 50%, and I don't care about anything else". With limits you have to flip it around--"all these guys together are limited to 50%, and that guy isn't limited". Seems counterintuitive.

Chris


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/