On Thu, Oct 12, 2000 at 06:25:31PM -0500, Jonathan Wilson wrote:
> Is there a way to list your swap partitions and files? I thought
> "mount" would do it, but there's nothing related to swap there.
>
> Also, I have heard alot of things about swap sizes - some people say
> it should be the same MB as you RAM, some say double your RAM, some
> people say it has to be in 128 MB increments, and some say that's not
> true, it can all be one big partition. Can anyone give some
> clarification about this, or point to some reliable documentation?
The 128M swap size limit is for kernels prior to the 2.2 series. That
limit no longer exists in modern kernels.
There's a common "old wive's tale" that swap needs to be twice the amount
of RAM. It may be that some Unices have had such a requirement but Linux
does not and never has.
How much swap you need depends entirely on 1) how much RAM you have, and
2) how much memory your system needs to do its job. For example, if you
have 32 megs of RAM but you want to run netscrape and The Gimp and
other programs that are memory hogs, you'll want more than twice the
amount of RAM. OTOH if you have a gigabyte of RAM you may be able to
get by with no swap.
Two examples:
My main system (K6-2/350, 64m ram) has 280 megs of swap, not because I
need that much but because there was a partition already existing of that
size when I was doing a system upgrade. However, when running things like
The Gimp with a large image, or viewing some of the ridiculous web pages
out there with Netscrape, I often end up using over a hundred megs of
swap.
The household ip-masq/router/diald system is an old K5 with 16 megs of
both RAM and swap, no GUI (and therefore no Netscrape or any of the
other graphical memory hogs). It just sits there and runs for months
with swap usage always at .5-2.0 megs.
--
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
The Lord detests the way of the wicked
but he loves those who pursue righteousness.
----------------------------- Proverbs 15:9 (niv) -----------------------------
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list