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.
Okay, I feel rather dumb asking this but I really don't think I know the answer, despite my history in computers. I have 192MB of ram in my main system. It is an AMD K6-2 550 so not much to boast. I have been thinking about adding some ram but was wondering if there would be any performance benefit? Back on Win98 I knew the answer, but I am not sure how linux uses ram though.
As it is, I usually touch about 15-60MB of my swap, well after I have been up for a month or two and have been using the browsers. I do some cad work with Qcad and much playing with The Gimp.
The simple question would be, would I see an improvement with more ram? I don't need it there just to say I have it, but if 256 or 512 would boost performance, it is cheap enough now to grab some.
Also, I have 64MB in a firewall/router box. Would more ram in this speed up the iptables performance any? You hear of servers with 1+ GIG of ram in them for home use, do they really use it?
Okay, just some questions. Let me know what you think. I know some of you have more knowledge than I do.
15-60megs swap usage is a lot I think. My machine only uses 0-10megs on average with 256DDR ram.
Is the firewall swapping a lot too?
Usually a server has that much ram to cache all data it's chucking about, like a huge database. A firewall wouldnt need that at all.
Depends on the complexity of the firewall/the
number of rules and number of machines you're
servicing ... iptables holds its rule-set in
memory to traverse through it easily/quickly,
with a lot of targets and ulogging you might
experience a performance boost on the machine
with more ram ;)
As for the memory usage in general, Linux
utilizes ununsed RAM for cacheing/buffering,
thus any extra RAM might come in handy if
you have lots of file accesses. A swapper of
60 Megs is not too bad, however, if you have
no problem with adding another 64 MB, do it :)
You can always get bonnie and run a benchmark
on the box, with and without more RAM ;)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.