How Cloudflare cut core server boot time from hours to minutes
Cloudflare's core is the set of centralized data centers that run its control plane[1], billing and analytics, separate from the globally distributed edge that handles user traffic. After a routine firmware update, some core servers took four hours to come back online instead of minutes.
The cause was that the boot process probed every network boot interface one by one and waited for each to time out. Each failed attempt took about five minutes, so one boot cycle wasted around 20 minutes. Firmware upgrades that need several sequential reboots added up to nearly four hours of idle waiting per server.
Cloudflare fixed this by declaring the network boot interface order early in the PXE[2] pre-boot stage, which cut total time by about an hour. Two constraints complicated the change: boot ordering is not supported on older UEFI[3] versions, and settings are often reset after a UEFI firmware upgrade. A validation step now re-applies the configuration and triggers a reboot if the settings have changed. Subsequent boots take under a minute instead of about 20 minutes.
Read the original blog.cloudflare.comDiscussion
Sources
-
Cloudflare Blog
How we reduced core unit boot time from hours to minutes







