crc: [BUG] Idle CRC install causes high CPU usage
General information
- OS: macOS
- Hypervisor: hyperkit
- Did you run
crc setupbefore starting it (Yes/No)?: yes
CRC version
chirino-mbp:~ chirino$ crc version
version: 1.0.0-rc.0+34371d3
OpenShift version: 4.2.0-0.nightly-2019-09-26-192831 (embedded in binary)
chirino-mbp:~ chirino$
CRC status
chirino-mbp:~ chirino$ crc status
CRC VM: Running
OpenShift: Running (v4.2.0-0.nightly-2019-09-26-192831)
Disk Usage: 13.15GB of 32.2GB (Inside the CRC VM)
Cache Usage: 11.71GB
Cache Directory: /Users/chirino/.crc/cache
CRC config
chirino-mbp:~ chirino$ crc config view
chirino-mbp:~ chirino$
Host Operating System
chirino-mbp:~ chirino$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.14.6
BuildVersion: 18G95
chirino-mbp:~ chirino$
Steps to reproduce
- Just install
- Look at the OS X Activity Monitor for CPU usage of hyperkit process
Expected
- A fresh idle CRC install should have very low CPU usage. Ideally under 10%. Right now it hovers between 130 and 160%
- Please compare to a minishift install.
Actual
Logs
You can start crc with crc start --log-level debug to collect logs.
Please consider posting this on http://gist.github.com/ and post the link in the issue.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 2
- Comments: 36 (14 by maintainers)
If the state of the cluster is not changing like in a freshly installed idle cluster, then there should be little CPU usage by the operators. Something seems to be spinning needlessly.
I would be happy to assist debugging this, but I haven’t found a way (like minishift ssh && ps)
@cfergeau ^^ hopefully the type/profile designator of a cluster could help with this. This could be part of an enhancement.