All of lore.kernel.org
 help / color / mirror / Atom feed
* xenoprof passive mode overhead
@ 2010-03-25 18:06 Ya-Yunn Su
  2010-03-29 17:32 ` Dulloor
  0 siblings, 1 reply; 2+ messages in thread
From: Ya-Yunn Su @ 2010-03-25 18:06 UTC (permalink / raw)
  To: xen-devel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: xenoprof passive mode overhead
  2010-03-25 18:06 xenoprof passive mode overhead Ya-Yunn Su
@ 2010-03-29 17:32 ` Dulloor
  0 siblings, 0 replies; 2+ messages in thread
From: Dulloor @ 2010-03-29 17:32 UTC (permalink / raw)
  To: Ya-Yunn Su; +Cc: xen-devel

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 <yayunn.su@gmail.com> wrote:
> 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@lists.xensource.com
> http://lists.xensource.com/xen-devel
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-29 17:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-25 18:06 xenoprof passive mode overhead Ya-Yunn Su
2010-03-29 17:32 ` Dulloor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.