From mboxrd@z Thu Jan 1 00:00:00 1970 From: Changli Gao Subject: Re: Splice status Date: Tue, 13 Jul 2010 21:58:00 +0800 Message-ID: References: <1278334254.2877.158.camel@edumazet-laptop> <1278388580.2466.305.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: Eric Dumazet , Jens Axboe , "netdev@vger.kernel.org" To: Ofer Heifetz Return-path: Received: from mail-vw0-f46.google.com ([209.85.212.46]:49250 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751351Ab0GMN6V (ORCPT ); Tue, 13 Jul 2010 09:58:21 -0400 Received: by vws5 with SMTP id 5so5834793vws.19 for ; Tue, 13 Jul 2010 06:58:20 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Tue, Jul 13, 2010 at 8:42 PM, Ofer Heifetz wrote: > Write and re-write numbers are in MBps. > Iozone performs re-write meaning reads a chunk of data and writes it back, so basically the performance for this operation should be quiet high since kernel caches usage. > > I forgot to mention that I used EXT4 fs. Maybe it is caused by this line in generic_file_splice_write(): balance_dirty_pages_ratelimited_nr(mapping, nr_pages); Please try to test it again without this line. -- Regards, Changli Gao(xiaosuo@gmail.com)