> It is my understanding that swap partitions are limited in size to 2GB,
> yet Red Hat's documentation points that your swap partition should be 2x
> the size of your physical memory.  Therefore, if you have a 2GB + of RAM,
> what is the best approach for sizing your swap partition?  Using multiple
> swap partitions or just keeping a maximum of 2GB swap?

depends on your needs. that is, depends how much memory you need. My
systems are all running on 1.5GB or less ram, and I have never noticed
them using more then a few megs of swap, and even then they usually have
more then 70% memory(RAM) available.

also depends on how many disks you have and how they are arranged, ideally
you should either have swap on a seperate disk or on a hardware raid
array to improve performance..swapping can really drag down a system.
this also depends on what your disk usage patterns are, maybe the
system doesn't do much disk access so performance wouldn't be an issue..

2 of my home systems.. 1 with 1.5GB and 1 with 1GB, the 1.5GB one is
using 3MB of swap with 1.3GB available memory(disk cache), the 1GB
system is using 0 swap with 751MB available memory(disk cache). my
laptop has 256MB, it's using 5MB of swap with 195MB available memory
(disk cache again).

it can't hurt to have more swap partitions, but most configurations
won't need it. If you have such a system that it needs to dig into
a lot of swap I'd reccomend upgrading the memory or splitting the
load accross multiple systems for better performance.

if you configure the system with LVM it can be pretty easy to
re-configure the setup to allocate more space for swap, or you
could use swap files(big performance hit I hear).

nate
(linux user since '95)





-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to