Re:Comparing Filesystem Performance in Virtual Machines
by stefanha on Friday January 10, 2014 @09:43PM
(#7041246)
This benchmark is bogus because the iozone -I flag is missing. -I uses O_DIRECT to avoid the page cache.
Due to page cache usage it's hard to say what this benchmark is comparing. The I/O pattern seen by the actual disk, shared folder, or NFS may be different between benchmark runs. It all depends on amount of RAM available, state of cache, readahead, write-behind, etc.
Please rerun the benchmark with -I to get an apples-to-apples comparison.
Re:Comparing Filesystem Performance in Virtual Machines
by vl on Sunday January 12, 2014 @11:00PM
(#7048832)
Depends on configuration, but most setups propagate O_DIRECT all the way through - otherwise it would be impossible to run many apps, such as DBs in VM.
Due to page cache usage it's hard to say what this benchmark is comparing. The I/O pattern seen by the actual disk, shared folder, or NFS may be different between benchmark runs. It all depends on amount of RAM available, state of cache, readahead, write-behind, etc.
Please rerun the benchmark with -I to get an apples-to-apples comparison.