[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] HOW TO USE XENTRACE TO FIND DOM0 INFORMATION



I am working on a project related to hypervisor.I used the command
xentrace -d -e 0xfffff000-T 20 trace.bin
xnalyze trace.bin > x.txt

HOW TO ANALYZE THIS FILE AND TO GET WHAT HYPERCALL THIS HYPERCALL NUMBER CORRESPOND TO
Total time: 9.98 seconds (using cpu speed 2.40 GHz)
--- Log volume summary ---
 - cpu 0 -
 gen   :        480
 sched :     931788
 +-verbose:     665004
 hvm   :         12
 mem   :         96
 pv    :    7387440
 hw    :     235524
|-- Domain 0 --|
 Runstates:
   blocked:     293  0.15s 1232141 {105240|7148524|31202268}
  full run:     324  1.11s 8212027 {21120712|71848352|71848352}
  partial contention:    2844  1.23s 1041739 { 48504|8711020|16668336}
  concurrency_hazard:    5100  7.47s 3515838 {7625856|71845720|71845720}
  full_contention:    1063  0.01s  25305 {  9708|2692036|9898548}
 Grant table ops:
  Done by:
  Done for:
 Populate-on-demand:
  Populated:
  Reclaim order:
  Reclaim contexts:
-- v0 --
 Runstates:
   running:     496  2.00s 9666478 {196660|71888896|71848352}
  runnable:     638  7.64s 28745046 {93745884|800175728|1332287024}
        wake:      58  0.51s 21159872 {688272344|688272344|688272344}
     preempt:      18  0.24s 32003641 {575114260|575114260|575114260}
       other:     562  6.89s 29423489 {56741048|1332287024|1332287024}
   blocked:     437  0.21s 1131642 {2227148|31202268|31202268}
   offline:       2  0.00s  14342 { 14908| 14908| 14908}
 cpu affinity:       1 23934153168 {23934153168|23934153168|23934153168}
   [0]:       1 23934153168 {23934153168|23934153168|23934153168}
PV events:
  page_fault  1005
  math state restore  18
  ptwr  437
  hypercall  18940
    mmu_update                   [ 1]:   1093
    stack_switch                 [ 3]:   2139
    multicall                    [13]:      1
    update_va_mapping            [14]:      1
    xen_version                  [17]:     25
    iret                         [23]:  10501
    vcpu_op                      [24]:   1161
    set_segment_base             [25]:   1569
    mmuext_op                    [26]:   1341
    sched_op                     [29]:    451
    evtchn_op                    [32]:    548
    physdev_op                   [33]:    110
  hypercall (subcall)  2
-- v1 --
 Runstates:
   running:     674  2.32s 8253727 {23224640|71845964|71955400}
  runnable:    1161  6.11s 12624440 {16853932|769289692|1010395252}
        wake:     301  0.29s 2296535 {62882020|571958924|571958924}
     preempt:      13  0.15s 28203032 {279082744|279082744|279082744}
       other:     847  5.67s 16055582 {21473244|229039264|1010395252}
   blocked:     604  0.29s 1158752 {1609692|4310964|9690508}
   offline:       1  0.00s  16020 { 16020| 16020| 16020}
 cpu affinity:       1 20919890036 {20919890036|20919890036|20919890036}
   [0]:       1 20919890036 {20919890036|20919890036|20919890036}
PV events:
  page_fault  17979
  emulate privop  692
  math state restore  43
  ptwr  9947
  hypercall  150054
    mmu_update                   [ 1]:  61475
    stack_switch                 [ 3]:   4861
    memory_op                    [12]:      3
    multicall                    [13]:    975
    update_va_mapping            [14]:   4561
    xen_version                  [17]:    152
    grant_table_op               [20]:      3
    iret                         [23]:  58997
    vcpu_op                      [24]:   1197
    set_segment_base             [25]:   4252
    mmuext_op                    [26]:  11353
    acm_op                       [27]:      9
    sched_op                     [29]:    617
    evtchn_op                    [32]:    965
    physdev_op                   [33]:    604
    sysctl                       [35]:     21
    domctl                       [36]:      9
  hypercall (subcall)  7924
-- v2 --
 Runstates:
   running:     106  0.27s 6001367 {32532916|71841040|71843144}
  runnable:     402  4.65s 27763825 {176048840|726964484|3539128564}
        wake:      24  0.18s 18023801 {285953912|285953912|285953912}
     preempt:      13  0.01s 1569969 {20284976|20284976|20284976}
       other:     365  4.46s 29337197 {78401584|3539128564|3539128564}
   blocked:      86  0.05s 1427216 {3750688|7241324|43684308}
 cpu affinity:       1 12016972924 {12016972924|12016972924|12016972924}
   [0]:       1 12016972924 {12016972924|12016972924|12016972924}
