brandon@tdi2.UUCP (02/27/87)
Quoted from <1422@tekcrl.TEK.COM> ["Re: Sys V kernel bss is a HOG!!!"], by terryl@tekcrl.TEK.COM... +--------------- | In article <3690002@nucsrl.UUCP> naim@nucsrl.UUCP (Naim Abdullah) writes: | >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 | | 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). +--------------- The buffers (NBUF) are *probably* dynamic. I know they are if NBUF is 0; it uses 10% of the value of physmem as calculated during boot. The rest is all static, and includes some sizeable tables for IPC (msg/shm/sema). ++Brandon -- ``for is he not of the Children of Luthien? Never shall that line fail, though the years may lengthen beyond count.'' --J. R. R. Tolkien Brandon S. Allbery UUCP: cbatt!cwruecmp!ncoast!tdi2!brandon Tridelta Industries, Inc. CSNET: ncoast!allbery@Case 7350 Corporate Blvd. INTERNET: ncoast!allbery%Case.CSNET@relay.CS.NET Mentor, Ohio 44060 PHONE: +1 216 255 1080 (home) +1 216 974 9210