Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2072147rwd; Sun, 21 May 2023 12:22:49 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5gJ8Tu9LFb9tZdL5xfxbZ5v4tyglRvEMT3OTQZQoR8upjHgonQCZ1AzDm904X1ZmOhv+6w X-Received: by 2002:a17:90a:fa8f:b0:24e:3b69:a87f with SMTP id cu15-20020a17090afa8f00b0024e3b69a87fmr8549889pjb.25.1684696968955; Sun, 21 May 2023 12:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684696968; cv=none; d=google.com; s=arc-20160816; b=ZrPv51oFAWS1hd94GZJJeLWTmJQx+RzHrewv4M1u26fWznSIcl6rPCZCMmvfY8WbtW FyE3Tm07M7mAdRwGnQSNNAT2wfhvN5Lo1vy9FLAMEmHW0kOZHXWe8JIyOHJVOUmsDTm4 78cDK7N/H/okAKeaQErxYk4ptTUDEe3ua9HZJ4YOLxypeSg4ClJJtiZjf5e+8cz1cWJ/ rZ2FkmHK1hZQ4pJDGU8iA9gE1eEj0yOHjGXB3vwG5WL8uzNbH6e8P3e0vhMRxF40FL2o AwzgEoRezRrui8S9a5vqNggNjMbxbmSC3ZtWLsZFnAgi22bqnqv2RNFs3cm4v6t5PbmH /wIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=KUmPkzyesMTFdfiNURu0+0dmf2lxSHeZkjrft1cD+Ro=; b=WyT3YT9iztKWyDq63DF0OBba8WHKOcw52BMBcna3nDppJB37bRJ4NFhczdJElXrZsA 72B1xW/zTdVU62F5LHdgI9hM+RwqHmebI7AOYiKmgookLPOQC2nBcjNKUKqo/UQGQLS7 d6WZNT9x9sc5RvnQliEbcUDxoKTrylV3ra95KvTjF5WGKfeyvjSkWFEj3HzKPXaMT2SR Mdw4bJrIleCg4FgthBD4LROHYgd4s3mn9oUGJKmNTxu4oIci2Nxy+UXH/xP27lIF7rMM sJ3tbO2HDW1JmoT7G3MtJiv4CG6vRsQANtdbl68p/8Q96xMuq+5Sr6iRRRmR68c+CirP S2FQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m23-20020a17090a859700b002336940f887si3481967pjn.61.2023.05.21.12.22.34; Sun, 21 May 2023 12:22:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230176AbjEUTVA (ORCPT + 99 others); Sun, 21 May 2023 15:21:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35422 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229512AbjEUTU6 (ORCPT ); Sun, 21 May 2023 15:20:58 -0400 Received: from outbound-smtp16.blacknight.com (outbound-smtp16.blacknight.com [46.22.139.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6AA9D7 for ; Sun, 21 May 2023 12:20:54 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp16.blacknight.com (Postfix) with ESMTPS id 483691C47D4 for ; Sun, 21 May 2023 20:20:53 +0100 (IST) Received: (qmail 13105 invoked from network); 21 May 2023 19:20:52 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[93.89.247.161]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 21 May 2023 19:20:52 -0000 Date: Sun, 21 May 2023 20:20:46 +0100 From: Mel Gorman To: Raghavendra K T Cc: Vlastimil Babka , Andrew Morton , Jiri Slaby , Maxim Levitsky , Michal Hocko , Pedro Falcato , Paolo Bonzini , Chuyi Zhou , Linux-MM , LKML Subject: Re: [PATCH 0/4] Follow-up "Fix excessive CPU usage during compaction" Message-ID: <20230521192046.pduhkcv2u3j5dfbl@techsingularity.net> References: <6d62686f-964d-342c-e085-0eae2555cc54@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <6d62686f-964d-342c-e085-0eae2555cc54@amd.com> X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023 at 12:13:11PM +0530, Raghavendra K T wrote: > On 5/15/2023 5:03 PM, Mel Gorman wrote: > > The series "Fix excessive CPU usage during compaction" [1] attempted to > > fix a bug [2] but Vlastimil noted that the fix was incomplete [3]. While > > the series was merged, fast_find_migrateblock was still disabled. This > > series should fix the corner cases and allow 95e7a450b819 ("Revert > > "mm/compaction: fix set skip in fast_find_migrateblock"") to be safely > > reverted. Details on how many pageblocks are rescanned are in the > > changelog of the last patch. > > > > [1] https://lore.kernel.org/r/20230125134434.18017-1-mgorman@techsingularity.net > > [2] https://bugzilla.suse.com/show_bug.cgi?id=1206848 > > [3] https://lore.kernel.org/r/a55cf026-a2f9-ef01-9a4c-398693e048ea@suse.cz > > > > mm/compaction.c | 24 ++++++++++-------------- > > 1 file changed, 10 insertions(+), 14 deletions(-) > > > > Hello Mel, > > Not sure how much this info would help, (also I saw it is in Andrew's > tree already) But was curious to evaluate the patchset from perf > perspective, and I have run mmtest usemem so here is the result (Only > for compact cases). > > > Thanks Raghavendra! -- Mel Gorman SUSE Labs