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] event TRC_MEM_PAGE_GRANT_TRANSFER

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] event TRC_MEM_PAGE_GRANT_TRANSFER
From: "Ashish Gupta" <ashishgup@xxxxxxxxx>
Date: Mon, 23 Apr 2007 18:31:37 -0500
Delivery-date: Mon, 23 Apr 2007 16:30:15 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; b=Ial6YGd3LusVxOkxq4/Sqh7dkbD7uknBOpwFT7QrNyiMBJqTSjyB320xMvuaA4NnVeo0+qdt2EheaLMjOEgPaQbDOgaa/qiEeA6WIwCfcm208mkhJzyJZ7nQm6HNml0LBCgE0Vg0Efky5TSbeN+PEMg8T70fbryqshM054dtF2U=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=sYte5g1srFV5yq5BBQcxWAU4RV6WlK1UN+avt7DPZczHZYNZLKrgAjWlzS+SPR2ieCyN2poAWoRyGrAPth5nQKvYNY6s31gerPipMh9OWgNLMUoAUUHlbV2wTPRk4sINLFSloFLP3gLLyXb3/St+JZ7G45ZFfOZlmLSHQ3zFfkI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

I am using xentrace to understand performance bottlenecks for an application inside domU.
My question is how can I distinguish between network IO events and disk IO events using xentrace ?
A second related question is can I figure out disk queue waiting times and serving times (and similarly for the network) to figure out any bottlenecks or any external stress on these resources that may be causing the guest machine to be slowing down ?

The post below seems to be the closest to what I want...but I am not sure exactly how to extract the above information. Is it already implemented in Xentrace for the current stable Xen release ?

I greatly appreciate any advise/insight from fellow members here.

cheers,
Ashish
On 23/1/07 19:31, "Rob Gardner" <rob.gardner@xxxxxx> wrote:

>>
>> Grant transfers are no longer used to move network data from netback to
>> netfront (except for backward compatibility with old netfront drivers).
>
>
> Yeah, got that. ;) Could you explain what mechanisms are currently used
> to move data for net I/O and disk I/O between domains, and in
> particular, can you suggest where in the code I could put trace calls to
> be able to count I/O's? Thanks.

Everything is done via grant-map/unmap commands as it always was, except
network receive (netback->netfront) which is done via grant-copy commands
(one per contiguous fragment of network packet).

-- Keir


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