I have a PERC H730 Mini in HBA mode on Dell R730.
I have all 8 disks in HBA, not using the RAID at all.
Set up using ZFS 4 way mirror.
I am using writeback for the vm disks, SCSI virtIO.
When should the VM disk's cache get flushed? As proxmox is constantly running out of physical memory due to big writes of data in the VMs. But Unless you delete that data or reboot the VM machine that wrote that data, the physical memory is returned immediately.
I find this behavior strange.
Is using a RAID card in HBA mode with ZFS on top bad due to this problem with disk caches?
• data will be cached in the host-side page cache if the cache mode is set to
writeback;
• data will be immediately flushed to the physical disk cache if the cache mode
is set to none;
• data will be immediately flushed to the physical disk platters if the cache mode
is set to writethrough.
I have all 8 disks in HBA, not using the RAID at all.
Set up using ZFS 4 way mirror.
I am using writeback for the vm disks, SCSI virtIO.
When should the VM disk's cache get flushed? As proxmox is constantly running out of physical memory due to big writes of data in the VMs. But Unless you delete that data or reboot the VM machine that wrote that data, the physical memory is returned immediately.
I find this behavior strange.
Is using a RAID card in HBA mode with ZFS on top bad due to this problem with disk caches?
• data will be cached in the host-side page cache if the cache mode is set to
writeback;
• data will be immediately flushed to the physical disk cache if the cache mode
is set to none;
• data will be immediately flushed to the physical disk platters if the cache mode
is set to writethrough.