Re: Memory Management - BSD vs Linux

Matthias Urlichs (smurf@work.smurf.noris.de)
11 Aug 1997 11:35:06 +0200


"Douglas Jardine" <djardine@hotmail.com> writes:
>
> [4] FreeBSD/NetBSD swap out complete processes when required.
> Linux swaps out only some pages per process, upto the complete
> process if required.
>
The latest 2.0.31-pre3 has a small patch which swaps out whole processes if
they're suspended.

> [6] In FreeBSD, the file system buffer cache is implemented on top of
> the the memory management system using objects from the VM system
> to compose the buffer cache.
> NetBSD has separate fixed allocation of physical memory for the
> buffer cache which is not available to the VM system.
> Linux has a separate buffer cache like NetBSD, but the
> buffer cache size is not fixed and can vary dynamically depending
> on load (? not sure about this)
You're basically right, and if you think about it you'll realize that Linux
behaves liek FreeBSD here (or, to be more exact, FreeBSD behaves liek Linux
;-) since Linux was there first).

-- 
Matthias Urlichs
noris network GmbH