Whenever you add or remove an entry, it changes the size of a page which
can lead to page movement between free list. According to this page, the
page defragmentation/compaction happens in the background and when a
threshold is met: https://apacheignite.readme.io/docs/memory-defragmentation

Hope Ignite persistence experts can shine more light on this.

--
Denis

On Tue, Jun 12, 2018 at 3:12 PM John Wilson <sami.hailu...@gmail.com> wrote:

> thanks. But *when* does that happen - i.e. when is the decision made to
> move pages? Is this part of the cache.put path or a separate thread?
>
> On Tue, Jun 12, 2018 at 1:03 PM, Denis Magda <dma...@apache.org> wrote:
>
> > A page is moved between free lists that used to track pages of similar
> free
> > space left:
> >
> https://apacheignite.readme.io/docs/memory-architecture#section-free-lists
> >
> > --
> > Denis
> >
> >
> > On Tue, Jun 12, 2018 at 12:35 PM John Wilson <sami.hailu...@gmail.com>
> > wrote:
> >
> > > Hi,
> > >
> > > How does Ignite free unused pages? Is there some kind of background
> > thread
> > > process that scans unused pages?
> > >
> > > Thanks,
> > >
> >
>

Reply via email to