Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updating with one last performance improvement.

...

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 128MB 512MB of RAM cache, with objects of unlimited size,
to be managed using LRU. During normal use, RAM utilization will rise and rise
until all 128MB 512MB is used, then the LRU algorithm should kick in.

Code Block
CONFIG proxy.config.cache.ram_cache.size INT 134217728512M
CONFIG proxy.config.cache.ram_cache_cutoff INT 0
CONFIG proxy.config.cache.ram_cache.algorithm INT 1
CONFIG proxy.config.cache.ram_cache.use_seen_filter INT 0

...

Code Block
CONFIG proxy.config.cache.threads_per_disk INT 4

Cache Disk Write Lock Delay

The default setting for ATS is unfortunately quite low. For some reason this caused a repeatable,
large delay when loading Bing Image Search results. The following setting removes most of the delays
and seems to speed up the cache overall a bit.

Code Block

CONFIG proxy.config.cache.mutex_retry_delay INT 50

Maximum Concurrent DNS Queries

...