Messages in this thread | | | Date | Sat, 3 Feb 2007 09:22:04 -0800 | From | Elladan <> | Subject | Re: Abysmal disk performance, how to debug? |
| |
You guys are making this harder than it needs to be. Try this:
sync # To make sure nothing else is writing dd if=/dev/zero of=file bs=1M count=1024 oflag=dsync
You'll get reasonable numbers this way out of dd.
-J
On Sat, Jan 27, 2007 at 02:43:04PM -0500, Bill Davidsen wrote: > What you want is this: > sync; > time bash -c "dd if=/dev/zero of=/tmp/1GB bs=1M count=1024; sync" > which will actually time the write with the time command. - 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/
| |