VMware vSphere

 View Only
  • 1.  CPU hardlock with IOMMU enabled

    Posted Jan 23, 2021 03:42 AM

    We are running an ubuntu 20.04 VM on Esxi  7.0 Update 1. The host has two AMD EPYC 7742 64-Core Processor, i.e. 256 logci cpu cores in total.

    Assigning more than 128 cores will require enabling the IOMMU. This causes lots of CPU hard lockups on the ubuntu VM.

    Running with fewer than 128 cores does not have this issue.

     


  • 2.  RE: CPU hardlock with IOMMU enabled

    Posted Jan 23, 2021 03:28 PM

     

    Must you run the VM with that many cores?

     



  • 3.  RE: CPU hardlock with IOMMU enabled

    Posted Jan 24, 2021 06:38 AM

    Yes, we are doing some computation-intensive tasks.



  • 4.  RE: CPU hardlock with IOMMU enabled

    Broadcom Employee
    Posted Feb 04, 2021 04:25 PM

    And you are certain that nothing but the vIOMMU change is causing those and not a large change in vCPUs? I.e. you tested with 127 and 129, same load? The reason is that above 128 vCPUs, you'll also start using SMT, which the guest isn't aware of hence it might expect linear scaling for additional workers.

    P.S.
    There is no way around the vIOMMU because more than 128 vCPU requires APIC IDs beyond 255 (8 bit) which requires 2XAPIC which requires remapping which requires, you guessed it, vIOMMU.