-
Notifications
You must be signed in to change notification settings - Fork 122
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
Docker 2.1.5.0 / hyperkit eats CPU cycles, idle wakeups #4020
Comments
while it seems to be another issue, there could be interesting info in the late comments of #3499 |
Just upgraded to 2.1.6.0, and I got the same issue.
hyperkit options$ /Applications/Docker.app/Contents/Resources/bin/com.docker.hyperkit -h
Usage: com.docker.hyperkit [-behuwxMACHPWY] [-c vcpus] [-F <pidfile>] [-g <gdb port>] [-l <lpc>]
[-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] -f <fw>
-A: create ACPI tables
-c: # cpus (default 1)
-C: include guest memory in core file
-e: exit on unhandled I/O access
-f: firmware
-F: pidfile
-g: gdb port
-h: help
-H: vmexit from the guest on hlt
-l: LPC device configuration. Ex: -l com1,stdio -l com2,autopty -l com2,/dev/myownpty
-m: memory size in MB, may be suffixed with one of K, M, G or T
-M: print MAC address and exit if using vmnet
-P: vmexit from the guest on pause
-s: <slot,driver,configinfo> PCI slot config
-u: RTC keeps UTC time
-U: uuid
-v: show build version
-w: ignore unimplemented MSRs
-W: force virtio to use single-vector MSI
-x: local apic is in x2APIC mode
-Y: disable MPtable generation Not sure if that helps, here's what hyperkit sampling for 30 seconds gives me : sudo /usr/bin/sample 36111 30 -f 2019-11-20T1325-hyperkit-sample.txt 2019-11-20T1325-hyperkit-sample.txt cat 2019-11-20T1325-hyperkit-sample.txt | stackcollapse-sample.awk | flamegraph.pl Sorry the flamegraph is zipped, as GitHub does not allow to share svg file types directly. I see that most sample are from I don't know if it's helpful, but I found those in /Library/Log/DiagnosticReports |
Same problem here: |
In a related twitter thread I mentioned JAMF and SentinelOne, a colleague of mine tried docker without sentinel and it worked without the high CPU usage.
Unfortunately I cannot get rid of sentinel at that time on my laptop to try without it. |
So after excluding EDIT: Actually we had to exclude additional paths too
|
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. Send feedback to Docker Community Slack channels #docker-for-mac or #docker-for-windows. |
Expected behavior
hyperkit uses a reasonable amount of CPU when docker is not used, e.g. when Docker for mac is started.
Actual behavior
Hyperkit uses 102% of CPU on Docker app start.
Information
Just upgraded Docker for Mac to the last version on the Edge channel. Upon start, hyperkit starts to consume a lot of CPU. However the app says docker is running, and command line usage works. eg.
Restarting didn't help.
The Console app, outputs a log of logs from hyperkit and com.docker.driver.amd64-linux, so I'm not sure what's wrong at this time. However I did notice this
Diagnostic logs
The only thing that the UI displays is "Diagnose succeeded".
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: