Professional Documents
Culture Documents
guest-user guest-kernel
gdb host process host process
TTVM functionality
(checkpointing, logging, replay)
host OS
VM state: VM's physical memory, the virtual disk, CPU
registers, and any state in VMM or host kernel
that affects the execution of the virtual machine
TTVMs capabilities:
1. reconstruct the complete state logging,
of the VM at any point in a run achieved replay,
2. start from any point in a run with checkpointing
and replay the instruction stream
executed during the original run
VMM, logging and replaying
●
Logging is performed on any information sent from
device to the driver (IN instructions, memory-mapped
I/O instructions, and DMA memory loads.
●
Host OS provides regions of its physical memory for
guest's memory-mapped I/O and DMA.
Difference:
memory – log the actual pages at every checkpoint into
undo and redo logs
disk – log multiple versions of guest disk blocks but only
keep the changes to the guest -> host disk block
map in the undo and redo logs
Checkpointing: logging of memory
Workload without
Checkpoints:
SPEC99web 1135 sec
kernel build 1027 sec
PostMark 1114 sec
Performance (cont'd)