cache-settings

Discussion in 'Install/Configuration' started by ts77, Oct 1, 2005.

  1. ts77

    ts77 New Member

    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
  2. mistwang

    mistwang LiteSpeed Staff

    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 

Share This Page