Using bcache to create a SSD cache for one desktop PC is certainly worthwhile.
But I'm wondering if the same applies for VM hosting, which I imagine has rather different IO patterns.
I'm testing a two node/brick glusterfs replicate setup, with the proxmox ndoes also being gluster nodes. Perfomance is ok, but to my surprise the hard disk read/write performance is holding things up, not the network.
I have a 60GB SSD partition spare on both nodes and we'd be looking at 7 VM's on each node, one node dedicated to server vm's (AD, SQl Server, Terminal Server"), the other node windows developer VM's. So a lot of random read/writes on both nodes withing large files, but once started, not a lot of large sequential read/writes. No real directory
Now I write it out, it seems a good candidate for caching. I did play with dm-cache which had good results until I managed to destroy the filesystem. dm-Cache is a fiddly pain in the ass to manage - no simple flush command! WriteBack was the best, but is dangerous, writethrough gave excellent read results but actually reduced write performance.
bcache is definitely much simpler and robust in that regard, but I'd have to pull in the bcache tools from an external repo or build them, which I don't like to do - keep our servers pristine!
But I'm wondering if the same applies for VM hosting, which I imagine has rather different IO patterns.
I'm testing a two node/brick glusterfs replicate setup, with the proxmox ndoes also being gluster nodes. Perfomance is ok, but to my surprise the hard disk read/write performance is holding things up, not the network.
I have a 60GB SSD partition spare on both nodes and we'd be looking at 7 VM's on each node, one node dedicated to server vm's (AD, SQl Server, Terminal Server"), the other node windows developer VM's. So a lot of random read/writes on both nodes withing large files, but once started, not a lot of large sequential read/writes. No real directory
Now I write it out, it seems a good candidate for caching. I did play with dm-cache which had good results until I managed to destroy the filesystem. dm-Cache is a fiddly pain in the ass to manage - no simple flush command! WriteBack was the best, but is dangerous, writethrough gave excellent read results but actually reduced write performance.
bcache is definitely much simpler and robust in that regard, but I'd have to pull in the bcache tools from an external repo or build them, which I don't like to do - keep our servers pristine!