News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

No use of swap memory

Started by itsmeok, January 16, 2009, 09:29:34 AM

Previous topic - Next topic

itsmeok

I have linuxmce 7.10 RC2 running on a older system with only 768 MB of memory. System is running fine. When I look in System load tool I see that the memory is completely used. No issue with that but I see that I have about 2 GB of swap memory that is almost not used 37 MB of 2 GB. Is this normal or do I need to change a setting so it will be used aswell.

Do more people see this ?

Zaerc

Quote from: itsmeok on January 16, 2009, 09:29:34 AM
I have linuxmce 7.10 RC2 running on a older system with only 768 MB of memory. System is running fine. When I look in System load tool I see that the memory is completely used. No issue with that but I see that I have about 2 GB of swap memory that is completely unused. Is this normal or do I need to change a setting so it can be used aswell.

Do more people see this ?
We should all have "problems" like this.  ;)
"Change is inevitable. Progress is optional."
-- Anonymous

[url=http://petition.stopsoftwarepatents.eu/181001941347/][/url]

colinjones

When you are looking at "used" memory, you are almost certainly seeing the total physical RAM used my the kernel and processes plus the amount being used a file caches and buffers. The system will deliberately use up a large percentage/most of your "free" memory to cache files off disk, etc - this then dramatically improves performance when accessing those files. Windows does exactly the same thing.

So your actual memory use will be significantly lower than that figure, meaning there is no call for swap space yet. Of course there isn't much point caching files in swap thus you get the situation you are seeing.

hari

you can achieve more swap usage by removing physical ram. Or you could run a malloc() loop in a C 3-liner.

br, Hari
rock your home - [url="http://www.agocontrol.com"]http://www.agocontrol.com[/url] home automation

colinjones

Quote from: hari on January 17, 2009, 12:53:07 AM
you can achieve more swap usage by removing physical ram. Or you could run a malloc() loop in a C 3-liner.

br, Hari

rotflmao