Join the community today
Become a Member

Upgrade the Linux Kernel from ELRepo, Is it worth it?

Discussion in 'Dedicated server hosting' started by rdan, May 9, 2020.

  1. rdan

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    2:22 AM
    Mainline
    10.2
    I'm testing this now, and so far no issue but does it really improve website performance?

     
    Last edited: May 9, 2020
  2. eva2000

    eva2000 Administrator Staff Member

    50,460
    11,661
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,082
    Local Time:
    4:22 AM
    Nginx 1.25.x
    MariaDB 10.x
    Depends on cpu model the kernel is paired with and what you're testing. Intel cpus newer than Intel Skylake or AMD EPYC/Ryzen will benefit from Linux 5.3+ Kernels.
     
  3. rdan

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    2:22 AM
    Mainline
    10.2
    Thanks, mine is Coffee Lake.
     
  4. rdan

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    2:22 AM
    Mainline
    10.2
    Can you please share those custom_config variables I can enable that require kernel 5.3+ ?
    Thanks Eva.
     
  5. eva2000

    eva2000 Administrator Staff Member

    50,460
    11,661
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,082
    Local Time:
    4:22 AM
    Nginx 1.25.x
    MariaDB 10.x
    You mean for optional Nginx IOURING patches Nginx - Double aio bug on NGINX_IOURING_PATCH='y' ? I'd test them carefully as I haven't done much testing on them for a while now or kept up to date with IOURING patches for Nginx.
     
  6. tininho

    tininho Active Member

    182
    44
    28
    May 22, 2019
    eu
    Ratings:
    +135
    Local Time:
    9:22 PM
    I have almost identical snippet with a slight difference
    Code:
    ..
    grub2-set-default 0
    grub2-mkconfig -o /boot/grub2/grub.cfg
    But this leads to Kernel 3.1x whenever kernel is upgraded through yum and server is restarted. Is your code upgrade proof, maybe I can learn from that?

    And @eva2000, is it possible to have a variable such as "KERNEL5='y'" in custom_config, to enable this without additional code?
     
  7. rdan

    rdan Well-Known Member

    5,419
    1,386
    113
    May 25, 2014
    Ratings:
    +2,167
    Local Time:
    2:22 AM
    Mainline
    10.2
    Just the sudo difference :)

    I'm not sure yet about this. Maybe version 5 is always on 0/zero/top location.
     
  8. eva2000

    eva2000 Administrator Staff Member

    50,460
    11,661
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,082
    Local Time:
    4:22 AM
    Nginx 1.25.x
    MariaDB 10.x
    hard to automate as you experienced, not all systems are configured the same with same hardware so how it's implemented will differ. So left to end user to figure out.