There is no way to enable it globally other than modifying that properties file.

BTW you can also just specify the "avx" flag individually via "guest.cpu.features=", if you only want to add that, however it is a good idea generally to use host-model as it tends to give you best performance - HOWEVER watch out that if you have different CPUs in your hypervisor hosts then this might make live migrations tricky or impossible.

hth

On 2023-09-27 10:12, Pierre Le Fevre wrote:
Hi all!
We have some users who need MongoDB, and it seems in newer versions it
needs the "avx" cpu flag to be present.

I've gotten this to work on one host using guest.cpu.mode=host-model in the
agent.properties file.

Is there a cleaner way to do this, like in the global settings, so it is enabled by default on all new hosts, and seeing as this is not enabled by
default, is there any downside to applying it on all hosts?

Thanks in advance

Pierre
kthcloud

Reply via email to