zabconf rhel tuning

Upload: elfoman123

Post on 03-Jun-2018

242 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Zabconf RHEL Tuning

    1/30

    RHEL Performance Tuning:

    Using Zabbix to identify problems

    Andrew Nelson

    Consultant, Red Hat

    September, 21, 2012

  • 8/12/2019 Zabconf RHEL Tuning

    2/30

    Andrew elson2

    Performance Tuning Agenda

    whoami Why tune?

    Littles Law

    !nstrumentation Real world e"ample

  • 8/12/2019 Zabconf RHEL Tuning

    3/30

    Andrew elson#

    ! w"oami

    Andrew Nelsonanelson$redhat%&om

    Consultant with Red Hat North Ameri&a

    A&ti'e in the (abbi" &ommunity )or appro"imately *years

    +nown as nelsonab- in )orums and !RC

    Author o) (ab&on and (b"api

  • 8/12/2019 Zabconf RHEL Tuning

    4/30

    Andrew elson.

    #"y Tune

    /er)orman&e tunin is somethin we'e all needed todo at some point%

    inimie wait time

    !n&rease per)orman&e 3pae 'iews )or web ser'er4

    !n&rease lone'ity o) old hardware

    /ower sa'in

    !ts too slow- 35sers are always so spe&i)i&4

    A+A6 a"imie Return on !n'estment

  • 8/12/2019 Zabconf RHEL Tuning

    5/30

    Andrew elson7

    Little$s Law

    /er)orman&e tunin is somethin we ha'e all had to do atsome point%

    /er)orman&e tunin is de)ined by a )ormula 8nown asLittles Law

    L9:h /ublished in 1;ueuin and&onestion in telephone networ8s%

    L otal number o) Customers 3@ueue epth4 : Arri'al Rate

    h A'erae time to ser'i&e 3&ustomer4 re>uests

  • 8/12/2019 Zabconf RHEL Tuning

    6/30

    Andrew elsonueue,ss m M rep mem M sed sG%r3T0;U4,%G1GMaw8 sumV9O1P=Nprint sumP

    5ser/arameter9C/%t"Q>ueue,ss m M rep mem M sed sG%w3T0;U4,%G1GMaw8 sumV9O1P=Nprint sumP

  • 8/12/2019 Zabconf RHEL Tuning

    15/30

    Andrew elson17

    Real #orld Example

    Lets add some more raphs 3is84

    ')s%de'%readTdis8X,operationsU

  • 8/12/2019 Zabconf RHEL Tuning

    16/30

    Andrew elson1