Re: pluggable scheduler thread (was Re: Volanomark slows by 80% under CFS)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Snook <csnook@...>
Cc: <tim.c.chen@...>, <mingo@...>, <linux-kernel@...>
Date: Monday, July 30, 2007 - 5:24 pm

On Mon, Jul 30, 2007 at 05:07:46PM -0400, Chris Snook wrote:

The workload takes 40% more so you've to add up that additional 40%
too into your math. "A lot less time" sounds an overstatement to
me. Also you've to take into account cache effects in executing the
scheduler so much etc...


It looks weird that there are a lot less tasks in R state. Could you
press SYSRQ+T to see where those hundred tasks are sleeping in the CFS
run?


Given the increase of context switches, it means not all the ctx
switches are "userland mandated", so the first thing to try here is to
increase the granularity with the new tunable sysctl. Increasing the
granularity has to reduce the context switch rate, and in turn it will
reduce the slowdown to less than 40%.

There's nothing necessarily flawed in CFS even if it's slower than
O(1) in this load no matter how you tune it. The higher context switch
rate to retain complete fariness is a feature, but fariness vs global
performance is generally a tradeoff.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Volanomark slows by 80% under CFS, Tim Chen, (Fri Jul 27, 6:01 pm)
[patch] sched: yield debugging, Ingo Molnar, (Sun Jul 29, 1:37 pm)
Re: [patch] sched: yield debugging, Tim Chen, (Mon Jul 30, 2:10 pm)
Re: [patch] sched: yield debugging, Ingo Molnar, (Tue Jul 31, 4:33 pm)
Re: [patch] sched: yield debugging, Tim Chen, (Wed Aug 1, 4:53 pm)
Re: Volanomark slows by 80% under CFS, Dmitry Adamushko, (Sat Jul 28, 8:36 am)
RE: Volanomark slows by 80% under CFS, David Schwartz, (Sat Jul 28, 2:55 pm)
Re: Volanomark slows by 80% under CFS, Rik van Riel, (Fri Jul 27, 10:47 pm)
Re: Volanomark slows by 80% under CFS, Dave Jones, (Sat Jul 28, 4:26 pm)
Re: Volanomark slows by 80% under CFS, Chris Snook, (Fri Jul 27, 8:31 pm)
Re: Volanomark slows by 80% under CFS, Dmitry Adamushko, (Sat Jul 28, 9:28 am)
Re: Volanomark slows by 80% under CFS, Andrea Arcangeli, (Fri Jul 27, 8:59 pm)
Re: pluggable scheduler thread (was Re: Volanomark slows by ..., Andrea Arcangeli, (Mon Jul 30, 5:24 pm)