SlackwareThis Forum is for the discussion of Slackware Linux.
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.
Well usually Linux requires a swap file and during the install of Slack it will ask for the creation of a swap file. You could get by with only installing a small swap, maybe 64 megs or so, but I would consider creating more than just one partition for Linux.
You want to create a swap partition if your going to run linux on your machine. It doesn't have to be huge though. I have 256mg of ram on my machine and use the formula taking half my ram for swap, so my partition is 128mg in size. How big is your hard drive? Anyhow I run a dual boot with win98 taking the first 5 GB of my hard drive and slackware linux using the remaining 15 GB (my 128 MG swap space lies between these 2 partitions).
half of ram for swap.? i believe it is double of ram
That was the rule of thumb about a half decade ago when 64 MB of RAM was standard, so a 100-125 MB swap partition would do you good. Unless your running a high performance server with many users logged in, I never see any need to have a swap twice the size of your RAM, only when you have maybe 64 megs or less.
I personally use and only use no more than 125 MB of swap ever.
I have one box with 128 MB of RAM, got a 100 MB swap that is never hardly touched or used.
Originally posted by kernal Well, trick, that rule of thumb is still in the Slackware book
I don't think the Slackware book has been updated in a while. That is the same one they've had for a while now.
The supposedly rule of thumb is still in alot of HowTo's and other documents you may find, as it won't hurt anyone making a swap twice the size of their RAM, but it just seems wasteful to me. If I created a 1GB swap on the machine I have 512 MB of RAM and when I had a 100 MB swap never getting touched, that would seem wasteful space to me IMHO.
Dudes, i still want to know what kind of performance hit i'd take from putting it all on one partition, because despite advice about every other partition scheme, i still want to stick to my original idea.
You probably won't see much of a performance decrease with a small swap partition with that much RAM, but I recommend you still have one though, its essential to the functionality of Linux.
I still recommend creating more than just a swap and a / partition though. What are you going to be using the Linux box for ?
The double the ram rule of thumb comes from being able to copy your entire memory into swap and still have operating space left if somethings strange happens. I have 512MB of Ram in my main system and I did opt for a 1024MB Swap file, but I have disk space to spare so it wasn't a big deal for me to do so.
When I first started using linux I didn't see the benifit for multiple partitions... then one day I started experimenting with other distributions and whatnot, and realized that having things like /home or /usr/local seperate is pretty nice. Especially if you want to to a fresh OS install but not lose all your home directories.
I'm just setting this up for the hell of it. I plan on using a desktop environment in addition to the commandline. Nothing that is particularly taxing is going to be going on. I'd also like to learn more Unix than I know, so I figure slackware will be good.
Also, slackware came recommended.
What is to be gained from creating separate root and user partitions?