On Wed, Apr 22 2009, Girish Satihal wrote: > Hi Jens, > Running the fio on the partition mounted with filesystem was the > intention to compare the functinality of fio with other performance > benchmarking tool called IOmeter which is used for Windows. We use two > different performance test tools, one is IOmeter for Windows and fio > for Linux. OK, but that doesn't make a lot of sense. The file system is going to be very unhappy if you scribble random data to the device while it is mounted. So either you should keep the device unmounted and run the test on the raw device (or partition), OR you mount the device and run the tests on files hosted on that device. With fio, that would either be: filename=/dev/cciss/c0d0p1 OR directory=/where/c0d0p1/is/mounted > Also, recently we got a customer issue who had very bad performance > numbers for the test they conducted on ext2 filesystem and wanted us > to try the same. They dont use fio. They have thier own proprietery > tool for performance measure. So it was just an investigation for us > to run fio on partition with filesystem instead of keep it > raw. Since we did not find any problem with Random Writes but only > problem with Seqential Writes thought of reporting to you and get the > solution. Thanks for reporting, you should always do that. I'm just trying to make sense of what you want to accomplish. > I am not bothered about the contents of the device. I was just wanted > to compare the performance numbers between the Raw partition and the > filesystem partition. Typically the only difference will be if the device defaults to a small block sizes. For buffered IO, one may find that the umounted partition has 1kb default block size, while once it's mounted, the file system will set the soft block size to it's own size (typically 4kb). So if that makes your difference, you should just mount and immediately umount the partition. That will accomplish the same, and you don't risk panic'ing the file system due to it becoming corrupt while you run the test. > If you want I can look into the erroe messages logged in dmesg. Please do! -- Jens Axboe -- To unsubscribe from this list: send the line "unsubscribe fio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html