From owner-freebsd-arch@FreeBSD.ORG Thu Nov 4 19:42:54 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EFAE216A4CE for ; Thu, 4 Nov 2004 19:42:54 +0000 (GMT) Received: from mail.vicor-nb.com (bigwoop.vicor-nb.com [208.206.78.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id DFDC443D31 for ; Thu, 4 Nov 2004 19:42:53 +0000 (GMT) (envelope-from julian@elischer.org) Received: from elischer.org (julian.vicor-nb.com [208.206.78.97]) by mail.vicor-nb.com (Postfix) with ESMTP id 8CA087A439; Thu, 4 Nov 2004 11:42:53 -0800 (PST) Message-ID: <418A863D.2030809@elischer.org> Date: Thu, 04 Nov 2004 11:42:53 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030516 X-Accept-Language: en, hu MIME-Version: 1.0 To: Poul-Henning Kamp References: <39210.1099557885@critter.freebsd.dk> In-Reply-To: <39210.1099557885@critter.freebsd.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: arch@freebsd.org Subject: Re: HEADSUP: HZ=1000 by default on i386 X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Nov 2004 19:42:55 -0000 I've been using 1000 by default for a long time.. seems to work fine.. Interstingly, 600 or 1200 are a really good speeds for video Common multiple of 25 Hz (europe TV) 30HZ (North American TV) and 24HZ (cinema film) If we wanted to do good video handling, I'd suggest 1200 as a good option. I've been lookign a bit into a FreeBSD kernel video framework that allows teh clocking in and out of frames at various rates and conversions, and having a 1200 Hz internal clock would be really cool for that.. Of course we could use a dedicated timer if we have one avaliable.. I was playing with the acquire_timer2() (etc) interface to do that but it would be cool to have the default rate be useable :-) Poul-Henning Kamp wrote: >We increasingly need better granularity in our sleep/wakeup calls and >things like device polling and trafic shaping needs higher granularity >in particular. > >So pending any really good arguments to the contrary I plan to increase >HZ to 1000 on i386 this weekend. > >You can still define any HZ value you like in your kernel config file >or even set it from the loader. > > >