Re: [RFC PATCH 0/5] pro-active compaction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 13, 2017 at 10:24:21AM +0100, Michal Hocko wrote:
> On Fri 13-01-17 16:14:28, Joonsoo Kim wrote:
> > From: Joonsoo Kim <iamjoonsoo.kim@xxxxxxx>
> > 
> > Hello,
> > 
> > This is a patchset for pro-active compaction to reduce fragmentation.
> > It is a just RFC patchset so implementation detail isn't good.
> > I submit this for people who want to check the effect of pro-active
> > compaction.
> > 
> > Patch 1 ~ 4 introduces new metric for checking fragmentation. I think
> > that this new metric is useful to check fragmentation state
> > regardless of usefulness of pro-active compaction. Please let me know
> > if someone see that this new metric is useful. I'd like to submit it,
> > separately.
> 
> Could you describe this metric from a high level POV please?

There is some information at description on patch #3.

Anyway, in summary, it is an exponential moving average of unusable free
index which already exists. Unusable free index means the freepage
ratio at the moment that cannot be usable for specific order.
It is easy to understand if you see below equation.

unusable_free_index(order N) = 1 -
  (Number of freepages higher or equal than order N / Total freepages)

Thanks.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]