[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] event TRC_MEM_PAGE_GRANT_TRANSFER


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Ashish Gupta" <ashishgup@xxxxxxxxx>
  • Date: Mon, 23 Apr 2007 18:31:37 -0500
  • Delivery-date: Mon, 23 Apr 2007 16:30:15 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.