From owner-freebsd-current@FreeBSD.ORG Mon Jun 18 15:07:38 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A8EAE16A400 for ; Mon, 18 Jun 2007 15:07:38 +0000 (UTC) (envelope-from takeharu1219@ybb.ne.jp) Received: from ybbsmtp08.mail.ogk.yahoo.co.jp (ybbsmtp08.mail.ogk.yahoo.co.jp [124.83.153.128]) by mx1.freebsd.org (Postfix) with SMTP id 2E97713C44B for ; Mon, 18 Jun 2007 15:07:38 +0000 (UTC) (envelope-from takeharu1219@ybb.ne.jp) Received: (qmail 70642 invoked by alias); 18 Jun 2007 15:07:36 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=ybb20050223; d=ybb.ne.jp; b=BOILnl/sbdVaQehcEer24uF3CqoDsJHWO7jhBBhgJ0w48w450hZ2Vt1gNFnVdhslSP8qOW2bNt16iUJKKL4aDgjyWmRx2fA5gHo007p5VbLOF3bye84qdxs2mGzM+Ju5 ; Received: from unknown (HELO ?127.0.0.1?) (takeharu1219@219.35.170.86 with plain) by ybbsmtp08.mail.ogk.yahoo.co.jp with SMTP; 18 Jun 2007 15:07:36 -0000 X-Apparently-From: Message-ID: <46769FB3.8060002@ybb.ne.jp> Date: Tue, 19 Jun 2007 00:07:31 +0900 From: Takeharu KATO User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Poul-Henning Kamp References: <6014.1179937161@critter.freebsd.dk> In-Reply-To: <6014.1179937161@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Evaluation of High Precision Event Timer Driver for userland timer facility 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, 18 Jun 2007 15:07:38 -0000 Hi Thank you for your comment. I'm sorry that the reply is late. > > Basing this facility on the HPET almost guarantees that we cannot > use it in FreeBSD, because the HPET is not available on more than > a couple of our architectures. > Certainly the facility is not available non-PC platform, it highly depends on board specs. How do you think about introducing this facility as a kernel option. As far as I think, this facility is a kind of device driver, this is not timer facility which is used in common. Certainly, it may have no dramatic effect as you said. Therefore, I did not mean to introduce this facility into FreeBSD by all means, certainly. > Without userland access to the timekeeping hardware, it is difficult > to avoid the system call overhead and once in the kernel anyway > it is doubtful that splitting the code between userland and > kernel really gives much of a payoff. > > I am aware that Linux has a userland timestamping facility, but > I am also aware of its numerous shortcomings. > Sorry, I can not figure out shortcomings of this, would you tell me shortcomings of mmaped HPET time stamp facility?