Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Aug 2014 20:24:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 192315] high load average while idle, slow keyboard reaction
Message-ID:  <bug-192315-8-0zBxvTSrWp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192315-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192315-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192315

--- Comment #3 from Steve Wills <swills@FreeBSD.org> ---
(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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192315-8-0zBxvTSrWp>