Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!ames!ucbcad!ucbvax!decvax!tektronix!tekcrl!terryl From: terryl@tekcrl.UUCP Newsgroups: comp.unix.wizards Subject: Re: Sys V kernel bss is a HOG!!! Message-ID: <1422@tekcrl.TEK.COM> Date: Fri, 20-Feb-87 17:52:35 EST Article-I.D.: tekcrl.1422 Posted: Fri Feb 20 17:52:35 1987 Date-Received: Sat, 21-Feb-87 16:24:16 EST References: <3690002@nucsrl.UUCP> Reply-To: terryl@tekcrl.tek.com Organization: Tektronix, Inc., Beaverton, OR. Lines: 19 In article <3690002@nucsrl.UUCP> naim@nucsrl.UUCP (Naim Abdullah) writes: > >It seems that the text size of the bsd kernel compares very favourably >with the System V kernel, if one considers the additional functionality. > >However, I am curious as to why the system V kernel has such a large >bss size compared to the bsd kernel (410KB vs. 70KB). The Vax is >configured for INET while the 3b2 is on a 3bnet. Can it be, because >3bnet is a hog for buffers or that system V uses a very large buffer >cache ? I don't know the answer and I invite you to speculate. > >If it makes a difference, I know that the Vax in question has 4MB >of memory while rumor has it that the 3b2 has 2MB. Don't forget, BSD kernels allocate things like the buffer cache, in- core inode, open file structures (and oodles and oodles of other goodies) DYNAMICALLY at run time. So, at the very least, one should add at least 1/2 Meg to the BSD kernel sizes. I don't know anything about System V, but I'll bet it does all of its allocation statically, (i.e. at link time).