PV events:
  page_fault  1236
  math state restore  10
  ptwr  615
  hypercall  16813
    mmu_update                   [ 1]:   7607
    stack_switch                 [ 3]:    643
    multicall                    [13]:    189
    update_va_mapping            [14]:    598
    xen_version                  [17]:      9
    iret                         [23]:   5205
    vcpu_op                      [24]:    164
    set_segment_base             [25]:    534
    mmuext_op                    [26]:   1506
    sched_op                     [29]:     99
    evtchn_op                    [32]:    107
    physdev_op                   [33]:    152
  hypercall (subcall)  952
-- v3 --
 Runstates:
   running:    2281  4.00s 4207689 {21661616|71845672|71871632}
  runnable:     728  2.19s 7217723 {42870832|683853324|1089147132}
        wake:     473  0.19s 969571 {405210576|405210576|405210576}
     preempt:     189  0.26s 3256031 {475216712|475216712|475216712}
       other:      66  1.74s 63340990 {32106012|1089147132|1089147132}
   blocked:    2002  0.86s 1036208 {3181340|12044356|17516960}
   offline:       3  0.00s  10516 { 12092| 12092| 12092}
 cpu affinity:       1 17182034872 {17182034872|17182034872|17182034872}
   [0]:       1 17182034872 {17182034872|17182034872|17182034872}
PV events:
  page_fault  11692
  math state restore  38
  ptwr  4849
  hypercall  140906
    mmu_update                   [ 1]:  28704
    stack_switch                 [ 3]:   9568
    memory_op                    [12]:      2
    multicall                    [13]:    386
    update_va_mapping            [14]:   1643
    xen_version                  [17]:    169
    grant_table_op               [20]:      8
    iret                         [23]:  74828
    vcpu_op                      [24]:   2758
    set_segment_base             [25]:   6876
    mmuext_op                    [26]:   8575
    acm_op                       [27]:      3
    sched_op                     [29]:   2191
    evtchn_op                    [32]:   2486
    physdev_op                   [33]:   2686
    sysctl                       [35]:      5
    domctl                       [36]:     18
  hypercall (subcall)  2866
Emulate eip list
|-- Domain 35 --|
 Runstates:
   blocked:       5  0.76s 365197904 {638513516|658647032|658647032}
  full run:       5  0.00s 563643 {693584|887540|887540}
  full_contention:       4  7.12s 4273418141 {11974656184|11974656184|11974656184}
 Grant table ops:
  Done by:
  Done for:
 Populate-on-demand:
  Populated:
  Reclaim order:
  Reclaim contexts:
-- v0 --
 Runstates:
   running:       5  0.00s 563643 {693584|887540|887540}
  runnable:       4  7.12s 4273418141 {11974656184|11974656184|11974656184}
        wake:       4  7.12s 4273418141 {11974656184|11974656184|11974656184}
   blocked:       5  0.76s 365197904 {638513516|658647032|658647032}
 cpu affinity:       1 19521404124 {19521404124|19521404124|19521404124}
   [0]:       1 19521404124 {19521404124|19521404124|19521404124}
PV events:
  math state restore  4
  hypercall  162
    stack_switch                 [ 3]:     12
    iret                         [23]:    122
    vcpu_op                      [24]:     13
    set_segment_base             [25]:      5
    mmuext_op                    [26]:      4
    sched_op                     [29]:      5
    evtchn_op                    [32]:      1
Emulate eip list
|-- Domain 476 --|
 Runstates:
 Grant table ops:
  Done by:
  Done for:
 Populate-on-demand:
  Populated:
  Reclaim order:
  Reclaim contexts:
-- v0 --
 Runstates:
Emulate eip list
|-- Domain 32767 --|
 Runstates:
  full run:    3331  1.39s 1004213 {659020|4007596|15898892}
  full_contention:    3330  8.52s 6140512 {196437180|503577632|1066602088}
 Grant table ops:
  Done by:
  Done for:
 Populate-on-demand:
  Populated:
  Reclaim order:
  Reclaim contexts:
-- v0 --
 Runstates:
   running:    3331  1.39s 1004213 {659020|4007596|15898892}
  runnable:    3330  8.52s 6140512 {196437180|503577632|1066602088}
     preempt:    3330  8.52s 6140512 {196437180|503577632|1066602088}
 cpu affinity:       1 23939715736 {23939715736|23939715736|23939715736}
   [0]:       1 23939715736 {23939715736|23939715736|23939715736}
Emulate eip list

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.