Proxmox VM with AVX support
To install MongoDB in Proxmox VM, the CPU needs to have AVX support. Otherwise, following error appears
WARNING: MongoDB 5.0+ requires a CPU with AVX support, and your current system does not appear to have that!
Change CPU type to
host, which by pass the CPU simulation.
For container cluster, such as docker swarm, kubernetes, MongoDB might need to be run on specific worker node which have CPU type equals to
Once the CPU set to be
host, the live migration may not work, because the hosts have different CPU type. But
host will give maximum performance.