Project

General

Profile

Feature #15085 ยป benchmark-with-perf.log

wanabe (_ wanabe), 09/06/2018 11:03 PM

 
1
perf stat target: iTLB-load-misses,iTLB-loads,frontend_retired.itlb_miss,itlb.itlb_flush,itlb_misses.miss_causes_a_walk,itlb_misses.stlb_hit,itlb_misses.walk_active,itlb_misses.walk_completed,itlb_misses.walk_completed_1g,itlb_misses.walk_completed_2m_4m,itlb_misses.walk_completed_4k,itlb_misses.walk_pending
2
Warming up --------------------------------------
3
              a.foo 
4
 Performance counter stats for process id '30423':
5

    
6
             1,201      iTLB-load-misses          #    2.78% of all iTLB cache hits   (32.80%)
7
            43,205      iTLB-loads                                                    (33.07%)
8
            10,190      frontend_retired.itlb_miss                                     (33.33%)
9
               342      itlb.itlb_flush                                               (33.59%)
10
             8,999      itlb_misses.miss_causes_a_walk                                     (33.60%)
11
            31,829      itlb_misses.stlb_hit                                          (33.60%)
12
           260,901      itlb_misses.walk_active                                       (33.61%)
13
             2,125      itlb_misses.walk_completed                                     (33.61%)
14
                 0      itlb_misses.walk_completed_1g                                     (33.59%)
15
                99      itlb_misses.walk_completed_2m_4m                                     (33.33%)
16
             1,863      itlb_misses.walk_completed_4k                                     (33.07%)
17
           284,116      itlb_misses.walk_pending                                      (32.81%)
18

    
19
       1.523607271 seconds time elapsed
20

    
21
   373.725k i/s
22
Calculating -------------------------------------
23
                          trunk  trunk,--jit  export-big-func  export-big-func,--jit 
24
              a.foo 
25
 Performance counter stats for process id '30427':
26

    
27
             1,930      iTLB-load-misses          #    7.43% of all iTLB cache hits   (33.06%)
28
            25,984      iTLB-loads                                                    (33.19%)
29
            11,845      frontend_retired.itlb_miss                                     (33.32%)
30
               598      itlb.itlb_flush                                               (33.45%)
31
             4,206      itlb_misses.miss_causes_a_walk                                     (33.53%)
32
            23,874      itlb_misses.stlb_hit                                          (33.53%)
33
           160,610      itlb_misses.walk_active                                       (33.53%)
34
             1,802      itlb_misses.walk_completed                                     (33.53%)
35
                 0      itlb_misses.walk_completed_1g                                     (33.41%)
36
                42      itlb_misses.walk_completed_2m_4m                                     (33.28%)
37
             3,025      itlb_misses.walk_completed_4k                                     (33.15%)
38
           311,032      itlb_misses.walk_pending                                      (33.02%)
39

    
40
       3.102120599 seconds time elapsed
41

    
42
   363.592k 
43
 Performance counter stats for process id '30431':
44

    
45
           900,188      iTLB-load-misses          #    0.47% of all iTLB cache hits   (33.37%)
46
       190,714,170      iTLB-loads                                                    (33.43%)
47
       101,020,073      frontend_retired.itlb_miss                                     (33.43%)
48
               706      itlb.itlb_flush                                               (33.43%)
49
         2,218,994      itlb_misses.miss_causes_a_walk                                     (33.34%)
50
       190,904,130      itlb_misses.stlb_hit                                          (33.29%)
51
        57,968,163      itlb_misses.walk_active                                       (33.29%)
52
           922,809      itlb_misses.walk_completed                                     (33.29%)
53
                 0      itlb_misses.walk_completed_1g                                     (33.29%)
54
                51      itlb_misses.walk_completed_2m_4m                                     (33.29%)
55
           925,411      itlb_misses.walk_completed_4k                                     (33.29%)
56
        60,061,534      itlb_misses.walk_pending                                      (33.29%)
57

    
58
       4.422176068 seconds time elapsed
59

    
60
    252.761k 
61
 Performance counter stats for process id '31398':
62

    
63
             1,283      iTLB-load-misses          #    5.68% of all iTLB cache hits   (33.19%)
64
            22,594      iTLB-loads                                                    (33.32%)
65
            11,775      frontend_retired.itlb_miss                                     (33.45%)
66
               575      itlb.itlb_flush                                               (33.59%)
67
             7,298      itlb_misses.miss_causes_a_walk                                     (33.67%)
68
            22,297      itlb_misses.stlb_hit                                          (33.54%)
69
           373,497      itlb_misses.walk_active                                       (33.41%)
70
             2,149      itlb_misses.walk_completed                                     (33.27%)
71
                 0      itlb_misses.walk_completed_1g                                     (33.14%)
72
                69      itlb_misses.walk_completed_2m_4m                                     (33.14%)
73
             1,165      itlb_misses.walk_completed_4k                                     (33.14%)
74
           262,384      itlb_misses.walk_pending                                      (33.14%)
75

    
76
       3.041640202 seconds time elapsed
77

    
78
        370.871k 
79
 Performance counter stats for process id '31403':
80

    
81
         1,792,580      iTLB-load-misses          #  446.25% of all iTLB cache hits   (33.39%)
82
           401,699      iTLB-loads                                                    (33.47%)
83
            15,412      frontend_retired.itlb_miss                                     (33.47%)
84
               451      itlb.itlb_flush                                               (33.47%)
85
         2,623,341      itlb_misses.miss_causes_a_walk                                     (33.35%)
86
           389,734      itlb_misses.stlb_hit                                          (33.27%)
87
        71,711,940      itlb_misses.walk_active                                       (33.27%)
88
         1,848,936      itlb_misses.walk_completed                                     (33.27%)
89
                 0      itlb_misses.walk_completed_1g                                     (33.27%)
90
                 9      itlb_misses.walk_completed_2m_4m                                     (33.27%)
91
         1,857,761      itlb_misses.walk_completed_4k                                     (33.27%)
92
        74,351,832      itlb_misses.walk_pending                                      (33.27%)
93

    
94
       3.078224154 seconds time elapsed
95

    
96
              364.262k i/s -      1.121M times in 3.083605s 4.435711s 3.023082s 3.077932s
97

    
98
Comparison:
99
                           a.foo 
100
     export-big-func:    370871.2 i/s 
101
export-big-func,--jit:    364262.1 i/s - 1.02x  slower
102
               trunk:    363591.9 i/s - 1.02x  slower
103
         trunk,--jit:    252760.9 i/s - 1.47x  slower
104