From owner-freebsd-current@FreeBSD.ORG Mon Jan 3 10:46:33 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97834106564A for ; Mon, 3 Jan 2011 10:46:33 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from thyme.infocus-llc.com (server.infocus-llc.com [206.156.254.44]) by mx1.freebsd.org (Postfix) with ESMTP id 716F38FC08 for ; Mon, 3 Jan 2011 10:46:33 +0000 (UTC) Received: from draco.over-yonder.net (c-75-64-226-141.hsd1.ms.comcast.net [75.64.226.141]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id C860837B4C0; Mon, 3 Jan 2011 04:28:53 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 0C62461C5A; Mon, 3 Jan 2011 04:28:53 -0600 (CST) Date: Mon, 3 Jan 2011 04:28:53 -0600 From: "Matthew D. Fuller" To: current@freebsd.org Message-ID: <20110103102853.GA89454@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.21-fullermd.4 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.5 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: mav@FreeBSD.org Subject: Oddities in -current post-eventtimer X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2011 10:46:33 -0000 OK, this has happened a couple times now. I'm running a mid-Oct -CURRENT, and at around 25 days uptime (not exact but consistently in that vicinity), things start getting very choppy. It's easily visible in playing videos; things get very jerky and slow, but all sorts of things start acting like they're happening in little chunks of time; keyboard repeats get very slow, things that often take notable time take much more, etc. It's accompanied by a big spat of "calcru: runtime went backwards" messages (presumably just another symptom). The only fix I've found is to reboot, and then it's good for another 25ish days. As a workaround, enabling kern.eventtimer.idletick sets things rightish. A look at the interrupts turns up a hint; while vmstat says the overall average for cpu0 is just under 300/s, systat -vmstat shows that it's currnetly running around 20-some. The other CPU's also settle at much lower levels. Another more tiring workaround is just slinging the mouse around real fast; that seems to hint to the system to keep checking stuff. Watching systat, that doesn't seem to bring the cpuX interrupt rate up very much, but the videos start playing smoothly. FreeBSD 9.0-CURRENT #0 r214107: Wed Oct 20 06:25:50 CDT 2010 Quad-core running amd64. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.