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

[Xen-users] Questions about Xenoprof hypercall_page


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Hashimoto <hsmtkk@xxxxxxxxx>
  • Date: Sat, 31 Jan 2009 16:25:53 +0900
  • Delivery-date: Fri, 30 Jan 2009 23:27:06 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Hy8MlQuNQVqSej7l5nS6GYlcYx8uT7YiSkOwXdEBcuc1KznOnVKHXP6sD2A4FSwcAQ T0s+6Fi6Iem88VHA+W413sDtH73PF3F5OyMeUIe9HFHWVGM06OzaHfOhJ82L+V/EJ0Sp FclMNOq5zpsZ6S9el2mk8lZVpmuCkAT1IczEo=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I have questions about Xenoprof.

This is my softwares.
* Gentoo Linux 2.6.18
* Xen 3.2.1
* Xenoprof 0.9.3

I used Xenoprof as following.

# opcontrol --init
# opcontrol --vmlinux=/boot/vmlinux-2.6.18-xen0
# opcontrol --xen=/boot/xen-syms-3.2.1
# opcontrol --reset
# opcontrol --passive-domains=1
--passive-images=/boot/vmlinux-2.6.18-xenU --start
/usr/local/bin/opcontrol: line 1276: echo: write error: Invalid argument
/usr/local/bin/opcontrol: line 1119: echo: write error: Invalid argument
Using 2.6+ Oprofile kernel interface.
Reading module info.
Using log file /var/lib/oprofile/samples/oprofiled.log
Daemon started.
Profiler running.

$ execute some tasks in DomU
# opcontrol --stop
# opcontrol --dump

And Xenoprof report is as following.

$ opreport -l | head -n 20
CPU: CPU with timer interrupt, speed 0 MHz (estimated)
Profiling through timer interrupt
samples  %        image name               app name                 symbol name
2104     84.1263  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
hypercall_page
102       4.0784  libpython2.5.so.1.0      libpython2.5.so.1.0      (no symbols)
61        2.4390  libc-2.6.1.so            libc-2.6.1.so            (no symbols)
9         0.3599  screen                   screen                   (no symbols)
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
__ext3_get_inode_loc
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
generic_file_buffered_write
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
journal_add_journal_head
8         0.3199  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
raw_safe_halt
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
__generic_file_aio_write_nolock
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0
bit_waitqueue
7         0.2799  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      schedule
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      cpu_idle
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      ide_outb
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      journal_stop
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      profile_hit
5         0.1999  vmlinux-2.6.18-xen0      vmlinux-2.6.18-xen0      xen_idle
4         0.1599  oprofile                 oprofile                 (no symbols)


It seems that 'hypercall_page' consumes most of the time.
What does 'hypercall_page' mean?
How can I profile events in Xen/Linux?
Regards.

Kouki Hashimoto
hsmtkk@xxxxxxxxx

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


 


Rackspace

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