Testing Done: |
|
---|
12806 Serial console polling burns CPU on VMware
Review Request #2568 — Created May 29, 2020 and updated
Information | |
---|---|
gwr | |
illumos-gate | |
12806 | |
Reviewers | |
general | |
12806 Serial console polling burns CPU on VMware
Setup illumos guest under VMware with serial console
Notes here: https://github.com/jclulow/vmware-sercons
Booted with the change
press Esc to stop at loader prompt
observe laptop fan quietBoot the kernel with -kd
while stopped at kmdb prompt
observe laptop fan quietDuring later operation, break into kmdb (telnet send brk, or mdb -K)
observe laptop fan quietI did not observe any other behavior changes with this code.
-
This clears the MSR delta bits. Did you confirm this doesn't break any expectations of the rest of the code? I think probably not due to no interrupts but...
Looks like this is entirely VMWare-specific; neither qemu/kvm nor bhyve implement this.
Why didn't you fix post-boot kmdb too (i.e. the asy via polledio interface)
-
-
Summary: |
|
|||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
|||||||||||||||||||||||||||||||||
Testing Done: |
|
-
Since it seems your email address configured bounces:
OK. Can you point me to the "post-boot kmdb" code I missed?
Looks like you found it. Presumably you've tested KMDB after boot as
well.I don't think you replied to my question about the MSR read
side-effects. I haven't really tried to untangle the handling of the
delta bits there, but presumably you have?
Testing Done: |
|
---|