我要评分
获取效率
正确性
完整性
易理解

Defragmentation Configuration

Global Cache provides the defragmentation function for read cache drive space to improve the read cache hit ratio in some scenarios. You can enable this function as required. To enable this function, perform the following steps:

  1. Change the value of smart_cache_defragment_switch in /opt/gcache/node_config.xml from 0 to 1.

    <smart_cache_defragment_switch>1</smart_cache_defragment_switch>

  2. Restart the Global Cache service on the corresponding node.

    sudo systemctl restart globalcache.service