LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-04-2002, 11:03 AM   #1
kodiakmook
Member
 
Registered: Nov 2001
Location: Ohio
Distribution: Redhat 7.3, Mandrake 8.1
Posts: 43

Rep: Reputation: 15
swap size


is there a general rule for the size of the linux swap partition? Or should I just accept the defaults on a new Mandrake 8 install?

I have about 7 gigs of available space for MDK 8 and 256 megs of RAM in the machine, so I guess I'm asking how big should I make my swap partition?
 
Old 01-04-2002, 11:11 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
i never make mine larger than 100 ~ 125 megs.. and that always works for me.
 
Old 01-04-2002, 11:16 AM   #3
elist
Member
 
Registered: Dec 2001
Location: MK - UK
Distribution: Mandrake
Posts: 94

Rep: Reputation: 15
I've got 512Mb RAM and gkrellm says I never use any of the swap which I have set to 128Mb.
Is it a necessity to have it?
 
Old 01-04-2002, 11:17 AM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
that is why i never tell anyone to make it more than that.. cause with 256 or more ram, you might not ever touch it.. but its good to have just in case..
 
Old 01-04-2002, 03:28 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Cool, another "how much swap" thread. Everybody pile on!



Seriously though, the "general rule" used to be twice your physical RAM, but that rule has become outdated now that machines can handle ridiculous amounts of RAM, and the fact that the RAM is so cheap. Unless you're doing some seriously memory-intensive stuff, I agree with trickykid and elist: a 128MB swap might never even get touched with your 256M of real RAM.
 
Old 01-04-2002, 04:13 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
yeah.. i guess the search button just doesn't show up on most peoples browsers.. this is what the 3 or 4th swap thread in about a week or so...

someone needs to rewrite that old rule that is outdated now..
 
Old 01-05-2002, 12:52 AM   #7
vector
Member
 
Registered: Jan 2002
Location: Corvallis
Distribution: Slackware 10.0
Posts: 48

Rep: Reputation: 15
256 to 512 meg is enough depending on RAM and how memory intensive you are running your system. if you have 256meg ram, i would set 512 meg swap. if you ave more then 256meg ram, i would go 256meg swap.

Vector
 
  


Reply



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
Why should you give the size of the swap disk as twice the size of RAM vmniza Linux - Newbie 3 09-17-2004 02:13 AM
SWAP memory size ust Linux - Software 3 12-02-2003 06:42 PM
swap disk size Triple-B Slackware 2 02-10-2003 03:04 PM
Swap Size ajtaus Linux - General 3 12-19-2001 01:19 PM
Right size swap? jamaso Linux - Newbie 7 11-12-2001 12:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:06 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
Open Source Consulting | Domain Registration