[tarantool-patches] Re: [PATCH 2/7] vinyl: add global memory stats

Vladimir Davydov vdavydov.dev at gmail.com
Mon Sep 3 11:10:14 MSK 2018


On Mon, Sep 03, 2018 at 01:27:17AM +0300, Konstantin Osipov wrote:
> * Vladimir Davydov <vdavydov.dev at gmail.com> [18/09/02 23:23]:
> > box.info.memory() gives you some insight on what memory is used for,
> > but it's very coarse. For vinyl we need finer grained global memory
> > statistics.
> > 
> > This patch adds such: they are reported under box.stat.vinyl().memory
> > and consist of the following entries:
> > 
> >  - level0: sum size of level-0 of all LSM trees.
> >  - tx: size of memory used by tx write and read sets.
> >  - tuple_cache: size of memory occupied by tuple cache.
> >  - page_index: size of memory used for storing page indexes.
> >  - bloom_filter: size of memory used for storing bloom filters.
> > 
> > It also removes box.stat.vinyl().cache, as the size of cache is now
> > reported under memory.tuple_cache.
> 
> Please add a plea to docbot.

IMO it's pointless to write a docbot request in each patch, because
other vinyl statistics (per index and global) aren't documented, either.
I'll open a separate ticket manually once we are done with throttling.



More information about the Tarantool-patches mailing list