I have a OpenSuSE 11.1 box that is running mysql and apache. My database is only about a megabyte in size and I only have a few users per day on my site.
How is it that with 8GB of RAM over 5GB is being used?
I have a OpenSuSE 11.1 box that is running mysql and apache. My database is only about a megabyte in size and I only have a few users per day on my site.
How is it that with 8GB of RAM over 5GB is being used?
But 3.4 is in the buffer
In buffers there are only 0.34GB.
Linux doesn’t like to leave large amounts of memory unused and so-called “wasted”. Your programs and data will only occupy a relatively small percentage of the ram. The stat for “cached” memory, here 4.54GB, includes large pages that have been accessed maybe only once from browsing, and data file access for example. If the pages are required again, the cached memory access is much faster than disk access, to improve your overall performance. When your running programs/tasks demand more ram, cached memory will be released to accommodate that.
abacabb wrote:
> How is it that with 8GB of RAM over 5GB is being used?
Linux programmers think that RAM not being used is a waste of
resources…some other operating system programmers are taught to
dump stuff out of memory as fast as they can…linux dumps it when the
space is needed for something new…
this machine has been running about 10.24 hours with one user (and
background stuff) and right not the RAM is 97.8% used…which fine
with me because anytime the system needs something that IS in RAM it
won’t have to hit the MUCH slower hard drive…
there are probably fifty threads in these fora on how Linux and other
systems use RAM differently…so, if you don’t believe me, read
around…
–
DenverD
CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]
Dude
Thanks for putting me right.
I don’t know what I was on. When I typed it I thought twice.
You are perfectly correct and it’s blatantly obvious to me now I look again on return from my tea.
On 2010-11-02 17:36, abacabb wrote:
>
> I have a OpenSuSE 11.1 box that is running mysql and apache. My database
> is only about a megabyte in size and I only have a few users per day on
> my site.
>
> How is it that with 8GB of RAM over 5GB is being used?
Only? >:-)
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)