Skip to content
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

Latency measure VM_EXITs of storage IO interrupts #48

Open
enterJazz opened this issue Jan 13, 2024 · 2 comments
Open

Latency measure VM_EXITs of storage IO interrupts #48

enterJazz opened this issue Jan 13, 2024 · 2 comments

Comments

@enterJazz
Copy link
Contributor

To measure the VM_EXIT latency, we must modify the kernel.

Bifrost does it as such:

IPADS-Bifrost/cvm-opt-guest@91c41f9

@enterJazz
Copy link
Contributor Author

enterJazz commented Jan 13, 2024

For prelim VM_EXIT measurements:

https://github.com/TUM-DSE/CVM_eval/tree/main/benchmarks
this directory contains microbenchmarks of cpuid time, which causes vmexit

Hence: we can measure latency of VM_EXIT vs CVM_EXIT itself. Note: this does not replace the latency diff we are looking for wrt. storage IO interrupts

@enterJazz
Copy link
Contributor Author

For prelim VM_EXIT measurements:

https://github.com/TUM-DSE/CVM_eval/tree/main/benchmarks this directory contains microbenchmarks of cpuid time, which causes vmexit

Hence: we can measure latency of VM_EXIT vs CVM_EXIT itself. Note: this does not replace the latency diff we are looking for wrt. storage IO interrupts

Weird results for prelim VM_EXIT:

for sev-snp, i get 631ns on avg per cpuid, whereas in native, i get 1234ns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant