[lkml]   [2001]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: HZ value
On Tue, Nov 06, 2001 at 04:15:25PM +0200, Yoav Etsion wrote:
> Hi,
> Does anyone know why the HZ (asm/param.h) value on the Alpha (1000) is
> different than on any architecture (100)?

It is 1024.

Why should it be anything in particular ?

It being 1024 gives nice properties in certain obscure
internal time functions. 100 or 1000 can not use same
tricks as 1024 when a division is needed...

The 100 is usual UNIX tradition, although other values
were present in earlier times. Alpha on the other
hand has always been a rather fast beast, and there
a faster timer tick is somewhat justified.

That 100 is tough for a 386/20MHz, but 1024 is no problem
for a Pentium-IV/1.5GHz.

> Thanks,
> Yoav Etsion

/Matti Aarnio
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:12    [W:0.038 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site