Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Nov 2001 20:08:34 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Nov 2001 20:08:15 -0500 Received: from [206.196.53.54] ([206.196.53.54]:43664 "EHLO waste.org") by vger.kernel.org with ESMTP id ; Fri, 23 Nov 2001 20:07:55 -0500 Date: Fri, 23 Nov 2001 19:10:04 -0600 (CST) From: Oliver Xymoron To: linux-kernel Subject: ext3: kjournald and spun-down disks Message-ID: 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 My laptop drive seems to be waking up more often today and I suspect it's somehow ext3/kjournald that's to blame. Does it obey the timings in /proc/sys/vm/bdflush or does it have its own flush timer? There's a more general problem with VM on laptops which is that the system doesn't have any notion of spun-down disks. Flush intervals should be short when the disk is running and long when it isn't and decisions about which pages to discard or swap might be improvable. Pre-emptive swap when the disk is spun down is a loss.. -- "Love the dolphins," she advised him. "Write by W.A.S.T.E.." - 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/