Hi all,

Seeking help for the following problem on using perfmon2 on Pentium4.

Thanks & regards
JK


Problems encountered while using two events together:
========================================================
******************************************************************************************************
The events mentioned first gets the count values while the next one remains 
zero always as shown below  
******************************************************************************************************

session output:
==============
[EMAIL PROTECTED]:~> pfmon -ePAGE_WALK_TYPE:DTMISS,PAGE_WALK_TYPE:ITMISS ls 
/dev/null
/dev/null
967 PAGE_WALK_TYPE:DTMISS
  0 PAGE_WALK_TYPE:ITMISS

[EMAIL PROTECTED]:~> pfmon -ePAGE_WALK_TYPE:ITMISS,PAGE_WALK_TYPE:DTMISS ls 
/dev/null
/dev/null
917 PAGE_WALK_TYPE:ITMISS
  0 PAGE_WALK_TYPE:DTMISS

************************************************
while both can be used together as shown below:
************************************************

[EMAIL PROTECTED]:~> pfmon --check-events-only 
-ePAGE_WALK_TYPE:DTMISS,PAGE_WALK_TYPE:ITMISS
[EMAIL PROTECTED]:~> echo $?
0


Other example while doing sampling:
===================================
*********************************************************************************
1. Here the second event PAGE_WALK_TYPE:DTMISS remins zero throughout the 
sampling:
*********************************************************************************

session output:
==============

[EMAIL PROTECTED]:~>  pfmon  --with-header  --smpl-module=compact  
--long-smpl-periods=100000 
-eGLOBAL_POWER_EVENTS:RUNNING,PAGE_WALK_TYPE:DTMISS,PAGE_WALK_TYPE:ITMISS   
--short-smpl-period=100000   ls /dev/null
#
# date: Thu Mar 27 17:55:24 2008
#
# hostname: SUSE-HT
#
# kernel version: Linux 2.6.24-default-NO-HT_perfmon_P4 #4 Wed Mar 5 13:24:01 
IST 2008
#
# pfmon version: 3.3-alpha
# kernel perfmon version: 2.8
#
#
# page size: 4096 bytes
#
# CLK_TCK: 250 ticks/second
#
# CPU configured: 1
# CPU online    : 1
#
# physical memory          : 3316568064 bytes (3162.9 MB)
# physical memory available: 2599211008 bytes (2478.8 MB)
#
# host CPUs:  1-way 2800MHz/2.0MB -- Intel(R) Pentium(R) 4 CPU 3.00GHz 
(stepping 3)
#
#
# information for set0:
#       PMD0: GLOBAL_POWER_EVENTS:RUNNING = user
#       PMD1: PAGE_WALK_TYPE:DTMISS = user
#       PMD10: PAGE_WALK_TYPE:ITMISS = user
#
#
# pfmon command line: pfmon --with-header --smpl-module=compact 
--long-smpl-periods=100000 
-eGLOBAL_POWER_EVENTS:RUNNING,PAGE_WALK_TYPE:DTMISS,PAGE_WALK_TYPE:ITMISS 
--short-smpl-period=100000 ls /dev/null
#
# monitoring mode  : per-thread
# command line     : /bin/ls /dev/null
#
# process id(tgid) : 6132
# thread  id(pid)  : 6132
# parent process id: 6130
# exec count       : 1
#
#
#
# sampling information for set0:
# recorded PMDs when GLOBAL_POWER_EVENTS overflows: PMD1 PMD10 
#
# short sampling rates (base/mask/seed):
#       GLOBAL_POWER_EVENTS 100000
#       PAGE_WALK_TYPE none
#       PAGE_WALK_TYPE none
#
# long sampling rates (base/mask/seed):
#       GLOBAL_POWER_EVENTS 100000
#       PAGE_WALK_TYPE none
#       PAGE_WALK_TYPE none
#
#
# description of columns:
#       column  1: entry number
#       column  2: process id
#       column  3: thread id
#       column  4: cpu number
#       column  5: instruction pointer
#       column  6: unique timestamp
#       column  7: overflowed PMD index
#       column  8: event set
#       column  9: initial value of overflowed PMD (sampling period)
#       followed by optional sampled PMD values in command line order
#
#
/dev/null
0            6132     6132  0 0xb7e8abe0 0x0000029137d7c537   0     0          
-100000 0x0 0x65 
1            6132     6132  0 0xb7e8ac5c 0x0000029137d8c557   0     0          
-100000 0x0 0x65 
2            6132     6132  0 0xb7e48250 0x0000029137da989e   0     0          
-100000 0x0 0xc3 
3            6132     6132  0 0xb7e04ae3 0x0000029137dbbeba   0     0          
-100000 0x0 0xe4 
4            6132     6132  0 0xb7e0380a 0x0000029137dcdb30   0     0          
-100000 0x0 0x11b 
5            6132     6132  0 0xb7dff171 0x0000029137de411f   0     0          
-100000 0x0 0x172 
6            6132     6132  0 0xb7e03e20 0x0000029137df8280   0     0          
-100000 0x0 0x195 
7            6132     6132  0 0xb7e054d6 0x0000029137e09a14   0     0          
-100000 0x0 0x1c2 
8            6132     6132  0 0xb7dbf695 0x0000029137e1d847   0     0          
-100000 0x0 0x1f3 
9            6132     6132  0 0xb7dbf8c1 0x0000029137e30bfa   0     0          
-100000 0x0 0x20e 
10           6132     6132  0 0xb7e0381c 0x0000029137e45233   0     0          
-100000 0x0 0x243 
11           6132     6132  0 0xb7db957e 0x0000029137e59276   0     0          
-100000 0x0 0x25e 
12           6132     6132  0 0xb7f16aee 0x0000029137e6d097   0     0          
-100000 0x0 0x291 
13           6132     6132  0 0xb7dba9b0 0x0000029137e8274a   0     0          
-100000 0x0 0x2d1 
14           6132     6132  0 0xb7dff506 0x0000029137ed8138   0     0          
-100000 0x0 0x357 
15           6132     6132  0 0xb7f0fcdd 0x0000029137eecd40   0     0          
-100000 0x0 0x3c4 
# total samples          : 16
# total buffer overflows : 0

