Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 have an old P4 laptop with 768MB of RAM, i noticed it idling and making a clicking sound as though it was working hard, i fired up the system monitor to find that it was using 28MB worth of swap space while only using a third of the available RAM, is there any way to change the priority to use all the RAM first?
Ubuntu (and all linux OS that I have tried) will automatically use all RAM before using swap. Open a terminal and post the output of this command: "free -m". Mine looks like this:
This means that I have 2027mb total ram, with 380 used and 1646 free. But note the -/+ buffers/cache line, plus the buffers and cached colums on the right. Of the 380mb used, 195 is used by programs, plus 15 + 170 cached. 195 + 15 + 170 = 380. Also, as you can see, I am not using any swap.
As for the "clicking sound", you probably need to enable laptop mode. From the terminal run:
Code:
cat /proc/sys/vm/laptop_mode
If it reports 0, laptop mode is off. If it reports 2, laptop mode is on. To turn on laptop mode run:
I have an entire gigabyte of RAM and I don't see myself using all of that within the next 5 years. One day, as an experiment under Windows XP, I opened up a ridiculous amount of programs to see if I could max out my RAM. I had Firefox playing 5 Youtube videos at once. I had every program of Microsoft Office open three times. I opened a few more programs, stuff like Adobe Acrobat. Then I opened Windows Media Player and played a video file.
I topped out at about 700 MB and realised that I'd never actually use that much RAM, so I'm happy with my gigabyte and I'm happy not having a swap file.
I have an entire gigabyte of RAM and I don't see myself using all of that within the next 5 years.
By today's standards, 1G is not very much. If you continue to update your Linux installations, I think you'll hit the wall there before 5 years. Yes, you'll probably be fine using 1G for 5 years, but I wouldn't bet you won't be using your swap to some degree, unless you use one of the small WMs.
to clarify, this system isnt exactly a laptop, all it's internals are desktop standard, it is however in a laptop style case and easily portable, it's what's known as a "desknote" ie. a cross between a desktop and a notebook
i dont have any swap on my main system as i have 2GB of RAM i consider it unnecessary, but this desknote only has a single core 2.6Ghz processor and 768MB of RAM, it struggles with screen-savers lol
Change the swappiness. Here is a link for changing it, as well as some other things; even though it's written for sidux, it should apply to almost all Debian-based distros.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.