You can find attached the benchmarks on the host and guest. I find the differences not so big though...

Le 09/09/2021 à 13:40, Nir Soffer a écrit :
There are few issues with this test:
- you don't use oflag=direct or conv=fsync, so this may test copying data
   to 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 with
various 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 detailed
results that may help to evaluate the issue, and it may help Gluster 
folks to advise on tuning your storage.

Nir
--
téïcée Mathieu Valois

Bureau Caen: Quartier Kœnig - 153, rue Géraldine MOCK - 14760 Bretteville-sur-Odon
Bureau Vitré: Zone de la baratière - 12, route de Domalain - 35500 Vitré
02 72 34 13 20 | www.teicee.com

téïcée sur
                    facebook téïcée sur
                    twitter téïcée sur
                    linkedin téïcée sur viadeo
Datadocké