SlackwareThis Forum is for the discussion of Slackware 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've got 1 gig of RAM on my primary machine, which I will be dual booting with Slackware 9.1. As I will not be doing intensive tasks am I required to make the SWAP partition for Slackware to work or will it just crash should I happen to run out of memory?
Has there ever been an official pronouncement from Linus or someone on the kernel team. THe last blurb from Linus was about 2.4.8 or so and he was still recommending swap.
Yes it is for home use and mostly I would be doing movies, small image editing (web images) music and web surfing. My main worry was that the install or the program would fail if it didn't see any swap, as I am used to windows stupid unnecissary requirements.
The install will not fail. If you need swap and don't have it, the kernel will start killing running processes on your system. As cheap as a couple hundred MB of HD space is..... it is up to you.
Until Linus says otherwise I will keep mine. I figure he knows more about it than .... well you get the idea.
I have no swap file on my laptop and run a lot of stuff (but not server). I have 640 MB of RAM with 64 given to video. I don't even come close to using all my memory. Right now am running XFCE with Mozilla, konqueror, konsole, and OpenOffice (one text, one spreadsheet) running. I am using 203 of 567 MB of memory.
Originally posted by ringwraith The install will not fail. If you need swap and don't have it, the kernel will start killing running processes on your system. As cheap as a couple hundred MB of HD space is..... it is up to you.
Until Linus says otherwise I will keep mine. I figure he knows more about it than .... well you get the idea.
Have you ran out of swap? And how much RAM do you have at that time? And on what kernel?
It won't "start killing running processes"... on the 2.6 series kernels at least, the pre-emptive scheduling feature is really remarkable.
To run out of RAM on 1GB on a machine which is for day-to-day home use is really impossible, unless of course you purposely want to find out how much pain your machine can handle.
I may not be Linus... but I also don't shoot my mouth off... And for God's sake, do we really need written/oral endorsement from him to do anything at all with Linux?
There is very little need for a swap partition on a home system.
And even on a server, I feel that if your server runs out of RAM and needs to use the swap, it is time to upgrade your memory. Swap is an emergency replacement to your RAM, your machine takes a serious hit in performance if it is using swap instead of RAM.
I have heard rumors that some programs would not install unless it detected a swap partition, but if that is the case, that software is broken in the first place, so it isn't worth worrying about (or installing).
Even if you have HUGE amount of RAM the kernel will always be happier if it has a nominal amount of swap space. I think it's like Linus' security blanket!
To avoid having to have a separate swap partition you can create a small swapfile in /root
Even 512K will help your system, but have a heart and make it 8MB.
Originally posted by gnashley Even if you have HUGE amount of RAM the kernel will always be happier if it has a nominal amount of swap space. I think it's like Linus' security blanket!
To avoid having to have a separate swap partition you can create a small swapfile in /root
Even 512K will help your system, but have a heart and make it 8MB.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.