public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@zip.com.au>
To: Mikael Pettersson <mikpe@csd.uu.se>
Cc: linux-kernel@vger.kernel.org
Subject: Re: disk throughput down in 2.5.8
Date: Thu, 18 Apr 2002 18:34:54 -0700	[thread overview]
Message-ID: <3CBF743E.9CA419BB@zip.com.au> (raw)
In-Reply-To: <200204182336.BAA22417@harpo.it.uu.se>

Mikael Pettersson wrote:
> 
> Is it just me or is disk I/O throughput way down in 2.5.8?
> 
> I was preparing to build 2.4.19-pre7 on a box running 2.5.8,
> when I noticed that 'tar zxvf' on the kernel tarball seemed
> slow and jerky. So I ran
> 
>         cd /tmp; time tar zxf /path/to/linux-2.5.8.tar.gz
> 
> on several boxes(*), comparing 2.4.19-pre7 with 2.5.8.
> 
> On the older boxes (2 PentiumIIs and one K6-III), 2.5.8 was slower
> by factors of 2.3-4.5. A P4 with an IBM 60GXP "only" suffered a
> 40% slowdown.
> 

I can't say that it's happening here.  The time to untar
and sync a kernel tarball from /dev/sdb6 to /dev/sdb5:

2.4.19-pre4:
~/doit  6.55s user 3.69s system 53% cpu 19.225 total
2.4.19-pre7
~/doit  6.82s user 3.29s system 53% cpu 18.811 total
2.5.8:
~/doit  6.32s user 3.52s system 56% cpu 17.401 total

So 2.5.8 is a little quicker.  Note that this time includes
"sync".  2.4.19-recent has more intelligent write-behind
than other kernels, and if you don't include the /bin/sync
time, you actually miss out on timing a lot of the I/O.
Which is a good feature in 2.4, but it only goes so far.

dbench throughput is down the tubes in 2.5.8 - partly because
the kernel is starting too many pdflush threads, and partly
because I (had to) take out the bit of code where bdflush
waits on I/O completion before looking for another wakeup.
That would be a waste of pdflush resources.  It needs to
be addressed by other means, but not with the buffer LRUs.

-

      reply	other threads:[~2002-04-19  1:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18 23:36 disk throughput down in 2.5.8 Mikael Pettersson
2002-04-19  1:34 ` Andrew Morton [this message]

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=3CBF743E.9CA419BB@zip.com.au \
    --to=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mikpe@csd.uu.se \
    /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