[squid-users] small objects memory caching issue ?

From: <vincent.blondel_at_ing.be>
Date: Thu, 2 Dec 2010 21:25:16 +0100

After some memory upgrade to 4GB RAM, I am trying to optimize my squid caches to maintain as most as little objects in memory without storing them on disk. Big objects are not kept in memory but stored on disk.

these are my config parameters ...

cache_mem 600 MB
memory_replacement_policy heap GDSF
maximum_object_size_in_memory 16 KB
cache_replacement_policy heap LFUDA
minimum_object_size 16 KB
maximum_object_size 100 KB
cache_swap_low 95
cache_swap_high 95

acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache allow all

I notice not all small objects are kept in memory but we are well speaking about objects ...

* not containing ? in the query
* smaller than 16KB
* containing some explicit 'Content-Length' http header
* not containing any 'pragma no-cache' header

so my questions are ...

Is 'squidclient mgr:vm_objects |egrep 'GET|POST'' really the command to get all objects in memory (or is there another command) and is this command real-time (or do we have to expect some delay ) ??

Is the instruction 'cache' applicable for all kind of caching (memory and disk) or this only for disabling disk caching ??

/system

SQUID 2.7.4 in internal network behind another Internet Gateway SQUID 2.7.4 in the DMZ/ Solaris 8

many thks to help me
Vincent
-----------------------------------------------------------------
ATTENTION:
This e-mail is intended for the exclusive use of the
recipient(s). This e-mail and its attachments, if any, contain
confidential information and/or information protected by
intellectual property rights or other rights. This e-mail does
not constitute any commitment for ING Belgium except when
expressly otherwise agreed in a written agreement between the
intended recipient and ING Belgium.

If you receive this message by mistake, please, notify the sender
with the "reply" option and delete immediately this e-mail from
your system, and destroy all copies of it. You may not, directly
or indirectly, use this e-mail or any part of it if you are not
the intended recipient.

Messages and attachments are scanned for all viruses known. If
this message contains password-protected attachments, the files
have NOT been scanned for viruses by the ING mail domain. Always
scan attachments before opening them.
-----------------------------------------------------------------
ING Belgium SA/NV - Bank/Lender - Avenue Marnix 24, B-1000
Brussels, Belgium - Brussels RPM/RPR - VAT BE 0403.200.393 -
BIC (SWIFT) : BBRUBEBB - Account: 310-9156027-89 (IBAN BE45 3109
1560 2789).
An insurance broker, registered with the Banking, Finance and
Insurance Commission under the code number 12381A.

ING Belgique SA - Banque/Preteur, Avenue Marnix 24, B-1000
Bruxelles - RPM Bruxelles - TVA BE 0403 200 393 - BIC (SWIFT) :
BBRUBEBB - Compte: 310-9156027-89 (IBAN: BE45 3109 1560 2789).
Courtier d'assurances inscrit a la CBFA sous le numero 12381A.

ING Belgie NV - Bank/Kredietgever - Marnixlaan 24, B-1000 Brussel
- RPR Brussel - BTW BE 0403.200.393 - BIC (SWIFT) : BBRUBEBB -
Rekening: 310-9156027-89 (IBAN: BE45 3109 1560 2789).
Verzekeringsmakelaar ingeschreven bij de CBFA onder het nr.
12381A.
-----------------------------------------------------------------
Received on Thu Dec 02 2010 - 20:25:34 MST

This archive was generated by hypermail 2.2.0 : Fri Dec 03 2010 - 12:00:01 MST