Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760027AbZCaOK6 (ORCPT ); Tue, 31 Mar 2009 10:10:58 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758769AbZCaOKp (ORCPT ); Tue, 31 Mar 2009 10:10:45 -0400 Received: from exc05vs1.exchange.cysonet.com ([85.158.200.117]:23494 "EHLO exc05vs1.exchange.cysonet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759285AbZCaOKo (ORCPT ); Tue, 31 Mar 2009 10:10:44 -0400 User-Agent: Microsoft-Entourage/12.15.0.081119 Date: Tue, 31 Mar 2009 16:10:38 +0200 Subject: Re: Page Cache writeback too slow, SSD/noop scheduler/ext2 From: Jos Houtman To: Wu Fengguang CC: Nick Piggin , , Jeff Layton , Dave Chinner , , , , , Message-ID: Thread-Topic: Page Cache writeback too slow, SSD/noop scheduler/ext2 Thread-Index: Acmx/KJzGrXCkxjyQS217hhdWTGQsQADdT8U In-Reply-To: <20090331123112.GA15098@localhost> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-OriginalArrivalTime: 31 Mar 2009 14:10:39.0649 (UTC) FILETIME=[786B6110:01C9B20A] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 34 >> 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. > > I noticed this annoying writes-starve-reads problem too. I'll look into it. Thanks > >> Is there anything I can do about this behaviour by creating a better >> interleaving of the reads and writes? > > I guess it should be handled in the generic block io layer. Once we > solved the writes-starve-reads problem, the bursty-writeback behavior > becomes a no-problem for SSD. Yeah this was the part where I figured the io-schedulers kicked in, but obviously I was wrong :P. If I can do anything more to help this along, let me know. Thanks 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/