lkml.org 
[lkml]   [2003]   [Nov]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 06 Nov 2003 10:11:50 +0100
FromHelge Hafting <>
SubjectRe: Over used cache memory?
Wee Teck Neo wrote:
> My system having 1GB ram and this is the output of vmstat
> >   procs                      memory      swap          io     
> system      cpu
> r  b  w   swpd   free   buff  cache   si   so    bi    bo   in    cs us 
> sy id
> 0  0  0   5640  21224 121512 797832    0    0     6     9    3    17  0  
> 0  6
> 
> 
> It seems that 797MB is used for caching... thats a high number. Anyway 
> to set a lower cache size?

Yes - _use_ the memory for something else. 
1. All unused memory will be put to good use as cache.
2. Memory is taken from the cache whenever you need it for
   something else, so (1) is not a problem at all.

Helge Hafting

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [from the cache]
©2003-2008