Open main menu

CDOT Wiki β

Changes

Winter 2009 SYA810 Block Device Benchmark Scripts

307 bytes added, 16:48, 9 February 2009
LINKS
echo -n $((1024 / $TIME_READ_USED))
echo " MB/sec"
 
== Milton Paiva Neto ==
 
#!/bin/bash
#
# Script first written by Nestor Chan - Bossanesta and modified by Milton Paiva Neto <milton.paiva@gmail.com>
# Create 10 files with one with 10 GBs fully of zeros
 
time -p (for ((x=1; x<=10; x++))
do
dd if=/dev/zero of=fakefile$x bs=1G count=10;
done
sync
)
= LINKS =
[http://linux-raid.osdl.org/index.php/Performance Linux Raid Performance]