Hi,
I'm running OMV virtual on a Proxmox Host.
I'm using virtual disks on a LVM-Thin and the physical disk is an old WD20EFRX.
I have done some benchmarking with this command,
fio --name=random-write --ioengine=posixaio --rw=randwrite --bs=64k --size=256m --numjobs=16 --iodepth=16 --runtime=60 --time_based --end_fsync=1
Here is the results of the benchmarks,
VirtIO SCSI no encryption ext4
WRITE: bw=51.9MiB/s (54.4MB/s), 2993KiB/s-3552KiB/s (3065kB/s-3637kB/s), io=13.0GiB (15.0GB), run=275997-276014msec
VirtIO Block no encryption ext4
WRITE: bw=41.1MiB/s (43.1MB/s), 2473KiB/s-2871KiB/s (2532kB/s-2940kB/s), io=11.5GiB (12.4GB), run=287090-287102msec
VirtIO SCSI no encryption xfs
WRITE: bw=14.3MiB/s (15.0MB/s), 735KiB/s-1266KiB/s (752kB/s-1296kB/s), io=1978MiB (2074MB), run=131204-138065msec
VirtIO Block no encryption xfs
WRITE: bw=10.4MiB/s (10.9MB/s), 588KiB/s-823KiB/s (602kB/s-843kB/s), io=2039MiB (2138MB), run=195132-195315msec
VirtIO SCSI no encryption btrfs
WRITE: bw=19.2MiB/s (20.2MB/s), 984KiB/s-1642KiB/s (1008kB/s-1681kB/s), io=1784MiB (1871MB), run=91527-92795msec
VirtIO Block no encryption btrfs
WRITE: bw=11.4MiB/s (11.9MB/s), 673KiB/s-774KiB/s (690kB/s-793kB/s), io=8077MiB (8469MB), run=710188-710607msec
VirtIO SCSI encryption ext4
WRITE: bw=19.9MiB/s (20.9MB/s), 1227KiB/s-1305KiB/s (1257kB/s-1336kB/s), io=3525MiB (3696MB), run=177168-177181msec
VirtIO Block encryption ext4
WRITE: bw=19.4MiB/s (20.4MB/s), 1139KiB/s-1328KiB/s (1167kB/s-1359kB/s), io=3614MiB (3790MB), run=186075-186081msec
As I understand it should both BTRFS and XFS be faster than EXT4? But it does not look like this in this benchmark. XFS might only be faster on bigger files?
I also have AES-NI activated for the VM on the CPU, so I tought the encryption should be faster, but it's 30MiB/s slower with encryption enabled.
What am I doing wrong?
Thanks.