Subject: Re: procfs/kernfs "required"? [was Re: kernel & libkvm... ]
To: J.T. Conklin <>
From: Open Carefully -- Contents Under Pressure <>
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

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 /
text    data    bss     dec     hex
827360  98888   79008   1005256 f56c8 tossing in /proc is negligible.

912559 12648430 5UCK5 R0CK5.