Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030198AbWJRLEG (ORCPT ); Wed, 18 Oct 2006 07:04:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030200AbWJRLEF (ORCPT ); Wed, 18 Oct 2006 07:04:05 -0400 Received: from embla.aitel.hist.no ([158.38.50.22]:19633 "HELO embla.aitel.hist.no") by vger.kernel.org with SMTP id S1030198AbWJRLEC (ORCPT ); Wed, 18 Oct 2006 07:04:02 -0400 Message-ID: <45360952.5020307@aitel.hist.no> Date: Wed, 18 Oct 2006 13:00:34 +0200 From: Helge Hafting User-Agent: Thunderbird 1.5.0.7 (X11/20060927) MIME-Version: 1.0 To: Jens Axboe CC: Jakob Oestergaard , Arjan van de Ven , "Phetteplace, Thad (GE Healthcare, consultant)" , linux-kernel@vger.kernel.org Subject: Re: Bandwidth Allocations under CFQ I/O Scheduler References: <1161048269.3245.26.camel@laptopd505.fenrus.org> <20061017132312.GD7854@kernel.dk> <20061018080030.GU23492@unthought.net> <20061018095125.GE24452@kernel.dk> In-Reply-To: <20061018095125.GE24452@kernel.dk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1001 Lines: 25 Jens Axboe wrote: > While that may make some sense internally, the exported interface would > never be workable like that. It needs to be simple, "give me foo kb/sec > with max latency bar for this file", with an access pattern or assumed > sequential io. > > Nobody speaks of iops/sec except some silly benchmark programs. I know > that you are describing pseudo-iops, but it still doesn't make it more > clear. > Things aren't as simple > How about "give me 10% of total io capacity?" People understand this, and the io scheduler can then guarantee this by ensuring that the process gets 1 out of 10 io requests as long as it keeps submitting enough. The admin can then set a reasonable percentage depending on the machine's capacity. Helge Hafting - 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/