From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935663Ab0KQXE3 (ORCPT ); Wed, 17 Nov 2010 18:04:29 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:46441 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758610Ab0KQXE1 (ORCPT ); Wed, 17 Nov 2010 18:04:27 -0500 Date: Wed, 17 Nov 2010 15:03:30 -0800 From: Andrew Morton To: Wu Fengguang Cc: Jan Kara , Christoph Hellwig , Dave Chinner , "Theodore Ts'o" , Chris Mason , Peter Zijlstra , Mel Gorman , Rik van Riel , KOSAKI Motohiro , linux-mm , , LKML Subject: Re: [PATCH 00/13] IO-less dirty throttling v2 Message-Id: <20101117150330.139251f9.akpm@linux-foundation.org> In-Reply-To: <20101117042720.033773013@intel.com> References: <20101117042720.033773013@intel.com> X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 17 Nov 2010 12:27:20 +0800 Wu Fengguang wrote: > On a simple test of 100 dd, it reduces the CPU %system time from 30% to 3%, and > improves IO throughput from 38MB/s to 42MB/s. The changes in CPU consumption are remarkable. I've looked through the changelogs but cannot find mention of where all that time was being spent? How well have these changes been tested with NFS? The changes are complex and will probably do Bad Things for some people. Does the code implement sufficient debug/reporting/instrumentation to enable you to diagnose, understand and fix people's problems in the minimum possible time? If not, please add that stuff. Just go nuts with it. Put it in debugfs, add /* DELETEME */ comments and we can pull it all out again in half a year or so. Or perhaps litter the code with temporary tracepoints, provided we can come up with a way for our testers to trivially gather their output.