You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by jp...@apache.org on 2010/05/14 20:22:31 UTC
svn commit: r944374 -
/trafficserver/traffic/trunk/proxy/config/records.config.in
Author: jplevyak
Date: Fri May 14 18:22:30 2010
New Revision: 944374
URL: http://svn.apache.org/viewvc?rev=944374&view=rev
Log:
Add configuration for new RAM cache to proxy/config/records.config.in
I had mistakenly changed proxy/config/records.confg instead on the initial checkin.
Modified:
trafficserver/traffic/trunk/proxy/config/records.config.in
Modified: trafficserver/traffic/trunk/proxy/config/records.config.in
URL: http://svn.apache.org/viewvc/trafficserver/traffic/trunk/proxy/config/records.config.in?rev=944374&r1=944373&r2=944374&view=diff
==============================================================================
--- trafficserver/traffic/trunk/proxy/config/records.config.in (original)
+++ trafficserver/traffic/trunk/proxy/config/records.config.in Fri May 14 18:22:30 2010
@@ -314,6 +314,16 @@ CONFIG proxy.config.cache.permit.pinning
# alternatively, set to a fixed value such as 20971520 (20MB)
CONFIG proxy.config.cache.ram_cache.size LLONG -1
CONFIG proxy.config.cache.ram_cache_cutoff LLONG 1048576
+ # Replacement algorithm
+ # 0 : Clocked Least Frequently Used by Size (CLFUS) w/optional compression
+ # 1 : LRU w/o optional compression - trivially simple
+CONFIG proxy.config.cache.ram_cache.algorithm INT 0
+ # Compress the content of the ram cache:
+ # 0 : no compression
+ # 1 : fastlz (extremely fast, relatively low compression)
+ # 2 : libz (moderate speed, reasonable compression)
+ # 3 : liblzma (very slow, high compression)
+CONFIG proxy.config.cache.ram_cache.compress INT 0
# The maximum number of alternates that are allowed for any given URL.
# It is not possible to strictly enforce this if the variable
# 'proxy.config.cache.vary_on_user_agent' is set to 1.