SCIENTIFIC-LINUX-USERS Archives

October 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Wenji Wu <[log in to unmask]>
Reply To:
Date:
Tue, 23 Oct 2007 12:15:33 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Hi, All, 

I have gotten some problems to run oprofile. Could anybody help me out? thanks in advance.

My system is Intel DuoCore (64bit). CPU family: 6, Model 15, Model name: Xeon (5150 @2.66 GHz). System is running SL5.0.

When I check the Profile's CPU type, "cat /dev/oprofile/cput_type" shows "i386/core_2". Is this correct? But my system is 64bit.

Also, I set Oprofile to profile different events such as L1I_MISSES" , but "Opreport" keeps on giving me the result of the event "CPU_CLK_UNHALTED". Anything wrong?

Some results are as follows:

[root@wan-koi oprofile]# opcontrol --reset
[root@wan-koi oprofile]# opcontrol --start

....runing my application......

[root@wan-koi oprofile]# opcontrol --dump

[root@wan-koi oprofile]# opcontrol --status
Daemon running: pid 7981
Event 0: L1I_MISSES:1333353:0:1:1
Event 1: ITLB:10000:18:1:1
Separate options: none
vmlinux file: /usr/src/kernels/2.6.18-8.1.14.el5-x86_64/vmlinux
Image filter: none
Call-graph depth: 0
Buffer size: 65536

[root@wan-koi oprofile]# opreport -l |more
CPU: Core 2, speed 2666.71 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (Unhalted core cycles) count 100000
samples  %        app name                 symbol name
363336   20.2061  vmlinux                  copy_user_generic
241323   13.4206  cxgb3                    (no symbols)
238021   13.2370  vmlinux                  mwait_idle
73446     4.0845  vmlinux                  schedule



thanks,

wenji

ATOM RSS1 RSS2