hv
hv copied to clipboard
System lag after turning on ept
The system becomes lag after turning on ept. CPU i9-13980HX with 32GB memory and I set ept_pd_count = 512;
after I splited the first 2mb physical memory into small page, this problem seems not to appear, maybe it's related to MMIO.
I simply add get_ept_pte(ept, 0, true); at
prepare_ept(vcpu_ept_data& ept)
or reconstruct the first 2mb large page to small page.
Thats actually pretty interesting, thanks. I have something similar on my TODO list already, but haven't gotten around to implementing it yet... https://github.com/jonomango/hv/blob/main/hv/ept.cpp#L42-L44.