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

Add perf kvm support for PVM #8

Open
ljrcore opened this issue May 14, 2024 · 3 comments
Open

Add perf kvm support for PVM #8

ljrcore opened this issue May 14, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ljrcore
Copy link

ljrcore commented May 14, 2024

Currently, PVM does not support perf kvm. If you use perf kvm stat live, this output will appear.

Analyze events for all VMs, all VCPUs:

             VM-EXIT    Samples  Samples%     Time%    Min Time    Max Time         Avg time 

              INVLPG      18940    68.75%     4.34%      0.73us 104499.10us     45.88us ( +-  13.51% )
unknown kvm exit code:131072 on VMX
             UNKNOWN       3622    13.15%    86.12%      0.34us 1663159.36us   4765.94us ( +-  18.58% )
unknown kvm exit code:327680 on VMX
             UNKNOWN       2057     7.47%     5.16%      0.85us  72083.56us    502.57us ( +-  12.41% )
unknown kvm exit code:196608 on VMX
             UNKNOWN       1401     5.09%     0.50%      0.52us  27967.64us     72.22us ( +-  35.47% )
unknown kvm exit code:262144 on VMX
             UNKNOWN       1233     4.48%     3.85%      0.65us 515077.40us    625.29us ( +-  68.43% )
                INVD        181     0.66%     0.02%      1.44us   2817.51us     25.10us ( +-  63.36% )
unknown kvm exit code:65536 on VMX
             UNKNOWN        115     0.42%     0.01%      0.85us   1400.33us     14.54us ( +-  83.75% )

Total Samples:27549, Total events handled time:20043311.08us.
@ljrcore
Copy link
Author

ljrcore commented May 14, 2024

I'm already working on pvm support for perf kvm and will be contributing this feature soon.

@laijs
Copy link

laijs commented May 16, 2024

@ljrcore thank you for your report and the contribution. I'm looking forward to it.

@bysui bysui added the enhancement New feature or request label May 17, 2024
@ljrcore ljrcore changed the title perf kvm support for pvm Add perf kvm support for PVM May 28, 2024
@ljrcore
Copy link
Author

ljrcore commented May 28, 2024

See these commits for perf kvm's PVM support.

#9

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

No branches or pull requests

3 participants