[Bug 192315] high load average while idle, slow keyboard reaction

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 1 20:34:21 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192315

--- Comment #5 from Alexander Motin <mav at FreeBSD.org> ---
(In reply to Steve Wills from comment #3)
> (In reply to Alexander Motin from comment #1)
> > Line "Event timer "LAPIC" quality 400" in verbose dmesg tells that LAPIC
> > timer in your CPU (used by default) is not compatible with CPU C-states
> > (deep idle states). Can you make sure that C-states are not used on your
> > system by checking 'sysctl dev.cpu | grep cx_usage' and 'sysctl -a | grep
> > cx_lowest'?
> > 
> > Timer code was not changing for quite some time already, while C-states were
> > enabled by default less time ago, IIRC.
> 
> meatwad% sysctl dev.cpu | grep cx_usage
> dev.cpu.0.cx_usage: 15.53% 82.84% 1.61% last 149us
> dev.cpu.0.cx_usage_counters: 1509220 8046504 156453
> dev.cpu.1.cx_usage: 15.21% 77.78% 6.99% last 1803us
> dev.cpu.1.cx_usage_counters: 462080 2361986 212335
> dev.cpu.2.cx_usage: 15.54% 78.02% 6.43% last 1601us
> dev.cpu.2.cx_usage_counters: 542112 2721324 224459
> dev.cpu.3.cx_usage: 14.02% 79.92% 6.05% last 1014us
> dev.cpu.3.cx_usage_counters: 496716 2831459 214487
> dev.cpu.4.cx_usage: 16.10% 77.77% 6.11% last 5971us
> dev.cpu.4.cx_usage_counters: 467800 2258637 177471
> dev.cpu.5.cx_usage: 15.24% 77.76% 6.99% last 612us
> dev.cpu.5.cx_usage_counters: 462824 2361157 212369
> dev.cpu.6.cx_usage: 19.44% 74.33% 6.21% last 872us
> dev.cpu.6.cx_usage_counters: 640034 2446184 204690
> dev.cpu.7.cx_usage: 15.40% 79.04% 5.55% last 51us
> dev.cpu.7.cx_usage_counters: 464464 2382488 167297
> meatwad% sysctl -a | grep cx_lowest
> hw.acpi.cpu.cx_lowest: C8
> dev.cpu.0.cx_lowest: C8
> dev.cpu.1.cx_lowest: C8
> dev.cpu.2.cx_lowest: C8
> dev.cpu.3.cx_lowest: C8
> dev.cpu.4.cx_lowest: C8
> dev.cpu.5.cx_lowest: C8
> dev.cpu.6.cx_lowest: C8
> dev.cpu.7.cx_lowest: C8
> meatwad% 
> 
> Note this is after setting kern.eventtimer.timer=HPET as mentioned
> previously. If it matters, I can undo that and run these again.

That does not tell much after you enabled HPET, except that your system does
have C-states. Reboot without switching to HPET and check again. If C-states
block working, you should not see states deeper then C1 used even if enabled.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list