From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: Fwd: [PATCH] cifs: add .splice_write Date: Sat, 27 Jan 2018 07:31:32 -0700 Message-ID: References: <20171228132308.5709-1-kai670@gmail.com> <20180126181320.hc3sz4hyrfytj5d2@Dell-XPS-L322X> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: CIFS , samba-technical To: Steve French , linux-fsdevel , =?UTF-8?Q?Andr=c3=a9s_Souto?= Return-path: In-Reply-To: Content-Language: en-US Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.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