RE: [squid-users] Cache Size Limitation

This is a discussion on RE: [squid-users] Cache Size Limitation within the Squid Users forums, part of the Web Server and Related Forums category; On Thu, 1 Apr 2004, Hermann Strassner wrote: > > cache_mem 4048 MB > > This is not the size ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-01-2004
Joel Jaeggli
 
Posts: n/a
Default RE: [squid-users] Cache Size Limitation

On Thu, 1 Apr 2004, Hermann Strassner wrote:

> > cache_mem 4048 MB

>
> This is not the size of the cache in total, it is only the size of the
> cache in memory. Do you have enough memory to allow for 4048 MB cache
> mem, and the mem for the OS, and the mem for the squid process and the
> mem for the index of the cache files on disk?
>
> I have not seen any cache_dir lines in your config, so i assume you use
> the default of 100 MB.
>
> Normaly you should use a big disk cache size (cache_dir) and a small mem
> cache size (cache_mem) not bigger than 8 MB.


Note also that unless you are on a 64bit architecture an individual
process in linux can't malloc more than 3GB of ram. If you have more than
4GB of ram on a intel32 bit architecture you're going to take an order of
3%-6% performance hit due to page flipping. all if this is academic if you
a sparc64,alpha, opteron, ppc64 or itanium but you may not.

> Hermann
>
>


--
--------------------------------------------------------------------------
Joel Jaeggli Unix Consulting joelja@darkwing.uoregon.edu
GPG Key Fingerprint: 5C6E 0104 BAF0 40B0 5BD3 C38B F000 35AB B67F 56B2


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:21 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0