1 |
On Sun, Aug 16, 2009 at 11:56 AM, Philip Webb <purslow@××××××××.net> wrote: |
2 |
|
3 |
> 090816 Raul Gonzales wrote: |
4 |
> > I have a 2G of physical RAM but even without any major activity |
5 |
> > output of free,vmstat and top reports only ~64M free. |
6 |
> > |
7 |
> > free -m |
8 |
> > total used free shared buffers cached |
9 |
> > Mem: 1953 1888 65 0 143 1557 |
10 |
> > -/+ buffers/cache: 187 1765 |
11 |
> > Swap: 2055 0 2055 |
12 |
> |
13 |
> The crucial figure is '187', which is what is usable. |
14 |
> You have a lot of something cached: any idea what it might be ? |
15 |
> -- the kernel should delete that stuff, if it needs the space. |
16 |
> |
17 |
> All Disk I/O is cached into memory. A good example is if you are playing a |
18 |
video game. Every time you load a new map, that map is cached in memory, so |
19 |
if you load that map again, the kernel won't get it from disk, but from the |
20 |
memory's cache. If your OS needs more ram, the cache is over-written with |
21 |
actual memory. Here is a simple explaination of what I'm talking about: |
22 |
http://linux.about.com/od/lsa_guide/a/gdelsa44.htm |