Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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

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

in Advance..

Last edited by kssuhesh; 03-27-2008 at 02:00 AM.
Old 03-27-2008, 02:09 AM   #2
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,396

Rep: Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395Reputation: 2395
there's no fixed answer, but my rule of thumb is
if RAM < 1 GB, set swap = 2 x RAM (or bigger)
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, 04:33 AM   #3
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
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, 04:55 AM   #4
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.



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 07:05 AM
how much swap space is needed; how to increase swap space? johnpaulodonnell Linux - Newbie 5 03-23-2007 03:20 AM
swap space user52 Linux - Newbie 1 02-12-2007 10:00 AM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Swap Space fenriswolf Linux - Software 1 10-11-2001 01:52 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:26 PM.

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