Hi
I imagine some VPS hosting companies have ways to sell more memory than their servers actually have. How do they do this? Any advice for making the most of your server memory?
A few ideas so far:
* Use containers rather than VMs - pretty obvious
* Make sure KSM (Kernel Samepage Merging) is enabled, and try run the same OS in the VMs / containers
* Give each VM some swap space on a fast disk
* In the case of container hosting, give the hostOS swap space on a fast disk
* Use Intel Optane pmem dimms - probably expensive and only really available in their Scalable Xeon range of CPUs
* Install an Optane SSD for swap space, something like the P5800X / PCIe4 (almost 8GB/s read speeds)
Anybody using some of these ideas or have better solutions? Any guidelines to follow or can you point me at things to read?
I'm thinking a server with 128G RAM and Optane SSD with KSM enabled could maybe run 100 x 2GB containers.
Do you know of any extreme cases of VMs or containers per host?
I imagine some VPS hosting companies have ways to sell more memory than their servers actually have. How do they do this? Any advice for making the most of your server memory?
A few ideas so far:
* Use containers rather than VMs - pretty obvious
* Make sure KSM (Kernel Samepage Merging) is enabled, and try run the same OS in the VMs / containers
* Give each VM some swap space on a fast disk
* In the case of container hosting, give the hostOS swap space on a fast disk
* Use Intel Optane pmem dimms - probably expensive and only really available in their Scalable Xeon range of CPUs
* Install an Optane SSD for swap space, something like the P5800X / PCIe4 (almost 8GB/s read speeds)
Anybody using some of these ideas or have better solutions? Any guidelines to follow or can you point me at things to read?
I'm thinking a server with 128G RAM and Optane SSD with KSM enabled could maybe run 100 x 2GB containers.
Do you know of any extreme cases of VMs or containers per host?