Share your knowledge at the LQ Wiki.
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 12-28-2001, 02:46 AM   #1
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15


Could someone tell me how much space is to be allocated for a swap partition for optimum performance?.

say i have Pentium 4/128MB RDRAM/20GB HDD and RH7.2 in entire HDD.

Old 12-28-2001, 04:05 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Uhm.... It really depends on what you are going to be using the system for... You hear mention of setting the swap to three times your physical memory, but this always seems to be aimed at server type installations. On your system I'd probably use something like 128MB or possibly 256MB of swap, but that just for my use. I've got a box here with 256MB of physical that has no swap because I never need it, there may be others on the board that have 1GB of physical and still find their machines need a lot of swap.

I'd suggest you use your machine in its 'normal' way and keep and eye of the output from free, top and/or gtop to see how much memory you are actually using. When you look at free remember to subtract the buffer and cache usage from the physical memory usage, otherwise you'll think you're using all your RAM!


Old 12-28-2001, 04:28 AM   #3
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Original Poster
Rep: Reputation: 15
thanks for the info,

BTB i am planning a full installation :to act as a web,dns and firewall server ,maybe later even a mail server.

thanx again,
Old 12-28-2001, 09:48 AM   #4
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
well, 200mb would easily be enough. if you've got 20gb to play with, maybe 300. but then a mail server and web server etc.. really take up hardly any space. it's how much they're used that will affect the amount of memory required. my apache gets about 4 hits a week i'd say.. not exactly intensive! and that machine is a p200 64mb, and does a fine job.


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

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