Linux Performance Tools, Brendan Gregg, part 1 of 2

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Tutorial by Brendan Gregg of Netflix for O'Reilly Velocity conference 2015 Santa Clara. Part 1 of 2.
    Slides: www.slideshare.net/brendangreg... or velocityconf.com/devops-web-pe...
    Description: "
    There are many performance tools nowadays for Linux, but how do they all fit together, and when do we use them? This tutorial explains methodologies for using these tools, and provides a tour of four tool types: observability, benchmarking, tuning, and static tuning. Many tools will be discussed, including top, iostat, tcpdump, sar, perf_events, ftrace, SystemTap, sysdig, and others, as well observability frameworks in the Linux kernel: PMCs, tracepoints, kprobes, and uprobes.
    This tutorial is updated and extended on an earlier talk that summarizes the Linux performance tool landscape. The value of this tutorial is not just learning that these tools exist and what they do, but hearing when and how they are used by a performance engineer to solve real world problems - important context that is typically not included in the standard documentation."

Комментарии • 40

  • @domaincontroller
    @domaincontroller 4 года назад +115

    07:08 system is running slow, commands
    07:11 top (10)
    07:31 iotop
    07:45 iostat -xz 1 (6)
    07:57 netstat
    08:14 ss
    08:34 dstat
    08:43 sar -n DEV 1 (8)
    08:59 vmstat (3)
    09:10 | 09:49 strace
    10:17 what do they mean by the system is slow, latency
    11:51 packages, sysstat, procps, coreutils
    ============================================
    12:07 Anti-methodologies
    ============================================
    12:13 street light anti-method
    13:25 drunk man anti-method
    13:59 blame someone else anti-method
    14:43 | 16:02 problem statement method
    ============================================
    16:30 workload characterization method
    17:48 USE method, utilization, saturation, errors
    18:58 USE method for hardware systems
    21:20 off-CPU Analysis
    22:36 CPU profile method
    24:26 RTFM Method
    24:54 reading linux source code, jvm
    26:50 How do you measure them
    ######################
    27:07 observability tools
    ######################
    27:18 uptime (1)
    30:02 top (or htop)
    31:57 ps -ef
    32:28 vmstat 1 (3)
    33:28 instant-xmdz
    36:02 mpstat -P ALL 1 (4)
    36:14 free -m (7)
    36:46 latency is much higher, can you debug it
    42:32 observability tools: basic
    ***********************
    intermediate
    ***********************
    42:48 strace
    44:21 tcpdump
    46:15 net stat, nicstat
    46:49 pidstat 1 (5)
    47:21 swapon
    47:33 lsof
    47:58 sar (8)
    50:38 app is taking forever
    50:45 | 51:17 pidstat, system time
    50:57 system time, iostat
    51:26 am i swapping ? vmstat
    51:51 strace

  • @Locane256
    @Locane256 5 лет назад +2

    Oh hey! You're the author of that observability tools image I have copied to every possible device and storage location so I can always reference it! Hell yeah, thank you!

  • @TirajAdikari
    @TirajAdikari 8 лет назад +1

    I'm troubleshooting a java performance issue at the moment and found this systematic method of analysis very useful. Thanks Brendan.

  • @bhanureddy8780
    @bhanureddy8780 4 года назад

    This is amazing. true love for the bits and bytes

  • @abdullahadel1141
    @abdullahadel1141 3 месяца назад

    Thank you for a wonderful session, much appreciated. 👏

  • @ruoxizhang9486
    @ruoxizhang9486 6 лет назад

    So clear and educational, thanks for sharing!

  • @umamaheshsukamanchi
    @umamaheshsukamanchi 5 лет назад

    Outstanding content. Very helpful

  • @jaashutosh
    @jaashutosh 4 года назад

    Very Useful content, thank you Brendan

  • @OryBand
    @OryBand 7 лет назад +26

    One of the best devops presentations out there. Good job Brendan! You're making the world a better place one step at a time.

    • @rhugga
      @rhugga 6 лет назад +14

      Performance tuning is not dev ops. This is basic, fundamental systems administration.

    • @atom_rr
      @atom_rr 4 года назад +3

      @@rhugga hope that he knows what devops is nowadays...

  • @subhabera5775
    @subhabera5775 4 года назад

    Thanks Brendan :) You are awesome.

  • @supremepancakes4388
    @supremepancakes4388 4 года назад

    I like how you start off straight to the point when you said that when you are mentored by someone you basically eliminate what you dont need to know lol

  • @karthiknedunchezhiyan1171
    @karthiknedunchezhiyan1171 3 года назад +2

    Very informative! keep going!

  • @charle09111
    @charle09111 4 года назад

    OMG!! I really need it.

  • @bullishtradersoul
    @bullishtradersoul 8 лет назад +1

    Excellent

  • @ArslanFarooqQureshi
    @ArslanFarooqQureshi Год назад

    You sir, are a legend.

  • @moustaphakourouma9402
    @moustaphakourouma9402 6 лет назад

    Very useful thank you !

  • @AndreKhan716
    @AndreKhan716 6 лет назад

    Thank you!

  • @shankerlee
    @shankerlee 8 лет назад +4

    brilliant

  • @dineshrathee3306
    @dineshrathee3306 4 года назад

    Perfection !!

  • @davidleal714
    @davidleal714 3 года назад

    Thank you man, I will definitely copy yours methods

  • @king0s
    @king0s Год назад

    This is golden

  • @bimalacharya9020
    @bimalacharya9020 2 года назад

    fantastic !

  • @azufendusgarendum6583
    @azufendusgarendum6583 3 года назад

    Thank you very much

  • @anglojojo
    @anglojojo 8 лет назад

    Good video :)

  • @pixelPlex
    @pixelPlex 3 года назад

    Which tools are used for monitoring network usage/performance of a process?

  • @harshbhadoria7200
    @harshbhadoria7200 4 года назад +1

    Hi guys, can anyone tell how is it possible to collect all metrics from Linux and visualize them in windows OS? How to make a bridge or connection between Linux and Windows and what are the technologies to be used.

  • @yunuskoning7584
    @yunuskoning7584 3 года назад

    Hi Brendan,
    You are not by any chance available for freelance performance trouble shooting projects?

  • @elabeddhahbi3301
    @elabeddhahbi3301 7 месяцев назад

    I'm speechless than you

  • @QuadDerrick
    @QuadDerrick 3 года назад

    "more than 80 characters is a sin in unix world" :):):) didnt know but yea, makes sence.
    Norway

  • @sealovers1374
    @sealovers1374 28 дней назад

    they present linux but all of them use MacOS

  • @retropaganda8442
    @retropaganda8442 4 года назад

    wtf is this macintosh :(

  • @chenyifa
    @chenyifa 5 лет назад

    too slow

  • @sigridopps3049
    @sigridopps3049 6 месяцев назад

    unprepared and confused

    • @ManiBalajiC
      @ManiBalajiC Месяц назад

      thats why he is the head of the netflix system performance.

  • @rchaudry
    @rchaudry 2 года назад

    Thank you!