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] Regarding TX/RX rings

To: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Regarding TX/RX rings
From: Mahendra Kutare <mahendra.kutare@xxxxxxxxx>
Date: Sat, 23 Oct 2010 09:05:57 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 23 Oct 2010 06:07:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=cNFYAUBKscZ449STD/asuHGjqc0h/UNXD8iiwsj4VDU=; b=k7Rde6qywrRE34Cex+S6S1j9vHRUClGu+ShvWP69OwKxERyeasodpt0rh3xzcOSQiB D8a2MukxfTkp4kpnApcmNDMtHuV3OxRZlda2srnZjYWS3ZRjxpMqlN3wLz6K+fEiCZjN FgHSD0YjKHBplul1b05aR9Rqh+bX6m3M4cS9A=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=IIbqnx4uH9oKBmeolcV+s+3nTSNb+v82RqPDl2j4SkiNLAJD/lQRkqTpYpj5xMAx3G DajUEUKbp6s9ArKSuxKNuzXuUVo0JDyzko2O8RkfiJ5VkqBSqaZwHzplHvWKx1JmxYO2 B6FLNtH2Oa31atuv9u0q0vsQ1LaEZS+LeNJnI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D01B2009F@trantor>
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: <AANLkTinL60Znq4-2zBuge7SXnQagLZEZ=bO_ULGh9QHc@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01B2008A@trantor> <AANLkTiktemAZC3Qq80jKwMMqxvB+O=Yey6E=W9L8FoVC@xxxxxxxxxxxxxx> <AEC6C66638C05B468B556EA548C1A77D01B2009F@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Can you point me to the code files which would be good starting point for the monitoring mentioned below ?

Regards
Mahendra

On Sat, Oct 23, 2010 at 8:35 AM, James Harper <james.harper@xxxxxxxxxxxxxxxx> wrote:
>
> The reason I am looking to monitor these rings is to find the variability of
> the data transfer through the TX/RX rings i.e. inbound/outbound network
> traffic. I am doing variability analysis for various combination of VMs
> running in Xen. I am looking at both CPU and Network level metrics. The goal
> is to infer characteristics looking at these lower level metrics about the VMs
> running.
>
> On my current installation of Xen 3.4.3 with 2.6.18.8 kernel ,  the data
> mentioned in /sys/devices/vbd- or /sys/devices/vif is not available. I need to
> upgrade my kernel.
>
> I have seen that if I monitor the network traffic input and output throughput
> data (through say xentop running application - RUBiS) it does not really vary
> a lot. So I want to monitor the lower levels to see if there exists
> variability that eventually evens out.
>

Monitoring just the rings will not tell you about tx-full or rx-starvation conditions. You would also need to measure when DomU wants to transmit a packet but there is no space left on the tx ring, or when Dom0 has a packet for DomU but Dom0 has used all of the rx buffers given by DomU. I would find those measurements useful.

James

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>