Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1311865rwb; Fri, 19 Aug 2022 01:05:14 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fIBUjv+8O5jdPl8kZWjo7R8AammXSdyiRuP7qwyXemZX7LP9Akv866mCnhwVte4qrN/Dn X-Received: by 2002:a05:6402:22f3:b0:446:39e9:5d0e with SMTP id dn19-20020a05640222f300b0044639e95d0emr1819118edb.300.1660896314479; Fri, 19 Aug 2022 01:05:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660896314; cv=none; d=google.com; s=arc-20160816; b=F7mZ8tfvPJPDDlYndKzMHL6C7sU+iBSAdN5lfvLQ+5UYEWvYdffp8maG9dwdpmh5aL OIIcJASS00lUV49VMXCxk+rE6yD5gaQznJx5XpxvRlxAiZPkRoh5jrpUwmFshkwFETE3 +K1l0BeTImBdW0YqCaVeqajDJGUrT6u17kcETRT2IFs0iuUjkefSPRYHIhNwUEy1fA3+ ZnYZXFo09kAEwOS6WsIuWd+RuQH/bpN5HE5+VnsxCTPqtbmYwalaGNOa9YyQ6d2tGYYE +AJ9gb6BoeecG3k1qDmCGaW2RzEy+kATUiDabu+QhA/aD+kaMOLwt22ugxGOig+OBqIH vr4Q== 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=DQWJjgzFMzHfopVI5yyP/2I6+tF7HctBDaoL4DaJZdA=; b=r4THxlGEwxH0bh5NYdfAQ3p3L6Mb1H18CS40wEpFosZ15dbNEK+MyVS97nNXPqhvv8 suBian5WIjVKGUr6Tfx35SCc9JLwRTHxZfJCAMpfGxhpNfWOB1mpbN/zQsBpYLS3H9bo DC+D3G3p1ssLXUg6wuz5GycFuloqVjAuHs5NKoeRXT29kFHc5x5ZVBaRLroewnYU07R1 +pTFuwhc/eIpBtyzP7wMrmacrEk07bWBMFjApU++51qorVHc/Qx+dAmoVhgzNy8tkrKA Gp/GnxwVL4OUzvx5aLi7p/QqtfmepamCq6rASGH84X4CCFrjpl0Rgxqt6pr2hDiSC35h 0I5Q== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g8-20020a056402320800b004464a958c0asi360729eda.129.2022.08.19.01.04.48; Fri, 19 Aug 2022 01:05:14 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347260AbiHSHyu (ORCPT + 99 others); Fri, 19 Aug 2022 03:54:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345865AbiHSHyr (ORCPT ); Fri, 19 Aug 2022 03:54:47 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B5F0DB04A; Fri, 19 Aug 2022 00:54:45 -0700 (PDT) Received: from fraeml712-chm.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4M8DTw5Pw8z68BVL; Fri, 19 Aug 2022 15:51:32 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by fraeml712-chm.china.huawei.com (10.206.15.61) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 19 Aug 2022 09:54:42 +0200 Received: from [10.195.34.98] (10.195.34.98) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.24; Fri, 19 Aug 2022 08:54:42 +0100 Message-ID: <4014a51d-0925-c0dc-70dc-1a465dd278e7@huawei.com> Date: Fri, 19 Aug 2022 08:54:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [ata] 0568e61225: stress-ng.copy-file.ops_per_sec -15.0% regression To: Oliver Sang , Damien Le Moal CC: Christoph Hellwig , "Martin K. Petersen" , LKML , "Linux Memory Management List" , , , , , , , References: <2e9cf5a6-c043-5ccf-e363-097c6c941891@huawei.com> <43eaa104-5b09-072c-56aa-6289569b0015@opensource.wdc.com> <28d6e48b-f52f-9467-8260-262504a1a1ff@huawei.com> <743867a6-b266-58e4-a8a6-542757916f0a@huawei.com> From: John Garry In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.195.34.98] X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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-kernel@vger.kernel.org On 19/08/2022 07:24, Oliver Sang wrote: >> As you probably saw, I sent "[RFT PATCH] ata: libata: Set __ATA_BASE_SHT >> max_sectors" for testing on top of v6.0-rc1, and I hope that then we can get Based on result below, I wonder if SAS HBAs (which use libata) should not use default SCSI max_sectors also. Any libsas HBA driver does today, IIRC. >> same performance as v5.19 > yeah, our test confirmed your expectation: > > stress-ng.copy-file.ops_per_sec > v5.19 - 26.85 > v6.0-rc1 - 23.03 > v6.0-rc1 + your patch - 26.94 > great, thanks Thanks, John