13–15 Nov 2023
America/New_York timezone

Improving kexec boot time

13 Nov 2023, 17:15
45m
"James River Salon D" (Omni Richmond Hotel)

"James River Salon D"

Omni Richmond Hotel

183
LPC Refereed Track LPC Refereed Track

Speaker

Usama Arif

Description

Maintaining an up-to-date host kernel offers significant advantages such as enhanced security, performance and reliability. One of the primary challenges in live updating the host kernel is the long downtime experienced by guest Virtual Machines (VMs). Several factors contribute to this downtime such as VM snapshot and VM restore time, the biggest one being the time taken to (kexec) reboot the host kernel. In this session we will go through the work that has been done on reducing kernel boot times in a typical server configuration by up to 80%, including parallelizing smpboot, optimizing TSC synchronization, and the work currently being done to streamline the initialization of struct pages when using HugeTLB Vmemmap Optimization (HVO). Additionally, we will go through optimizations that can be done in more specialized scenarios such as skipping PCI probe for certain devices and skipping purgatory. We will also look at the remaining areas which still occupy a significant boot time in the optimized kernel, such as enabling ACPI interpreter and ACPI table loads and discuss if there are ways to optimize/reduce time taken for these.

Primary author

Presentation materials

Diamond Sponsors

Platinum Sponsor
Gold Sponsors




Silver Sponsors



Catchbox Sponsor
Livestream Sponsors

T-Shirt Sponsor
Conference Services Provided by