LinuxQuestions.org
Visit Jeremy's Blog.
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 06-02-2004, 07:18 AM   #1
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Do I NEED a swap partition


I'm installing slackware on a computer with only 1gb space for linux. I'm doing a small install, no X etc. Do I need a swap partition or can I just have 1 partition.

When I installed slackware on my laptop I had 500mb swap but it didn't seem to be hardly using it.

2.4 celeron procseeor
256 ram

Last edited by priller; 06-02-2004 at 07:21 AM.
 
Old 06-02-2004, 07:38 AM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 46
If it's not being used, then you don't need it (not that much). You certainly don't need 500mb. You have a lot of ram, and the more you have, the less swap you'll need.
 
Old 06-02-2004, 07:50 AM   #3
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Swap is optional. Normally I would say you can't live without it, but in this case, I think you just might have to. Swap is akin to virtual memory in the Windows world. If you fill up your ram the machine will "swap" memory onto your partition on the disk to free up space in the real memory. In your case, the machine would not be able to swap out anything so once you have used the 256MB you'd be done. However, if you are running a very small scale system 256 MB is often more then enough memory, and since your disk space is tight I'd probably just go without swap for now.
 
Old 06-02-2004, 08:03 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
There is a good case for why having a small swap is still a good idea, but I forget where I read it. You have a lot of ram. I don't think you'd use the swap often, if ever.
 
Old 06-02-2004, 11:23 AM   #5
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Quote:
I'm doing a small install, no X etc
Since you will not be installing X, you may do without swap.

My system uses swap on regular intervals, but I use X and a lot of graphical applications which consume memory.
Remember, graphical environments are memory hogs while command line programs are lightweigh.
But if you plan on only using the command line and having very few active services, large amounts of SWAP will go to waste.

But you may want a safety net just in case.
If possible, create a small swap... 32 MB for example.
 
  


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
Swap partition Mojojo Linux - Hardware 10 01-20-2005 06:12 PM
Newbie Installing Debian3 on m68k w/250M Partition Needs help creating swap partition AppleMac Linux - Newbie 2 11-01-2002 09:45 AM
Should I be using a SWAP partition? Gene126 Linux - General 3 08-14-2002 10:03 PM
swap.partition anoop_chandran Linux - General 3 12-28-2001 10:48 AM
Swap partition Thomas_Delrue Linux - Newbie 3 07-12-2001 09:35 PM

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

All times are GMT -5. The time now is 09:35 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration