From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 11 09:42:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A41C81065691; Wed, 11 Jul 2012 09:42:30 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0335F8FC14; Wed, 11 Jul 2012 09:42:29 +0000 (UTC) Received: by bkcje9 with SMTP id je9so816257bkc.13 for ; Wed, 11 Jul 2012 02:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=UsLRH6SFe7wP7jV+9OVdq720971gc/4yFgxcE3o1giE=; b=JcWxZJRCmqsWkQxRfJa4ZH1I3xg928rlt81mb0kwD9vibzbB4PQvzi6D0bsB3PLheA KHuIhEV4XM1lUmrvdvgakEFx5qFWDDZDJNM+1WUQk00/s7IAnNI15cJOZwRW4SD9XzZ9 9mIWGR1/eGIPdJtmRsrujp1P+MKumPnCrug4HsbHl6G/MAwSVJZ+XYBp8F1dlxp2zecJ 3J+FNk3hZIQAzj24euNtDGkV0Pzv0PYdZoZz+BmLpjx3UvhIZrCQxZlGGVFiXGxL6pDQ z2GgEh+ncypE9pz3bmb5wEr6ThE+WkArMqzwtbH3RNIElRjPb05RO8pz+8vcVe5VgK9O evIg== Received: by 10.204.156.217 with SMTP id y25mr23401319bkw.65.1341999748846; Wed, 11 Jul 2012 02:42:28 -0700 (PDT) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id hg13sm669894bkc.7.2012.07.11.02.42.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 Jul 2012 02:42:27 -0700 (PDT) Sender: Alexander Motin Message-ID: <4FFD4A7F.9060103@FreeBSD.org> Date: Wed, 11 Jul 2012 12:42:23 +0300 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120628 Thunderbird/13.0.1 MIME-Version: 1.0 To: Harti Brandt Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: davide@FreeBSD.org, freebsd-hackers@freebsd.org, Paul Albrecht Subject: 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 09:42:30 -0000 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. -- Alexander Motin