Re: RAID-1 performance under 2.4 and 2.6
From: Bill Davidsen
Date: Thu Mar 27 2008 - 17:51:57 EST
Bart Van Assche wrote:
On Tue, Mar 25, 2008 at 11:00 PM, Chris Snook <csnook@xxxxxxxxxx> wrote:
It means you shouldn't use dd as a benchmark.
If you want to benchmark write speed, you should add
oflag=direct,dsync to the dd command line. For benchmarking read speed
you should specify iflag=direct. Or, even better, you can use xdd with
the flags -dio -processlock.
No, you want your benchmark to measure performance doing what the
application does. Do unless you have an application which has been
heavily Linux-ized you don't want to measure something unrelated to the
application requirements.
--
Bill Davidsen <davidsen@xxxxxxx>
"We have more to fear from the bungling of the incompetent than from
the machinations of the wicked." - from Slashdot
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/