Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757152AbaAHOnd (ORCPT ); Wed, 8 Jan 2014 09:43:33 -0500 Received: from mail-wg0-f47.google.com ([74.125.82.47]:52344 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756754AbaAHOn3 (ORCPT ); Wed, 8 Jan 2014 09:43:29 -0500 MIME-Version: 1.0 In-Reply-To: <20140108140307.GA588@infradead.org> References: <20140106201032.GA13491@quack.suse.cz> <20140107155830.GA28395@infradead.org> <20140108140307.GA588@infradead.org> From: Sergey Meirovich Date: Wed, 8 Jan 2014 16:43:07 +0200 Message-ID: Subject: Re: Terrible performance of sequential O_DIRECT 4k writes in SAN environment. ~3 times slower then Solars 10 with the same HBA/Storage. To: Christoph Hellwig Cc: Jan Kara , linux-scsi , Linux Kernel Mailing List , Gluk Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Christoph, On 8 January 2014 16:03, Christoph Hellwig wrote: > 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. > After fallocate: [root@illin01 ext4]# du -k test_file.* | awk '{print $1}' |sort |uniq 81920 [root@illin01 ext4]# fallocate -l 81920k test_file.* Results are almost the same: 14.68Mb/sec 3758.02 Requests/sec -- 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/