Hi guys,
I have PM 4.2 up2date with ZFS mirror on two SSD disks.
Disk read speed is acceptable everywhere.
Disk write speed is acceptable on hypervisor and well as in LXC containers:
In PM:
dd if=/dev/zero of=brisi bs=10M count=200 oflag=dsync
200+0 records in
200+0 records out
2097152000 bytes (2.1 GB) copied, 3.77828 s, 555 MB/s
in LXC:
dd if=/dev/zero of=brisi bs=10M count=100 oflag=dsync
100+0 records in
100+0 records out
1048576000 bytes (1.0 GB) copied, 2.04414 s, 513 MB/s
However in KVM CentOS 7 installed from minimal ISO, i can never go above 99 MB/s:
dd if=/dev/zero of=brisi bs=10M count=100 oflag=dsync
100+0 zapisov na vhodu
100+0 zapisov na izhodu
1048576000 bajtov (1,0 GB) prepisanih, 11,2772 s, 93,0 MB/s
I tried every cache mode (OK, dangerous mode gives me up to 200MB/s but it's not an option really).
I tried every disk mode IDE, SATA, VIRTIO, and got about the same results.
What could I try in order to increase write speed of VMs on ZVOLs?
What sequential write speeds do you guys get with KVM instances on ZVOLs?
The worst thing is that concurrent writes to multiple ZVOLs by multiple instances just share this 100MB/s limit. So if 20 KVM VMS would write to disk at the same time, each would get just 5MB/s!
I have PM 4.2 up2date with ZFS mirror on two SSD disks.
Disk read speed is acceptable everywhere.
Disk write speed is acceptable on hypervisor and well as in LXC containers:
In PM:
dd if=/dev/zero of=brisi bs=10M count=200 oflag=dsync
200+0 records in
200+0 records out
2097152000 bytes (2.1 GB) copied, 3.77828 s, 555 MB/s
in LXC:
dd if=/dev/zero of=brisi bs=10M count=100 oflag=dsync
100+0 records in
100+0 records out
1048576000 bytes (1.0 GB) copied, 2.04414 s, 513 MB/s
However in KVM CentOS 7 installed from minimal ISO, i can never go above 99 MB/s:
dd if=/dev/zero of=brisi bs=10M count=100 oflag=dsync
100+0 zapisov na vhodu
100+0 zapisov na izhodu
1048576000 bajtov (1,0 GB) prepisanih, 11,2772 s, 93,0 MB/s
I tried every cache mode (OK, dangerous mode gives me up to 200MB/s but it's not an option really).
I tried every disk mode IDE, SATA, VIRTIO, and got about the same results.
What could I try in order to increase write speed of VMs on ZVOLs?
What sequential write speeds do you guys get with KVM instances on ZVOLs?
The worst thing is that concurrent writes to multiple ZVOLs by multiple instances just share this 100MB/s limit. So if 20 KVM VMS would write to disk at the same time, each would get just 5MB/s!