*************************************************************************************************
2. Here after changing the order, again the second event PAGE_WALK_TYPE:ITMISS 
value remains zero
*************************************************************************************************



session output:
==============

[EMAIL PROTECTED]:~> pfmon  --with-header  --smpl-module=compact  
--long-smpl-periods=100000 
-eGLOBAL_POWER_EVENTS:RUNNING,PAGE_WALK_TYPE:ITMISS,PAGE_WALK_TYPE:DTMISS   
--short-smpl-period=100000   ls /dev/null
#
# date: Thu Mar 27 18:05:11 2008
#
# hostname: SUSE-HT
#
# kernel version: Linux 2.6.24-default-NO-HT_perfmon_P4 #4 Wed Mar 5 13:24:01 
IST 2008
#
# pfmon version: 3.3-alpha
# kernel perfmon version: 2.8
#
#
# page size: 4096 bytes
#
# CLK_TCK: 250 ticks/second
#
# CPU configured: 1
# CPU online    : 1
#
# physical memory          : 3316568064 bytes (3162.9 MB)
# physical memory available: 2516566016 bytes (2400.0 MB)
#
# host CPUs:  1-way 2800MHz/2.0MB -- Intel(R) Pentium(R) 4 CPU 3.00GHz 
(stepping 3)
#
#
# information for set0:
#       PMD0: GLOBAL_POWER_EVENTS:RUNNING = user
#       PMD1: PAGE_WALK_TYPE:ITMISS = user
#       PMD10: PAGE_WALK_TYPE:DTMISS = user
#
#
# pfmon command line: pfmon --with-header --smpl-module=compact 
--long-smpl-periods=100000 
-eGLOBAL_POWER_EVENTS:RUNNING,PAGE_WALK_TYPE:ITMISS,PAGE_WALK_TYPE:DTMISS 
--short-smpl-period=100000 ls /dev/null
#
# monitoring mode  : per-thread
# command line     : /bin/ls /dev/null
#
# process id(tgid) : 6209
# thread  id(pid)  : 6209
# parent process id: 6207
# exec count       : 1
#
#
#
# sampling information for set0:
# recorded PMDs when GLOBAL_POWER_EVENTS overflows: PMD1 PMD10 
#
# short sampling rates (base/mask/seed):
#       GLOBAL_POWER_EVENTS 100000
#       PAGE_WALK_TYPE none
#       PAGE_WALK_TYPE none
#
# long sampling rates (base/mask/seed):
#       GLOBAL_POWER_EVENTS 100000
#       PAGE_WALK_TYPE none
#       PAGE_WALK_TYPE none
#
#
# description of columns:
#       column  1: entry number
#       column  2: process id
#       column  3: thread id
#       column  4: cpu number
#       column  5: instruction pointer
#       column  6: unique timestamp
#       column  7: overflowed PMD index
#       column  8: event set
#       column  9: initial value of overflowed PMD (sampling period)
#       followed by optional sampled PMD values in command line order
#
#
/dev/null
0            6209     6209  0 0xb7ef5c5c 0x00000319b3263f8e   0     0          
-100000 0x0 0x98 
1            6209     6209  0 0xb7ef5c53 0x00000319b3273d9d   0     0          
-100000 0x0 0xad 
2            6209     6209  0 0xc02ac191 0x00000319b329183e   0     0          
-100000 0x0 0xe8 
3            6209     6209  0 0xb7e704cc 0x00000319b32a38cb   0     0          
-100000 0x0 0xfc 
4            6209     6209  0 0xb7e6edcc 0x00000319b32b529c   0     0          
-100000 0x0 0x11c 
5            6209     6209  0 0xb7e6e80f 0x00000319b32cbc87   0     0          
-100000 0x0 0x183 
6            6209     6209  0 0xb7e2aa9a 0x00000319b32dfda9   0     0          
-100000 0x0 0x1a5 
7            6209     6209  0 0xb7e6e81c 0x00000319b32f1679   0     0          
-100000 0x0 0x1c3 
8            6209     6209  0 0xb7e6e80c 0x00000319b3305524   0     0          
-100000 0x0 0x1e8 
9            6209     6209  0 0xb7e6eb2a 0x00000319b331b5a7   0     0          
-100000 0x0 0x20a 
10           6209     6209  0 0xb7e704cc 0x00000319b332da23   0     0          
-100000 0x0 0x238 
11           6209     6209  0 0xb7e701d0 0x00000319b3341bca   0     0          
-100000 0x0 0x258 
12           6209     6209  0 0xb7f755a9 0x00000319b3355dcb   0     0          
-100000 0x0 0x2a1 
13           6209     6209  0 0xb7f81af6 0x00000319b336b807   0     0          
-100000 0x0 0x2ea 
14           6209     6209  0 0x804acb0 0x00000319b33b16b6   0     0          
-100000 0x0 0x35d 
15           6209     6209  0 0xb7de8644 0x00000319b33c6522   0     0          
-100000 0x0 0x3c0 
# total samples          : 16
# total buffer overflows : 0






       
---------------------------------
Never miss a thing.   Make Yahoo your homepage.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
perfmon2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to