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

Ingo Molnar
2007-04-25T09:33:01Z

* Ray Lee <madrabbit@gmail.com> 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