Messages in this thread | | | From | tabris <> | Subject | Re: finding out the value of HZ from userspace | Date | Sat, 13 Mar 2004 16:19:00 -0500 |
| |
On Saturday 13 March 2004 12:24 pm, Arjan van de Ven wrote: > On Thu, 2004-03-11 at 15:17, Micha Feigin wrote: > > Is it possible to find out what the kernel's notion of HZ is from user > > space? > > It seem to change from system to system and between 2.4 (100 on i386) > > to 2.6 (1000 on i386). > > if you can see 1000 from userspace that is a bad kernel bug; can you say > where you find something in units of 1000 ? 2.6.3-rc1-mm1
procinfo gives the timer interrupt counting 1000 ints/sec tho procinfo is broken for other stuff like 2.4 showed pages swapped, pages read in and out.
-- tabris - "We never make assertions, Miss Taggart," said Hugh Akston. "That is the moral crime peculiar to our enemies. We do not tell -- we *show*. We do not claim -- we *prove*." -- Ayn Rand, _Atlas Shrugged_
- 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/
| |