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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-08-2002, 02:03 PM
|
#1
|
Member
Registered: Mar 2002
Location: Fairbanks, Alaska
Distribution: Ubuntu 9.04
Posts: 55
Rep:
|
Dumb question about the SWAP partition
Does Mandrake (or any distro for that matter) really need the SWAP partition in order to work? My understanding of SWAP is that it is used in the event you run out of RAM and the system uses the SWAP as virtual memory. Is this right or am I all #$@**! up here. If that IS what the SWAP is used for and you have more than enough RAM to handle everything, do you need the SWAP partition?
Hey, what can I say? I'm new. Gotta learn somehow.
Thanks,
freezinbutt

|
|
|
04-08-2002, 02:06 PM
|
#2
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
When you put it like that, then I s'pose you could do with out the swap partition, but that is not to say that Mandy would not use SWAP. In the even of not having a dedicated swap partition, Mandy does a very Windows type thing and uses a swap file on the current partition (I think - that's certainly what it looks like to me, although I could be wrong).
You do, however, have to ask yourself: Do I really, really, absolutely need, and couldn't live without, that extra 100-200Meg of harddisk? I certainly don't miss it out of 41Gig.
|
|
|
04-08-2002, 02:25 PM
|
#3
|
Member
Registered: Mar 2002
Location: Fairbanks, Alaska
Distribution: Ubuntu 9.04
Posts: 55
Original Poster
Rep:
|
Yeah, your right. I thought the same thing; am I really going to miss the couple hundred meg. Not really. I was just wondering if it was totally necessary in order to install Linux. I have 512MB of RAM and I doubt that Mandy will strain my system that much that the SWAP will come into play (at least I hope not). Heck, maybe it will. It's got a lot of bells and whistles, and B&W's take up lots of memory.
Anyway, I was just wondering..........
freezinbutt
|
|
|
04-08-2002, 09:33 PM
|
#4
|
Member
Registered: Jan 2002
Location: Stevens Point, WI
Distribution: Mandrake 10.0 (P4 2.8 w/ HT, Radeon 9700 Pro, 80 GB/120GB HDDs)
Posts: 242
Rep:
|
I didn't have a swap partition for the quite sometime in RH and I had no problems at all. I set up a small (100 mb) swap now and i don't really recgonize much difference.
|
|
|
04-09-2002, 12:50 AM
|
#5
|
Member
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324
Rep:
|
Quote:
Originally posted by freezinbutt
I have 512MB of RAM and I doubt that Mandy will strain my system that much that the SWAP will come into play (at least I hope not). Heck, maybe it will. It's got a lot of bells and whistles, and B&W's take up lots of memory.
|
So what you actually planning run to run under Mandy??
|
|
|
04-09-2002, 01:00 AM
|
#6
|
Member
Registered: Mar 2002
Location: Fairbanks, Alaska
Distribution: Ubuntu 9.04
Posts: 55
Original Poster
Rep:
|
Not planning on running anything special at this time. I'm new to Linux so I need time to see what is out there. I was just wondering if the SWAP partition was really needed in order to do an install. Sounds like it really is not. There has to be a reason for everything and I wanted to know the real reason for the SWAP partition and what it does.
freezinbutt
|
|
|
04-09-2002, 05:01 AM
|
#7
|
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368
Rep:
|
Historically, when computers routinely came with like 8 or 16Mb RAM, a swap partition was necessary for multitasking (and multiuser) environments because not much would fit. Many books on Linux still recommend that SWAP=2xRAM, even taking into consideration that it's not too uncommon for people to have 256+Mb RAM. Mostly, you won't need more thant about 100-200Mb SWAP.
Unlike Windows, where I once went to a 3Gb SWAP file. What was I doing? Trying to load about 100 Jpegs (all 1600x1200) into Paint Shop Pro at once! But we're not gonna go there: this question is about SWAP, not ms v linux.
|
|
|
04-09-2002, 05:46 AM
|
#8
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696
|
You can always create a swap file and use it instead of swap partition...
|
|
|
04-09-2002, 12:36 PM
|
#9
|
Member
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386
Rep:
|
I know in some flavors of unix, the OS likes to make sure there is enough swap available for whatever it's doing in the event that it should need it. I don't know if this is the case with Linux or not, but why chance it?
|
|
|
All times are GMT -5. The time now is 03:47 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|