From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 7 Aug 2001 09:24:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 7 Aug 2001 09:23:50 -0400 Received: from humbolt.nl.linux.org ([131.211.28.48]:61702 "EHLO humbolt.nl.linux.org") by vger.kernel.org with ESMTP id ; Tue, 7 Aug 2001 09:23:40 -0400 Content-Type: text/plain; charset=US-ASCII From: Daniel Phillips To: Anton Altaparmakov , "Stephen C. Tweedie" Subject: Re: [RFC] using writepage to start io Date: Tue, 7 Aug 2001 15:29:26 +0200 X-Mailer: KMail [version 1.2] Cc: Chris Mason , linux-kernel@vger.kernel.org, linux-mm@kvack.org In-Reply-To: <01080623182601.01864@starship> <5.1.0.14.2.20010807123805.027f19a0@pop.cus.cam.ac.uk> In-Reply-To: <5.1.0.14.2.20010807123805.027f19a0@pop.cus.cam.ac.uk> MIME-Version: 1.0 Message-Id: <01080715292606.02365@starship> Content-Transfer-Encoding: 7BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 07 August 2001 14:02, Anton Altaparmakov wrote: > At 12:02 07/08/01, Stephen C. Tweedie wrote: > >On Mon, Aug 06, 2001 at 11:18:26PM +0200, Daniel Phillips wrote: > >FWIW, we've seen big performance degradations in the past when > > testing different ext3 checkpointing modes. You can't reuse a disk > > block in the journal without making sure that the data in it has > > been flushed to disk, so ext3 does regular checkpointing to flush > > journaled blocks out. That can interact very badly with normal VM > > writeback if you're not careful: having two threads doing the same > > thing at the same time can just thrash the disk. > > > >Parallel sync() calls from multiple processes has shown up the same > >behaviour on ext2 in the past. I'd definitely like to see at most > > one thread of writeback per disk to avoid that. > > Why not have a facility with which each fs can register their own > writeback functions with a time interval? The daemon would be doing > the writing to the device and would be invoking the fs registered > writers every