24-28 August 2020
US/Pacific timezone

BoF: Synchronizing timestamps of trace events between host and guest VM

26 Aug 2020, 08:00
BOF1/Virtual-Room (LPC 2020)


LPC 2020

Birds of a Feather (BoF) BOFs Session


Tzvetomir Stoyanov


Synchronization of kernel trace event timestamps between host and guest VM is a key requirement for analyzing the interaction between host and guest kernels. The task is not trivial, although both kernels run on the same physical hardware. There is a non-linear scaling of the guest clock, implemented intentionally by the hypervisor in order to simplify live guest migration to another host.
I'll describe in short our progress on this task, using a PTP-like algorithm for calculating trace events timestamp offset. Any new ideas, comments, suggestions are highly welcomed.

I agree to abide by the anti-harassment policy I agree

Primary author

Presentation Materials