Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757308AbZCaMRU (ORCPT ); Tue, 31 Mar 2009 08:17:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753420AbZCaMRB (ORCPT ); Tue, 31 Mar 2009 08:17:01 -0400 Received: from exc01vs1.exchange.cysonet.com ([85.158.200.82]:51190 "EHLO exc01vs1.exchange.cysonet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753130AbZCaMRA (ORCPT ); Tue, 31 Mar 2009 08:17:00 -0400 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Tue, 31 Mar 2009 14:16:52 +0200 Subject: Re: Page Cache writeback too slow, SSD/noop scheduler/ext2 From: Jos Houtman To: Jos Houtman , Wu Fengguang CC: Nick Piggin , , Jeff Layton , Dave Chinner , , , , , Message-ID: Thread-Topic: Page Cache writeback too slow, SSD/noop scheduler/ext2 Thread-Index: AcmwFsYCqkFwmUxBTpma/AE+p/juyQBOAivbACrxCUE= In-Reply-To: X-Priority: 10 Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 31 Mar 2009 12:16:54.0064 (UTC) FILETIME=[940DC300:01C9B1FA] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 990 Lines: 26 > > Next to that I was wondering if there are any plans to make sure that not > all dirty-files are written back in the same interval. > > In my case all database files are written back each 30 seconds, while I > would prefer them to be more divided over the interval. There another question I have: does the writeback go through the io scheduler? Because no matter the io scheduler or the tuning done, the writeback algorithm totally starves the reads. See the url below for an example with CFQ, but deadline or noop all show this behaviour: http://94.100.113.33/535450001-535500000/535451701-535451800/535451800_6_L7g t.jpeg Is there anything I can do about this behaviour by creating a better interleaving of the reads and writes? Jos -- 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/