Hi Ignites,

I've tried to estimate in runtime how much free memory there are on a node.
Looking at memory metrics API, I need a pageSize, number of allocated pages
and a fillFactor of these pages.

But it looks like FillFactor metric is broken or useless.

A simple test where new entries are put to cache shows next:
- number of allocated page is constantly grows which looks ok.
- FillFactor metric has weird fluctuation. It seems ok if its value will
slightly decreased when new pages allocated,
but I observe 2-10+ times difference between checks.
Also calculated total used memory can also significanlty decreased.


Here is a ticket for this issue [1].
Can someone clarify, is it expected behavior? what is FillFactor metric
means?
how this can be fixed or how used memory should be calculated if metrics
itself is ok?

Thoughts?


[1] https://issues.apache.org/jira/browse/IGNITE-7489

-- 
Best regards,
Andrey V. Mashenkov

Reply via email to