Hi,
Code $ for x in $(seq 1 10); do echo $x $(dd if=/dev/zero of=test_data.bin oflag=dsync conv=fdatasync bs=104857600 count=1 2>&1 | grep --only-matching -E "[0-9]+\.?[0-9]+ [kKmMgGtT]B/s"); done | tee test_data_write_times.txt
Results:
1 77.2 MB/s
2 78.4 MB/s
3 82.3 MB/s
4 74.2 MB/s
5 81.0 MB/s
6 109 MB/s
7 105 MB/s
8 83.6 MB/s
9 82.4 MB/s
10 93.6 MB/s
The test was done with disk settings:
<disk type='block' device='disk'>
<driver name='qemu' cache='writeback' io='native'/>
<source dev='/dev/vg_vms/vs1008'/>
<target dev='vda' bus='virtio' />
</disk>
The same test using the config:
<disk type='block' device='disk'>
<driver name='qemu' cache='default' />
<source dev='/dev/vg_vms/vs1008'/>
<target dev='hda' bus='ide' />
</disk>
Results:
1 13.3 MB/s
2 33.3 MB/s
3 29.1 MB/s
4 26.7 MB/s
5 35.0 MB/s
6 7.2 MB/s
7 22.5 MB/s
8 30.8 MB/s
9 37.2 MB/s
10 35.7 MB/s
Dear Virtualizor team which is the fastest and safest configuration to use in production?
L.S.N.
|