Running PVE on hosts with 512/512 disks, storage is ZFS (ashift=12) and Ceph.
Guests use virtio-scsi-single, mostly Linux, some Windows.
I wonder if it's worth adding (or similiar):
args: -global scsi-hd.physical_block_size=4096 -global scsi-hd.logical_block_size=4096
For Linux it feels pointless - page cache is 4K so guests should already send 4K
writes regardless - except maybe for O_DIRECT workloads, but most DBs should use >= 4K pages anyway.
Questions:
1. On 512/512 disks with ZFS (ashift=12) / Ceph underneath, does this give any performance gain for Linux/Windows guests?
2. Does it change anything on native 4Kn disks?
3. Has anybody benchmarked it and can provide results?
Thanks.
Guests use virtio-scsi-single, mostly Linux, some Windows.
I wonder if it's worth adding (or similiar):
args: -global scsi-hd.physical_block_size=4096 -global scsi-hd.logical_block_size=4096
For Linux it feels pointless - page cache is 4K so guests should already send 4K
writes regardless - except maybe for O_DIRECT workloads, but most DBs should use >= 4K pages anyway.
Questions:
1. On 512/512 disks with ZFS (ashift=12) / Ceph underneath, does this give any performance gain for Linux/Windows guests?
2. Does it change anything on native 4Kn disks?
3. Has anybody benchmarked it and can provide results?
Thanks.
Last edited: