Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932446AbaAHODN (ORCPT ); Wed, 8 Jan 2014 09:03:13 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:60059 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932311AbaAHODM (ORCPT ); Wed, 8 Jan 2014 09:03:12 -0500 Date: Wed, 8 Jan 2014 06:03:07 -0800 From: Christoph Hellwig To: Sergey Meirovich Cc: Christoph Hellwig , Jan Kara , linux-scsi , Linux Kernel Mailing List , Gluk Subject: Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage. Message-ID: <20140108140307.GA588@infradead.org> References: <20140106201032.GA13491@quack.suse.cz> <20140107155830.GA28395@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 07, 2014 at 08:37:23PM +0200, Sergey Meirovich wrote: > Actually my initial report (14.67Mb/sec 3755.41 Requests/sec) was about ext4 > However I have tried XFS as well. It was a bit slower than ext4 on all > occasions. I wasn't trying to say XFS fixes your problem, but that we could implement appending AIO writes in XFS fairly easily. To verify Jan's theory, can you try to preallocate the file to the full size and then run the benchmark by doing a: # fallocate -l and then run it? If that's indeed the issue I'd be happy to implement the "real aio" append support for you as well. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/