wondering if anyone out there has a read cache setup that is system wide and includes vms, to cache most frequently read files all over proxmox and vms to boost performance?
not talking about the VM cache options such as writethrough, writeback, etc or L2arc which doesnt actually cache the files themselves.
but an actual read cache.
i have a whole 1TB sata SSD, proxmox is installed on a 1TB NVME and i have a 256GB NVME used for swap/vm swap / pagefile, etc along with ZFS l2arc
but i have 2x10TB, 2x8TB and 1x12TB drives and i use a lot of the files on one of the 10tb drives and the 12tb drive in VMs, some of which are things like AI models and they can take a long time to load from disk, i usually put files on the SSDs for faster access but i would like to use the SSDs for other things too besides AI models and if i dont put the models on the SSDs it can take 5-10min or more to load one into ram, which can be annoying when switching around between models to testing different models on a prompt.
so the best solution seems to me that i should be using one of the SSDs as a read cache. i have considered primocache for my main windows VM since a lot of the things i do with ai models is in windows so it could work, but that wouldn't really work so great for the rest of proxmox or anything, plus its just for one vm and id have to re-register it if i switched my windows VMs around which i sometimes do, so that just seems like a pain.
i was reading a few posts online including this one: Proxmox - LVM SSD-Backed Cache
but i was wondering what everyone else is using and if anyone already worked out the best options
not talking about the VM cache options such as writethrough, writeback, etc or L2arc which doesnt actually cache the files themselves.
but an actual read cache.
i have a whole 1TB sata SSD, proxmox is installed on a 1TB NVME and i have a 256GB NVME used for swap/vm swap / pagefile, etc along with ZFS l2arc
but i have 2x10TB, 2x8TB and 1x12TB drives and i use a lot of the files on one of the 10tb drives and the 12tb drive in VMs, some of which are things like AI models and they can take a long time to load from disk, i usually put files on the SSDs for faster access but i would like to use the SSDs for other things too besides AI models and if i dont put the models on the SSDs it can take 5-10min or more to load one into ram, which can be annoying when switching around between models to testing different models on a prompt.
so the best solution seems to me that i should be using one of the SSDs as a read cache. i have considered primocache for my main windows VM since a lot of the things i do with ai models is in windows so it could work, but that wouldn't really work so great for the rest of proxmox or anything, plus its just for one vm and id have to re-register it if i switched my windows VMs around which i sometimes do, so that just seems like a pain.
i was reading a few posts online including this one: Proxmox - LVM SSD-Backed Cache
but i was wondering what everyone else is using and if anyone already worked out the best options