Virtualizing Time
· 1h 5m
Jordan Hendricks joined Bryan and Adam to talk about her work virtualizing time--particularly challenging when migrating virtual machines from one physical machine to another! We've been hosting a live show weekly on Mondays at 5p for about an hour, and recording them all; here is the recording from June 12th, 2023 . In addition to Bryan Cantrill and Adam Leventhal , we were joined by Oxide colleague Jordan Hendricks . The (lightly edited) live chat from the show: DanCrossNYC: The TSC ticks at a fixed rate now days, regardless of voltage scaling on the CPU. jbk: just x86 doesn't provide a…
Chapters
- Opening and Bay Area banter
- What the TSC timestamp counter is
- TSC frequency calibration on x86
- MSRs and TSC writability
- Challenges of virtualizing the TSC
- Expected guest TSC behavior
- Hardware support and TSC offset
- VMCS and VM exits explained
- Computing TSC state for migration
- Why live migrate VMs
- Constraints on guest migration
- Frequency multiplier and ratio limits
- Reasonable frequency ratio bounds
- Frequency variance across Gimlets
- Wall clock snapshot for migration blackout
- Simplifying the migration protocol
- Rust simulator for prototyping math
- Clap and Rust command-line tooling
- Beehive guest testing framework
- Propolis versus Beehive roles
- Migrating serial console devices
- Upstreaming migration work
- Reflections on complexity and comments
- Memories of a neighborhood house fire
- Wrap-up and next week's preview
Speakers
Bryan Cantrill (host), Adam Leventhal (host), Jordan Hendricks
From the transcript
whenever we have a snappy day in the Bay area, I am reminded of one of my favorite 30 rock lines. It's a total throwaway line. When, uh, Liz lemon's rival is going to move out to the Bay area. And she in, in a way of disparaging the Bay…