public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Rogge <marogge@onlinehome.de>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE] BFS CPU scheduler version 0.420 AKA "Smoking" for linux kernel 3.3.0
Date: Wed, 28 Mar 2012 21:39:30 +0200	[thread overview]
Message-ID: <4F7368F2.9090007@onlinehome.de> (raw)
In-Reply-To: <iJTsB-44L-1@gated-at.bofh.it>

On 03/28/2012 07:20 AM, Heinz Diehl wrote:
> On 25.03.2012, Valdis.Kletnieks@vt.edu wrote:
>
>> I'va always wondered what people are using to measure interactivity. Do we have
>> some hard numbers from scheduler traces, or is it a "feels faster"?
>
> I guess it's a "feels faster", because it's the only thing that
> counts.

I think it's inherently difficult to find an objective measure for the 
"feeled" smoothness and interactivity of a desktop machine under load. 
The measuring process probably needs to reside outside the system under 
test and interpret the HDMI output. And control the mouse input.

On a side note, I maintain a little http server and found during testing 
that different servers respond differently to different schedulers. 
(Note this is about throughput, not interactivity, since this is about 
servers and throughput is so easy to measure.) The following is an 
unedited quote from the README:


"As an example look at the
following result reading 1000000 static files at concurrency level 100:

Kernel       Server             Keep-     Requests       Rate     Max.
Version                         Alive     per sec.                [ms]
----------------------------------------------------------------------
3.1.4        Apache/2.2.21       yes        25427        33388     265
3.1.4        lighttpd/1.4.29     yes        54741        68892       6
3.1.4        MrHTTPD/2.2.0       yes        88898       100888       5
3.1.4-ck2    Apache/2.2.21       yes        43760        57462      17
3.1.4-ck2    lighttpd/1.4.29     yes        49227        61652       6
3.1.4-ck2    MrHTTPD/2.2.0       yes       163158       185150       2

The throughput offered by MrHTTPD is three to four times higher than
Apache and Lighttpd. Result sets at higher concurrency continue this
trend, and at insane concurrency levels like 10000 or 20000 MrHTTPD is
the only responsive server remaining.

The other stunning fact proven by these figures is the significant
impact of the BFS CPU scheduler and other optimizations inherent in the
CK patch, leading to almost twice the throughput compared to the
vanilla kernel (which was btw configured to use the CFQ scheduler).
This is even more surprising as the design goal of the CK patch is
desktop interactivity rather than server throughput.

It is also noticable that a fully threaded design like MrHTTPD benefits
particularly well from the CK patch, whereas the event-driven design of
Lighttpd often seems to perform slightly better under the vanilla
kernel."

       reply	other threads:[~2012-03-28 19:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]
2012-03-27 20:52 [ANNOUNCE] BFS CPU scheduler version 0.420 AKA "Smoking" for linux kernel 3.3.0 Micheal Blue
  -- 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-24  9:39 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
     [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

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=4F7368F2.9090007@onlinehome.de \
    --to=marogge@onlinehome.de \
    --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