Re: [patch] CFS scheduler, -v12

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Williams
Date: Monday, May 21, 2007 - 4:51 pm

Dmitry Adamushko wrote:

No, and I haven't seen one.


The split that I see is 3/1 and neither CPU seems to be favoured with 
respect to getting the majority.  However, top, gkrellm and X seem to be 
always on the CPU with the single spinner.  The CPU% reported by top is 
approx. 33%, 33%, 33% and 100% for the spinners.

If I renice the spinners to -10 (so that there load weights dominate the 
run queue load calculations) the problem goes away and the spinner to 
CPU allocation is 2/2 and top reports them all getting approx. 50% each.

It's also worth noting that I've had tests where the allocation started 
out 2/2 and the system changed it to 3/1 where it stabilized.  So it's 
not just a case of bad luck with the initial CPU allocation when the 
tasks start and the load balancing failing to fix it (which was one of 
my earlier theories).


It's not a conspiracy.  It's just dumb luck. :-)


I'm playing with some jitter experiments at the moment.  The amount of 
jitter needs to be small (a few tenths of a second) as the 
synchronization (if it's happening) is happening at the seconds level as 
the intervals for top and gkrellm will be in the 1 to 5 second range (I 
guess -- I haven't checked) and the load balancing is every 60 seconds.

Peter
-- 
Peter Williams                                   pwil3058@bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [patch] CFS scheduler, -v12, Peter Williams, (Fri May 18, 6:11 am)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Fri May 18, 6:26 am)
Re: [patch] CFS scheduler, -v12, Dmitry Adamushko, (Sat May 19, 6:27 am)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Sat May 19, 6:41 pm)
Re: [patch] CFS scheduler, -v12, William Lee Irwin III, (Mon May 21, 1:29 am)
Re: [patch] CFS scheduler, -v12, Ingo Molnar, (Mon May 21, 1:57 am)
Re: [patch] CFS scheduler, -v12, William Lee Irwin III, (Mon May 21, 5:08 am)
Re: [patch] CFS scheduler, -v12, Dmitry Adamushko, (Mon May 21, 8:25 am)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Mon May 21, 4:51 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Mon May 21, 9:47 pm)
Re: [patch] CFS scheduler, -v12, Dmitry Adamushko, (Tue May 22, 4:52 am)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Tue May 22, 5:03 am)
Re: [patch] CFS scheduler, -v12, Chris Friesen, (Tue May 22, 9:48 am)
Re: [patch] CFS scheduler, -v12, Ingo Molnar, (Tue May 22, 1:15 pm)
Re: [patch] CFS scheduler, -v12, Chris Friesen, (Tue May 22, 1:49 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Tue May 22, 5:10 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Thu May 24, 12:43 am)
Re: [patch] CFS scheduler, -v12, Siddha, Suresh B, (Thu May 24, 9:45 am)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Thu May 24, 4:23 pm)
Re: [patch] CFS scheduler, -v12, Siddha, Suresh B, (Tue May 29, 1:45 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Tue May 29, 4:54 pm)
Re: [patch] CFS scheduler, -v12, Siddha, Suresh B, (Tue May 29, 5:50 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Tue May 29, 7:18 pm)
Re: [patch] CFS scheduler, -v12, Siddha, Suresh B, (Tue May 29, 9:42 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Tue May 29, 11:28 pm)
Re: [patch] CFS scheduler, -v12, Peter Williams, (Wed May 30, 6:49 pm)