Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Shrinking RAM cache.

...

While the default ATS options for this may be optimal under heavy load,
I found using the simpler LRU algorithm much faster and more useful.

The following specifies 256MB 64MB of RAM cache, with objects of up to 64MB 8MB in size,
to be managed using LRU. During normal use, RAM utilization should rise and rise
until all 256MB 64MB is used, then the LRU algorithm should kick in. Also,
figure on at least 100MB of general RAM overhead for ATS in addition to this.

Code Block
CONFIG proxy.config.cache.ram_cache.size INT 256M64M
CONFIG proxy.config.cache.ram_cache_cutoff INT 64M8M
CONFIG proxy.config.cache.ram_cache.algorithm INT 1
CONFIG proxy.config.cache.ram_cache.use_seen_filter INT 1

...