Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754569AbXH0MyS (ORCPT ); Mon, 27 Aug 2007 08:54:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752292AbXH0MyH (ORCPT ); Mon, 27 Aug 2007 08:54:07 -0400 Received: from agminet01.oracle.com ([141.146.126.228]:63930 "EHLO agminet01.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751307AbXH0MyG (ORCPT ); Mon, 27 Aug 2007 08:54:06 -0400 Date: Mon, 27 Aug 2007 08:43:01 -0400 From: Chris Mason To: Arjan van de Ven Cc: Fengguang Wu , Andrew Morton , David Chinner , Michael Rubin , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] [RFC][PATCH] clustered writeback Message-ID: <20070827084301.73217bde@think.oraclecorp.com> In-Reply-To: <20070827050336.6a7e8e16@laptopd505.fenrus.org> References: <388214369.05937@ustc.edu.cn> <20070827050336.6a7e8e16@laptopd505.fenrus.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.11; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1326 Lines: 32 On Mon, 27 Aug 2007 05:03:36 -0700 Arjan van de Ven wrote: > On Mon, 27 Aug 2007 19:21:52 +0800 > > > > Because it does the work in small batches of 10 inodes, when the > > system has <=10 dirty inodes, its behavior will reduce to: > > - do a full sweep *at once* on every 25s > > Which means the disk will flicker once every 25s, not bad :) > > 25 seconds is quite not good already though.... it takes a disk a > second or two of no activity to go into low power mode, every 25 > seconds means you now have at least a 10% constant power cost.... > > I don't know the right answer (well other than "make sure inodes > aren't dirty", which involves fixing apps to not do as much file > operations, as well as relatime) but just "every 25s is no big deal" > isn't really the case ;-( But fixing this isn't the job of this patch....It needs something like the laptop mode logic where it says ohhhh, the disk is awake, lets send stuff down. kupdate hitting on the disk isn't really a new problem, I'd rather address it with a different patch series. -chris - 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/