kvm esxi6 poromox5 ovirt4

Performance testing with some common virtualization platforms.

police of cache

Mode Host Page Cache Disk Write Cache Notes
writethrough × balances performance and safety (better reads)
writeback fast, can loose data on power outage depending on hardware used
unsafe doesn't flush data, fastest and unsafest
none × balances performance and safety (better writes)
directsync × × safest but slowest (relative to the others)
  • CentOS-7.3
  • cache:none
  • @ssd
###################### Performance of / ######################
random_read_iops(4k):24560.2
random_read_bw(4k):98240 KB/s
random_write_iops(4k):24521.25
random_write_bw(4k):98085 KB/s
seq_read_iops(512k):2093.64
seq_read_bw(512k):1046 MB/s
seq_write_iops(512k):588.2
seq_write_bw(512k):294 MB/s

@hdd

###################### Performance of / ######################
random_read_iops(4k):80.9
random_read_bw(4k):323 KB/s
random_write_iops(4k):81.09
random_write_bw(4k):324 KB/s
seq_read_iops(512k):166.02
seq_read_bw(512k):83 MB/s
seq_write_iops(512k):95.83
seq_write_bw(512k):47 MB/s

@ssd

###################### Performance of / ######################
random_read_iops(4k):970.49
random_read_bw(4k):3881 KB/s
random_write_iops(4k):966.01
random_write_bw(4k):3864 KB/s
seq_read_iops(512k):807.41
seq_read_bw(512k):403 MB/s
seq_write_iops(512k):464.29
seq_write_bw(512k):232 MB/s

4.1. @ssd,lvm

no cache:

###################### Performance of / ######################
random_read_iops(4k):7486.36
random_read_bw(4k):29945 KB/s
random_write_iops(4k):7474.49
random_write_bw(4k):29897 KB/s
seq_read_iops(512k):683.4
seq_read_bw(512k):341 MB/s
seq_write_iops(512k):59.6
seq_write_bw(512k):29 MB/s

write-back:

###################### Performance of / ######################
random_read_iops(4k):28622.3
random_read_bw(4k):114489 KB/s
random_write_iops(4k):28576.91
random_write_bw(4k):114307 KB/s
seq_read_iops(512k):10063.88
seq_read_bw(512k):5031 MB/s
seq_write_iops(512k):3193.02
seq_write_bw(512k):1596 MB/s

4.2. @hdd

write-back:

###################### Performance of / ######################
random_read_iops(4k):25725.83
random_read_bw(4k):102903 KB/s
random_write_iops(4k):25685.04
random_write_bw(4k):102740 KB/s
seq_read_iops(512k):12389.59
seq_read_bw(512k):6194 MB/s
seq_write_iops(512k):360.28
seq_write_bw(512k):180 MB/s

5.1. hdd

virt-scsi,write-back:

###################### Performance of / ######################
random_read_iops(4k):339.74
random_read_bw(4k):1358 KB/s
random_write_iops(4k):339.9
random_write_bw(4k):1359 KB/s
seq_read_iops(512k):143.08
seq_read_bw(512k):71 MB/s
seq_write_iops(512k):362.29
seq_write_bw(512k):181 MB/s

virtio,1)writeback

###################### Performance of / ######################
random_read_iops(4k):39192.11
random_read_bw(4k):156768 KB/s
random_write_iops(4k):39129.97
random_write_bw(4k):156519 KB/s
seq_read_iops(512k):10627.92
seq_read_bw(512k):5313 MB/s
seq_write_iops(512k):496.7
seq_write_bw(512k):248 MB/s

5.2. ssd

cache=none:

###################### Performance of / ######################
random_read_iops(4k):9573.49
random_read_bw(4k):38293 KB/s
random_write_iops(4k):9558.31
random_write_bw(4k):38233 KB/s
seq_read_iops(512k):1006.19
seq_read_bw(512k):503 MB/s
seq_write_iops(512k):571.73
seq_write_bw(512k):285 MB/s

cahe=write-back

###################### Performance of / ######################
random_read_iops(4k):38132.56
random_read_bw(4k):152530 KB/s
random_write_iops(4k):38072.09
random_write_bw(4k):152288 KB/s
seq_read_iops(512k):13837.84
seq_read_bw(512k):6918 MB/s
seq_write_iops(512k):1154.19
seq_write_bw(512k):577 MB/s

1)
磁盘设置为viort-scsi缓存会变成cache=none,可在宿主机ps查看
  • virtualization/kvm_vs_esxi6.0_vs_promox5.0_vs_ovirt4.txt
  • 最后更改: 2019/04/16 18:31
  • (外部编辑)