OptimumCache Configuration File

Navigation:  Deprecated > OptimumCache >

OptimumCache Configuration File

Previous pageReturn to chapter overviewNext page

NOTE. OPTIMUMCACHE IS NO LONGER SUPPORTED.

 

/etc/sysconfig/optimumcache

 

OPTIMUMCACHE_MNT=/var/cache/optimumcache

 

# Valency to cache

COUNT=0

 

# Minimal file size to cache, default - cache all files

# MINSIZE=0

 

# Minimal page number in file to start caching, default - 1

PAGEMIN=0

 

# Maximum file size to cache, 10485760 (10MB) by default

# MAXSIZE

 

# Interval between caching attempts, default - 5 seconds

# TIMEOUT=7

 

# Adaptive timeout upper limit (seconds)

# MAXTIMEOUT=160

 

# Adaptive timeout multiplicator and divisor

# TIMEOUT_INCR_MUL=2

# TIMEOUT_DECR_DIV=4

 

# Buffer size in KB for 'optimumcache dump', default is 32MB

# DUMP_BUFFER_SIZE=32000

 

# Extra space in %% of requested to purge, default 20%

# PURGEAHEAD=20

 

# Experimental: Eliminate frequent sync to address IO performance

NOIMMSYNC=1

 

# Logging verbosity, default - 1, verbose

# LOGLEVEL=1

 

# occtl --mark-dir or --check operations IO limit, MB/s, default is 5 MB/s

# OCCTL_LVE_IO_LIMIT=5

 

# occtl --mark-dir or --check operations %cpu limit, default is 50% of one CPU core

# OCCTL_LVE_SPEED_LIMIT=50

 

# Lve ID to associate limits with

# LVEID=5

 

# Collect perf statistics in /var/log/optimumcache_perf. Default is enabled.

# PERF_LOG_ENABLED=1