public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Tomas Szepe <szepe@pinerecords.com>
To: Marc-Christian Petersen <m.c.p@wolk-project.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Read this and be ashamed ;) or: Awfull performance loss since 2.4.18 to 2.4.21-pre2
Date: Mon, 23 Dec 2002 13:03:49 +0100	[thread overview]
Message-ID: <20021223120349.GJ12643@louise.pinerecords.com> (raw)
In-Reply-To: <200212221439.28075.m.c.p@wolk-project.de>

> 2.4.18
> 2147483648 bytes transferred in 119.140681 seconds (18024772 bytes/sec)
>
> 2.4.19
> 2147483648 bytes transferred in 140.305836 seconds (15305733 bytes/sec)

Well I'm getting the numbers the other way round. <g>

Machine:

$ egrep 'model name|MHz' /proc/cpuinfo
model name      : AMD Athlon(tm) processor
cpu MHz         : 996.037
$ grep MemTotal /proc/meminfo
MemTotal:       516588 kB
$ egrep 'Bridge|DMA rate' /proc/ide/via
South Bridge:                       VIA vt82c686b
Highest DMA rate:                   UDMA100
$ cat /proc/ide/ide0/hda/model
ST380021A
$ su -c 'hdparm -Iv /dev/hda| grep -i dma'
 using_dma    =  1 (on)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
$ grep [[:blank:]]/[[:blank:]] /etc/fstab
/dev/hda3	/	reiserfs	defaults	1	1

Tests:

$ uname -r
2.4.18
$ time sh -c 'sync; sync; sync; dd if=/dev/zero of=hoax bs=16k count=131072; sync; sync; sync'
131072+0 records in
131072+0 records out
real    1m44.708s
user    0m0.140s
sys     0m20.340s
=> 19.56MB/s

$ uname -r
2.4.20
$ time sh -c 'sync; sync; sync; dd if=/dev/zero of=hoax bs=16k count=131072; sync; sync; sync'
131072+0 records in
131072+0 records out
real    1m27.980s
user    0m0.120s
sys     0m20.290s
=> 23.28MB/s

I also tried machines with disks connected to various SCSI controllers
and in all cases more recent kernels gave better results than older
ones (sym53c8xx: two-disk raid1 - 2.4.18: ~35MB/s, 2.4.20: ~40MB/s).
I'm using reiserfs 3.6 everywhere.

-- 
Tomas Szepe <szepe@pinerecords.com>

  parent reply	other threads:[~2002-12-23 11:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-22 13:47 Read this and be ashamed ;) or: Awfull performance loss since 2.4.18 to 2.4.21-pre2 Marc-Christian Petersen
2002-12-22 14:38 ` Marc-Christian Petersen
2002-12-22 14:57   ` Marc-Christian Petersen
2002-12-22 22:21     ` J.A. Magallon
2002-12-22 22:59       ` Marc-Christian Petersen
2002-12-23 12:03 ` Tomas Szepe [this message]
2002-12-23 12:39   ` Marc-Christian Petersen
2002-12-23 12:15 ` Roy Sigurd Karlsbakk

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=20021223120349.GJ12643@louise.pinerecords.com \
    --to=szepe@pinerecords.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.c.p@wolk-project.de \
    /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