Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3634152imu; Tue, 18 Dec 2018 01:25:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/VrhrF3G/T1mVXGStq4k6UjMxy3Mz7XLO8njQkIpJ6xyEwtfqF8v5LkZ84TJSxJN+6XVcuy X-Received: by 2002:a17:902:583:: with SMTP id f3mr16254400plf.202.1545125105669; Tue, 18 Dec 2018 01:25:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545125105; cv=none; d=google.com; s=arc-20160816; b=eIu6o3pTQw4SCjbrQaqfXBs86R0h1d5kMMF3Ly1ipYvMo3IE5BX+rD91nDpbIUnEUu g2Y6D/QXwoOP7kTdQfEqmtUPvxUhsH2nFyiozjxDSyDOaAAirLHLmZs9/6Qrc8EbmuD0 m1uoa2aHm/ExCAVQ6t+8/AV7sNPQ00TdUqOcowvBlwnI1z0a/S/Cjkcq7NfQQkjzfoms eTMu567By36ONFrZzjfxpjw7UXqVkWfLDlET4NIwecBDViklHEhDzbkTCj09+vJGWcLR TYWrx3wAeQY49bFmgVBx7AXw7+5VCJ7M79nujgVLvyUdi30Jgq8hEqtWPI8oEGHUaKuo zQew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:openpgp:from:references:cc:to:subject; bh=YuSuUbejwFmX8hT4uo1ATjN5mQ959ThE3CvWjWfNbd8=; b=yAAW4qub3uKA6BeNBgYFJvFPoz4x8PcKsGhJE9ICJL9zJHm/EFg/BkGEMR1z1eQDBq w3/7WL0XwNnUFvgab+tvezTK5GJAaPw3+Y8TT1VYgk/SDDzGhm7qQiApWLG/4hqCYfbV z2TkL8V43kL/Hj5Yw8y/PWCqVHPu8FtlISLAMJCxncKz9gaxOnUEs7lqvPwoDyElC8gg A6vT57+qmH/3SxdS2sKOU6v1IBGPMSscdqSdsbq5rWNfCXQ20ewSrnDFs6+ZqXSwqRLR 9tCXsdsfCXJ8vEWJrivyeMlAmgcEeC/YoY1mcLbXyl435qKCCzN3plC8tgINjWXKDlX7 akhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r12si12354652plo.59.2018.12.18.01.24.49; Tue, 18 Dec 2018 01:25:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726486AbeLRJX5 (ORCPT + 99 others); Tue, 18 Dec 2018 04:23:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:52104 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726388AbeLRJX4 (ORCPT ); Tue, 18 Dec 2018 04:23:56 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 9BBC8AD64; Tue, 18 Dec 2018 09:23:54 +0000 (UTC) Subject: Re: [PATCH 07/14] mm, compaction: Always finish scanning of a full pageblock To: Mel Gorman , Linux-MM Cc: David Rientjes , Andrea Arcangeli , Linus Torvalds , Michal Hocko , ying.huang@intel.com, kirill@shutemov.name, Andrew Morton , Linux List Kernel Mailing References: <20181214230310.572-1-mgorman@techsingularity.net> <20181214230310.572-8-mgorman@techsingularity.net> From: Vlastimil Babka Openpgp: preference=signencrypt Message-ID: Date: Tue, 18 Dec 2018 10:23:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <20181214230310.572-8-mgorman@techsingularity.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/15/18 12:03 AM, Mel Gorman wrote: > When compaction is finishing, it uses a flag to ensure the pageblock is > complete. However, in general it makes sense to always complete migration > of a pageblock. Minimally, skip information is based on a pageblock and > partially scanned pageblocks may incur more scanning in the future. The > pageblock skip handling also becomes more strict later in the series and > the hint is more useful if a complete pageblock was always scanned. > > The impact here is potentially on latencies as more scanning is done > but it's not a consistent win or loss as the scanning is not always a > high percentage of the pageblock and sometimes it is offset by future > reductions in scanning. Hence, the results are not presented this time as > it's a mix of gains/losses without any clear pattern. However, completing > scanning of the pageblock is important for later patches. > > Signed-off-by: Mel Gorman Acked-by: Vlastimil Babka