Visit Jeremy's Blog.
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 09-30-2004, 09:02 PM   #1
Registered: Sep 2004
Posts: 37

Rep: Reputation: 15
What size should I make my swap partition?

I am about ready to install linux on my 1 GHz G4 powerbook that has 1 gigabyte of RAM on it. I read somewhere that a general rule to follow for swap partitions is double your RAM therefore I would require a 2 gigabyte swap partition. Seems kind of large. Is this necessary? If not, is it reccomended? What size should I make it?

Old 09-30-2004, 09:19 PM   #2
Registered: Sep 2003
Location: Springfield Ma.
Distribution: Mandrake 9.2,Knoppix 3.7,Slackware 10.0, FreeBSD. 5.3, OpenBSD 3.6, NetBSD 2.0, Debian
Posts: 275

Rep: Reputation: 30
512MB should be plenty.
Old 09-30-2004, 09:24 PM   #3
LQ Newbie
Registered: May 2004
Location: Russell Island Q.L.D
Distribution: Slackware 12
Posts: 28

Rep: Reputation: 15
Swap is not a have to have and is realy only required if you have small amounts of ram or are using ram intensive processes, or both.

With 1G of ram and standard usage you will not need Swap, if you have an OS that forces you to create swap then 1024Mb will be more than adequate.


Old 09-30-2004, 10:08 PM   #4
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 310

Rep: Reputation: 40
how much swap space

kernel compiling uses more RAM than anything else I ever do. With 1gig of RAM I have never seen more than 700M being used. So, I do believe that swap space is highly over-rated.

Another system with 512M RAM was configured without any swap, no disadvantages seen there.
Old 09-30-2004, 10:47 PM   #5
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
you guys sure? any other thoughts? i'm about to start install.

Old 09-30-2004, 10:53 PM   #6
Registered: Feb 2004
Posts: 467

Rep: Reputation: 30
The swap space rule of thumb was only relevant when computers had a relatively small amount of memory. 1GB is more than sufficient for most users.
Old 09-30-2004, 11:31 PM   #7
Registered: Sep 2004
Posts: 37

Original Poster
Rep: Reputation: 15
when you say 1 gigabyte are you talking about the swap partition or the fact that i have 1 gigabyte of RAM?
Old 09-30-2004, 11:36 PM   #8
Registered: Aug 2004
Location: Atlanta, GA
Distribution: Slackware, PC-BSD v0.6, FreeBSD v5.3
Posts: 82

Rep: Reputation: 15
The fact you have 1GB of RAM is what everyone was referring to. I know with my install of Slackware 10.0 I chose to make a 1GB /swap partition mainly because I only have 384MB of RAM in my machine. If you have 1GB of RAM in your machine go with what the major concensus is here and not create a /swap unless you are forced to.


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
Swap Partition Size Murdock1979 Slackware 11 07-27-2005 02:09 AM
swap partition size alaios Linux - General 4 09-27-2004 02:21 PM
Max swap partition size mindcry Linux - Software 7 11-17-2003 02:53 PM
swap partition size? Toker Linux - Newbie 16 10-12-2003 12:19 PM
change swap partition size? jamaso Linux - General 4 07-03-2002 10:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:50 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