Re: Network slowdown due to CFS

From: Casey Dahlin
Date: Thu Oct 04 2007 - 01:34:24 EST


Ingo Molnar wrote:
* Jarek Poplawski <jarkao2@xxxxx> wrote:
[...] (Btw, in -rc8-mm2 I see new sched_slice() function which seems to return... time.)

wrong again. That is a function, not a variable to be cleared.

It still gives us a target time, so could we not simply have sched_yield put the thread completely to sleep for the given amount of time? It wholly redefines the operation, and its far more expensive (now there's a whole new timer involved) but it might emulate the expected behavior. Its hideous, but so is sched_yield in the first place, so why not?

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