Skip to contentSkip to conversation

/dev/zero

DISCUSSION Samuel Maftoul 1 participant 1 message Apr 12, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 6 lines · Guillaume Gimenez

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

Quoted 10 lines

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

Signature · 1 line
Guillaume Gimenez