[lkml]   [2007]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Volanomark slows by 80% under CFS
On Fri, Jul 27, 2007 at 10:47:21PM -0400, Rik van Riel wrote:
> Tim Chen wrote:
> > Ingo,
> >
> > Volanomark slows by 80% with CFS scheduler on 2.6.23-rc1.
> > Benchmark was run on a 2 socket Core2 machine.
> >
> > The change in scheduler treatment of sched_yield
> > could play a part in changing Volanomark behavior.
> > In CFS, sched_yield is implemented
> > by dequeueing and requeueing a process . The time a process
> > has spent running probably reduced the the cpu time due it
> > by only a bit. The process could get re-queued pretty close
> > to head of the queue, and may get scheduled again pretty
> > quickly if there is still a lot of cpu time due.
> I wonder if this explains the 30% drop in top performance
> seen with the MySQL sysbench benchmark when the scheduler
> changed to CFS...
> See

From the authors blog when he did that graph:

"So I updated the image for the second time today to include Ingo's cfs
scheduler. This kernel is from the rpm on his website. I double checked
that it was not using tcmalloc at the time and switching back to a
2.6.21 kernel returned to the expected perf.

Basically, it has the same performance as the FreeBSD 4BSD scheduler
now. Which is to say the peak is terrible but it has virtually no
dropoff and performs better under load than the default 2.6.21
scheduler. "


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2007-07-28 22:29    [W:0.155 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site