Re: /dev/zero

Samuel Maftoul (maftoul@esrf.fr)
Sat, 13 Apr 2002 01:02:29 +0200


On Fri, Apr 12, 2002 at 05:12:06PM +0200, Guillaume Gimenez wrote:
> Samuel Maftoul a écrit:
> Samuel> It's just zeroes, so it allows you to test raw write speed on any
> Samuel> device:
> Samuel> dd if=/dev/zero of=/dev/hda to test your performances of hda ...
> Samuel> normally if I get it well, /dev/zero can't be you're bottleneck.
> Samuel> Sam
oops really sorry, It will really earase your disk.
This morning I was really sleepy and wanted to write something other:
time dd if=/dev/zero of=/mnt/ bs=1024 count=100000
and so you can know what's the speed not of your ide or scsi (or
something other) which is given by hdparm but it will give you the speed
through the used filesystem.
Sorry about that.
Sam

>
> Just to save Samuel's soul ;-)
> the dd command supplied above will erase your primary hard drive
>
> To see hard drive performances, hdparm -tT /dev/hda is better.
>
> PS: Pas sympa Samuel
>
> --
> Guillaume Gimenez
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/