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

[Xen-devel] xenoprof passive mode overhead

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] xenoprof passive mode overhead
From: Ya-Yunn Su <yayunn.su@xxxxxxxxx>
Date: Thu, 25 Mar 2010 14:06:26 -0400
Delivery-date: Mon, 29 Mar 2010 10:13:10 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=OX+J57/9vZpuOBKVlDE5DhmkQtYCWOtBt2cFsrXzZOU=; b=LJLlSazj8CZuZKSvI1/9cisciPcnIbshbP+f5/uVUkmdhtHRZ+i3zFMn7lYR6tiDiw eFxdVAQpZhMJ6Jn33dI5GrpP20qQQyxtWx6tikNfdYb/ZgUTJUH0bHpGWdsB3pNFj4rv J2NkWh5IXGCnWmDcCMixhTnoYesOgTNzhHWxU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=muH+GqRv2IHVFoJ69lcN33ZfeugAf4x0jr5py8dYA9xrVC2eFGXerRNMBnka2hZ69J /GGxLFYiHiaoodglZKEO/As1//yxJUO4DnCs17O5qbfT2cJyMfyHWKP2QAnelEuePZ4F WOllkbcidKh+EBWN6HwSd5gubqHZLW012sDbQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi all,
  I'd like to use xenoprof passive mode on domain-0 to calculate L2
cache missed for each guest domain.  I setup oprofile daemon as
followed

opcontrol --start-daemon --event=LLC_MISSES:4000
--xen=/boot/xen-3.4.2.gz
--vmlinux=/scratch/xen-3.4.2/build-linux-2.6.18-lttng-xen0_x86_32/vmlinux
--passive-domains=1,2
--passive-images=/scratch/xen-3.4.0/build-linux-2.6.18-xenU_x86_32/vmlinux,/scratch/xen-3.4.0/build-linux-2.6.18-xenU_x86_32/vmlinux

My machine has two cores and I pinned domain-0 to one core and guest
domains to the other.  When I ran oprofile to calculate cache
misses/sec every 5 seconds on domain 0, I noticed that the transient
CPU utilization can be as high as 30%.  This affects the performance
of whatever benchmark I'm running in the guest domain.  Is this 30%
overhead for domain-0 common or am I doing something obviously wrong?
Any suggestion is appreciated.

Thank you,
Ya-Yunn

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

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