Hi,
How does Ignite free unused pages? Is there some kind of background thread process that scans unused pages? Thanks, |
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 <[hidden email]> wrote: > Hi, > > How does Ignite free unused pages? Is there some kind of background thread > process that scans unused pages? > > Thanks, > |
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 <[hidden email]> 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 <[hidden email]> > wrote: > > > Hi, > > > > How does Ignite free unused pages? Is there some kind of background > thread > > process that scans unused pages? > > > > Thanks, > > > |
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> > > wrote: > > > > > Hi, > > > > > > How does Ignite free unused pages? Is there some kind of background > > thread > > > process that scans unused pages? > > > > > > Thanks, > > > > > > |
John,
The page is moved between FreeList buckets synchronously during the corresponding cache entry update, so it is the part of cache.put() or cache.remove() operation. ср, 13 июн. 2018 г. в 2:32, Denis Magda <[hidden email]>: > 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 <[hidden email]> > 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 <[hidden email]> 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 <[hidden email]> > > > wrote: > > > > > > > Hi, > > > > > > > > How does Ignite free unused pages? Is there some kind of background > > > thread > > > > process that scans unused pages? > > > > > > > > Thanks, > > > > > > > > > > |
Thanks!
On Thu, Jun 14, 2018 at 2:00 AM, Alexey Goncharuk < [hidden email]> wrote: > John, > > The page is moved between FreeList buckets synchronously during the > corresponding cache entry update, so it is the part of cache.put() or > cache.remove() operation. > > ср, 13 июн. 2018 г. в 2:32, Denis Magda <[hidden email]>: > > > 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 <[hidden email]> > > 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 <[hidden email]> > 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 < > [hidden email]> > > > > wrote: > > > > > > > > > Hi, > > > > > > > > > > How does Ignite free unused pages? Is there some kind of background > > > > thread > > > > > process that scans unused pages? > > > > > > > > > > Thanks, > > > > > > > > > > > > > > > |
Free forum by Nabble | Edit this page |