LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Zenwalk
User Name
Password
Zenwalk This forum is for the discussion of Zenwalk Linux.

Notices

Reply
 
Search this Thread
Old 02-24-2007, 10:12 AM   #1
bullinchinashop
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Rep: Reputation: 0
How much swap space


This will probably sound like a silly question but...
How much swap space do I really need?
Does it help to have more two or three swap partitions?
Does it help to have one really large swap partition-say 10-20 GB?
I'm probably going to be using a 250 GB hard drive so space won't be an issue.
 
Old 02-24-2007, 10:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
you don't need much swap really. only enough to cover any shortfall in physical ram. if you have 1gb and don't do massive amounts of memory intensive stuff like video gaming and such, you'll probably be fine with none at all. i would never bother giving more than 1gb of swap to a non-server box. additionally no benefit (from your angle at least) of spreading multiple swap partitions around and such.
 
Old 02-24-2007, 11:25 AM   #3
bullinchinashop
LQ Newbie
 
Registered: Oct 2006
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie
you don't need much swap really. only enough to cover any shortfall in physical ram. if you have 1gb and don't do massive amounts of memory intensive stuff like video gaming and such, you'll probably be fine with none at all. i would never bother giving more than 1gb of swap to a non-server box. additionally no benefit (from your angle at least) of spreading multiple swap partitions around and such.
I've only got 512MB of RAM. My computer uses RIMBUS so I'm really not trying to increase it. I might use gimp & play games every once in a while
 
Old 02-24-2007, 11:33 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
well you won't miss anotyher 512mb i expect, you'll seldom need it though.
 
Old 03-01-2007, 03:15 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
The general rule of thumb is to have a swap space 2X the amount of RAM, but generally anything over 1 GB swap is wasted space. So, in your case, with 512mb RAM i would set it at 1GB.
 
Old 03-01-2007, 03:22 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
Quote:
Originally Posted by tommcd
The general rule of thumb is to have a swap space 2X the amount of RAM
Yeah totally right... if it's still 1992 and RAM costs more than children.
 
Old 03-02-2007, 02:33 AM   #7
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 287Reputation: 287Reputation: 287
Quote:
Originally Posted by acid_kewpie
Yeah totally right... if it's still 1992 and RAM costs more than children.
Well, I suppose it depends on how you use your machine. I have 1.5 GB RAM in my system, and I use the swap space sometimes, like now:
-------------------------------------------
tom[~]$ free
total used free shared buffers cached
Mem: 1555388 825912 729476 0 61172 476484
-/+ buffers/cache: 288256 1267132
Swap: 1951888 2432 1949456
tom[~]$
-------------------------------------------------
I do some gaming, video encoding, etc, which can use a lot of RAM. Granted, I never use 1 GB swap, but I would rather have more than not enough, unless I was short on hard drive space. But big hard drives are cheap nowadays.
 
Old 06-01-2007, 02:17 PM   #8
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
I've got 2GB RAM and 512MB of swap. It's really a matter of choice, but I think swap shouldn't go past 512MB for a desktop 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 to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Swap Space Flossie Mandriva 5 03-12-2004 07:20 AM
Swap space JIV Linux - Newbie 8 11-13-2003 10:07 AM
how much swap space porous Linux - General 9 10-27-2003 08:24 AM


All times are GMT -5. The time now is 05:19 AM.

Main Menu
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