Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp965260rda; Sun, 22 Oct 2023 19:16:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE9S7ujRFKHVQ6se5uxkZ8WqMFJ6U72aD2oequFRkeGrw7aUTiWb6bmHvKronxTs1lhdnX/ X-Received: by 2002:a05:6358:9195:b0:140:f00a:ee2c with SMTP id j21-20020a056358919500b00140f00aee2cmr11624155rwa.11.1698027405550; Sun, 22 Oct 2023 19:16:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698027405; cv=none; d=google.com; s=arc-20160816; b=ci8yYaheiL4A2lxb0X+CeWWrnIYyWOOqUfQKbTVSJwHWOQTdDPXXVJFiKBXdsOQZ+v pw09o2JywyibQnv5cYjLL5uEWWiwnhEBGR4708VuDl4QpaJmtIB691ekKY/O2XreEpei PY0Qxkxooq3TS/4zdG14dz6a3NV+//whT0g85l7mchdG3X3Htq+5jzWyBNKT2BoR4O27 WF6/rTsUYXMOviF4hycf+XFEGUBwXzxkkoaAXetCwNQev3g4rIrJBk4egrBZ5r8BGkVn ab/xYkiVtmU8aTxlf5nlsSntLVzWs5/M+Cic6A4W7k4UX4+e5cMu/7t48CgAN50snBvh v39A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:mime-version :content-transfer-encoding:references:in-reply-to:subject:cc:to:from :date:dkim-signature; bh=33eMngID2E/VMuilCL7bzbEbGIMRvvfhIpdf3D9lPs8=; fh=5FiJylcueVFGfkSyBBmNvVNxg3hQTyR+ef5t5kOTpQs=; b=TR5Kls86P0soITw6J0DydFDOzMYFg/SrHkSEKFKMrGQyM0HAztdI0cbMTvwD559ad1 yB91MtZ4QX0+F2jHpVPT1aRuoYVzMKcMbpw1iZRjp/83jOSyByu+WCNfSXUs1FojX6AI zGIQFV1aNCrH+1W5G8m9MsXYOjPtlCefZKdZWc4plEOJMmcUWuZhhYI5hCRaG79toKYs QYVY3VPg6eTmRASXXjG3xicoRCJ0yHhbu/uw85LM/x1+i3qUTux8VJ++Ff4X+QKxlX6L aFUxGJjyKeEjvFAMrTjlp5PtrLyBnzvuN/DWDb4Mm1V9EOsMdPRn2jiKOMHq4caxwyAX 6Hiw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=AGP4QGqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b69-20020a633448000000b00588fe3d83b3si5626450pga.408.2023.10.22.19.16.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 19:16:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@163.com header.s=s110527 header.b=AGP4QGqk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=163.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1151E808A37B; Sun, 22 Oct 2023 19:16:43 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233005AbjJWCQe (ORCPT + 99 others); Sun, 22 Oct 2023 22:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229489AbjJWCQb (ORCPT ); Sun, 22 Oct 2023 22:16:31 -0400 Received: from m1345.mail.163.com (m1345.mail.163.com [220.181.13.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 76A1693; Sun, 22 Oct 2023 19:16:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:Content-Type:MIME-Version: Message-ID; bh=1HW0ANDOOB5ziqCL5xX6+HVEBIq+Al/PA87Yd2ajnVI=; b=A GP4QGqkmQRFWOiUBBdSHwzAZQrYkAW3ZcPm+B+TMEM/oGpE5BcdxgM3Ekp3qf0hu CZjMk2fKBUlocUmSGtLMQ6J49Ep2HdoSp7gBJezDMn6GjebaXS21OLllOi/ESP7P 7nZlAxmlYYshn8/FCdglDcFJzQ+cuW15V3j+Zf8wmQ= Received: from 00107082$163.com ( [111.35.186.243] ) by ajax-webmail-wmsvr45 (Coremail) ; Mon, 23 Oct 2023 10:16:14 +0800 (CST) X-Originating-IP: [111.35.186.243] Date: Mon, 23 Oct 2023 10:16:14 +0800 (CST) From: "David Wang" <00107082@163.com> To: "Dave Chinner" Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PERFORMANCE]fs: sendfile suffer performance degradation when buffer size have performance impact on underling IO X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.14 build 20230109(dcb5de15) Copyright (c) 2002-2023 www.mailtech.cn 163com In-Reply-To: References: <28de01eb.208.18b4f9a0051.Coremail.00107082@163.com> X-NTES-SC: AL_QuySCvyZuEss4iKaZOkXn0oTju85XMCzuv8j3YJeN500hynS8DIxUkJzEFTo/d2tCQKqjSWybhFu6OVLUY53XZ09oMdV4q4C066prKtq5lz4 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset=GBK MIME-Version: 1.0 Message-ID: <61f74c43.16f9.18b5a51868f.Coremail.00107082@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: LcGowAD3vzRv1zVl0uYWAA--.56189W X-CM-SenderInfo: qqqrilqqysqiywtou0bp/1tbiOwYRqmC5oBhZ1wAEst X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Spam-Status: No, score=-0.3 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Sun, 22 Oct 2023 19:16:43 -0700 (PDT) CgoKQXQgMjAyMy0xMC0yMyAwNjo1MzoxNywgIkRhdmUgQ2hpbm5lciIgPGRhdmlkQGZyb21vcmJp dC5jb20+IHdyb3RlOgoKPgo+T19EU1lOQyBpcyB0aGUgcHJvYmxlbSBoZXJlLgo+Cj5UaGlzIGZv cmNlcyBhbiBJTyB0byBkaXNrIGZvciBldmVyeSB3cml0ZSBJTyBzdWJtaXNzaW9uIGZyb20KPnNl bmRmaWxlIHRvIHRoZSBmaWxlc3lzdGVtLiBGb3Igc3luY2hyb25vdXMgSU8gKGFzIGluICJ3YWl0 aW5nIGZvcgo+Y29tcGxldGlvbiBiZWZvcmUgc2VuZGluZyB0aGUgbmV4dCBJTyksIGEgbGFyZ2Vy IElPIHNpemUgd2lsbAo+KmFsd2F5cyogbW92ZSBkYXRhIGZhc3RlciB0byBzdG9yYWdlLgo+Cj5G V0lXLCB5b3UnbGwgZ2V0IHRoZSBzYW1lIGJlaGF2aW91ciBpZiB5b3UgdXNlIE9fRElSRUNUIGZv ciBlaXRoZXIKPnNvdXJjZSBvciBkZXN0aW5hdGlvbiBma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