Hi all,
I have done some IO tests on proxmox 4.2 with iothread. Results below:
Conclusion:
1) option iothread gives more performance increase when used with virtio-scsi
2) For small number of io threads virtio-blk performs significantly better
3) For small number of io threads using option iothread reduces performance for virtio-scsi
4) For a larger number of io threads use option iothread with virtio-scsi
5) If using virtio-scsi always select virtio-scsi-single
Why virio-scsi-single performs significantly better than virtio-scsi is a mystery to me!!??
I have done some IO tests on proxmox 4.2 with iothread. Results below:
Code:
fio --description="Emulation of Intel IOmeter File Server Access Pattern"
--name=iometer --bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10
--rw=randrw --rwmixread=80 --direct=1 --size=4g --ioengine=libaio --iodepth=8
read write
virtio-blk
iothread=1: 13603 3403
iothread=0: 9795 2450
virtio-scsi-single
iothread=1: 5797 1450
iothread=0: 7011 1754
virtio-scsi
iothread=1: 2560 640
iothread=0: 9379 2346
fio --description="Emulation of Intel IOmeter File Server Access Pattern"
--name=iometer --bssplit=512/10:1k/5:2k/5:4k/60:8k/2:16k/4:32k/4:64k/10
--rw=randrw --rwmixread=80 --direct=1 --size=4g --ioengine=libaio --iodepth=64
read write
virtio-blk
iothread=1: 11699 2927
iothread=0: 8710 2179
virtio-scsi-single
iothread=1: 16745 4189
iothread=0: 3233 808
virtio-scsi
iothread=1: 10982 2747
iothread=0: 4943 1236
Conclusion:
1) option iothread gives more performance increase when used with virtio-scsi
2) For small number of io threads virtio-blk performs significantly better
3) For small number of io threads using option iothread reduces performance for virtio-scsi
4) For a larger number of io threads use option iothread with virtio-scsi
5) If using virtio-scsi always select virtio-scsi-single
Why virio-scsi-single performs significantly better than virtio-scsi is a mystery to me!!??