[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070203172204.GA29334@eskimo.com>
Date: Sat, 3 Feb 2007 09:22:04 -0800
From: Elladan <elladan@...imo.com>
To: Bill Davidsen <davidsen@....com>
Cc: linux-kernel@...r.kernel.org, Sunil Naidu <akula2.shark@...il.com>,
Ismail Dönmez <ismail@...dus.org.tr>
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists