Why vmware guest does not show AVX2 flag even when cpu model has AVX2 capabilities.

Solution Verified - Updated -

Issue

  • We tried to enable avx2 by enabling hardware virtualization, still avx flag is only set and avx2 is not set.
  • Specific CPU feature avx2 is not present in lscpu output even though the host CPU model supports this feature.

Environment

  • Red Hat Enterprise Linux 6, 7, 8, 9
  • VMWare hypervisor

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content