Hello all,
We are running a few dozen FreeBSD VMs under Fusion, ESX Server 3.5, and ESXi Server 3.5. I have read everything I can find about the timestamp counter (TSC) and its performance under VMware, but there's one question I haven't been able to answer: how close can we expect the TSCs to be in an SMP system?
We have seen an instance of the two virtual CPUs reporting TSCs with a delta of ~150 seconds. This seems much, much larger than anything that could be explained by normal uncertainty. Anyone have any insight?
Thanks! --Andrew
Background info:
The timekeeping PDF (vmware_timekeeping.pdf) implies that the virtual TSCs should be synchronized no matter what the underlying hardware does (Intel, AMD, etc.)
The systems all use Intel processors
The software doing performance tracing is using inline assembly calls to RDTSC, so it's not an OS issue (FreeBSD is configured to use a different timer for itself)
Alok Kataria (VMware employee?) said this in a LKML posting: "Virtual TSCs can be kept nearly in sync, but because the virtual TSC offset is set by software, it's not perfect"