From: Mike Galbraith <efault@gmx.de>
To: Con Kolivas <kernel@kolivas.org>
Cc: Valdis.Kletnieks@vt.edu, Gene Heskett <gene.heskett@gmail.com>,
linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] BFS CPU scheduler version 0.420 AKA "Smoking" for linux kernel 3.3.0
Date: Tue, 27 Mar 2012 07:13:56 +0200 [thread overview]
Message-ID: <1332825236.7411.54.camel@marge.simpson.net> (raw)
In-Reply-To: <CABqErrGaBLisO4YK5dP2O9Pv0QonZ+q9G43jm=Nf12yWVGv6tw@mail.gmail.com>
On Tue, 2012-03-27 at 09:30 +1100, Con Kolivas wrote:
> On 26 March 2012 00:37, Mike Galbraith <efault@gmx.de> wrote:
> > Yeah. In all the interactivity testing I've ever done, it's really hard
> > to not see what you expect and/or hope to see. For normal desktop use,
> > I don't see any real difference with BFS vs CFS unless I load test of
> > course, and that can go either way, depending on the load.
> >
> > Example:
> >
> > 3.3.0-bfs vs 3.3.0-cfs - identical config
> >
> > Q6600 desktop box doing a measured interactivity test.
> >
> > time mplayer BigBuckBunny-DivXPlusHD.mkv, with massive_intr 8 as competition
> >
> > no bg load real 9m56.627s 1.000
> > CFS real 9m59.199s 1.004
> > BFS real 12m8.166s 1.220
> >
> > As you can see, neither scheduler can run that perfectly on my box, as
> > the load needs a tad more than its fair share. However, the Interactive
> > Experience was far better in CFS in this case due to it being more fair.
> > In BFS, the interactive tasks (mplayer/Xorg) could not get their fair
> > share, causing interactivity to measurably suffer.
>
> massive_intr runs a number of threads that each run for 8ms and then
> sleep for 1ms. That means they are 89% cpu bound. Run 8 of them and
> your CPU load is 88.8 * 8 = 7.1. So now you're testing a difficult
> mplayer benchmark in the presence of a load of 7.1 on a CPU with 4
> cores. I don't know how much CPU the playback of your particular video
> is but I suspect it does require a fair amount of CPU based on the CPU
> it got back in your test. I can virtually guarantee that the amount of
> CPU BFS is giving to mplayer is proportional to how much CPU is left.
> Ergo as far as I can see, BFS is likely being absolutely perfectly
> fair. This sort of fairness equation has been already elucidated in
> the pHD that I linked to in my original post and he has done a much
> more thorough analysis than this kind of drive-by test that you're
> doing and misinterpreting has already shown that BFS is fair to a
> fault.
>
> snip the rest
>
> 'top' snapshots are uninteresting because CFS and BFS report cpu time
> completely differently and a single snapshot tells us nothing.
>
> Snip uninteresting-to-desktop-user throughput benchmarks.
You accuse others of disinterest in their dirty underwear, and wave away
the wide skid marks in your own with a flick of the wrist. Amazing.
-Mike
next prev parent reply other threads:[~2012-03-27 5:14 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-24 9:39 [ANNOUNCE] BFS CPU scheduler version 0.420 AKA "Smoking" for linux kernel 3.3.0 Con Kolivas
2012-03-24 9:53 ` Gene Heskett
2012-03-24 10:00 ` Con Kolivas
2012-03-25 2:05 ` Valdis.Kletnieks
2012-03-25 2:33 ` Con Kolivas
2012-03-25 13:37 ` Mike Galbraith
2012-03-26 22:30 ` Con Kolivas
2012-03-27 5:13 ` Mike Galbraith [this message]
[not found] ` <CABqErrGaBLisO4YK5dP2O9Pv0QonZ+q9G43jm=Nf12yWVG,<1332825236.7411.54.camel@marge.simpson.net>
[not found] ` <SNT112-W24CBD78928F4DD6AFDA564A14A0@phx.gbl>
2012-03-28 3:48 ` Mike Galbraith
2012-03-28 5:12 ` Heinz Diehl
2012-03-28 12:39 ` Nikos Chantziaras
2012-03-28 13:53 ` Heinz Diehl
2012-03-28 15:28 ` Nikos Chantziaras
2012-03-28 16:44 ` Mike Galbraith
-- strict thread matches above, loose matches on Subject: below --
2012-03-27 20:17 Mike Blue
2012-03-27 20:45 ` Pekka Enberg
2012-03-27 20:52 Micheal Blue
[not found] <iIvLH-3cI-5@gated-at.bofh.it>
[not found] ` <iIw53-3TH-15@gated-at.bofh.it>
[not found] ` <iIL45-3H1-5@gated-at.bofh.it>
[not found] ` <iJTsB-44L-1@gated-at.bofh.it>
2012-03-28 19:39 ` Martin Rogge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1332825236.7411.54.camel@marge.simpson.net \
--to=efault@gmx.de \
--cc=Valdis.Kletnieks@vt.edu \
--cc=gene.heskett@gmail.com \
--cc=kernel@kolivas.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox