Re: [patch] CFS scheduler, -v6
From: Kasper Sandberg
Date: Sun Apr 29 2007 - 04:00:08 EST
On Sun, 2007-04-29 at 08:59 +0200, Ingo Molnar wrote:
> * Willy Tarreau <w@xxxxxx> wrote:
>
> > I don't know if Mike still has problems with SD, but there are now
> > several interesting reports of SD giving better feedback than CFS on
> > real work. In my experience, CFS seems smoother on *technical* tests,
> > which I agree that they do not really simulate real work.
>
> well, there are several reports of CFS being significantly better than
> SD on a number of workloads - and i know of only two reports where SD
> was reported to be better than CFS: in Kasper's test (where i'd like to
> know what the "3D stuff" he uses is and take a good look at that
> workload), and another 3D report which was done against -v6. (And even
> in these two reports the 'smoothness advantage' was not dramatic. If you
> know of any other reports then please let me know!)
I can tell you one thing, its not just me that has observed the
smoothness in 3d stuff, after i tried rsdl first i've had lots of people
try rsdl and subsequently sd because of the significant improvement in
smoothness, and they have all found the same results.
The stuff i have tested with in particular is unreal tournament 2004 and
world of warcraft through wine, both running opengl, and consuming all
the cpu time it can get.
and the thing that happens is simply that even when theres only that
process, sd is still smoother, but the significance is much larger once
just something starts, like if the mail client starts fetching mail, and
running some somewhat demanding stuff like spamasassin, the only way you
notice it is by the drop in fps, smoothness is 100% intact with SD
(ofcourse if you started HUGE load it probably would get so little cpu
it would stutter), but with every other scheduler you will notice
immediate and quite severe stuttering, in fact to many it will seem
intolerable.
I can tell you how I first noticed this, i was experimenting in ut2k4
with sd, and usually i always have to close my mail client, because when
spamasassin starts (nice 0), the game would stutter quite much, but when
i was playing i noticed some IO activity and work noises from my disk,
but that was all, no noticable stutter or problems with the 3d, but i
couldnt figure out why, i then discovered i had forgotten to close my
mail client which i previously ALWAYS have had to do.
If you have some ideas on how these problems might be fixed i'd surely
try fixes and stuff, or if you have some data you need me to collect to
better understand whats going on. But i suspect any somewhat demanding
3d application will do, and the difference is so staggering that when
you see it in effect, you cant miss it.
>
> Ingo
>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/