The Cost of Security: Measuring and Reducing Boot-Time Impact
summary
On an i.MX8M Plus eval board with Barebox and eMMC, secure boot using a signed FIT image plus dm-verity raises boot from 5.23s to 6.12s — about 205 ms overhead — largely from larger FIT/unpack and initramfs work. Replacing a bulky 7 MB BusyBox initramfs with a Rust initramfs binary (130 KB uncompressed, 57 KB compressed) drops kernel load back toward nonsecure times (kernel load ~490 ms, kernel startup ~1.9 s) and the change proves effective. Using ARMv8 crypto extensions instead of the SoC crypto engine trims ~40 ms in userspace verification.
AI-written summary · about
chapters (9)
- 0:00Motivation for boot time security
- 3:37Boot process components
- 7:27Measuring boot time
- 11:48Secure boot chain of trust
- 16:26Secure boot impact on boot time
- 21:11Rust initramfs replacement
- 27:14Optimizing kernel cryptography
- 31:57Measured overhead summary
- 38:50Q&A
related talks
55mVerified Boot: From ROM to Userspace
24mSoftware Optimization for Early Linux Boot for Time Critical...
49mSecure Boot from A to Z
48mVerified Boot on ARM
23mBlueprint for Secure Boot and Data Integrity Using rustBoot...
42mBecoming a tyrant: Implementing secure boot in embedded devices
53mSecure Embedded Linux Product - A Success Story
44mImproving kexec boot time
