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

[Xen-devel] Questions about Xenoprof hypercall_page


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Hashimoto <hsmtkk@xxxxxxxxx>
  • Date: Sun, 1 Feb 2009 20:51:51 +0900
  • Delivery-date: Sun, 01 Feb 2009 03:52:19 -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=hTuUTrYDok/iAOM9++fc1M8Qsz+h2sr7ud1CSG7PSqjdMCYQ/Z1hP4T6AOvnLlMHK5 fK1mOz1dwEz5nz4APg6Gv3aG2/A2pToYy3seq96GjItY/dwib6iE/dYdqN00TiRcVEc7 VfgAqrvVEY3Wso1Ju3jT6e4XZlOXT30cvL8II=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

I have a question 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 time.
What does 'hypercall_page' mean?
How can I profile other events in Xen/Linux?
Regards.


-- 
Kouki Hashimoto
hsmtkk@xxxxxxxxx

_______________________________________________
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®.