Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp414027rwn; Thu, 8 Sep 2022 03:41:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Wu/MQlKo36rkom2tumrq3jXNP9s1aKqwZGprk+2OrLGuo5/cYmXR1OZazVuEUziFWUISf X-Received: by 2002:a17:90b:164a:b0:202:5f0f:290e with SMTP id il10-20020a17090b164a00b002025f0f290emr3527854pjb.27.1662633706838; Thu, 08 Sep 2022 03:41:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662633706; cv=none; d=google.com; s=arc-20160816; b=VCYDC7gxDvPmyRdrsRZ5QgWpMcw6bfrMP7qfiTe1fxDmnfdBwFdk27URmoxFGOtToA Pz8/MmQNtqdXbHo2h6anvdzqXP0koQHBJA51Hoz5cJJTPtM2NLquEb8FAOJeuG55dW7d 4bEUk4EjAGrdaYisn5eFsJ65l89pXyM0F83pUVXMaWtYtsX6XeD1JSfPcZfoTE2EBEXR PZTsMOr06QgWdGlR3VlN5koSaGk8rac/St/Ij/a3MlXjUHjrJs9y1MSLHFO8jZXqQUI6 1GnWMCEoDhDa2E+2+P8UCd1Q4ZM/Y0cXYb5oA/5VAxXPRamrOpNeFNmoHjzIsVaalkBw VBKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=olsrBNGW/Pb4xjghTas3zDSUg0a2BgOcBNcDz5d7yL4=; b=ITEa46+puHOymDpTDWSNbjPUZuRPrX2YqQfZwr7+Ka7OlrFAR/o94etjBdob+2wRlF Ry9A9FVOTt5Vfyq7Sr6gAHYKfj07pKg4it0S7igI/LdG0Kuegb86MWXFn7OTGVCrBpcr CRqW5JF9z5Z8T4+ZUxN54JkxiRM/T7hitsN1I6IRC38rb5WtmTPHqT2m3e6ld1ikMSIT zt1n5gj1ay1QzFxBcyaP660AeGL4UK4q+7r+IwS6w/NgzfQ3wzhyS0QW6NXYCyD1oIoj 2nZZoWtCaTvyEVmcOiCtCVvlGoGGWcsdOPHBg23cXSZ7k9f4uhrEPWvOefr624dBaVRA r+uQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-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 l73-20020a63914c000000b0043873f43273si74059pge.375.2022.09.08.03.41.28; Thu, 08 Sep 2022 03:41:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229796AbiIHKg0 (ORCPT + 99 others); Thu, 8 Sep 2022 06:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbiIHKgZ (ORCPT ); Thu, 8 Sep 2022 06:36:25 -0400 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5452B9D105 for ; Thu, 8 Sep 2022 03:36:23 -0700 (PDT) Received: from [192.168.1.138] ([37.4.248.23]) by mrelayeu.kundenserver.de (mreue009 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MYNW6-1oslzN1DHe-00VReT; Thu, 08 Sep 2022 12:36:11 +0200 Message-ID: <4826b1af-1264-3b3a-e71c-38937c75641c@i2se.com> Date: Thu, 8 Sep 2022 12:36:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 0/5 v3] ext4: Fix performance regression with mballoc Content-Language: en-US To: Jan Kara Cc: linux-ext4@vger.kernel.org, Thorsten Leemhuis , Ojaswin Mujoo , Harshad Shirwadkar , Ted Tso References: <20220908091301.147-1-jack@suse.cz> From: Stefan Wahren In-Reply-To: <20220908091301.147-1-jack@suse.cz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:Ts8T1ViXZARE54Ba9rnvEpCQ70Ei8YyYLJ2c5WfBh0T9NkGdVaX keqXFq1ST2HAkYs7J0MaKQGcNa4Q+Y0aUTp482Aif0357WU5QWH0tWpOaGCQ3FvBHRRpznS oYPPljxpZdmQ62EKTowI8ZpmdBbEtIEdVd4MnJ3RA6HKfwu2LtK8J2NO5Xfm5hxNehJJAsS aN9+/NyH5OgZ8x/PVEHdA== X-UI-Out-Filterresults: notjunk:1;V03:K0:mbK1tYhJX9Y=:YrNHR3vCnznWHEdSPAMO4A 1j8yNDWO14/h95KzFpA9UW1dY93n/oG3J356SK0P2Pu3ZzMclU0TMHxd7s1LYVgCUD+6C5xMB erb0RJfXD9BDLsiIjcKXEtUe+Ymt8fupROsmnrLhFZxn0mgxHKTWlbWAjDbbIB7ua7/szHrUH 6EtbP3K10gbWgkq0EhLq06HSfFLSpAw+1qQ+29cgjEMFOXyoKyNbRUl9rxsG0O3GOKGl+SnpV +UTVbTBfV3uiFGSsWC3/iXEIciWqaWwd7CLp3S9bFkW4oDWeoQ8kEA1AFz4PdX8KUyHqDPFl0 D6iFeLPuTG48Pg096n+FBh4OWjLNeFJqNwjzYurnm09HggQZcxCTz0rXZdl5zS4IYig0aypib yWQlBzd+4gl7Uc0PkwLlRjjG6tu+/c1E9SbfSzeZ/EGwPrIWhHzNgWULI5X08HDMBVaJlnMJP tAoD1liiI8tBaz9ctzmb661wkhK0bhfhlhi9BoQEt40C7hQCMngnb+3HbdB/eDwK3XkcV6vKH dtRkb2Q5S5tZ6C7HDBx4ygnD2A/fIL4ofhKrYBYxjYFOcm9aAOtY7P6GMaIeNrF8jZw8subh2 vKutGwI3mdM7RxOuOxeCAYW8bui4Ga0YuuUBQ8FNHR+rz0jQLuyMfVol2sSknGNroyxhFkQBh UKU4cRLUXnWHzL3ooikFrWmuOeKMqyLcXzl0rnH8VuhfxCDF9AelrtMuOUqpEH9GmNiUqT0TS n19lwPHC3RopbyjjQC+vI0i9bOz8YXguoVPvo6R8wKUKRg6i1oFaN6/ptQSUBU1+iXFj1L07C 10aDzE0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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-ext4@vger.kernel.org Hi Jan, Am 08.09.22 um 11:21 schrieb Jan Kara: > Hello, > > Here is the third version of my mballoc improvements to avoid spreading > allocations with mb_optimize_scan=1. Since v2 there are only small changes and > fixes found during review and testing. Overall the series looks mostly ready to > go, I just didn't see any comments regarding patch 3 - a fix of metabg handling > in the Orlov allocator which is kind of independent, I've just found it when > reading the code. Also patch 5 needs final review after all the fixes. > > Changes since v1: > - reworked data structure for CR 1 scan > - make small closed files use locality group preallocation > - fix metabg handling in the Orlov allocator > > Changes since v2: > - whitespace fixes > - fix outdated comment > - fix handling of mb_structs_summary procfs file > - fix bad unlock on error recovery path unfortunately the real patches doesn't have v3 which leads to confusion. Just a note: in case this series cannot be applied for stable (5.15), we need a second solution to fix the regression there.