Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-06-2002, 02:44 PM   #1
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 31
swap drive, physical memory

Should the swap drive be 3 times the size of the physical memory in a system?

That is what I read in a Linux book.

But I've heard people say that I'll never need more than 256MB swap drive.

Is the swap drive an image of the memory, or is it used as an extension to the memory?
Old 03-06-2002, 03:08 PM   #2
Registered: Dec 2001
Location: Waco, Texas USA
Distribution: Redhat 7.1
Posts: 232

Rep: Reputation: 30
as I understand it swap memory is like virtual memory in other os like mac and windows. 250 mb should be plenty. I think I have 150-200 right now.
Old 03-06-2002, 03:29 PM   #3
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
The Swap space is an actual partition that's used sort of like a scratch disk. If you have alot of memory, you honestly probably don't even need one. I know I don't, but for Linux, I said ok, take 150Megs, which of course has never been used and sits as wasted harddrive space. 150-200 sounds good depending on your RAM as scotty says. Three times RAM though, YIKES, I would have a 1.5Gig swap partition of wasted space.
Old 03-06-2002, 05:30 PM   #4
Registered: Feb 2001
Location: Texas
Distribution: Slackware, Mandrake, LFS
Posts: 306

Rep: Reputation: 30
for those(like me) that don't want to even dedicate a swap drive goto and get swapd, dynamically allocates swap chunks as you need them
Old 03-08-2002, 06:50 AM   #5
Senior Member
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Debian + Ubuntu
Posts: 4,358

Rep: Reputation: 57
Yeah, these docs were probably written when a computer with >32Mb of RAM was considered to be power machine. Even that Linux for Dummies (which was written only a couple of years ago) suggests SWAP=2xPhysical. I did have 512Mb (to be on the safe side), but since my gkrellm showed me that I wasn't every using any, I've down-sized to about 150Mb.
Old 03-08-2002, 04:02 PM   #6
Registered: Feb 2002
Distribution: slackware 8.1; redhat 7.2
Posts: 65

Rep: Reputation: 15
...that book (and other sources) also say you must append more than 64 megs of RAM, or linux won't "see" it, but I didn't find that to be the case with suse 6.whatever I had or RH 7.2
Old 03-08-2002, 05:29 PM   #7
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
That may have been the case in older distributions, but today it seems that any distro will pick up your correct amount of RAM, barring any MB and BIOS hickups.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Less physical memory? ariek Debian 5 07-21-2005 03:23 PM
swap memory on second drive mazzo Linux - General 8 07-01-2005 05:07 PM
get Physical memory in C/C++ Dreampainter Programming 1 10-30-2004 09:54 PM
how to use swap more than the physical memory Santosh_d Linux - General 9 03-24-2004 03:51 PM
How Much Physical Memory ? tied2 Linux - Newbie 3 06-17-2002 02:30 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration