You can find attached the benchmarks on the host and guest. I
find the differences not so big though...
There are few issues with this test:- you don't use oflag=direct or conv=fsync, so this may test copying datato the host page cache, instead of writing data to storage- This tests only sequential write, which is the best case for any kind of storage- Using synchronous I/O - every write wait for the previous write completion- Using single process- 2g is too small, may test your cache performance
Try to test using fio - attached fio script that tests sequential and random io withvarious queue depth.
You can use it like this:
fio --filename=/path/to/fio.data --output=test.out bench.fio
Test both on the host, and in the VM. This will give you more detailedresults that may help to evaluate the issue, and it may help Glusterfolks to advise on tuning your storage.
Nir
Mathieu Valois
Bureau Caen:
Quartier Kœnig - 153, rue Géraldine MOCK - 14760
Bretteville-sur-Odon |