Changes between Version 13 and Version 14 of XcacheIni


Ignore:
Timestamp:
2013-08-27T09:47:57+02:00 (13 months ago)
Author:
ilantipov
Comment:

2 years ago I had problems with undestanding how to set up variable memory usage - hope this will help someone.

Legend:

Unmodified
Added
Removed
Modified
  • XcacheIni

    v13 v14  
    7373 0 to disable, non 0 to enable. Check if your system mmap allows. 
    7474 '''xcache.count''' ''int'':: 
    75  Specify how many chunks to split the cache. see SplittedCache 
     75 Specify how many chunks to split the cache. See SplittedCache 
    7676 '''xcache.slots''' ''size'':: 
    7777 Just a "slots" hint for hash, you can always store count(items) > slots. It can be (count(items) * n) where n is 0.2 to 1, or leave it as is. More slots means faster searching the cache but take more memory. 
     
    8787 
    8888 '''xcache.var_size''' ''int'':: 
     89 Total amount of memory used for variable caching. If set to 0 - variable caching is disabled. K M G modifiers can be used, i.e. 1G 512M 1024K 
    8990 '''xcache.var_count''' ''int'':: 
     91 Specify how many chunks to split the cache. Each chunk will use xcache.var_size/xcache.var_count amount of memory. See SplittedCache for details. 
    9092 '''xcache.var_slots''' ''size'':: 
    9193 Same as above, but for variable data.