12–14 Sept 2022
Europe/Dublin timezone

Instant Detection of Virtual Devices

12 Sept 2022, 11:45
30m
"Meeting 1&2" (Clayton Hotel on Burlington Road)

"Meeting 1&2"

Clayton Hotel on Burlington Road

90
VFIO/IOMMU/PCI MC VFIO/IOMMU/PCI MC

Speaker

Ajay Kaher (VMWare)

Description

During boot-time of Guest there are many (in thousands) PCI config reads and significantly increases Guest boot-time.

Currently, when these reads are performed by a Guest, they all cause a VM-exit, and therefore each one of them induces a considerable overhead.

This overhead can be further improved, by mapping MMIO region of virtual machine to memory area that holds the values that the “emulated hardware” is supposed to return. The memory region is mapped as "read-only” in the NPT/EPT, so reads from these regions would be treated as regular memory reads. Writes would still be trapped and emulated by the hypervisor.

This helps to reduce virtual machine PCI scan and initialization time by ~65%. In our case it reduced to ~18 mSec from ~55 mSec.

I agree to abide by the anti-harassment policy Yes

Primary authors

Ajay Kaher (VMWare) Alexey Makhalov (VMware) Ashwin Dayanand Kamat (VMware)

Presentation materials

Diamond Sponsor

Platinum Sponsors





Gold Sponsors




Silver Sponsors





Speaker Gift Sponsor

Catchbox Sponsor

Video Recording Sponsor

Livestream Sponsor

T-Shirt Sponsor

Conference Services Provided by