Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755687AbXJIO4S (ORCPT ); Tue, 9 Oct 2007 10:56:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752939AbXJIO4L (ORCPT ); Tue, 9 Oct 2007 10:56:11 -0400 Received: from ns2.suse.de ([195.135.220.15]:46690 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753011AbXJIO4K (ORCPT ); Tue, 9 Oct 2007 10:56:10 -0400 To: Michael Stiller Cc: linux-kernel@vger.kernel.org Subject: Re: howto boost write(2) performance? References: <1191937817.3641.9.camel@blackberry> From: Andi Kleen Date: 09 Oct 2007 16:56:09 +0200 In-Reply-To: <1191937817.3641.9.camel@blackberry> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 687 Lines: 12 Michael Stiller writes: > > The write(2) performance is not good enough, the writer threads take to > much time, and i ask you for ideas, howto to boost the write > performance. You could use an O_DIRECT write if the data is suitably aligned and your IO sizes are big enough (O_DIRECT is usually a loss on small IOs). It will also be synchronous, but if you do it from a separate thread anyways that should be fine. -Andi - 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/