From owner-freebsd-current@FreeBSD.ORG Fri Dec 24 16:16:45 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 446101065693; Fri, 24 Dec 2010 16:16:45 +0000 (UTC) (envelope-from stefan@fafoe.narf.at) Received: from fep20.mx.upcmail.net (fep20.mx.upcmail.net [62.179.121.40]) by mx1.freebsd.org (Postfix) with ESMTP id 4F10A8FC0A; Fri, 24 Dec 2010 16:16:43 +0000 (UTC) Received: from edge01.upcmail.net ([192.168.13.236]) by viefep20-int.chello.at (InterMail vM.8.01.02.02 201-2260-120-106-20100312) with ESMTP id <20101224161642.XWBE1667.viefep20-int.chello.at@edge01.upcmail.net>; Fri, 24 Dec 2010 17:16:42 +0100 Received: from mole.fafoe.narf.at ([213.47.85.26]) by edge01.upcmail.net with edge id n4Gh1f00A0a5KZh014Gila; Fri, 24 Dec 2010 17:16:42 +0100 X-SourceIP: 213.47.85.26 Received: by mole.fafoe.narf.at (Postfix, from userid 1001) id D602F6D423; Fri, 24 Dec 2010 17:16:40 +0100 (CET) Date: Fri, 24 Dec 2010 17:16:40 +0100 From: Stefan Farfeleder To: Alexander Motin Message-ID: <20101224161640.GD2642@mole.fafoe.narf.at> References: <20101224143124.GC2642@mole.fafoe.narf.at> <4D14B30E.3090609@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D14B30E.3090609@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Cloudmark-Analysis: v=1.1 cv=zlRBWuFCZaNL9+WHNm1pWLowY5Lx061w2zJBJiDkNAU= c=1 sm=0 a=kj9zAlcOel0A:10 a=Dlw6RABRCJEJcHmU31QA:9 a=o6ClPT6-XHZFOFORe8crK7vTO5AA:4 a=CjuIK1q_8ugA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Cc: freebsd-current@freebsd.org Subject: Re: eventtimers hiccups 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: Fri, 24 Dec 2010 16:16:45 -0000 On Fri, Dec 24, 2010 at 04:49:50PM +0200, Alexander Motin wrote: > > Have you tried to look on what happens with your HPET interrupts during > the problem? Is it timer hardware/driver problem, or something else? > > Have you tried to use LAPIC timer? - it has no race window between start > and completion that may potentially stop HPET timer in some situations. > > Have you tried to enable kern.eventtimer.idletick? > > The best diagnostic would be to get KTR dump at the moment when problem > begins. You should build kernel with > options KTR > > options ALQ > > options KTR_ALQ > > options KTR_COMPILE=(KTR_SPARE2) > > options KTR_ENTRIES=131072 > > options KTR_MASK=(KTR_SPARE2) > > and as soon as problem begins (before logs wrapped) you should run > `ktrdump -c -o dump`. > > Also you may try in file acpi_hpet.c change line > if (fdiv < 5000) { > to the > if (fdiv < 50000) { > . Hi Alexander, thanks for your suggestions. I'll try them out and report then. It might take some time though. Stefan