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-users

[Xen-users] Questions about Xenoprof hypercall_page

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Questions about Xenoprof hypercall_page
From: Hashimoto <hsmtkk@xxxxxxxxx>
Date: Sat, 31 Jan 2009 16:25:53 +0900
Delivery-date: Fri, 30 Jan 2009 23:27:06 -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=qBBHCuyU33oW5pAakiDhZE7wmb6ld3CPHJiOUIkh1uk=; b=KeX8ZrBFYSzU4hNHOXNcf7ZyXGcgwV6MoR6aBnBR5BsApcgrJocx3Jw77RVua3fMk6 +kgSfcjBX9llEqpCtzp4408/uDrLqolRNi/1KFCbz7ZqE6T3R4EgIfEeqsUgmbRZo7jP Sza1r9KcJGdO5XOxs0QYuoCqpmvdko9hAn8aM=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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

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