Ticket #9986: cull_frequency.diff
File cull_frequency.diff, 1.1 KB (added by , 16 years ago) |
---|
-
docs/topics/cache.txt
234 234 backends, the maximum number of entries allowed in the cache before old 235 235 values are deleted. This argument defaults to 300. 236 236 237 * ``cull_ percentage``: The percentageof entries that are culled when238 ``max_entries`` is reached. The actual ratio is ``1/cull_ percentage``, so239 set ``cull_ percentage=2`` to cull half of the entries when ``max_entries``237 * ``cull_frequency``: The fraction of entries that are culled when 238 ``max_entries`` is reached. The actual ratio is ``1/cull_frequency``, so 239 set ``cull_frequency=2`` to cull half of the entries when ``max_entries`` 240 240 is reached. 241 241 242 A value of ``0`` for ``cull_ percentage`` means that the entire cache will242 A value of ``0`` for ``cull_frequency`` means that the entire cache will 243 243 be dumped when ``max_entries`` is reached. This makes culling *much* 244 244 faster at the expense of more cache misses. 245 245