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] Questions about Xenoprof hypercall_page

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Questions about Xenoprof hypercall_page
From: Hashimoto <hsmtkk@xxxxxxxxx>
Date: Sun, 1 Feb 2009 20:51:51 +0900
Delivery-date: Sun, 01 Feb 2009 03:52:19 -0800
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:content-transfer-encoding; bh=1H5qn1ehLGYjW+PmuLPrvOpuiI7cZ8mY3ueWP8GPlVo=; b=NdJ4qZ+a+Ka8Ut9kkUfA/J/KkWG6X3eGj2FBb9NuOZ42x0B/GCAelLp0xPvhVJ7Cn9 6+V2szZdqy3TxYP4lEkgL6ExArzb7I++cnOaTglKSXKfwHcISWNIkivgOUb2kuMQ7PDA ptYtaHnesXCCFnp21VnAO3eiiDuDq13O3UEa0=
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=
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
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Questions about Xenoprof hypercall_page, Hashimoto <=