Page MenuHomeFreeBSD

yamagi_yamagi.org (Yamagi Burmeister)
User

Projects

User does not belong to any projects.

User Details

User Since
Aug 29 2018, 6:56 AM (265 w, 4 d)

Recent Activity

Feb 5 2020

yamagi_yamagi.org updated the diff for D22942: Untangle TPR shadowing and APIC virtualization .

A third revision, incorporating all feedback received here and in private mail:

Feb 5 2020, 2:33 PM · bhyve

Jan 18 2020

yamagi_yamagi.org added a comment to D22942: Untangle TPR shadowing and APIC virtualization .

I have a very experimental patch that deactivates TPR shadowing if x2apic mode is used. I'll clean it up and update the review sometimes next week.

Jan 18 2020, 8:27 AM · bhyve

Jan 16 2020

yamagi_yamagi.org updated the diff for D22942: Untangle TPR shadowing and APIC virtualization .

Here's a second version, incorporating feedback received here and in private mail:

Jan 16 2020, 9:08 AM · bhyve

Jan 9 2020

yamagi_yamagi.org added a comment to D22942: Untangle TPR shadowing and APIC virtualization .

I have tested various host CPUs and Windows versions as a guest and do not see any increased memory consumption. I think it's misleading because Windows has much more CPU cycles available due to TPR shadowing and therefore fills up the RAM allocated to the guest faster. For example, on a Win 10 1909 VM with 2GB of RAM it takes about 20 minutes after boot (idle, without any activity) to reach a memory usage of 2GB (on the host, measured by the 'RES' column in top) without the patch, but only 4 minutes with the patch. With CDM it is similar. Without patch, it takes several runs, with patch, two are enough. But in the end the memory consumption is the same. Do you ever have the exact bhyve cmd for me? I could try to reproduce the problem with it.

Jan 9 2020, 7:07 PM · bhyve

Jan 7 2020

yamagi_yamagi.org added a comment to D22942: Untangle TPR shadowing and APIC virtualization .

Hi Michael,
thank you for your feedback. So far I haven't seen any increased memory consumption and there is nothing in the patch that could explain it. Unless it uncovers another bug somewhere in the Bhyve code. Or I'm overlooking something, of course. I'll look into it.

Jan 7 2020, 3:11 PM · bhyve

Dec 28 2019

yamagi_yamagi.org created D22942: Untangle TPR shadowing and APIC virtualization .
Dec 28 2019, 4:55 PM · bhyve