Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-09 Thread Aaron Lu
On 12/10/2015 12:35 PM, Joonsoo Kim wrote: > On Wed, Dec 09, 2015 at 01:40:06PM +0800, Aaron Lu wrote: >> On Wed, Dec 09, 2015 at 09:33:53AM +0900, Joonsoo Kim wrote: >>> On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote:

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-09 Thread Joonsoo Kim
On Wed, Dec 09, 2015 at 01:40:06PM +0800, Aaron Lu wrote: > On Wed, Dec 09, 2015 at 09:33:53AM +0900, Joonsoo Kim wrote: > > On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: > > > On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > > > > I add work-around for this problem at iso

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-08 Thread Aaron Lu
On Wed, Dec 09, 2015 at 09:33:53AM +0900, Joonsoo Kim wrote: > On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: > > On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > > > I add work-around for this problem at isolate_freepages(). Please test > > > following one. > > > > Still

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-08 Thread Joonsoo Kim
On Tue, Dec 08, 2015 at 04:52:42PM +0800, Aaron Lu wrote: > On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > > On Tue, Dec 08, 2015 at 01:14:39PM +0800, Aaron Lu wrote: > > > On Tue, Dec 08, 2015 at 09:41:18AM +0900, Joonsoo Kim wrote: > > > > On Mon, Dec 07, 2015 at 04:59:56PM +0800,

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-08 Thread Aaron Lu
On Tue, Dec 08, 2015 at 03:51:16PM +0900, Joonsoo Kim wrote: > On Tue, Dec 08, 2015 at 01:14:39PM +0800, Aaron Lu wrote: > > On Tue, Dec 08, 2015 at 09:41:18AM +0900, Joonsoo Kim wrote: > > > On Mon, Dec 07, 2015 at 04:59:56PM +0800, Aaron Lu wrote: > > > > On Mon, Dec 07, 2015 at 04:35:24PM +0900,

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-07 Thread Joonsoo Kim
On Tue, Dec 08, 2015 at 01:14:39PM +0800, Aaron Lu wrote: > On Tue, Dec 08, 2015 at 09:41:18AM +0900, Joonsoo Kim wrote: > > On Mon, Dec 07, 2015 at 04:59:56PM +0800, Aaron Lu wrote: > > > On Mon, Dec 07, 2015 at 04:35:24PM +0900, Joonsoo Kim wrote: > > > > It looks like overhead still remain. I gu

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-07 Thread Aaron Lu
On Tue, Dec 08, 2015 at 09:41:18AM +0900, Joonsoo Kim wrote: > On Mon, Dec 07, 2015 at 04:59:56PM +0800, Aaron Lu wrote: > > On Mon, Dec 07, 2015 at 04:35:24PM +0900, Joonsoo Kim wrote: > > > It looks like overhead still remain. I guess that migration scanner > > > would call pageblock_pfn_to_page(

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-07 Thread Joonsoo Kim
On Mon, Dec 07, 2015 at 04:59:56PM +0800, Aaron Lu wrote: > On Mon, Dec 07, 2015 at 04:35:24PM +0900, Joonsoo Kim wrote: > > It looks like overhead still remain. I guess that migration scanner > > would call pageblock_pfn_to_page() for more extended range so > > overhead still remain. > > > > I ha

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-06 Thread Joonsoo Kim
On Fri, Dec 04, 2015 at 01:34:09PM +0100, Vlastimil Babka wrote: > On 12/03/2015 12:52 PM, Aaron Lu wrote: > >On Thu, Dec 03, 2015 at 07:35:08PM +0800, Aaron Lu wrote: > >>On Thu, Dec 03, 2015 at 10:38:50AM +0100, Vlastimil Babka wrote: > >>>On 12/03/2015 10:25 AM, Aaron Lu wrote: > On Thu, Dec

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-06 Thread Aaron Lu
On 12/04/2015 08:38 PM, Vlastimil Babka wrote: > On 12/04/2015 07:25 AM, Aaron Lu wrote: >> On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: >>> Aaron, could you try this on your testcase? >> >> One time result isn't stable enough, so I did 9 runs for each commit, >> here is the res

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-04 Thread Vlastimil Babka
On 12/04/2015 07:25 AM, Aaron Lu wrote: On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: Aaron, could you try this on your testcase? One time result isn't stable enough, so I did 9 runs for each commit, here is the result: base: 25364a9e54fb8296837061bf684b76d20eec01fb head: 7

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-04 Thread Vlastimil Babka
On 12/03/2015 12:52 PM, Aaron Lu wrote: On Thu, Dec 03, 2015 at 07:35:08PM +0800, Aaron Lu wrote: On Thu, Dec 03, 2015 at 10:38:50AM +0100, Vlastimil Babka wrote: On 12/03/2015 10:25 AM, Aaron Lu wrote: On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: My bad, I uploaded the w

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-03 Thread Aaron Lu
On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: > Aaron, could you try this on your testcase? One time result isn't stable enough, so I did 9 runs for each commit, here is the result: base: 25364a9e54fb8296837061bf684b76d20eec01fb head: 7433b1009ff5a02e1e9f3444802daba2cf385d27 (h

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-03 Thread Aaron Lu
On Thu, Dec 03, 2015 at 10:38:50AM +0100, Vlastimil Babka wrote: > On 12/03/2015 10:25 AM, Aaron Lu wrote: > > On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: > >> Aaron, could you try this on your testcase? > > > > The test result is placed at: > > https://drive.google.com/file/d

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-03 Thread Vlastimil Babka
On 12/03/2015 10:25 AM, Aaron Lu wrote: > On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: >> Aaron, could you try this on your testcase? > > The test result is placed at: > https://drive.google.com/file/d/0B49uX3igf4K4enBkdVFScXhFM0U > > For some reason, the patches made the perf

Re: [RFC 0/3] reduce latency of direct async compaction

2015-12-03 Thread Aaron Lu
On Thu, Dec 03, 2015 at 09:10:44AM +0100, Vlastimil Babka wrote: > Aaron, could you try this on your testcase? The test result is placed at: https://drive.google.com/file/d/0B49uX3igf4K4enBkdVFScXhFM0U For some reason, the patches made the performace worse. The base tree is today's Linus git 2536

[RFC 0/3] reduce latency of direct async compaction

2015-12-03 Thread Vlastimil Babka
The goal is to reduce latency (and increase success) of direct async compaction by making it focus more on the goal of creating a high-order page, at the expense of thoroughness. This should be useful for example for THP allocations where we still get reports of being too expensive, most recently [