From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nivedita Singhvi Subject: Re: poor domU VBD performance. Date: Thu, 31 Mar 2005 13:59:23 -0800 Message-ID: <424C72BB.6030405@us.ibm.com> References: <20050331070514.GH9204@suse.de> <20050331071043.GI9204@suse.de> <63537e2b84ddbba6cb3d970f73c6ab35@cl.cam.ac.uk> <20050331081900.GK9204@suse.de> <20050331143312.GB13179@vienna.egenera.com> <20050331153449.GE12579@tpkurt.garloff.de> <20050331153925.GP9204@suse.de> <20050331154130.GQ9204@suse.de> <424C24F2.1040002@us.ibm.com> <20050331182741.GF10889@tpkurt.garloff.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050331182741.GF10889@tpkurt.garloff.de> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kurt Garloff Cc: Ian Pratt , Xen development list , Philip R Auld , Vincent Hanquez , Jens Axboe , Christian Limpach List-Id: xen-devel@lists.xenproject.org Kurt Garloff wrote: > Hi Niv, > > On Thu, Mar 31, 2005 at 08:27:30AM -0800, Nivedita Singhvi wrote: > >>Although the usual answer for what scheduling algorithm is >>best is almost always "depends on the workload", it was >>suggested to me that the cfq was still the best option to >>go with. What do people feel about that? (Or is AS going >>to remain default?). > > > This is a different dicussion. Yes, I did change the subject a little ;). > But, yes, I would agree that CFQ (v3) is the best default choice. Yep, even though some of the complications in the Xen environment (as you point out below) will have to be addressed. > Jens, should we maybe make sure that the blockback driver does use > different (fake) UIDs for the domains that it serves to provide > the fairness between them. Next step would be to allow to tweak > IO priorities. Or, to make it more general, add a parameter (call > it uid), that a block driver can pass down to the IO scheduler > and that would normally be current->uid but may be set differently? > It's part of 2.6.11. > garloff@tpkurt:~ [0]$ cat /sys/block/hda/queue/scheduler > noop anticipatory deadline [cfq] I just saw Jens' reply as well. This is much goodness :). Very handy indeed! thanks, Nivedita