Subject: Re: disk speed query
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-i386
Date: 05/10/2005 21:31:28
On Tue, May 10, 2005 at 12:48:58PM +0100, Patrick Welche wrote:
> While waiting for a 22GB text file to be read through a filter, I was
> just wondering whether I should expect a faster read rate..
> 
>  88% |********************************     | 19885 MB    4.06 MB/s    10:49 ETA
> 
> is what progress says, so as the disks aren't doing anything else, is that
> a reasonable way to estimate read speed?

Did you run top and systat vm while this was running ? Just to check that
it is not CPU bound.
You could also try a 'cat bigfile > /dev/null' to see if progress or the
filter has some impact.

> But then, what does iostat
> tell me?
> 
> % iostat sd2
>       tty              sd2             CPU
>  tin tout  KB/t  t/s  MB/s  us ni sy in id
>    0   76 30.83   31  0.92  18 70 12  0  0

I think this is the average since the system booted.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--