Search squid archive

Re: Mem Cache flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 -

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux