Re: Why HZ on i386 is 100 ?

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Wed Apr 17 2002 - 01:17:35 EST


>>>>> On 17 Apr 2002 02:01:42 -0400, Robert Love <rml@tech9.net> said:

  Robert> Exactly - this was my issue. So what _was_ the rationale
  Robert> behind Alpha picking 1024 (and others following)?

Picking a timer tick is a bit like picking the color of a
window. Everybody has an opinion and there is no truly "right" choice.
I guarantee you whatever you pick, someone will come along and say:
why not X instead?

A power-of-2 value obviously makes it easy to divide by HZ.

  Robert> More importantly, can we change to 1000?

On ia64, you can make it anything you want. User-level will pick up
the current value from sysconf(_SC_CLK_TCK).

        --david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Apr 23 2002 - 22:00:17 EST