Originally posted by: smp
You always need a swap.
I would create one partition for swap, and one for the rest. I have been using linux for a few years now and this is still the way I do it, granted, I'm still a newb 🙂
Anyways, not too sure how much swap you should allocate your system cause of 1 gig of ram, generally, the rule of thumb is to make it twice as big, but I don't think that will do, so I'll let someone else answer that.
Filesystem? ext3
Actually you don't need a swap. It's nice to have of course, diskspace is cheap and a extra 500megs of space is fine, but..
The requirement for a swap was built into the 2.2 series kernel, the 2.4 kernel the swap is optional. Of course if you have mondo memory requirements a swap is mandatory, but with 1 gig of ram I REALY don't think you have anything to worry about.
🙂
But to be safe, a 500 meg swap space is fine. Actualy 256 megs is more then enough, your apps will start to be unbarebly slow before you run out of swap space.
The old saying do twice your ram was back when people were running X on OSes with as little as 16 megs of space and that probably was the "magic" formula to take advantage of the memory algorithims and all that stuff. But today this doesn't matter so much... could you imagine paging over a gig of swap space? It make your computer feel like a 486.
The good thing about Linux and ram is that Linux does a good job of using ALL the ram. As you use your computer you'll see the ram usage go up and up and up and up. In win98 this spelt disaster, but in Linux it is a good thing. The more of your OS and most used applications you can keep in memory, the better. If you don't have to access the HD to get info the quicker your stuff will respond and the more stable you get. Memory is probably 10,000 faster then the fastest HD.
For partitioning. Go like this: swap=500MB, /=6GB. Thats' all you realy need. You could do a full install and still have close to 3 gigs of disk clear. If you are planning to use it perminately instead of just trying it out, give your self a /home partition, so that you can reinstall, and/or upgrade with out losing all your user-specific settings.(stored in /home/yourname/ folder in hidden files. Putting a dot before a file hides it. To see these files do a: ls -ld ~/.* command)
something like swap=500MB /=6GB /home=3+GB
And that should do it.