Demystifying Linux CPU Load Averages

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 44

  • @keti000001
    @keti000001 4 ปีที่แล้ว +8

    finally, a video that explains the subject so detailed and clear. Thanks!!

  • @davidbreier84
    @davidbreier84 5 ปีที่แล้ว +3

    Thank you so much! I am currently working myself through the process of getting certified as a linux admin by my employer and your videos gave me a deeper understanding than the materials provided. So thank you very much and keep up the good work!

    • @beginlinuxguru7354
      @beginlinuxguru7354  5 ปีที่แล้ว

      Many thanks! I'm glad I could help, and I appreciate the kind words.

  • @se10011
    @se10011 5 ปีที่แล้ว

    This is by far the best explanation, and might I say the only proper one on TH-cam. Thank you so much for clearing things out

  • @garciajero
    @garciajero 5 ปีที่แล้ว

    This was a really nice video, it's worth mention that tasks blocked on io also add up, especially no interruptible tasks

    • @beginlinuxguru7354
      @beginlinuxguru7354  5 ปีที่แล้ว

      Many thanks! I appreciate the kind words and the suggestion.

  • @brittaniemann8535
    @brittaniemann8535 4 ปีที่แล้ว

    thank you very much, we never covered that topic at school and I'm going to have my LPIC exams next week, so I guess it's good to know since the uptime command is in the curriculum. I like your videos a lot!

  • @mdbarin2014
    @mdbarin2014 ปีที่แล้ว

    Mr.Donnie. Thanks millions.

  • @BoonieOetGelaen
    @BoonieOetGelaen 4 ปีที่แล้ว

    Thanks for explaining. I should have investigated this 20 years ago.

  • @Michi-go5xi
    @Michi-go5xi 3 ปีที่แล้ว

    Now that explains why my system load goes >4 and the machine is fine :D That was a very nice and funny explanation, thanks!

  • @srivastavavipul2606
    @srivastavavipul2606 3 ปีที่แล้ว

    Its really a wonderful crystal clear concept explanation .. thank you for sharing your knowledge with us ..

  • @techmiker
    @techmiker 4 ปีที่แล้ว

    I haven’t come across a book that explains this, if it even explains it at all, so thank you and the drawings were very helpful in visualising the process (bad word to use in this scenario but you get it!)

  • @DLooperLive
    @DLooperLive 5 ปีที่แล้ว

    Thank you good tutorial, I'm completely understand Average CPU load now

  • @CapsLock33
    @CapsLock33 2 ปีที่แล้ว

    thank you for this info.

  • @dineshrathee3306
    @dineshrathee3306 4 ปีที่แล้ว

    I would say - "Simply Brilliant" :)

  • @ruchk3872
    @ruchk3872 4 ปีที่แล้ว

    thanks for explaining so clearly

  • @joesminis
    @joesminis 4 ปีที่แล้ว

    This video would have helped me out in college!

  • @monginaval1731
    @monginaval1731 5 ปีที่แล้ว

    thanks for the clarification

  • @sarathsivankutty6685
    @sarathsivankutty6685 2 ปีที่แล้ว

    Thanks

  • @iammrchetan
    @iammrchetan 3 ปีที่แล้ว

    Hello,
    Thanks for this video!
    A question: we've pretty powerful physical machine i.e. cpu cores: 24, ram: 128G. The load average is as:
    13:57:27 up 292 days, 12:16, 2 users, load average: 31.50, 39.35, 44.05
    13:59:26 up 292 days, 12:18, 2 users, load average: 33.17, 36.88, 42.54
    I can understand that machine nicely utilised and having high load on it. Top commands show as below that there're still idle cpus on machine.
    What is your opinion about this? What should be the actions from our end?
    %Cpu0 : 65.1 us, 9.7 sy, 0.0 ni, 10.4 id, 0.0 wa, 0.0 hi, 14.8 si, 0.0 st
    %Cpu1 : 60.9 us, 8.4 sy, 0.0 ni, 30.0 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu2 : 63.0 us, 8.8 sy, 0.0 ni, 12.1 id, 0.0 wa, 0.0 hi, 16.2 si, 0.0 st
    %Cpu3 : 64.7 us, 8.1 sy, 0.0 ni, 26.4 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu4 : 60.0 us, 10.0 sy, 0.0 ni, 10.0 id, 0.0 wa, 0.0 hi, 20.0 si, 0.0 st
    %Cpu5 : 43.1 us, 7.7 sy, 0.0 ni, 48.5 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu6 : 70.2 us, 9.8 sy, 0.0 ni, 19.3 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu7 : 58.4 us, 11.4 sy, 0.0 ni, 29.9 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu8 : 70.2 us, 10.8 sy, 0.0 ni, 16.6 id, 1.4 wa, 0.0 hi, 1.0 si, 0.0 st
    %Cpu9 : 57.4 us, 9.4 sy, 0.0 ni, 32.6 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu10 : 68.4 us, 10.4 sy, 0.0 ni, 19.9 id, 0.0 wa, 0.0 hi, 1.3 si, 0.0 st
    %Cpu11 : 55.0 us, 12.1 sy, 0.0 ni, 32.6 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu12 : 63.6 us, 11.2 sy, 0.0 ni, 23.5 id, 0.0 wa, 0.0 hi, 1.7 si, 0.0 st
    %Cpu13 : 66.4 us, 8.1 sy, 0.0 ni, 25.2 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu14 : 70.8 us, 9.1 sy, 0.0 ni, 18.8 id, 0.0 wa, 0.0 hi, 1.3 si, 0.0 st
    %Cpu15 : 55.7 us, 7.8 sy, 0.0 ni, 36.1 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu16 : 69.7 us, 10.8 sy, 0.0 ni, 18.5 id, 0.0 wa, 0.0 hi, 1.0 si, 0.0 st
    %Cpu17 : 64.3 us, 11.7 sy, 0.0 ni, 23.7 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu18 : 64.0 us, 10.1 sy, 0.0 ni, 24.6 id, 0.0 wa, 0.0 hi, 1.3 si, 0.0 st
    %Cpu19 : 54.0 us, 10.4 sy, 0.0 ni, 34.9 id, 0.0 wa, 0.0 hi, 0.7 si, 0.0 st
    %Cpu20 : 61.3 us, 9.8 sy, 0.0 ni, 25.9 id, 0.0 wa, 0.0 hi, 3.0 si, 0.0 st
    %Cpu21 : 64.4 us, 9.7 sy, 0.0 ni, 25.5 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st
    %Cpu22 : 61.3 us, 8.7 sy, 0.0 ni, 9.3 id, 0.0 wa, 0.0 hi, 20.7 si, 0.0 st
    %Cpu23 : 54.0 us, 10.7 sy, 0.0 ni, 34.9 id, 0.0 wa, 0.0 hi, 0.3 si, 0.0 st

    • @hariradhakrishnan
      @hariradhakrishnan 3 ปีที่แล้ว

      Taking that you have 24 cores, I don't think those load averages are very high. I guess your server should be perfectly fine.

    • @beginlinuxguru7354
      @beginlinuxguru7354  2 ปีที่แล้ว

      Hi there! I agree with Hari. Those load averages look fine for a 24-core server.

  • @vinod-ij7dz
    @vinod-ij7dz 5 ปีที่แล้ว

    ❤️ I clearly my mind . Thank you so much. I was so much confused.

  • @thinktech2936
    @thinktech2936 5 ปีที่แล้ว

    Good explanation thank you.

  • @vinitsunita
    @vinitsunita 4 ปีที่แล้ว

    Nice explaination

  • @MustacheBoyz
    @MustacheBoyz 3 ปีที่แล้ว

    what command allows you to show only the last 15 minutes of the load average? and not the 1 minute and 5 minute

    • @beginlinuxguru7354
      @beginlinuxguru7354  2 ปีที่แล้ว

      The only way I would know to do that would be to pipe the output of "uptime" into either awk or cut. For example:
      uptime | cut -d" " -f 14

  • @peezhead
    @peezhead 8 หลายเดือนก่อน +1

    Does the 1 minute, 5 minute and 15 minute mean the time u have the computer on?

    • @beginlinuxguru7354
      @beginlinuxguru7354  8 หลายเดือนก่อน +1

      No, that's just a measure of the load averages for the past one minute, five minutes, and 15 minutes. It has nothing to do with how long the computer has been running.

    • @peezhead
      @peezhead 8 หลายเดือนก่อน

      @@beginlinuxguru7354 gracias!

  • @philipk883
    @philipk883 4 ปีที่แล้ว +1

    Main Takeaway: When in doubt, choose Black.

  • @AdvaTced
    @AdvaTced ปีที่แล้ว

    are you using CPU rathers the GPU for BITCOIN(COIN) minning? Why not to use the GPU?

    • @beginlinuxguru7354
      @beginlinuxguru7354  ปีที่แล้ว +1

      If I remember correctly, it was XMR mining, which only uses the CPU.

  • @josepablovalverde5672
    @josepablovalverde5672 3 ปีที่แล้ว

    No sr, there's no mistery, not anymore. Thank you!

  • @farhihicham1171
    @farhihicham1171 ปีที่แล้ว +1

    You are great when explaining linux, and soooo bad when drawing :d