MSR accesses that slows down the hypervisor/host

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

MSR accesses that slows down the hypervisor/host

freebsd-virtualization mailing list

There are couple AMD processor related MSRs which are being accessed in FreeBSD.

#define MSR_AMDK8_IPM           0xc0010055
#define MSR_LS_CFG      0xc0011020

We are seeing a lot of CPU time being spent in the host (Hyper-V) in handling traps when accessing these MSRs. Especially the first MRS is frequently being accessed in cpu_idle() so the performance impact to host is significant.

We noted that Linux made some code changes in the 4.10 kernel to access the first MSR much less frequently. So we are wondering if there are similar changes in FreeBSD that might be in the plan. Microsoft Hyper-V team is also planning some work to speed up the accesses to these MSRs. However any suggestions or plan to improve in the FreeBSD guest are welcome.


[hidden email] mailing list
To unsubscribe, send any mail to "[hidden email]"