aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Examples/intoncpu_example.txt
blob: ed408eb6a17d9ace1101919340b6a57685d702b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
The following is an example of the intoncpu.d script.


Here we run it for a few seconds then hit Ctrl-C,

   # ./intoncpu.d
   Tracing... Hit Ctrl-C to end.
   ^C
   uhci1
   
              value  ------------- Distribution ------------- count
               2048 |                                         0
               4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 2
               8192 |                                         0
   uhci0
   
              value  ------------- Distribution ------------- count
                512 |                                         0
               1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@         16
               2048 |@@@@                                     2
               4096 |@@                                       1
               8192 |@@                                       1
              16384 |                                         0
   rtls0
   
              value  ------------- Distribution ------------- count
                512 |                                         0
               1024 |@@@@@@@@@@@@@@@@                         8
               2048 |@@@@@@@@@@                               5
               4096 |@@@@@@                                   3
               8192 |                                         0
              16384 |@@                                       1
              32768 |@@                                       1
              65536 |@@@@                                     2
             131072 |                                         0

The rtls0 driver (the network interface) has encourtered the most interrupts,
with the time taken to process each interrupt visible as a distribution.
These times ranged from around 1000 ns (1 us), to at least 65536 ns (65 us).

To determine which devices the instance names represent (eg, "uhci1"), the
/etc/path_to_inst file could be examied.



The following is a longer example of running intoncpu.d,

   # ./intoncpu.d
   Tracing... Hit Ctrl-C to end.
   ^C
   uhci1
   
              value  ------------- Distribution ------------- count
               2048 |                                         0
               4096 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 6
               8192 |                                         0
   ata1
   
              value  ------------- Distribution ------------- count
               8192 |                                         0
              16384 |@@@@@@@@@@@@@@@@@@@@                     2
              32768 |@@@@@@@@@@@@@@@@@@@@                     2
              65536 |                                         0
   ata0
   
              value  ------------- Distribution ------------- count
               2048 |                                         0
               4096 |@@@@@@@@@@@@@                            55
               8192 |@@@@@@@@@@@@@@@@@@@@@@@@@@               113
              16384 |@                                        5
              32768 |                                         0
   uhci0
   
              value  ------------- Distribution ------------- count
                512 |                                         0
               1024 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@   1288
               2048 |@@                                       53
               4096 |                                         6
               8192 |                                         0
   rtls0
   
              value  ------------- Distribution ------------- count
                512 |                                         0
               1024 |@@@@@@@@@@@@@@@@@@@@                     665
               2048 |@@@@@@@@@                                307
               4096 |@                                        35
               8192 |                                         0
              16384 |@@@@@@@                                  229
              32768 |@@@                                      91
              65536 |@                                        19
             131072 |                                         1
             262144 |                                         0