On Sun, Jan 20, 2008, Ding Deng wrote:
> >> Moreover, 1GB for cache_mem is way to much if you only have 3GB of
> >> total RAMs if you have 8x8GB cache_dir. Lower that to around 256 MB
> >> ~ 512 MB and try.
> >
> > Let me try that... I still have free mem though. by the rule of thumb,
> > we need 10MB Ram for indexing per GB of cache. that sums up to 8 x 8
> > GB x 10MB/GB = ~650MB RAM for cache index + 1GB for Cache_mem =
> > ~1.7GB. so I'd still have ~1.3GB of RAM for system operation.. I'll
> > lower the cache_mem, however, to try..
>
> You missed the page cache part... `Don't fight the kernel', as somebody
> said. ;-)
The kernel sometimes is clueless about your workload. Sometimes you have
to fight the kernel because some kernel developers removed your ability
to handle your own memory management decisions and instead make you fight
the page cache. :0
(Anyway, thats off topic.)
Adrian
-- - Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support - - $25/pm entry-level VPSes w/ capped bandwidth charges available in WA -Received on Sat Jan 19 2008 - 23:51:02 MST
This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST