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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|