Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # cat runbonnie.sh
- #!/bin/bash
- ram=`free -m | grep 'Mem:' | awk '{print $2}'`
- size=$(($ram*2))
- echo "ram=$ram size=$size"
- dir=$1
- bonnie++ -n 0 -u 0 -r $ram -s $size -f -b -d $dir
- ## 3ware 9750-8i, RAID 6, five Hitachi HDS722020ALA330 2TB drives
- ## ext4 filesystem in an LVM volume group, in a software-encrypted LVM physical volume
- # ./runbonnie.sh /home/eric/foo
- ram=15698 size=31396
- Using uid:0, gid:0.
- Writing intelligently...done
- Rewriting...done
- Reading intelligently...done
- start 'em...done...done...done...done...done...
- Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
- Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
- Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
- ruckus2.brou 31396M 124714 27 61133 19 148203 17 308.2 17
- Latency 9402ms 10118ms 196ms 522ms
- 1.96,1.96,ruckus2.brouhaha.com,1,1302892750,31396M,,,,124714,27,61133,19,,,148203,17,308.2,17,,,,,,,,,,,,,,,,,,,9402ms,10118ms,,196ms,522ms,,,,,,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement