SMP cache memory

From: Marcos A. Dzieva <dzieva_at_gmail.com>
Date: Wed, 25 Sep 2013 11:56:32 -0300

Dear.

Because my machine squid does not use the entire memory (cache_mem 25600
MB), + - 3GB is used?

This is the configuration:

workers 4
...
memory_replacement_policy heap GDSF
cache_replacement_policy heap LFUDA
cache_mem 25600 MB
maximum_object_size_in_memory 10240 KB
minimum_object_size 1 KB
maximum_object_size 330 MB
cache_swap_low 95
cache_swap_high 99

range_offset_limit -1 windowsupdate

cache_dir rock /var/cache2/squid 50000 min-size=1 max-size=32000
max-swap-rate=250 swap-timeout=350
if ${process_number} = 1
    cache_dir aufs /var/cache/squid/aufs 750000 64 256 min-size=32001
endif
if ${process_number} = 2
    cache_dir aufs /var/cache2/squid/aufs 780000 64 256 min-size=32001
endif
if ${process_number} = 3
    cache_dir aufs /var/cache3/squid/aufs 830000 64 256 min-size=32001
endif
if ${process_number} = 4
    cache_dir aufs /var/cache4/squid/aufs 850000 64 256 min-size=32001
endif

squid-3.4.0.1-20130925-r12990
ubuntu 13.04
i3, 32GB ram

Thanks,
Marcos A. Dzieva
Received on Wed Sep 25 2013 - 14:56:37 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 27 2013 - 12:00:11 MDT