cache-settings

ts77

Well-Known Member
#1
In 2.1. there are some new cache-settings.
Are there some sensible recommended values for these? I have those there ...

Code:
Max Cached Small File Size (bytes)	8192
Total Small File Cache Size (bytes)	8388608
Max MMAP File Size (bytes)	32768
Total MMAP Cache Size (bytes)	16777216
but I'm not sure if those are "good" settings for that :).

thx,

thomas
 

mistwang

LiteSpeed Staff
#2
It depends on how big and how many static files need to be served.
It is good as long as most static file can be fit into either in memory or MMAP cache.

On some system, seems that MMAP is better, so I recommend using it when possible, just void those files smaller than a OS "Page" size.
Code:
 Max Cached Small File Size (bytes)   4096
 
Top