hv icon indicating copy to clipboard operation
hv copied to clipboard

System lag after turning on ept

Open 1401199262 opened this issue 2 years ago • 1 comments

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.

1401199262 avatar Sep 13 '23 12:09 1401199262

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.

jonomango avatar Sep 20 '23 00:09 jonomango