WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Question about the ability of credit scheduler to handle

To: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Question about the ability of credit scheduler to handle I/O and CPU intensive VMs
From: Yuehai Xu <yuehaixu@xxxxxxxxx>
Date: Tue, 12 Oct 2010 08:42:20 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, yhxu@xxxxxxxxx
Delivery-date: Tue, 12 Oct 2010 05:43:22 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=u7oYI8k1h36Y1Fr4Q1QWvIaxs9O9qNfYsbGfKINOw3s=; b=GfDZ+tpwcXksGD6isfhrkwmilAuEFtO0wNPAnwq2y6abWxr+b25QdrUnzSeRUMP4/m mAhqFwN1BRA/U6wZ7gM4b4wu/CeYzJ7KxDESfXaLmmf6tmiSDnVas5sJXuKYyQFn0vER QXnjIYXRaPR4Xtf8CKoCjC9dz/sfltl1lt90A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=SMMvYuwKcgMZlPMVU3BJc0s4SNidCbm27PbtbnwA/GNPXOTKbrLYsqDFYzee40mQni G1kzmTYGwgqGLGXoPXgcvW4hYr5KsfQlhAvJx78T+YYYM1juJdstvfimtUoNDgCPhT5h opm28h27p5J1qeo/GCtXsdMT+ADGYk+6INwwA=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTinuXsv3FUG6Y1VTdgbFQRVknUjCECN1i5P+xigQ@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=Ro24zg-yDPk1+=c0XsZSe2kNn8Gk07Bu4x0WN@xxxxxxxxxxxxxx> <AANLkTin9E1m_jFcj4Ak7nB9OxcQynrznpQ_nNPi_U7hN@xxxxxxxxxxxxxx> <AANLkTikBWZdpOviSEQSNi_pf66A+zYW8FyQVjiCX8ojm@xxxxxxxxxxxxxx> <AANLkTi=Oa0_=vXrr63eALBU2sQa3aLV0NiQHt8hPPvcw@xxxxxxxxxxxxxx> <AANLkTimYTbf5meNptCtuiKWfQGd_qSNCkbCNabfREc_0@xxxxxxxxxxxxxx> <AANLkTintdF5h0-YD6FxjX0dapfbQYdAcK2P-=wHXnBiC@xxxxxxxxxxxxxx> <AANLkTinCbnzLLtNpdQe0x387UeDcy3SzrmffZw1oQAJo@xxxxxxxxxxxxxx> <AANLkTi=r2MzCwwNbNDopBkoCWvQSc=jkeWUy8hxKYD3_@xxxxxxxxxxxxxx> <AANLkTik+tZTr8RQrbCwTFYZjbgW6tDq=LTcoBC2xsQhw@xxxxxxxxxxxxxx> <AANLkTinG-y8gOW1jVpvKgJU2fBiiDkgj5r=FAOv=0J8q@xxxxxxxxxxxxxx> <AANLkTinc+Dar85ZU+_dYb=7AsdWgWpc3N_K_WFSTVbO6@xxxxxxxxxxxxxx> <AANLkTi=nWMg7OQKLMOT6Z6-ok3pzEZS10AhxddcJTMf2@xxxxxxxxxxxxxx> <AANLkTinuXsv3FUG6Y1VTdgbFQRVknUjCECN1i5P+xigQ@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Sorry for making noise, the mode is PV. Because my scheduler is set to
CPU fairness only, so the number I calculated is almost the same, as
long as I set it to I/O favor, the number is different.

Here is another question, since we always say a short period of time,
how long it should be? 500us? 50us? 1ms? is there any hint that I can
follow?

Thanks,
Yuehai


>
> Remind me, are you running in HVM mode, or PV mode?
>
> That sounds unusual.  Is it the number of events delivered, or the
> number of times the guest woke up?  NB they're not the same -- an HVM
> guest will block and then wake up on the completion of an I/O
> instruction which is handled by qemu.
>
> If you're running in HVM mode, you can use "xenalyze -s" will give you
> a summary of the trace.  In the summary you can see not only now many
> times a VM woke up, but which interrupt was delivered how many times.
>
> At the moment, from Xen's perspective, an event delivery is an event
> delivery.  You'd have to manually add some way of classifying an event
> as "I/O".
>
>  -George
>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>