SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
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.
I would say probably. Our IBM P650 servers at work have swap space, and they have 8 1.45Ghz POWER4 processors with 24GB of RAM. If they need it, I bet you might too.
Probably not. I have 512M. Once I installed a new version of SuSE and forgot to set up swap. I ran quite nicely for about two weeks before I noticed that swap was missing and put it in /etc/fstab.
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,arch, bodhi, studio, suse, mint
Posts: 3,304
Rep:
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
# top
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.