From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Zijlstra Subject: Re: [RFC][PATCH 5/7] writeback: use 64MB MAX_WRITEBACK_PAGES Date: Thu, 10 Sep 2009 06:53:18 +0200 Message-ID: <1252558398.7205.0.camel@laptop> References: <20090909145141.293229693@intel.com> <20090909150600.874037375@intel.com> <20090909232938.GD24951@mit.edu> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: Wu Fengguang , Andrew Morton , Jens Axboe , Dave Chinner , Chris Mason , Christoph Hellwig , jack@suse.cz, Artem Bityutskiy , LKML , linux-fsdevel@vger.kernel.org To: Theodore Tso Return-path: Received: from casper.infradead.org ([85.118.1.10]:57857 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750781AbZIJExs (ORCPT ); Thu, 10 Sep 2009 00:53:48 -0400 In-Reply-To: <20090909232938.GD24951@mit.edu> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, 2009-09-09 at 19:29 -0400, Theodore Tso wrote: > On Wed, Sep 09, 2009 at 10:51:46PM +0800, Wu Fengguang wrote: > > + * The maximum number of pages to writeout in a single periodic/background > > + * writeback operation. 64MB means I_SYNC may be hold for up to 1 second. > > + * This is not a big problem since we normally do kind of trylock on I_SYNC > > + * for non-data-integrity writes. Userspace tasks doing throttled writeback > > + * do not use this value. > > What's your justification for using 64MB? Where are you getting 1 > second from? On a fast RAID array 64MB can be written in much less > than 1 second. Worse, on my 5mb/s usb stick writing out 64m will take forever.