Re: a joint letter on low latency and Linux

Theodore Y. Ts'o (tytso@MIT.EDU)
Fri, 30 Jun 2000 18:22:53 -0400


Date: Fri, 30 Jun 2000 13:46:09 -0700 (PDT)
From: Andre Hedrick <andre@linux-ide.org>

> It can already do it with a fast system, HZ=1000 and ingos patch.

You can't do that and expect sub-systems that use HZ as a reference base.
Since I have not followed the thread, completely, I may ge out of context.
Regardless if I am, a global assuption of the value of HZ is used by more
than just me.

What user programs are depending on HZ? We really should have a way of
letting portable programs find out what the HZ value, so that it's
possible to change it in the future. The POSIX interface to this is
sysconf(_SC_CLK_TCK), but that currently returns a hard-coded value. It
should probably find out this information via a sysctl argument, so that
user-mode program don't have to be recompiled if/when the HZ value
changes. (There are some really good arguments why it should perhaps be
raised to 1024, like it is on other platforms such as the Alpha. After
all, modern i386's are as fast or faster than Alpha's were back when the
Alpha port decided to use a HZ value of 1024.)

- Ted

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