LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-27-2005, 02:05 AM   #1
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Rep: Reputation: 15
Post swap


Helo all,
so please could any tell me. what swap is used for when I installing linux, and how much space should I have for it>?
thanks
 
Old 12-27-2005, 02:21 AM   #2
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
Swap is physical memory space -- generally a partition devoted to 'overflow' memory, if that makes sense.

Generally 2x your physical RAM is recommended, unless you have more than 2gb iirc
 
Old 12-27-2005, 02:26 AM   #3
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
You make the swap as big as you need. Of course knowing what you need is the hard bit. 500meg to a gig is a safe bet. If you have 1-2 gig of ram you will rarely need swap. It's just there for when you run short of ram. I run 500meg ram at the moment, and 500-1gig of swap depending on my needs at the time. (currently 1gig which is rarely used)
 
Old 12-27-2005, 02:27 AM   #4
alsharifhoussam
Member
 
Registered: Apr 2005
Distribution: Fedora 14
Posts: 109

Original Poster
Rep: Reputation: 15
swap

what do u mean by iir
 
Old 12-27-2005, 03:14 AM   #5
nitinatindore
Member
 
Registered: Dec 2004
Location: India
Distribution: Mandrake, Mandriva, PclinuxOS
Posts: 114

Rep: Reputation: 15
Swap is similar to pagefile in windows, and genearlly required by systems with less memory. I personally feel that if you are not running a server & using Linux only for desktop use only & you have 512MB or more RAM, then swap is not really necessary.
 
Old 12-27-2005, 03:32 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Quote:
Originally Posted by nitinatindore
Swap is similar to pagefile in windows, and genearlly required by systems with less memory. I personally feel that if you are not running a server & using Linux only for desktop use only & you have 512MB or more RAM, then swap is not really necessary.
Even with 512MB of RAM swap maybe useful as a desktop user. Try running Firefox, Openoffice.org, nautilus and azureus at the same time, you will find that they use a lot of ram and if you don't have swap, the system gets very sluggish.
 
Old 12-27-2005, 03:49 AM   #7
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
512 meg here and I certainly use swap once I'm running all the apps I use on a big day... I'm using 100meg of swap right mow and only have kmail, knode, firefox, OOo2, opera, a few terms and little apps running...
 
Old 12-27-2005, 07:38 PM   #8
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,148
Blog Entries: 4

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
Twice the size of RAM should do it.

"Chips are cheap," so buy plenty of them.
 
  


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
What is the swap for? lydgate Slackware 19 10-09-2005 04:59 PM
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
swap cchanana Linux - Newbie 1 01-24-2005 11:06 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM


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