logoalt Hacker News

johnbellone • today at 1:02 AM • 2 replies • view on HN

You’ll need to restart the guest.


Replies

Sohcahtoa82 • today at 7:00 AM

Not true.

AWS migrates live instances to new CPUs without needing to stop or reboot the guest.

When a migration is needed, the hypervisor begins copying blocks of memory to the new system, keeping track of what blocks are written inside the guest during the migration. Once enough has been copied, it hibernates the guest, copies the remaining memory, then wakes it in the new system. On a system that isn't writing to large swaths of memory, it can take only a few milliseconds. To the guest, it might appear that the CPU froze for a tiny bit of time, which could easily just look like a neighbor got noisy.

➕ show 1 reply
acdha • today at 3:16 AM

Not for a routine migration, but they typically keep it inside the same processor family for this reason.