Subject: Re: procfs/kernfs "required"? [was Re: kernel & libkvm... ]
To: J.T. Conklin <jconklin@netcom.com>
From: Open Carefully -- Contents Under Pressure <greywolf@defender.VAS.viewlogic.com>
List: current-users
Date: 01/11/1996 12:01:38
Interesting that you should mention size of a kernel.
On my SS2 running StunOS, the kernel size on disk is 1417172 bytes,
size in memory is 1089536+173152+84960 [total 1347648] bytes.
On my SS1+ running NetBSD 1.1 *with* COMPAT_SUNOS, PROCFS, KERNFS, MFS,
CD9660 [which all provide more functionality than my StunOS kernel does],
the kernel on disk is 1167591, in memory is 974816+106072+78648
[1159536].
And that's a GENERIC kernel, whereas my SunOS kernel is trimmed of all
unnecessary stuff (RFS, VFSSTATS, LWP, ASYNCHIO, tim, tirw, tcptli, bwtwo,
cgthree, cgtwelve, gt aren't used). My tuned NetBSD kernel is even smaller:
-rwxr-xr-x 1 root systaff 1003015 Dec 8 10:44 /netbsd.new
text data bss dec hex
827360 98888 79008 1005256 f56c8
...so tossing in /proc is negligible.
--*greywolf;
--
912559 12648430 5UCK5 R0CK5.