From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 11 14:44:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5922F106564A; Wed, 11 Jul 2012 14:44:45 +0000 (UTC) (envelope-from paul@glccom.com) Received: from exchange.glccom.com (exchange.glccom.com [209.152.99.146]) by mx1.freebsd.org (Postfix) with ESMTP id 213B28FC0A; Wed, 11 Jul 2012 14:44:45 +0000 (UTC) Received: from [192.168.10.27] (192.168.10.27) by exchange.glccom.com (192.168.10.5) with Microsoft SMTP Server id 8.3.83.0; Wed, 11 Jul 2012 09:35:46 -0500 From: Paul Albrecht To: Alexander Motin In-Reply-To: <4FFD4A7F.9060103@FreeBSD.org> References: <4FFD4A7F.9060103@FreeBSD.org> Content-Type: text/plain Date: Wed, 11 Jul 2012 09:44:44 -0500 Message-ID: <1342017884.5984.24.camel@albrecht-desktop> MIME-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Cc: "davide@FreeBSD.org" , "freebsd-hackers@freebsd.org" , Harti Brandt Subject: Re: [[SPAM]] Re: kqueue timer timeout period X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jul 2012 14:44:45 -0000 On Wed, 2012-07-11 at 04:42 -0500, Alexander Motin wrote: > Hi. > > Historically FreeBSD used completely different hardware time sources for > time keeping and time events. Not sure about 5%, but the last could be > less precise in some cases. FreeBSD 9.0, depending on hardware, can be > more precise because of using same time source in both cases. Also there > is ongoing GSoC project now by Davide Italiano to handle sub-HZ > resolution for time events. Present tests show reaching 20 microseconds > precision; and I think it can be improved further. > I'm definitely not getting getting 20 millisecond timing with freebsd kqueue which surprised me because I get it with linux linuxfd_create/read using the same hardware. -- Paul Albrecht