LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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
 
LinkBack Search this Thread
Old 09-30-2004, 08:02 PM   #1
bobotoes
Member
 
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?

Thanks.
 
Old 09-30-2004, 08:19 PM   #2
mysterio
Member
 
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, 08:24 PM   #3
MathewT
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.

HTH

Mathew
 
Old 09-30-2004, 09:08 PM   #4
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 294

Rep: Reputation: 32
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, 09:47 PM   #5
bobotoes
Member
 
Registered: Sep 2004
Posts: 37

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

thanks.
 
Old 09-30-2004, 09:53 PM   #6
comp12345
Member
 
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, 10:31 PM   #7
bobotoes
Member
 
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, 10:36 PM   #8
Glas
Member
 
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.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Swap Partition Size Murdock1979 Slackware 11 07-27-2005 01:09 AM
swap partition size alaios Linux - General 4 09-27-2004 01:21 PM
Max swap partition size mindcry Linux - Software 7 11-17-2003 01:53 PM
swap partition size? Toker Linux - Newbie 16 10-12-2003 11:19 AM
change swap partition size? jamaso Linux - General 4 07-03-2002 09:46 AM


All times are GMT -5. The time now is 06:37 PM.

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