Subject: Re: Replacing the sysctl() interface.
To: Charles M. Hannum <root@ihack.net>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: tech-kern
Date: 06/05/2000 21:09:44
On Mon, 5 Jun 2000, Charles M. Hannum wrote:
> * Using a fs interface introduces a lot of bloat and overhead. In
> wired kernel memory. Remember that the reason for the way both
> sysctl(2) and SNMP handle the MIB is to keep the kernel
> implementation very fast and small.
Some data here:
1.4.2A/sparc: sysctl -a | wc -c => 2813
1.4ZA/i386: sysctl -a | wc -c => 6150
So for the tables we probably won't use much more than 6k right now.
- Hubert
--
NetBSD - because Unix isn't just #include <linux.h>, i386, ILP32, ELF, ...!