Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stefan Schroepfer <scr@iis.fhg.de>
Subject: Re: Problems with slow EIDE disk / slow system time
Date: Wed, 17 Sep 1997 14:01:50 +0200	[thread overview]
Message-ID: <ee3a52a8f883959a68e61da15d65244c.axp-list@archive.invalid> (raw)

Stefan Illy wrote (Aug 20 1997):
> 
> We use a 4 GByte EIDE harddisk in our PC164/21164 based system.

Me too.

> The throughput of the EIDE disk is quite slow (approx 1.5 MByte/sec).
> With `/sbin/hdparm -c 1 -m 16 /dev/hdc' (32 bit mode, multicount=16),
> we get a much better performance of approx 7 MByte/sec.
> 
> According to the FAQ, one should also use the hdparm-flag `-u 1'
> (unmask IRQ on), to avoid the system time running slow (this is the
> case on our system).
> Unfortunately, running `hdparm -u 1 -c 1 -m 16' slows the EIDE disk
> down to approx. 1.7 MByte/sec :-(

Yes: hdparm does report a higher read rate (using option '-t')
after setting some flags.
*BUT* simply counting seconds during a
  $ hdparm -T /dev/hda       # to avoid caching artifacts
  $ hdparm -t /dev/hda       # perform timings of device reads
on an otherwise idle system will show you that disk throughput
is not as fast as hdparm wants to tell you.
In fact, only the OS's clock runs slower during disk I/O, as you
can see if you do a
  $ clock -u -A -r; date     # '-A' if ARC console
before and after the two hdparm calls.

> Is there a possibility to get both, a fast disk throughput and a
> accurate system time?

In my opinion: no. I think it is only possible to slow down system
time, but not to get fast EIDE disk throughput.

Cheers, Stefan Schroepfer
scr@iis.fhg.de

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1997-09-17 12:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-17 12:01 Stefan Schroepfer [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-09-17 13:44 Problems with slow EIDE disk / slow system time Stefan Schroepfer
1997-09-17 13:09 Ronny Ranerup
1997-08-20 14:33 Michal Jaegermann
1997-08-20  9:36 Stefan Illy
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