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

Discussion: low CPU utilization (possibly due to virtiofs?) #34

Open
c3d opened this issue Sep 5, 2022 · 1 comment
Open

Discussion: low CPU utilization (possibly due to virtiofs?) #34

c3d opened this issue Sep 5, 2022 · 1 comment

Comments

@c3d
Copy link

c3d commented Sep 5, 2022

When trying to build a project within krunvm, I noticed relatively low CPU utilization compared to a Linux build.

Two screenshots attached to illustrate the effect, one building on Linux, the other building the same project on krunvm, in both cases using make -j12. I suspect that the use of virtiofs limits the I/O bandwidth sufficiently to starve the build, but I wonder if there is a good way to prove that. What makes me doubt, though, is that the WIO state (in red) is very low. Is that metric reliable on krunvm, or is there something that would impact it?

Linux build:
linux-build

krunvm build:
krunvm-build

@slp
Copy link
Collaborator

slp commented Sep 5, 2022

Is this with krunvm on macOS? I suspect steal time is not properly reported there. I haven't investigated which facilities (if any) provides Hypervisor.framework for this purpose.

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

2 participants