From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f42.google.com ([74.125.83.42]:39691 "EHLO mail-pg0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751904AbeA0Obh (ORCPT ); Sat, 27 Jan 2018 09:31:37 -0500 Received: by mail-pg0-f42.google.com with SMTP id w17so1749519pgv.6 for ; Sat, 27 Jan 2018 06:31:37 -0800 (PST) Subject: Re: Fwd: [PATCH] cifs: add .splice_write To: Steve French , linux-fsdevel , =?UTF-8?Q?Andr=c3=a9s_Souto?= Cc: CIFS , samba-technical References: <20171228132308.5709-1-kai670@gmail.com> <20180126181320.hc3sz4hyrfytj5d2@Dell-XPS-L322X> From: Jens Axboe Message-ID: Date: Sat, 27 Jan 2018 07:31:32 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On 1/26/18 2:25 PM, Steve French wrote: > The patch did look like it improves the performance of file copy from > Nautilus when I tried it, but would prefer experimenting tool where I > could measure the improvement more precisely. Is there a good command > line tool which generates splice_write indirectly? As expected cp and > dd don't seem to be affected by this patch. You can use fio with ioengine=splice. Or if you have any sendfile() based tools, that should also do the trick, as sendfile() is just a wrapper around splice. -- Jens Axboe