LinuxQuestions.org
Review your favorite Linux distribution.
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 11-14-2007, 03:09 PM   #1
Grife
Member
 
Registered: Oct 2006
Location: Finland
Distribution: openSUSE
Posts: 89

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


Hi!

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, 03:25 PM   #2
forrestt
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:

http://www.linuxquestions.org/questi...8/swap-545237/
 
Old 11-14-2007, 03:26 PM   #3
pljvaldez
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, 07:49 PM   #4
ggarron
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.

http://www.go2linux.org/Swap-memory-...with-swap-file

here is a how to, that may help you.

hope I could help you anyway.

Guillermo Garron
Linux Operating System
 
  


Reply


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

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

All times are GMT -5. The time now is 10:09 AM.

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