Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-26-2004, 09:46 AM   #1
Registered: Dec 2003
Distribution: Debian
Posts: 92

Rep: Reputation: 15
New Linux, How much swap?

Hi all,

We are installing a new Debian for a Samba and PDC Server.

it has 256 MB RAM, 1.5 GHz, and 80 Gig HD.

My question is, how much Swap space should I leave?

2 question is How many partitions is it recomended, I presume in Linux it is better to have many partitions rather than one, (opposite to Windoze)

Old 01-26-2004, 09:57 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979Reputation: 1979
i wouldn't bother with more than about 150mb

yes, many partitions is gnerally preferably, but never just for the sake of it. each serperate partition should be justified....
Old 01-26-2004, 09:57 AM   #3
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I would put about 512MB of swap on there. There used to be a rule of thumb that you should have 2x more swap then you have memory. That really isn't followed anymore. Even still, I think 512MB would be a good amount because you don't have a huge amount of RAM on the system and you have plenty of disk space.

As far as number of partitions, you will need your swap partition, but other then that it is a matter of personal preference. It used to be, because of boot loader restrictions, I always had a small /boot a the beginning of the disk, and then a /, /usr, /home, and /var. But these days because I don't feel like dealing with partitions that fill up and having to move data around, and because there is no cylinder restrictions on boot loaders, I just go with one giant / and then one giant /home. There is really no good reason why I do it that way, just a matter of preference.

I guess if I were dividing up that drive I would do it like this:
512MB - Linux Swap
20 GB - Reiserfs /
50.5GB - Reiserfs /home

I also always put databases in /home/db and websites in /home/http which is why I have the majority of my space allocated to /home. If you use the /var for your databases and websites you might want to adjust those numbers. I really only put OS files and programs on / and I have found 20GB is always more then enough for those.


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
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 01:57 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 02:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 08:58 PM
Why should I swap to Linux ? Pres General 0 06-24-2003 11:26 AM
Linux swap disk MichaelW Linux - General 4 02-16-2003 05:07 PM > Forums > Linux Forums > Linux - Newbie

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