Cache pages
Jump to navigation
Jump to search
CONFIG PARAMETER: cache_pages <number>
DEFAULT: 40
The cache_pages option specifies the size of the hashpage cache. The size of the cache cannot be changed after the server starts using @admin. The value must be set within the configuration file and if changed, a server restart is required.
The most effective type of caching occurs one level higher (see max_cache_size). However, for larger games, it is often necessary to increase cache_pages as well since it caches at a lower level.
Recommendations:
- Have a minimum of 10 hash pages or the server itself with thrash the cache.
- Have one cache page per active player or simple paging with thrash the cache.
The default of 40 pages should support up to 100 active players.
Related Topics
Configuration, cache_names, cache_tick_period, max_cache_size