Subject: Re: procfs/kernfs "required"? [was Re: kernel & libkvm... ]
To: James Graham - Systems Anarchist <greywolf@defender.vas.viewlogic.com>
From: Gary D. Duzan <gary@wheel.tiac.net>
List: current-users
Date: 01/16/1996 09:40:12
In Message <9601152217.AA19243@vas.viewlogic.com> ,
greywolf@defender.VAS.viewlogic.com (James Graham - Systems Anarchist) wrote:
=>#define AUTHOR "Chris_G_Demetriou@niagara.nectar.cs.cmu.edu (Chris_G_Demetrio
u@niagara.nectar.cs.cmu.edu)"
=>
=>/*
=> * > /*
=> * > * > ...so tossing in /proc is negligible.
=> * > *
=> * > * Without even ATTEMPTING to state the size of adding procfs, where do
=> * > * you come off stating _that_?
=> * > *
=> * >
=> * > Comparatively, it's negligible. It's still taking up less memory than
=> * > SunOS does. You really can't argue with that. :-)
=> *
=> * According to this logic, i should feel free to add a 5MB array of
=> * nothing to the NetBSD/Alpha kernel, because if I did it would still be
=> * smaller than the OSF/1 kernel i normally run on my workstation.
=> *
=> * Of course, compared to say, some real-time kernels, the NetBSD kernel
=> * is huge...
=> *
=>
=>More info:
=>
=>After configuring kernels which were IDENTICAL except for procfs,
=>the 'size' output from the kernel showed:
=>
=>819168 63952 78560 961680 eac90 netbsd # no procfs
=>819168 64832 78584 962584 eb018 /netbsd # procfs
=>
=>And on disk:
=>
=>-rwxr-xr-x 1 root bin 958261 Jan 12 19:05 netbsd # no procfs
=>-rwxr-xr-x 1 root bin 960266 Jan 12 18:01 /netbsd # procfs
=>
On i386:
Without PROCFS:
-rwxr-xr-x 1 root wheel 735152 Jan 15 22:14 /netbsd*
text data bss dec hex
622592 36864 73396 732852 b2eb4
With PROCFS:
-rwxr-xr-x 1 root wheel 744469 Jan 16 09:33 netbsd*
text data bss dec hex
630784 36864 74276 741924 b5224
Gary D. Duzan
Humble Practitioner of the Computer Arts