Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5636986iob; Mon, 9 May 2022 23:24:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjklqlto6cUFOBOcGFHFh43ZYCuJkY4cDyCZ+LT6ZZsHFCxJsqdRp6AR84VY6tOajMB8NV X-Received: by 2002:a17:90a:2f84:b0:1dd:940:50e7 with SMTP id t4-20020a17090a2f8400b001dd094050e7mr11783276pjd.210.1652163847831; Mon, 09 May 2022 23:24:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652163847; cv=none; d=google.com; s=arc-20160816; b=FZ/ssD8CbIftsCxmWXpMKZmel8A8RLUZF5yq7nRpX1jiz5biU3HuMC9lhck2HiHvbM yUI+9+wCvaNDrfPFNXM/2MHeAQrWuKz1jcek15MJeYDq8QJYkkqJB6P6NfiEpQdEzdNS hwnuu6Lu2iTRwTFfsJBER/t9ti8qVugzFpP2Fg2Ru0Dpx1ADzACDg1sEbHSyll8BhopS gx3yBQ4E86cnvmagOWLSJvixa70K1DINYXNGYcX0uvuTV8LIqQGMbxm9L1SP0X5WZ4AG UdsJMZpW9FaOQ8C2PqABjtuNf3RKEWvmteEs/C+RDaAx5wBvVsbMTad4pZxRkKtUCjIx zsvQ== 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:subject:user-agent:mime-version:date:message-id; bh=9Fmtb6i/DJlCmwp8hbzer1RPd5jx8d+CvV707BqjKww=; b=ykaQtiXQd9pdIExTHUAoqHpxBHMKy3nb8yo5Cb2wVdBE5MWcDkNJRFcavolMtijZup 7suO9LJRbtQzNBMsgqO0wKZ8ePkhe1XcT5FyItvfmO1aMPeY6ieZdhJeZCyiysIGbIde Inottr+mU/jvvNQW5EG5QOJA/tSMgFTKQ8wae72vpsezD8z9E3+H/5Ma+UIaUzDEKiKG tf+oiULlODzDKOa572NeeUN1RVcViJB29ohYJ82tb+bRNkvr5d4PVuFXQ8phVwaZRuJv U7sUPEAr2ewsLrAN7C0F8PLa7uenXdpyLgLYZ8YZ/aD702v0/r+uF9OuZViGlM867EbA L1uA== 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 a72-20020a63904b000000b003c62371dfa2si10213198pge.271.2022.05.09.23.23.53; Mon, 09 May 2022 23:24:07 -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 S235033AbiEJD1N (ORCPT + 99 others); Mon, 9 May 2022 23:27:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230317AbiEJD1L (ORCPT ); Mon, 9 May 2022 23:27:11 -0400 X-Greylist: delayed 166 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 09 May 2022 20:23:13 PDT Received: from p3plwbeout23-04.prod.phx3.secureserver.net (p3plsmtp23-04-2.prod.phx3.secureserver.net [68.178.252.168]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B537F3B54B for ; Mon, 9 May 2022 20:23:13 -0700 (PDT) Received: from mailex.mailcore.me ([94.136.40.141]) by :WBEOUT: with ESMTP id oGQBnPPDPXwYxoGQCnr98K; Mon, 09 May 2022 20:20:24 -0700 X-CMAE-Analysis: v=2.4 cv=N9vsq0xB c=1 sm=1 tr=0 ts=6279d9f8 a=bheWAUFm1xGnSTQFbH9Kqg==:117 a=84ok6UeoqCVsigPHarzEiQ==:17 a=ggZhUymU-5wA:10 a=IkcTkHD0fZMA:10 a=oZkIemNP1mAA:10 a=m0AoEl9UtWfG1dJMmG4A:9 a=QEXdDO2ut3YA:10 X-SECURESERVER-ACCT: phillip@squashfs.org.uk X-SID: oGQBnPPDPXwYx Received: from 82-69-79-175.dsl.in-addr.zen.co.uk ([82.69.79.175] helo=[192.168.178.33]) by smtp03.mailcore.me with esmtpa (Exim 4.94.2) (envelope-from ) id 1noGQB-0003JY-7R; Tue, 10 May 2022 04:20:23 +0100 Message-ID: <1dff431e-f51d-edb0-5abc-353ceeef50ed@squashfs.org.uk> Date: Tue, 10 May 2022 04:20:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: squashfs performance regression and readahea To: Matthew Wilcox Cc: Xiongwei Song , Zheng Liang , Zhang Yi , Hou Tao , Miao Xie , Andrew Morton , Linus Torvalds , Hsin-Yi Wang , "Song, Xiongwei" , "linux-mm@kvack.org" , "squashfs-devel@lists.sourceforge.net" , open list References: <13af40a9-6b60-6875-8326-0827e34182d5@squashfs.org.uk> From: Phillip Lougher In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailcore-Auth: 439999529 X-Mailcore-Domain: 1394945 X-123-reg-Authenticated: phillip@squashfs.org.uk X-Originating-IP: 82.69.79.175 X-CMAE-Envelope: MS4xfE4OojHQqKeUWqDeUgXnELl39/Zvj8pNo3AAivap8TE3326ePWGy3LQRV90EjUwMMsjNDuG+CkILOJQ/UR0bt7sMNhOlHJXjZDU0pWgMBVncYEi5+59N 9QbT5u8ofvg+CB5HoKcp/kGfM1yMJBAWNbrCDpv6S4mwvNa/kAvVbe81l4n01i8NcvmDm4ra+K5TUslGG6NuDvFx5cWQYaVchNs= X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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 10/05/2022 03:35, Matthew Wilcox wrote: > On Tue, May 10, 2022 at 02:11:41AM +0100, Phillip Lougher wrote: >> On 09/05/2022 14:21, Matthew Wilcox wrote: >>> On Mon, May 09, 2022 at 08:43:45PM +0800, Xiongwei Song wrote: >>>> Hi Hsin-Yi and Matthew, >>>> >>>> With the patch from the attachment on linux 5.10, ran the command as I >>>> mentioned earlier, >>>> got the results below: >>>> 1:40.65 (1m + 40.65s) >>>> 1:10.12 >>>> 1:11.10 >>>> 1:11.47 >>>> 1:11.59 >>>> 1:11.94 >>>> 1:11.86 >>>> 1:12.04 >>>> 1:12.21 >>>> 1:12.06 >>>> >>>> The performance has improved obviously, but compared to linux 4.18, the >>>> performance is not so good. >>>> >>>> Moreover, I wanted to test on linux 5.18. But I think I should revert >>>> 9eec1d897139 ("squashfs: provide backing_dev_info in order to disable >>>> read-ahead"), >>>> right? Otherwise, the patch doesn't work? >>> >>> I've never seen patch 9eec1d897139 before. If you're going to point >>> out bugs in my code, at least have the decency to cc me on it. It >>> should never have gone in, and should be reverted so the problem can >>> be fixed properly. >> >> You are not in charge of what patches goes into Squashfs, that is my >> perogative as maintainer of Squashfs. > > I think you mean 'prerogative'. And, no, your filesystem is not your > little fiefdom, it's part of a collaborative effort. > This isn't a spelling contest, and if that's the best you can do you have already failed. Be carefull here also, I have been maintainer of Squashfs for 20 years, and was kernel maintainer for both Ubuntu and Redhat for 10 years, and so I am experienced member of the community. You reply is bordering on offensive and arrogant, especially considering it is unwarranted. I did not set out to offend you, and I don't appreciate it. About 8 years ago I decided to refrain from active involvement in the kernel community, because I decided the level of discourse was disgusting, and I had enough of it. I poped up now to defend my approval of the Huawei patch. I am *quite* happy not to have any more involvement until necessary. So having said what I want to say, I will leave it at that. You have just proved why I have minimised my involvement. No doubt you'll throw your toys out the pram, but, I'm no longer listening so don't bother. >> That patch (by Huawei) fixes the performance regression in Squashfs >> by disabling readahead, and it is good workaround until something >> better. > > You *didn't even report the problem to me*. How can it be fixed if I'm > not aware of it? > There was a email discussion last year, which I responded to, and got ignored. I will find it out tomorrow, perhaps. But I will probably not bother, because life is too short. Cheers Phillip