Example 5 Example of a dcache Report for an rx4640 Integrity server

Function Details

---------------------------------------------------------------------------------------------------

% Total

 

 

Avg.

---Latency buckets as % Misses

--

 

 

Dcache

Sampled

Dcache

Dcache

L2

--L3

-- ------Memory-------

Line

 

Latency

Dcache

Latency

Laten.

 

 

 

 

Slot

>Statement

Cycles

Misses

Cycles

Cycles

7

14

64 150 250 350 450

>

Col,Offset

Instruction

---------------------------------------------------------------------------------------------------

84.29[a.out::goo, 0x4000af0, liby.c]

541

8989

16.6

92 0 1 5 0 1 0 0

19

Function Totals

------------------------------------------------------------------------------------------

[/home/vm/tmp/liby.c]

 

 

 

 

 

 

 

 

 

 

 

 

(93)

(1719)

(18.5)

91

0

0

6

1

1

0

0

24

>

a[i] += i;

 

 

 

 

 

 

 

 

 

 

 

5,0x0030:0

M

ld8

r10=[r9]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

I_

nop.i

0 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:2

I_

addp4

r8=r8,r10 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

93

1719

18.5

91

0

0

6

1

1

0

0

5,0x0040:0

M

ld4

r9=[r8]

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

:1

I_

nop.i

0 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

:2

I_

add

r9=r9,r32 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5,0x0050:0

M

st4

[r8]=r9

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

:1

L

 

 

 

 

 

 

 

 

 

 

 

 

:2

X

movl

Example 6 shows a portion of an example dcache report for a Superdome Integrity server. Example 6 Example of a dcache Report for a Superdome Integrity Server

Function Details

---------------------------------------------------------------------------------------------------

% Total

 

 

Avg.

---Latency

buckets

as % Misses---

 

 

Dcache

Sampled

Dcache

Dcache

L2 --

L3--

loc

loc

1

2

1&2

Line

 

Latency

Dcache

Latency

Laten.

 

 

c2c

mem hop

hop

c2c

Slot

>Statement

Cycles

Misses

Cycles

Cycles

 

 

 

 

 

 

 

Col,Offset

Instruction

714 64 150 350 650 800 >800

---------------------------------------------------------------------------------------------------

56.19[caliper::ipack_encode_chain, 0x4000000000335900, ipack.c]

321018

9111771

28.3

23

12

11

8

12

14

10

10

~4518

Function Totals

 

-------------------------------------------------------------

 

 

 

 

 

 

[/CLO/Components/Caliper/Src/encode/ipack.c]

 

 

 

 

 

 

 

 

 

 

(262028)

(8464760)

(32.3)

20 22

10

 

8

9 14

6

11

 

278 >

instr = instr->next;

0

0

 

 

 

 

 

 

 

 

 

5,0x00e0:0

M_

adds

 

r8=8,r35 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

262028

8464760

32.3

20

22

10

8

9

14

6

11

:1

M

ld8

 

r35=[r8]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

:2

I

nop.i

0

 

 

 

 

 

 

 

 

 

 

 

5,0x00f0:0

M

nop.m

0

 

 

 

 

 

 

 

 

 

 

 

:1

M

nop.m

0

 

 

 

 

 

 

 

 

 

 

 

:2

B_

br.dptk

 

{self}+0x920 ;;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Using the --dcache-data-profile Option to Produce a Data Summary

To get a Data Summary output, you need to use the --dcache-data-profileoption. The dcache measurement does not produce the Data Summary by default.

The Data Summary shows a histogram of data accessed by location. Each sample records the data address that is accessed. If a data address belongs to a global variable, the sample is attributed to the global variable. Otherwise, the data address is mapped to a process region such as text, data, heap, stack, and so forth.

If a data address cannot be determined to belong to a global variable or a process region, it is shown as an unknown sample. The data address is appended to the symbol name. An example entry might be *unknown_0x9fffffffbf789378*, where the data address 0x9fffffffbf789378 was a data cache miss, but it was not assigned to any global variable or process region.

An example of Data Summary output is shown below:

dcache Measurement Report Description 191

Page 191
Image 191
HP UX Caliper Software manual Dcache Measurement Report Description