[CentOS] Swap Considerations

Tue Feb 27 20:04:56 UTC 2007
William Warren <hescominsoon at emmanuelcomputerconsulting.com>

I'm going to be different from most.  I don't believe in using swap at 
all.  I have my swap starting equal to my ram and as i go up i REDUCE 
the swap.  My vm.swappiness is always set to zero as swapping to disk is 
many times slower than keeping it in ram.

Mike McCarty wrote:
> I am considering installing CentOS 4.4, and am interested in
> how best to set up. I have been using FC2 and helping administer
> a Debian machine for a few years, but do not consider myself a
> Linux guru.
> 
> My current set up uses a /swap partition which is 2x my memory
> size
> 
> mem = 256 MB
> 
> $ sudo /sbin/fdisk -l
> /dev/hda6           76506       77545      524128+  82  Linux swap
> 
> I'm interested in the use of a file for swap, as I hear that there
> is now no speed penalty for that. I use ext3 for my partitions.
> 
> I'm also interested in whether it be reasonable/desirable to
> make /home, /tmp, and /var be on a separate partition. I have heard
> arguments on both sides, some claiming that with ext3 the system
> won't become unbootable because of /tmp filling up.
> 
> Anyone care to weigh in?
> 
> Mike

-- 
My "Foundation" verse:
Isa 54:17  No weapon that is formed against thee shall prosper; and 
every tongue that shall rise against thee in judgment thou shalt 
condemn. This is the heritage of the servants of the LORD, and their 
righteousness is of me, saith the LORD.

-- carpe ductum -- "Grab the tape"
CDTT (Certified Duct Tape Technician)

Linux user #322099
Machines:
206822
256638
276825
http://counter.li.org/