How to collect VM exit numbers in KVM

Sometimes, we may want to know the specific benchmark can cause what kind of VM exits.

asked Sep 29, 2016 by harryxiyou (5,830 points)

1 Answer

Best answer
1, Install perf.

2, # perf kvm stat record -a

3, # perf kvm stat report

This will report your VM exit numbers and what kind of operation lead to VM exit. You may need to compare many times to see whether the workload will let your system produce different number of VM exit.

answered Sep 29, 2016 by harryxiyou (5,830 points)

Please log in or register to answer this question.

Related questions

1 answer
1 answer
asked Sep 18, 2016 by anonymous
1 answer
asked 1 day ago by harryxiyou (5,830 points)
0 answers
1 answer
asked Jan 28, 2014 by anonymous
Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost