配置信息
机器: rmbp2015
虚拟化软件: xhyve/Parallels Desktop/VirtualBox/VMware Fusion
虚拟机配置: 2 core/1G RAM/20G VHD/Centos7.1
测试代码
fio -ioengine=libaio -bs=4k -direct=1 -thread -rw=randwrite -size=10G -filename=test -name="EBS 4KB randwrite test" -iodepth=32 -runtime=60
fio -ioengine=libaio -bs=4k -direct=1 -thread -rw=randread -size=10G -filename=test -name="EBS 4KB randwrite test" -iodepth=32 -runtime=60
fio -ioengine=libaio -bs=512k -direct=1 -thread -rw=write -size=10G -filename=test -name="EBS 512KB seqwrite test" -iodepth=64 -runtime=60
测试结果



结论
忘记打结论了,xhyve调的官方的虚拟化框架,io性能实际感受是最好的,但是用起来比较麻烦,持续写入也就只有xhyve能达到比较满意的程度900-1000mb/s,其他三家基本只能跑到200-300mb/s左右,4k随机读不懂xhyve性能反而会比其他三家差。
测试时目测数值稳定:xhyve > pd >vb > vm 使用感受:xhyve >pd >vm>vb
,谢谢指出