From: Andi Kleen Subject: Re: Is QoS of virtual disk not necessary? Date: 24 Aug 2007 19:26:35 +0200 Message-ID: References: <012001c7e628$96933aa0$4c87380a@ad.spf.cl.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Satoshi Uchida , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser writes: > > Therefore, I think that it is better to develop OS-agnostic I/O control. > > Another nice thing would be that if we do not use CFQ then we do not need a > kernel thread per VBD. It would be probably easy to extend CFQ2 to use an user passed identifier instead of per task for sharing if that's your goal. For a kernel driver like blkback you could just switch around multiple current->io_contexts. And if CFQ2 can manage hundreds of processes I don't see why it couldn't manage hundreds of guests. Although you probably should not put that many on a single device anyways; or rather if it's a single device for that many it's likely a RAM backed big storage box that doesn't need much scheduling anyways. The claim that CFQ2 is desktop oriented in this thread earlier is also not true. The desktop oriented scheduler is more AS and CFQ2 is widely and successfully used in server applications. -Andi