From: Andrew Morton <akpm@zip.com.au>
To: Paul <set@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Benchmarks for performance patches (-ck) for 2.4.19
Date: Sun, 01 Sep 2002 22:57:46 -0700 [thread overview]
Message-ID: <3D72FDDA.470D0B84@zip.com.au> (raw)
In-Reply-To: 20020902052203.GC2925@squish.home.loc
Paul wrote:
>
> ...
> I just thought I would toss this in: For some classes
> of users, latency is extremely critical.
There are several types of latency: interrupt, scheduling, IO, probably
more.
The ones we're most interested in are scheduling latency and IO
latency.
These are two utterly, completely, wildly different things! They differ
by two or three orders of magnitude and their underlying causes and
effects are quite different.
Let's please be careful in making the distinction between the two.
scheduling latency is pretty specialised. You have to push the
system pretty hard to experience a scheduling stall which is longer
than a monitor refresh interval. I don't believe that scheduling latency
is perceptible in desktop use. Audio, yes. Games, maybe.
IO latency is a much larger problem in Linux. Once you start pushing the
system it pops up all over the place. One simple test I use to quantify
this is:
- boot with mem=512m
- perform a continuous appending write to an ext2 file on a scratch
disk.
- Now see how long it takes to build a kernel on a different disk.
This is not a completely silly scenario, and we have problems. I have
one (dopey, hate it) patch which reduces that kernel build time by 30%.
The problem is that `gcc' is being forced to write back data to that
scratch disk within the page allocator. It will take some algorithmic
rework in the VM to fix this properly.
Another prominent source of latency is at the disk request layer, where
heavy writers starve readers. There's a hack^Wfix in Alan's kernels
for this, but nobody has discussed in in a while and I'm not sure how
useful it is being.
next prev parent reply other threads:[~2002-09-02 5:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-02 1:10 Benchmarks for performance patches (-ck) for 2.4.19 Con Kolivas
2002-09-02 2:03 ` Ed Sweetman
2002-09-02 2:32 ` Rik van Riel
2002-09-02 4:00 ` Ed Sweetman
2002-09-02 7:39 ` Ingo Oeser
2002-09-02 13:20 ` Rik van Riel
2002-09-03 3:16 ` jw schultz
2002-09-02 5:22 ` Paul
2002-09-02 5:40 ` J Sloan
2002-09-02 5:57 ` Andrew Morton [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-09-02 3:24 Dieter Nützel
2002-09-02 3:41 ` Rik van Riel
2002-09-02 3:42 ` Con Kolivas
2002-09-02 4:21 ` Randy.Dunlap
2002-09-02 9:12 Con Kolivas
2002-09-04 3:39 ` Paul
2002-09-02 12:50 Martin Knoblauch
2002-09-04 5:15 Wade
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=3D72FDDA.470D0B84@zip.com.au \
--to=akpm@zip.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=set@pobox.com \
/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