Re: RSDL v0.30 cpu scheduler for mainline kernels

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Con Kolivas
Date: Wednesday, March 14, 2007 - 11:05 pm

On Thursday 15 March 2007 13:31, Siddha, Suresh B wrote:

Thanks. If it's just that then scaling rr interval with cpus somewhat would
help. If you could, the following patch just to test might confirm that.

---
 kernel/sched.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.21-rc3-mm2/kernel/sched.c
===================================================================
--- linux-2.6.21-rc3-mm2.orig/kernel/sched.c	2007-03-15 17:03:17.000000000 +1100
+++ linux-2.6.21-rc3-mm2/kernel/sched.c	2007-03-15 17:03:30.000000000 +1100
@@ -104,7 +104,7 @@ unsigned long long __attribute__((weak))
  * This is the time all tasks within the same priority round robin.
  * Set to a minimum of 6ms.
  */
-#define RR_INTERVAL		((6 * HZ / 1001) + 1)
+#define RR_INTERVAL		((12 * HZ / 1001) + 1)
 #define DEF_TIMESLICE		(RR_INTERVAL * 20)
 
 #ifdef CONFIG_SMP

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

Messages in current thread:
RSDL v0.30 cpu scheduler for mainline kernels, Con Kolivas, (Sun Mar 11, 4:58 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, David Miller, (Mon Mar 12, 4:46 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Con Kolivas, (Mon Mar 12, 8:05 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Willy Tarreau, (Mon Mar 12, 9:32 pm)
Re: [ck] Re: RSDL v0.30 cpu scheduler for mainline kernels, Felipe Alfaro Solana, (Mon Mar 12, 10:03 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, David Miller, (Mon Mar 12, 10:29 pm)
Re: [ck] RSDL v0.30 cpu scheduler for mainline kernels, Ash Milsted, (Tue Mar 13, 8:35 am)
Re: [ck] RSDL v0.30 cpu scheduler for mainline kernels, Con Kolivas, (Tue Mar 13, 8:46 am)
Re: [ck] RSDL v0.30 cpu scheduler for mainline kernels, Chris Friesen, (Tue Mar 13, 10:45 am)
Re: [ck] RSDL v0.30 cpu scheduler for mainline kernels, Ash Milsted, (Wed Mar 14, 2:47 am)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Siddha, Suresh B, (Wed Mar 14, 7:31 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Con Kolivas, (Wed Mar 14, 11:05 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Siddha, Suresh B, (Thu Mar 15, 10:46 am)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Ray Lee, (Thu Mar 15, 11:58 am)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Con Kolivas, (Thu Mar 15, 2:11 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Siddha, Suresh B, (Thu Mar 15, 2:12 pm)
Re: RSDL v0.30 cpu scheduler for mainline kernels, Szonyi Calin, (Sat Mar 17, 7:27 am)