From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 2 21:21:35 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5B55C2; Thu, 2 Oct 2014 21:21:35 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E24D35C; Thu, 2 Oct 2014 21:21:35 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2870BB91F; Thu, 2 Oct 2014 17:21:34 -0400 (EDT) From: John Baldwin To: freebsd-hackers@freebsd.org Subject: Re: freebsd 10 kqueue timer regression Date: Thu, 2 Oct 2014 16:00:17 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20140415; KDE/4.5.5; amd64; ; ) References: <8ABC0977-FB8F-45E7-ACCC-BFA92EE22E1C@glccom.com> <1412279608.12052.24.camel@revolution.hippie.lan> In-Reply-To: <1412279608.12052.24.camel@revolution.hippie.lan> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201410021600.17740.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 02 Oct 2014 17:21:34 -0400 (EDT) Cc: Adrian Chadd , Paul Albrecht , Ian Lepore X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2014 21:21:35 -0000 On Thursday, October 02, 2014 3:53:28 pm Ian Lepore wrote: > On Thu, 2014-10-02 at 12:47 -0700, Adrian Chadd wrote: > > I'm confused; it's doing 50 loops of a 20msec timer, right? So that's 1000ms. > > Yes, so the entire loop should take 1000ms maybe + 1ms. Instead it > takes 1070. When I run it on an armv6 system running -current it takes > 1050. When I run it on my 8.4 desktop (pre-eventtimers) it takes 1013. > > -- Ian What if you set kern.eventtimer.periodic=1? -- John Baldwin