Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754107AbZKPViy (ORCPT ); Mon, 16 Nov 2009 16:38:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751019AbZKPViy (ORCPT ); Mon, 16 Nov 2009 16:38:54 -0500 Received: from mx1.redhat.com ([209.132.183.28]:7781 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750911AbZKPVix (ORCPT ); Mon, 16 Nov 2009 16:38:53 -0500 Date: Mon, 16 Nov 2009 16:37:09 -0500 From: Vivek Goyal To: "Alan D. Brunelle" Cc: linux-kernel@vger.kernel.org, jens.axboe@oracle.com Subject: Re: [RFC] Block IO Controller V2 - some results Message-ID: <20091116213709.GK13235@redhat.com> References: <1258404660.3533.150.camel@cail> <20091116211412.GJ13235@redhat.com> <1258407135.3533.152.camel@cail> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1258407135.3533.152.camel@cail> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1898 Lines: 50 On Mon, Nov 16, 2009 at 04:32:15PM -0500, Alan D. Brunelle wrote: > On Mon, 2009-11-16 at 16:14 -0500, Vivek Goyal wrote: > > On Mon, Nov 16, 2009 at 03:51:00PM -0500, Alan D. Brunelle wrote: > > > Hi Vivek: > > > > > > I'm finding some things that don't quite seem right - executive > > > summary: > > > > Hi Alan, > > > > Thanks a lot for such an extensive testing and test results. I am still > > digesting the results but I thought I will make a quick note about writes. > > This patchset works only for sync IO. If you are performing buffered > > writes then you will not see any service differentiation. Providing > > support for buffered write path is in TODO list. > > Ah, I thought you meant sync I/O versus async I/O. So do you mean that > the testing should use _direct_ I/O (bypassing the cache)? Only for Writes. Reads will anyway show up as sync IO at the CFQ, so that's not a problem. You can choose to test these either as direct IO or let them go through page cache. For writes, you need to use direct IO if you are looking for service differentiation with current patchset. Thanks Vivek > > > > > > > > > o I think the apportionment algorithm doesn't work consistently well > > > for writes. > > > > > > o I think there are problems with significant performance loss when > > > doing random I/Os. > > > > This concerns me. I had a quick look and as per your results, even with > > group_idle=0 you are seeing this regression. I guess this might be coming > > from the fact that we idle on sync-noidle workload per group and that > > idling becomes significant as number of groups increase. > > > > Thanks > > Vivek -- 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/