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.
Okay, so I have been trying to get suspend2 working on my laptop (eMachines m2352 running Slackware-current, kernel 2.6.13.3), and it panics. But during the process of setting this up, I realized that /dev/hda5, which was set as my swapspace, had never been activated with mkswap, because I was trying to suspend to my swapspace, and it wasn't letting me, saying there was 0 space there.
Anyway, so I ran mkswap /dev/hda5 and swapon /dev/hda5, but I noticed that no matter what I have running (as far as I can tell), top always indicates that 0k of swap is used. So what is it for, and if it's still not getting used, how can I fix this? Let me know what other information I should post.
I can't seem to open enough X programs to use any of the swap. It doesn't just tend to stay at 0, I've never even seen a kilobyte of it used, even when I have basically run out of ram . . . But I shouldn't worry about this?
How much RAM do you have? If you have a bunch (ie: 1gb+) it is likely that you won't touch swap, unless you open every application you own. I stopped putting swap on my machines once I hit 1gb of RAM, even a 512mb system doesn't tend to use swap.
In the office's computer I have got 784 mb in RAM, it starts to swap when I use a winxp virtual machine which I have for office purposes, though my laptop has 512 RAM and it never swaps even when I'm playing UT2004
Yeah! I think the SWAP partition is becoming less and less needed nowaday's with all the ram available for processes... I still add a half Gig swap to all my particians anyway... Never tried to install a disto with no SWAP partition... I guess it would not matter but don't really know if it is really needed during the install.
In the office's computer I have got 784 mb in RAM, it starts to swap when I use a winxp virtual machine which I have for office purposes, though my laptop has 512 RAM and it never swaps even when I'm playing UT2004
Well, I'm certain that once Oracle is up and running on
it I *will* see swapping.
I've seen swap used when running VMWare. Anyhow with the price per GB of hard drives these days, might as well use a 1GB or so swap partition for peace of mind. What's that..like 60 cents USD?
Originally posted by Tinkster Well, I'm certain that once Oracle is up and running on
it I *will* see swapping.
Cheers,
Tink
maybe not even with an Oracle instance running lol
we have in the office a SAP / Oracle system with 4 GB RAM (11 GB of swap configured) in unix solaris with around 100 active users and never swaps a bit
I have 512 RAM, it's a laptop, I'm not doing anything super intensive but I was just wondering whether it should be getting used at all. Yes, I have recompiled my kernel, I will check in there to see if I disabled it somehow, where exactly is the option?
If you really want to see your swap get used, fire up one of the big-dog DEs (KDE/Gnome). Then, install azureus (that seems to use up memory REALLY well (300+MB well, sometimes)). Fire up a couple terminal emulators, a few web browsers (firefox is good for 100+MB), and start browsing. Shouldn't take too long.
I run Azureus, Gnome, Firefox (lots of tabs), Evolution, gnome-terminal, and rhythmbox all at once pretty frequently. With 512MB ram, I can just start swapping a little.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.