« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 3 of about 3 for kicks (0.001 sec.)
Yac::info — Status of cache | PHP 8.3 10994
Yac::info (PECL yac >= 1.0.0) Yac::info — Status of cache 説明 public function Yac::info (): array Get status of cache system パラメータ この関数にはパラメータはありません。 戻り値 Returns an array with the following keys: memory_size Total ... its Number of cache hits: successful lookups. fails Number of failed stores: stores that could not allocate a value block. kicks Number of evictions: how often an existing entry had to be evicted because the candidate slot path was full. recycles Numb ... 88608 [values_memory_size] => 67108864 [segment_size] => 4194304 [segment_num] => 16 [miss] => 0 [hits] => 0 [fails] => 0 [kicks] => 0 [recycles] => 0 [start_time] => 1725955200 [slots_size] => 65536 [slots_used] => 1 ) The hit ratio can be computed a ... s hits / (hits + miss) ; a growing kicks or fails counter indicates that the cache is under memory pressure. 参考 Yac::dump() - Dump cache entries for inspection 他 ...
https://man.mtool.work/php/8.3/yac.info.html
Memory Management | PHP 8.3 10175
Memory Management Yac keeps its data in two independent shared-memory pools, configured with yac.keys_memory_size and yac.values_memory_size . They fill up and free up in different ways, so it helps to know which pool a symptom belongs to b ... . Only when all four candidate slots of a probe path hold live entries is one of them evicted to make room — one kick (the kicks counter of Yac::info() ). The eviction picks among the four live candidates of the colliding probe path only: the least re ... its / (hits + miss) , computed over the deltas between two Yac::info() snapshots rather than the lifetime average). A high kicks count on its own means nothing is wrong — the key distribution is simply not uniform and some probe paths collide more tha ... n others. Only when the hit rate and kicks are both bad is the table too small for the key set, and the remedy is a bigger yac.keys_memory_size . A second consequenc ...
https://man.mtool.work/php/8.3/yac.memory-management.html
実行時設定 | PHP 8.3 6696
実行時設定 php.ini の設定により動作が変化します。 Yac 設定オプション 名前 デフォルト 変更可能 変更履歴 yac.compress_threshold 4K INI_SYSTEM yac.debug 0 INI_ALL yac.enable 1 INI_SYSTEM yac.enable_cli 0 INI_SYSTEM yac.keys_memory_size 8M INI_ ... how many entries can exist at once — the default of 8M gives around 65,536 entries. Raise this when the hit rate drops and kicks climb; see Memory Management for how a full table behaves and when that actually matters. yac.values_memory_size string Am ...
https://man.mtool.work/php/8.3/yac.configuration.html
PREV 1 NEXT