Date: Thu, 4 Nov 1999 12:52:50 -0500 (EST) From: "Matthew N. Dodd" <winter@jurai.net> To: Arun Sharma <adsharma@home.com> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: kstat - an API for gathering kernel stats Message-ID: <Pine.BSF.4.20.9911041252130.18969-100000@sasami.jurai.net> In-Reply-To: <19991104092304.A708@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 4 Nov 1999, Arun Sharma wrote: > I just looked at the sysctl implementation and there are some differences. > Moreover, since it was not being used in tools like vmstat and xosview, > I thought there must be a reason. > > sysctl also seems to assume that it doesn't get called frequently. So > mapping the name to the sysctl data is a slightly more heavy duty > operation than a hash table lookup. Wouldn't hashing the sysctl OIDs be the way to go then? Why invent another namespace? -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | This Space For Rent | ISO8802.5 4ever | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.9911041252130.18969-100000>