-
Notifications
You must be signed in to change notification settings - Fork 262
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance Issue #15
Comments
I guess it's caused by lots of VM exits. EPT violations for DMA regions can also be an issue here. |
I disabled cr3 exit which improved the performance slightly. But the performance while gaming is still unacceptable. So I don't know if there is anything I can do other then accept it. I mean logically speaking the performance issues are logical because CPU needs to translate virtual adresses two times? (Am I right?) |
Address translation is done in CPU itself, it shoudn't add more than ~5% penalty. Try to log every VM exit and how many of them you get per second. |
I got around ~60 VM exits per second because of CPUID. No other VM exits are happening. EDIT: Is this normal? ~60 exit per second shouldn't affect the performance that bad? |
GPU isn't affected by the hypervisor too, so what are any other possible reasons? |
Hey!
I experience 50% loss of FPS in games like PUBG, H1z1 and CSGO.
Do you have any suggestions how to improve the performance?
I already integrated SimpleVisor's MTRR implementation, which sets the right Memory Type of a EPT. (https://github.com/ionescu007/SimpleVisor/blob/master/shvvmx.c Line 26)
I also thought about using 2MB Pages instead of 4KB to improve the overall performance.
The text was updated successfully, but these errors were encountered: