Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1247434

Re: [PATCH v2 9/9] mm/compaction: new threshold for compaction depleted zone

From Joonsoo Kim <iamjoonsoo.kim@lge.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 9/9] mm/compaction: new threshold for compaction depleted zone
Date 2015-10-15 08:10 +0200
Message-ID <qjJTL-67x-37@gated-at.bofh.it> (permalink)
References <q0PGi-2EF-3@gated-at.bofh.it> <q0PGi-2EF-19@gated-at.bofh.it> <qjtlU-6PL-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 14, 2015 at 02:28:31PM +0200, Vlastimil Babka wrote:
> On 08/24/2015 04:19 AM, Joonsoo Kim wrote:
> > Now, compaction algorithm become powerful. Migration scanner traverses
> > whole zone range. So, old threshold for depleted zone which is designed
> > to imitate compaction deferring approach isn't appropriate for current
> > compaction algorithm. If we adhere to current threshold, 1, we can't
> > avoid excessive overhead caused by compaction, because one compaction
> > for low order allocation would be easily successful in any situation.
> > 
> > This patch re-implements threshold calculation based on zone size and
> > allocation requested order. We judge whther compaction possibility is
> > depleted or not by number of successful compaction. Roughly, 1/100
> > of future scanned area should be allocated for high order page during
> > one comaction iteration in order to determine whether zone's compaction
> > possiblity is depleted or not.
> 
> Finally finishing my review, sorry it took that long...
> 

Ah... I forgot to mention that I really appreciate your help.
Thanks for review!!


Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH v2 9/9] mm/compaction: new threshold for compaction  depleted zone Vlastimil Babka <vbabka@suse.cz> - 2015-10-14 14:30 +0200
  Re: [PATCH v2 9/9] mm/compaction: new threshold for compaction  depleted zone Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-10-15 08:10 +0200
  Re: [PATCH v2 9/9] mm/compaction: new threshold for compaction  depleted zone Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-10-15 08:10 +0200

csiph-web