Cache settings

This policy is applicable to version 2.0 and above

This policy defines the caching behavior of Konnekt.

KONNEKT uses the cache for different purposes:

  • Files that are currently opened by the user

  • Files that need to be uploaded (write cache)

  • Files that are closed (read cache)

Definitions:

  • Cache TTL (Time To Live): How long (in minutes) closed documents (read cache) will stay in the Cache. This value needs to be filled in the input field if the policy is enabled.

  • Fixed Cache Size: How big (in Megabytes) is the KONNEKT cache folder. This value needs to be filled in the input field if the policy is enabled.

  • Cache Size: Main cache size of the machine.

The cache operates in different pressure states:

  • Normal pressure: The cache is utilized below critical values. Closed files will be kept in the read cache up to the TTL value.

  • High read pressure: The cache is filled up with too many closed files. The read cache will be deleted.

  • High write pressure: The cache is holding lots of files queued for upload. Further, write operations will be throttled in order to empty the upload queue.

  • Critical write pressure: The cache is nearly filled up with files queued for upload. Further, write operations will be throttled significantly in order to empty the upload queue.

  • Cache full: The cache is completely occupied. Requests to open further files will be rejected.

Maximum value of CacheTTL is 2880 (Time in minutes) Maximum value of CacheSize is 20000 (Size in megabytes), if zero (0), the cache size will be calculated from free disk space (default)

  • Cache size from free disk calculation sizeMax = (FreeDiskSize + CacheSize) * 75%

  • High pressure calculation pressure = sizeUsed / sizeMax >= 80%

  • High write pressure calculation writePressure = uploadSize / sizeMax >= 60%

  • Critical write pressure calculation writePressure = uploadSize / sizeMax >= 80%

  • Cache filled calculation sizeUsed >= sizeMax

To apply the policy you have to restart the Windows Explorer

There are several ways to apply the policy:

Policies stored in:

HKEY_CURRENT_USER\SOFTWARE\Policies\GlueckKanja\Konnekt

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\GlueckKanja\Konnekt

KONNEKT read file limitations

  • Policy key name: OneDriveOpenFilesLargerThanReadOnly Files which are larger than this size are opened read-only on OneDrive and O365 accounts. Default: 512 * 1024 * 1024 bytes.

  • Policy key name: OneDriveDoNotOpenFilesLargerThan Do not open files which are larger than this size on OneDrive and O365 accounts. Default: 1024 * 1024 * 1024 bytes.