From: Dulloor Subject: Re: xenoprof passive mode overhead Date: Mon, 29 Mar 2010 13:32:01 -0400 Message-ID: <940bcfd21003291032q5fc5e6bbk8f76fb39ff64382e@mail.gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ya-Yunn Su Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org If you use a very low threshold for triggering events, the overhead would be more. Looks like thats the case with you. -dulloor On Thu, Mar 25, 2010 at 2:06 PM, Ya-Yunn Su wrote: > Hi all, > =A0I'd like to use xenoprof passive mode on domain-0 to calculate L2 > cache missed for each guest domain. =A0I setup oprofile daemon as > followed > > opcontrol --start-daemon --event=3DLLC_MISSES:4000 > --xen=3D/boot/xen-3.4.2.gz > --vmlinux=3D/scratch/xen-3.4.2/build-linux-2.6.18-lttng-xen0_x86_32/vmlin= ux > --passive-domains=3D1,2 > --passive-images=3D/scratch/xen-3.4.0/build-linux-2.6.18-xenU_x86_32/vmli= nux,/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. =A0When 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%. =A0This affects the performance > of whatever benchmark I'm running in the guest domain. =A0Is 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@lists.xensource.com > http://lists.xensource.com/xen-devel >