Squid 配置指令 cache_swap_low
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | cache_swap_low |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | cache_swap_low 90 |
| 建议配置 |
|
The low-water mark for AUFS/UFS/diskd cache object eviction by the cache_replacement_policy algorithm. Removal begins when the swap (disk) usage of a cache_dir is above this low-water mark and attempts to maintain utilization near the low-water mark. As swap utilization increases towards the high-water mark set by cache_swap_high object eviction becomes more aggressive. The value difference in percentages between low- and high-water marks represent an eviction rate of 300 objects per second and the rate continues to scale in aggressiveness by multiples of this above the high-water mark. Defaults are 90% and 95%. If you have a large cache, 5% could be hundreds of MB. If this is the case you may wish to set these numbers closer together. See also cache_swap_high and cache_replacement_policy |
|
