2.1.4. Memory and IOPS Deduplication Configuration File

Contained in the /etc/vz/pfcache.conf file, memory and IOPS deduplication parameters allow you to tailor cache behavior and performance to your needs.

Table 2.10. Parameters

NameDescriptionDefault Value

COUNT

The minimum number of file copies required for the file to become cacheable. Copies may exist in the same container or different containers.

2

MINSIZE

Minimal cacheable file size, bytes. Files smaller than this value will not be cached.

0

MAXSIZE

Maximal cacheable file size, bytes. Files larger than this value will not be cached.

2147483648

TIMEOUT

Time between caching attempts, seconds.

5

PFCACHE_IOLIMIT

Memory and IOPS deduplication cache IO bandwidth limit, bps. Unlimited by default.

 

PFCACHE_IOPSLIMIT

Memory and IOPS deduplication cache IOPS limit. Unlimited by default.

 

LOGLEVEL

Logging verbosity. Messages are logged in the system log file /var/log/messages.

1

PAGEMIN

The total number of memory pages used in containers:

  • 0 - Cache even files without memory pages.
  • 1 - Cache only files in use.
  • N - Cache only when the total number of memory pages in containers reaches N.

1

PURGEAHEAD

Extra cache space to free up in addition to the requested space. In per cent of the requested space. Used with the pfcache purge --size command.

20%