Skip site navigation (1)Skip section navigation (2)
Date:      09 Aug 2001 12:22:14 +0100
From:      Rolf Neugebauer <neugebar@dcs.gla.ac.uk>
To:        Jeff Behl <jeff@expertcity.com>
Cc:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: timing question
Message-ID:  <ysq66bxcwbd.fsf@therese.dcs.gla.ac.uk>
In-Reply-To: Jeff Behl's message of "Wed, 8 Aug 2001 10:21:20 -0700"
References:  <0307F3737A2AD511A42200D0B7A071919A4043@dopey.corp.expertcity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Jeff Behl <jeff@expertcity.com> writes:

> thanks to all for the help with the timing question.  Increasing the hz to
> 400 (in param.c) allowed for granularity of 5ms, which is what we needed.
> For those as unknowing as I was about unix timing, I ran across the
> following url which explained why a setting of 400hz allows for a max
> resolution of twice the tick amount (2.5ms).:
> http://www.ripe.net/ripencc/mem-services/ttm/Notes/PAM2001/node6.html#SECTIO
> N00061000000000000000

You don't need to modify param.c. Just add
options         HZ=400                 # increase timer frequency
to your kernel config file.

Rolf

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ysq66bxcwbd.fsf>