LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01:58 AM   #1
kssuhesh
LQ Newbie
 
Registered: Aug 2007
Location: Kochi
Distribution: Mandriva
Posts: 24

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 02:00 AM.
 
Old 03-27-2008, 02:09 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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, 04:33 AM   #3
mrrangerman
Member
 
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
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:05 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
Open Source Consulting | Domain Registration