From: hahn@neurocog.lrdc.pitt.edu (Mark Hahn)
Subject: Re: Linux/Alpha IDE inefficiency? (Was: SCSI and IDE)
Date: 1997/10/09 [thread overview]
Message-ID: <61hvet$ked@usenet.srv.cis.pitt.edu> (raw)
In-Reply-To: 61h0uc$inm@news2.zippo.com
: time dd if=/dev/zero of=foo bs=1024k count=100 (100 megabyte file)
: 60 seconds elapsed time, 28% cpu usage (and much of the rest of the system
: consumed by "update")
several questions come to mind. first, does hdparm exist for Alpha Linux,
and are you using sensible settings such as -m8c3d1? next, the standard
questions what disk, and what about the filesystem, virgin, with 4k blocks?
also, why not use a file that's larger than dram, so that you don't end
up mainly measuring the buffer cache? also, I expect that you'd get better
performance by merely using a reasonable buffer size, not one that
necessarily flushes all cache...
: time cp foo bar
: 120 seconds elapsed time, 35% usage (and much...)
with 28 and 35% usage, this is clearly PIO.
: 200 mhz dual PPro 256M ram SCSI (440FX chipset motherboard)
: dd takes 4 seconds, 88% cpu
: cp takes 30 seconds, 14% cpu
88% is an excellent indicator that you're measuring buffer-cache.
: nor a SCSI PC164 to verify that it doesn't have this problem. I am rather
: startled by the result.
really? in what sense? it's basically impossible to interpret numbers
that are so confounded. why not simply post a bonnie run?
anyway, getting back to the issue: I can't imagine any reason why
busmastering ATA wouldn't work quite fine on Alphas. I _can_ imagine
that PIO (any port io, actually) might be peculiar and possibly slow,
but busmastering ATA on x86's is quite sweet:
~5% CPU overhead, ~10 MB/s sustained.
regards, mark hahn.
--
operator may differ from spokesperson. hahn@neurocog.lrdc.pitt.edu
http://neurocog.lrdc.pitt.edu/~hahn/
next prev parent reply other threads:[~1997-10-09 4:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-10-02 4:00 Linux and Alpha gryko
1997-10-03 4:00 ` Carlos Vidal
1997-10-04 4:00 ` SCSI and IDE (Was: Linux and Alpha) Anton Ertl
1997-10-05 4:00 ` Carlos Vidal
1997-10-08 4:00 ` Stefan Boresch
1997-10-08 4:00 ` Linux/Alpha IDE inefficiency? (Was: SCSI and IDE) Greg Lindahl
1997-10-08 4:00 ` a sun
1997-10-09 4:00 ` Steven N. Hirsch
1997-10-09 4:00 ` Mark Hahn [this message]
1997-10-09 4:00 ` Greg Lindahl
[not found] ` <61jlc9$a4j$1@geraldo.cc.utexas.edu>
1997-10-10 4:00 ` Mark Hahn
1997-10-10 4:00 ` Andrew Kieschnick
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox