swap usage

Anders Widman andewid at tnonline.net
Mon Mar 4 12:05:02 PST 2002

>  --- Gerard Beekmans <gerard at linuxfromscratch.org>
> wrote:
>> If you;re not using your system to do anything else
>> (say running X, running
>> some heavy apps like KDE, Mozilla and so on) then
>> it's very possible to use
>> less than 256 of ram when compiling LFS.
>> I've done it on a 128 MB machine with only 100 MB
>> swap and only 50 MB or so
>> of the swap was being used at any given time.

> What's got me wondering is that it _can_ use 500MB+ to
> build LFS. That's what is used when I build on the box
> with 512MB. Both boxes show the same thing, about 3-12
> megs free all the time. Since it will use the physical
> memory if it's there, why won't it use the swap? Is it
> that the memory it's using is refreshed so fast as to
> make swapping inefficient?

Compiling packages like GCC, Glibc and the Kernel usually doesn't take
up more than 20-30MB RAM. Still, most memory is used up of other
things like buffer/cache.


Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list