Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Aug 1999 08:55:49 +1000
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        jlemon@americantv.com
Cc:        current@FreeBSD.ORG
Subject:   Re: HEADS UP
Message-ID:  <99Aug31.085422est.40344@border.alcanet.com.au>
In-Reply-To: <19990830173120.30486@right.PCS>

next in thread | previous in thread | raw e-mail | index | archive | help
Jonathan Lemon <jlemon@americantv.com> wrote:
>On Aug 08, 1999 at 03:01:32PM -0700, Julian Elischer wrote:
>> I don't want to sound ungrateful, but couldn't we have defined these in
>> terms of Usecs and translated?
...
>  I think that having it in units of usec is
>probably better than msec; it provides more in the way of 
>"forward compatability",

Given a 32-bit integer, it also puts a much lower limit on the
maximum.  This is likely to bite on TCP keep-alives - currently they
are set to 2 hours.  We can't represent 2 hours as usecs in 32 bits.

> and allows for a larger HZ.

Not really.  The only problem is that the rounding errors get more
noticable as the number of units approaches HZ.  This is an artifact
that should be pointed out in the description - eg if you ask for
2msec on an Alpha, you'll probably get 1.66msec.

Peter


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Aug31.085422est.40344>