Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi . Im new to Linux and am installing it to 5gigs of my 30gig HDD.
win98 on 1st partition and Redhat 7.2 on second. My question is
basically how much swap should I have? A webtutorial said minumum of "twice" your available RAM. Well I have 512MB. Do I have to waste over a GIG on swapspace?
the thing with twice-your-ram is an archaic rule of thumb goingn back to when you either had kids or bought some new ram... personally, i'd say you'd never need more than 100mb, but playing it safe, say about 200, and you'll not get near filling it all ever. as to the order, it's farily irrelevant, may as well stick the swap at the end of the drive tho.
It shouldn't matter which order you put your partitions, but Windows normally prefers to be the 1st on the harddisk. As for swap, it seems that these tutorials were based on a time when 16Mb was a good amount of RAM. There is a thread somewhere around here (fairly recently) on how much SWAP is needed, but most peeps seem to be fairly happy with an equal amount of SWAP to their RAM (so in your case, this would be 512). Personally, I have chosen to have my SWAP=2xRAM (which, funnily enough, gives me 512Mb as well), but I don't have space constraints.
to tell you the truth.. i always put my /boot first followed by the swap.. then all the rest in no particular order... that way if i do use my 100 meg swap, its at the beginning of the drive for faster access that the human eye wouldn't be able to detect the performance anyways.. hope that helps..
You can get away without swap at all if you plan to use you llinux box for use at home, nothing fancy like movie editing, and running tons of GUI apps at the same time.
I remember that the last time this came up, Dave Phillips (on of the mods), did a stress test at home to see if the 2/1 rule held true. He oppened enough photos in gimp, StarOffice, and other RAM pig apps to get RedHat to barf twice and choke out. I think he was running with something like 256Mb of swap on 512 RAM. If I remember right he repeated the same experiment on Slack and the X-server just choked and died.
I get by with 512Ram and something like 300Mb of swap and haven't noticed a problem; with RedHat, Slackware, LFS (hehe its fast!) and Mandrake.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.