Subject: Re: HZ
To: maximum entropy <entropy@zippy.bernstein.com>
From: Leo Weppelman <leo@wau.mis.ah.nl>
List: port-atari
Date: 03/07/1998 21:51:59
On Fri 06 Mar 1998, maximum entropy wrote:
> 
> Hi,
> 
> In the GENERIC kernel config, HZ is defined:
> 
> options         HZ=64           # Set the clock-rate (48/64/96)
> 
> How should the correct value be determined?

There is no 'correct' value. Each of the values mentioned gives you a working
system. If you set the clock rate to 96, your system becomes a bit slower
because it needs to serve more interrupts. The frequency at which timers
are examined increases. This influences scheduling granularity, statistics
gathering (profiling/accounting). There is probably a more expanded list
in the books about os's like 'The design and implementation of .....' series,
you'll have to consult these yourself though ;-)
Oh, the set [48/64/96] is determined by the frequencies that can be made
exactly with the way the time-A in the ST-MFP is setup by NetBSD.

Leo.