Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: David Lang
Date: Monday, March 12, 2007 - 11:00 pm

On Mon, 12 Mar 2007, Lee Revell wrote:


this can solve the specific problem (and since 'nice' is the natural way to tell 
the kernel this, it's not even a one-shot solution).

however Linus is right, the real underlying problem is where the user is 
waiting on a server. if this issue could be solved then a lot of things would 
benifit.

Con, as a quick hack (probably a bad idea as I'm not a scheduling expert), if a 
program blocks on another program (via a pipe or socket) could you easily give 
the rest of the first program's timeslice to the second one, without makeing it 
loose it's own?

I'm thinking that doing the dumb thing and just throwing a bit more CPU at the 
thing you are waiting for may work. (assuming that the server process actually 
does something useful with the extra CPU time it gets)

as far as latencies go, it would be like turning every process on the system 
into a cpu hog.

David Lang

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2, Radoslaw Szkodzinski, (Sun Mar 11, 11:58 pm)
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2, David Lang, (Mon Mar 12, 11:00 pm)
Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2 ..., Rodney Gordon II, (Mon Mar 12, 11:08 pm)
Re: [ck] Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for ..., Mike Galbraith, (Mon Mar 12, 11:30 pm)
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2, Valdis.Kletnieks, (Tue Mar 13, 10:21 am)
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2, Jeremy Fitzhardinge, (Tue Mar 13, 10:59 am)
Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2, Jeremy Fitzhardinge, (Tue Mar 13, 1:10 pm)