Wireshark for Lustre* -...

20
Wireshark for Lustre* Doug Oucharek April 17, 2013 Intel® High Performance Data Division * Other names and brands may be claimed as the property of others.

Transcript of Wireshark for Lustre* -...

Wireshark for Lustre* Doug Oucharek April 17, 2013

Intel®  High  Performance  Data  Division  * Other names and brands may be claimed as the property of others.

 

2 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

What  is  Wireshark?  

§  Protocol  analyzer  

§ Website:  www.wireshark.org  

§  Powerful  filtering  capabiliDes  

§  Powerful  analyDcs/staDsDcs  

2

Network Driver

Capture File

libpcap

User Space

Kernel Space

Wireshark tcpdump/dumpcap

Dissectors/plugins

3 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Build  and  Install  

Wireshark:  

§  Latest  Stable:  1.8.6  (recommended).    Dev:  1.9.2  

§  Requires:  gtk2-­‐devel  and  libpcap-­‐devel  (CentOS  6.x)  

§  Usual:  ./configure,  make,  make  install  

§  ApplicaDon:  /usr/local/bin/wireshark  

LNet/Lustre*  Dissectors:  

§  Need  Wireshark  source  tree  

§  Go  to:  lustre/contrib/wireshark  (2.4  and  up)  

§  Update  Makefile  if  not  using  package  manager  

§  Just  run  “make  install”  (“make  clean”  first  if  previously  built)  

§  Plugins:  lnet.so  and  lustre.so  3

4 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Checking  for  LNet  and  Lustre*  Plugins  

4

5 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Capturing  Packets  

§  Capture-­‐>Interfaces  

§  Click  “Start”  on  interface  to  capture  

§  Resource  intensive  

 

§  Use  “tcpdump”  or  “ibdump”    

§  (Go  to:h_p://www.mellanox.com/content/pages.php?pg=products_dyn&product_family=110&menu_secDon=34)  

5

6 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Wireshark  Interface  

6

7 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

With  Infiniband  Packets  

7

8 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Filtering  Packets  

8

9 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Changing  Time  Scale  

9

10 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

LNet  Header  

10

11 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Lustre*  Header  

11

12 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

InteracFng  with  Fields  

§  Clicking  on  field  triggers  hex  to  highlight  

§  Also  shows  generated  name  for  field  (if  any)  

12

13 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Filter  Tricks  –  Being  Lazy  

§  Right-­‐Click  on  field  

§  Use  “Apply  as  Filter”  to  fill  in  filter  field  for  you  

§  Even  works  on  text  fields…which  is  what  “dest_nid”  is  

13

14 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Protocol  Hierarchy  Window  

14

15 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Packet  Lengths  

15

16 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Current:  Flow  Graph  

16

17 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

Future:  Flow  Graph  

17

18 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

I/O  Graph  

18

19 Intel®  High  Performance  Data  Division   hpdd-­‐[email protected]  

I/O  Graph  -­‐  Advanced  

19