Sys V kernel bss is a HOG!!!

pwy at pyuxe.UUCP pwy at pyuxe.UUCP
Tue Feb 24 08:09:58 AEST 1987


In article <294 at desoto.UUCP>, shz at desoto.UUCP 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).
> 
> I believe the SV kernel statically allocates its bufs (NBUF of them)
> while the BSD kernel dynamically allocates them at boot (malloc, tmalloc,
> or some such BSD kernel memory allocation routine).

On the 3B2 starting with Release 2.0 the parameter NBUF is calculated
at boot time by sizing physical memory (you do have the option of
overiding this and putting in your own number of buffers).

Note that System V Rel 2.0 on the VAX and 3B20 do not have this ability.

					Peyton Yanchurak
					Bellcore



More information about the Comp.unix.wizards mailing list