Click to See Complete Forum and Search --> : Resize Swap With Added RAM?


ddustan
01-02-2002, 01:24 AM
I've upgraded my Mandrake 8.1 Linux machine from 64 MB to 256 MB of RAM. I still have about a 256MB swap. How can I resize my swap without doing too much damage?

David

Mandrake 8.1

bdl
01-02-2002, 02:10 AM
You don't need to resize your swap. With 256MB RAM I doubt your swap partition will even be tasked that much.

The Whizzard
01-02-2002, 02:17 AM
There is no real good reason you should have more than 256MB swap, even if you have more than 256MB RAM.
The only places where I've seen huge amounts of swap was in very heavily used servers with more than 2GB RAM, which then had 512MB-1GB swap on a RAID array.
If you are running huge applications which require more than 256MB, get more physical RAM.
Unless you start running in to problems, I wouldn't mess with increasing swap just yet.

DMR
01-02-2002, 03:17 AM
Actually, with 256MB of physical RAM, you might want to shrink your swap partition to something like 128MB, and alllocate the remaining 128MB to another partition (unless, as The Whizzard said, you are running a serious server or something similar).

ddustan
01-02-2002, 09:30 AM
Thanks for the responses. I'm not running mega-server stuff so I'll just leave the swap as is.

I am also considering the option to reduce the swap to 128MB. How does this work? I've heard of others doing this but am not sure why?

David