LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 02-10-2003, 01:37 PM   #1
Triple-B
LQ Newbie
 
Registered: Feb 2003
Location: Ohio
Distribution: SuSE 8.1
Posts: 8

Rep: Reputation: 0
Question swap disk size


I have a question about the proper size my swap disk needs to be. Im running slackware 8.1 on a dual PIII 550 , 512 sdram , 40 gig IBM hd. And of coarse other hardware that dosnt really matter to this questiong. I orginally set the computer up with slackware 7.1 then upgraded to 8.1 with the packages. Ok back to my question. This is how the hard drive is set up.

partition 1 1.5 gig set to /
partition 2 128 ram set as swap disk
partition 3 set with the rest of the hd, set as /usr

I have slackware for dummies and it said to go with triple or at least double the amount of ram you have. So i figured that meant I needed 1024 swap disk. Then it goes on to say not to exceed 128 megs on the swap disk. It is worded funny and I may not be reading it right. Could any one tell me if I did it right. The computer fine. Runs fast in X and out of X. However I havent really used any resorce hungry program yet.

If I did this wrong is there a way to redistribute the hd space without having to reinstall the os. Thanks for any help you all can offer.
 
Old 02-10-2003, 03:19 PM   #2
Jen
LQ Newbie
 
Registered: Oct 2002
Location: Camas, WA
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
The "double your RAM" rule was made up long ago when computers did not have much RAM. You've got more than enough, and really don't need such a large swap partition, but if you've got the space to spare I wouldn't worry about trying to change it back.

It's generally better to have too much swap space than too little swap space anyway, though I've never heard whether or not too much can degrade performance (perhaps someone else knows).
 
Old 02-10-2003, 04:04 PM   #3
Nu-Bee
Member
 
Registered: Dec 2002
Location: USA
Distribution: Mandrake 9.2
Posts: 269

Rep: Reputation: 30
Re: swap disk size

Quote:
Originally posted by Triple-B

partition 1 1.5 gig set to /
partition 2 128 ram set as swap disk
partition 3 set with the rest of the hd, set as /usr

I have slackware for dummies and it said to go with triple or at least double the amount of ram you have. So i figured that meant I needed 1024 swap disk. Then it goes on to say not to exceed 128 megs on the swap disk. It is worded funny and I may not be reading it right. Could any one tell me if I did it right. The computer fine. Runs fast in X and out of X. However I havent really used any resorce hungry program yet.
In modern machines with decent memory swap isn't nearly as critical as it used to be. I have 256M RAM, and I have ran a swap from 128M to 392M with no observable difference whatsoever in how the system operates.

I have my system set for 392M SWAP and don't believe I have ever -really- needed swap.

It's just not that critical anymore unless you are running a server or something.

Others may feel differently.

Last edited by Nu-Bee; 02-10-2003 at 04:07 PM.
 
  


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
SWAP file size ashley75 Linux - General 9 06-01-2006 06:28 PM
Why should you give the size of the swap disk as twice the size of RAM vmniza Linux - Newbie 3 09-17-2004 03:13 AM
swap size kodiakmook Linux - Software 6 01-05-2002 01:52 AM
Swap Size ajtaus Linux - General 3 12-19-2001 02:19 PM
Right size swap? jamaso Linux - Newbie 7 11-12-2001 01:12 AM


All times are GMT -5. The time now is 06:45 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration