Re: About the need of a swap area

From: Denis Vlasenko (vda@port.imtp.ilyichevsk.odessa.ua)
Date: Sat Jul 27 2002 - 19:02:51 EST


On 27 July 2002 12:42, Ville Herva wrote:
> > I created a swap area twice as large as my RAM size (just an
> > arbitrary size), that is 1G. I've tested with lower sizes too. My RAM
> > is never filled (well, I haven't seen it filled, at least) since I
> > always work on console, no X and things like those. Even compiling
> > two or three kernels at a time don't consume my RAM. What I try to
> > explain is that the swap is not really needed in my machine, since
> > the memory is not prone to be filled.
>
> So you have 512MB of RAM? All the programs (without X) will fit there
> easily. You'll still have plenty for disk cache.

With today's software I'd say you probably need swap if you have
less than 256M of RAM and use X. You _definitely_ need it if you have less
than 128M.

X is regularly uses 50+ megs, Mozilla and OpenOffice are big
leaky beasts too. Hopes for improvements are dim.

Really, we have to fight software bloat instead of adding tons of RAM
and swap, but sadly we have quite a number of vital desktop software
packages overbloated.

I am enormously grateful for all kernel developers for Linux kernel
which is:

Memory: 124644k/129536k available
(1403k kernel code, 4436k reserved, 403k data, 152k init, 0k highmem)

Only 1.5 megs of code, 0.5 megs of data!

--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:27 EST