<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On Dec 15, 2011, at 12:54 AM, Henry M wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Whenever I've bench-marked disks, I've always just used dd and /dev/zero<span class="Apple-converted-space"> </span><br><br> Example: I want to see how fast I can write a 1GB file<br><br>$ dd if=/dev/zero of=1GB bs=1024 count=1048576<br>1048576+0 records in<br>1048576+0 records out<br>1073741824 bytes (1.1 GB) copied, 8.72947 s, 123 MB/s<br><br>As long as the system load is consistent, you should get consistent results. You can have fun by running multiple versions at once, to simulate heavier "real-world" load.<span class="Apple-converted-space"> </span><br></span></blockquote><div><br></div><div>Oh- &, a little xargs, and some date(1) and time(1) fun.</div><br><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Arial; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><br>You can change the byte size, or count accordingly. Just be careful what values you give dd, you can easily fill up your disk, or break something nasty with a typo (Yes I've done both )<br><br>-Henry</span></blockquote></div><br><div>Yeaaahhhh- this is exactly what I was thinking, but I didn't think to just dd from /dev/zero and build some small tests.</div><div><br></div><div>Sweet.</div><div><br></div><div>Rocket-</div><div>.ike</div><div><br></div><div><br></div></body></html>