From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7C32BC43334 for ; Thu, 9 Jun 2022 19:58:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240108AbiFIT6l (ORCPT ); Thu, 9 Jun 2022 15:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38408 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231303AbiFIT6k (ORCPT ); Thu, 9 Jun 2022 15:58:40 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 542C19858C for ; Thu, 9 Jun 2022 12:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=Y5fihmUS3SVHkUnu1r+heWGCdbdeH0qXraoMntPM/jQ=; b=QhBiC7IP4kFyuQOw1B2IuJ4t0n v+kg5sumZuL4uMiHtdq++wvRYmGdz+NaEMI4/O+6ADJP8YE+ZsjSaH77iBDJMcE5yaclrxN8EMvMV b8RHQHjYRGs28Tjskg4IB1sWux2WnwEannarVb+DIjlwRD3BckzZ6b49mj9bf7wN/ycZ9emEtgEf9 bktgLvyC2tQhqn2PzEe/3jmg6PHdIqloCmen4CLBbd668Mk6JbSSQAyNX62Ct48fZAgOaMIUAFLNU zUbgXlXTkf5YtKBuifSo7Cnm/s3miLEFTNcFvcFzk9i/qc0oiPZ55Xj1YVcjDpdCqE3RoRuRRfmB8 3IAe3/7w==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nzOIc-00DoOi-0j; Thu, 09 Jun 2022 19:58:34 +0000 Date: Thu, 9 Jun 2022 20:58:33 +0100 From: Matthew Wilcox To: Sedat Dilek Cc: Al Viro , linux-fsdevel@vger.kernel.org, Jens Axboe , Christoph Hellwig Subject: Re: [RFC][PATCHES] iov_iter stuff Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Jun 09, 2022 at 08:22:09PM +0100, Matthew Wilcox wrote: > It's not really that. This is more about per-IO overhead, so you'd want > to do a lot of 1-byte writes to maximise your chance of seeing a > difference. Here's an earlier thread on ->read_iter vs ->read performance costs: https://lore.kernel.org/linux-fsdevel/20210107151125.GB5270@casper.infradead.org/