Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2006 18:29:15 -0500
From:      "Matthew D. Fuller" <fullermd@over-yonder.net>
To:        Volodymyr Kostyrko <arcade@synergetica.dn.ua>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: ahd(4) poor performance
Message-ID:  <20060623232915.GM83482@over-yonder.net>
In-Reply-To: <449C5C32.1090808@synergetica.dn.ua>
References:  <4499B748.6040805@synergetica.dn.ua> <90D11403BD2140875BFEB24D@[10.0.0.22]> <449C0E34.3080005@synergetica.dn.ua> <5272604BA34A45926DFA0D2F@[10.0.0.22]> <449C1861.3080902@synergetica.dn.ua> <0C5F4B7D7A8779025C3E480D@[10.0.0.22]> <449C5C32.1090808@synergetica.dn.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 24, 2006 at 12:25:06AM +0300 I heard the voice of
Volodymyr Kostyrko, and lo! it spake thus:
> 
>   Script:
> 
> dd if=/dev/zero of=/dev/da0s1b count=20480&
> dd if=/dev/zero of=/dev/da0s1b count=20480&
     [...]

This seems like it would be a record-shattering worst possible case
for the disk.  Since there's no buffering on the raw device, each dd
stomps on the sectors of all the others, and each is writing one
sector at a time, so you're probably eating 8 or 10 rotations writing
each sector along the way.  Heck of a stress, maybe, but I'm not sure
it's all that related to anything the disk will realistically do with
normal load.


-- 
Matthew Fuller     (MF4839)   |  fullermd@over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060623232915.GM83482>