Re: [REPORT] cfs-v4 vs sd-0.44

From: Ingo Molnar
Date: Wed Apr 25 2007 - 05:33:19 EST



* Ray Lee <madrabbit@xxxxxxxxx> wrote:

> It would seem like there should be a penalty associated with sending
> those points as well, so that two processes communicating quickly with
> each other won't get into a mutual love-fest that'll capture the
> scheduler's attention.

it's not really "points", but "nanoseconds you are allowed to execute on
the CPU". And thus two processes communicating with each other quickly
and sending around this resource does get the attention of CFS: the
resource is gradually consumed because the two processes are running on
the CPU while they are communicating with each other. So it all works
out fine.

Ingo
-
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/