LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-27-2008, 02:58 AM   #1
kssuhesh
LQ Newbie
 
Registered: Aug 2007
Location: Kochi
Distribution: Mandriva
Posts: 23

Rep: Reputation: 15
Recomented maximum SWAP space ...


Hi
What is the recommended SWAP space for a system ?
Maximum and Min swap space & important things to remember about swap space ?

Thanks
in Advance..

Last edited by kssuhesh; 03-27-2008 at 03:00 AM.
 
Old 03-27-2008, 03:09 AM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
there's no fixed answer, but my rule of thumb is
if RAM < 1 GB, set swap = 2 x RAM (or bigger)
else
set swap = 1 or 2 GB
Swap only really allows your system to take longer to grind to a halt if there's a runaway process.
Most of your progs should fit in RAM with a bit in swap. The more swap you use, the slower the system.
 
Old 03-27-2008, 05:33 AM   #3
mrrangerman
Member
 
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 50
The rule of thumb for swap was RAM x 1 1/2 or x 2 as stated.

If we are talking a new system with 1gb of ram or more 512mb is more than enough, unless running heavy scientific math programs then bumping the swap up would be smart. The rule was set when pc's had a very small amount of ram, this is not the case with newer systems.
 
Old 03-27-2008, 05:55 AM   #4
esm_menc
Member
 
Registered: Apr 2006
Location: washington
Distribution: boat loads in my library:LFS3.1/dsl/puppy/tinycore
Posts: 31

Rep: Reputation: 16
follow the ram=swap unless your, video editing (dvd movie? may need larger swap, re mastering liveCD = more swap, ie; 4 gig LiveDvD 2-4 gig swap or temporary swap file. if you make 700mb liveCd and you have 1gig swap + free space for ISO then don't worry. I just don't know the reqs. for a web server.
 
  


Reply

Tags
swap


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to reduce swap space and reclaim the space grantm Linux - Newbie 7 08-16-2012 08:05 AM
how much swap space is needed; how to increase swap space? johnpaulodonnell Linux - Newbie 5 03-23-2007 04:20 AM
swap space user52 Linux - Newbie 1 02-12-2007 11:00 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Swap Space fenriswolf Linux - Software 1 10-11-2001 02:52 PM


All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration