From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 1 20:24:18 2014 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 633E591F for ; Fri, 1 Aug 2014 20:24:18 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 26402225A for ; Fri, 1 Aug 2014 20:24:18 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.8/8.14.8) with ESMTP id s71KOI4q090078 for ; Fri, 1 Aug 2014 20:24:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 192315] high load average while idle, slow keyboard reaction Date: Fri, 01 Aug 2014 20:24:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: swills@FreeBSD.org X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2014 20:24:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192315 --- Comment #3 from Steve Wills --- (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.