using systemtap to analyze performance and funconal problems · this is only a short (non...
TRANSCRIPT
![Page 1: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/1.jpg)
Whatdoesmymachinereallydo?
UsingSystemtaptoanalyzeperformanceandfunc9onalproblems
Studentpresenta9on@CernSchoolofCompu9ng2009MalteNuhn<malte.nuhn(at)rwth‐aachen.de>
![Page 2: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/2.jpg)
Thisisonlyashort(nontechnical)appe9zer.Alotoftechnicaldetailswerehidden
8/26/09 2Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 3: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/3.jpg)
MonitoringGrid‐Jobs
• LHCCompu9ngGrid• Workernodesthatexecutejobs
• 8jobspermachine,novirtualiza9on
• Ques9on:– Whattrafficisproducedbywhichjob?
Job1Job2Job3
Network ?8/26/09 3Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 4: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/4.jpg)
Networktrafficpernode:
4Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
![Page 5: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/5.jpg)
Networktrafficpernode:
5Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
Wanttoknowmoredetails
![Page 6: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/6.jpg)
Whyisitsodifficulttolookatthedetailsofmymachine?
• YouarerunningLinux• LinuxisOpenSource• Youevenownyourhardware
8/26/09 6Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
Hmm...
![Page 7: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/7.jpg)
©Constan<neShulyupin‐hCp://www.makelinux.net/kernel_map8/26/09 7Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 8: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/8.jpg)
ProbingtheKernel#1
Differentapproaches:Longtermstabilityvs.vividdevelopment8/26/09 8Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 9: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/9.jpg)
ProbingtheKernel#2
8/26/09 9Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 10: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/10.jpg)
Probingframework:Systemtap
• Systemtapisyourfriend:– Copeswithallthedanger– Providesasimplescrip9nglanguage– Translatesscriptsintoasecurekernelmodules– Providesmaintained„Tapsets“foreverydayuse!
– Myopinion:Itisnotjustanother„geek“toy!Linuxhasalwayslackedsuchatool!
10Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
![Page 11: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/11.jpg)
Networktrafficpernode:
11Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
![Page 12: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/12.jpg)
Networktrafficpernode:
12Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
![Page 13: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/13.jpg)
Networktrafficperjob:
13Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
Seeindividualjobs
![Page 14: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/14.jpg)
Networktrafficperjob:
14Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
Seeindividualjobs
![Page 15: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/15.jpg)
Detailednetworktrafficforonejob:
15Systemtap‐CernSchoolofCompu9ng‐MalteNuhn8/26/09
NetworkTraffi
c(M
byte/sec)
Time(sec)
SeecontactedHosts
![Page 16: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/16.jpg)
Summary:Systemtap
8/26/09 16Systemtap‐CernSchoolofCompu9ng‐MalteNuhn
![Page 17: Using Systemtap to analyze performance and funconal problems · This is only a short (non technical) appezer . A lot of technical details were hidden 8/26/09 Systemtap ‐ Cern](https://reader034.vdocuments.us/reader034/viewer/2022051807/6006fee9caa89750667543d6/html5/thumbnails/17.jpg)
Addi9onalinforma9on
Systemtap:• hhp://sourceware.org/systemtap/• hhp://www.redbooks.ibm.com/abstracts/redp4469.html
• #systemtaponirc.freenode.net
LinuxKernel:• hhp://kernelnewbies.org/
8/26/09 Systemtap‐CernSchoolofCompu9ng‐MalteNuhn 17