Squid 配置指令 store_avg_object_size
可用版本:
此指令在 Squid 的 v8 版本中不可用。
对于 v5 之前的旧版本,请参阅以上链接页面。
配置详情
| 选项名称 | store_avg_object_size |
|---|---|
| 替代 | |
| 要求 | |
| 默认值 | store_avg_object_size 13 KB |
| 建议配置 |
|
Average object size, used to estimate number of objects your cache can hold. The default is 13 KB. This is used to pre-seed the cache index memory allocation to reduce expensive reallocate operations while handling clients traffic. Too-large values may result in memory allocation during peak traffic, too-small values will result in wasted memory. Check the cache manager 'info' report metrics for the real object sizes seen by your Squid before tuning this. |
|
