Help answer threads with 0 replies.
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 11-14-2007, 04:09 PM   #1
Registered: Oct 2006
Location: Finland
Distribution: openSUSE
Posts: 89

Rep: Reputation: 15
Obligatory swap-space, how much?


I have a new computer with 2Gb of RAM. That's as much as my 4 previous computers combined! Back in the days rule of the thumb was that amount of swap space to be allocated should be 2*RAM, in this case it would be 4Gb then. Seems a bit wasteful, considering the huge amount of RAM I already have, which should take burden off the HD operations afaik..

Couldn't I just live with the regular 1Gb I've always allocated or should I really use 4Gb to use as a swap?
Old 11-14-2007, 04:25 PM   #2
Senior Member
Registered: Mar 2004
Location: Cary, NC, USA
Distribution: Fedora, Kubuntu, RedHat, CentOS, SuSe
Posts: 1,288

Rep: Reputation: 99
You really don't need any swap defined. It is insurance against running out of ram so your system doesn't crash. Here is a discussion on the topic:
Old 11-14-2007, 04:26 PM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Usually I never go above 512MB of RAM in any system (even old ones). My system has 2GB RAM and never swaps, even when doing doing a lot of things at once.

I think the only time you need more is if you're going to do professional video editing or 3-D rendering, which sometimes requires a lot of RAM.
Old 11-14-2007, 08:49 PM   #4
LQ Newbie
Registered: Nov 2007
Location: Bolivia
Distribution: Arch Linux
Posts: 11
Blog Entries: 1

Rep: Reputation: 2
With that amount of RAM you maybe do not need any swap, but for sure you have a big disk also, so if you are using a big_mem kernel you can use a swap of 1 or 2 Gigs, if anytime you go out of RAM (difficult) but if want to run two or three VM machines at the same time you will need that RAM and more, you may also create a Swap file.

here is a how to, that may help you.

hope I could help you anyway.

Guillermo Garron
Linux Operating System


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
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
how much swap space porous Linux - General 9 10-27-2003 09:24 AM
Swap Space bawbag Slackware 6 07-16-2003 11:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 AM.

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
Open Source Consulting | Domain Registration