Skip to content
Snippets Groups Projects
Commit bc912acb authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

gh-968: box.slab.info.arena_used_ratio is incorrect

Reflect in slab stats the quota size and index memory statistics.

arena_used_ratio - how much of arena is used
items_used_ratio - how much memory is actualy used for items,
given that there is some fragmentation. Doesn't reflect index pages
arena_used - how much of the quota is used (i.e. how much memory
is used for index and tuple data)
arena_size  - this is the same as box.cfg.slab_alloc_arena.
quota_size - how much of the quota is defined (box.cfg.slab_alloc_arena)
quota_used - how much of the quota is used (reflects the memory taken
by all slabs, including slabs in caches)

Incompatible change:
Extract detailed slab statistics to a separate call, box.slab.stats()
parent e7eeaee4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment