Suse/NovellThis Forum is for the discussion of Suse 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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Some applications assume that there is a swap partition. Also, linux will move memory which hasn't been accessed for a while to swap to free up real memory for active processes. You could make a smaller swap partition if you want, perhaps just 500MB.
I would say No. Swap was important when 32Mg RAM was considered a big deal, but these days, if you've got say 256Mg of RAM, your actual swap usage is probably close to zero. With 1G of RAM, unless you work for NASA and will be launching the Space Shuttle from your PC, I'd bet cash money that swap will go unused.
I'd create a minimal (128Mg) swap space just in case, but realistically I doubt you'd ever use it. Keep in mind that swap only comes into play when your RAM is pushed past capacity, and the system is forced to write memory pages out to disk. With 1G RAM, that scenario is highly unlikely. -- J.W.
To 99% I would say no, but I've already had a badly programmed, memory eating application, that filled my RAM and SWAP (512 + 1GB) quite fast. So if you do not lack HDD space, why not beeing on the safe side with a 500MB swap space?
EDIT: Okay, I must admit it was a very specialized application and had to deal with the data from a whole genome
Distribution: RH 6.2, Gen2, Knoppix, 98,2000 + various
make a 1 meg swap file just for fun and you can watch if it ever gets used with top. that way you'll have a gig of ram and a meg of swap.
# dd if=/dev/zero of=/swapfile.swp bs=1M count=1
# mkswap /swapfile.swp
# swapon /swapfile.swp
the suse 9.0 administration guide suggests that you should never do without any swap memory because of the use of hard-drive memory buffers; however, with 1GB of RAM, you should be able to shrink the size of swap to, say, 64MB, possibly less - it depends on what sort of apps you hope to run...