Join the community today
Register Now

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

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

  1. rdan

    rdan Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    6:50 PM
    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

    49,031
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    8:50 PM
    Nginx 1.21.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 Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    6:50 PM
    Mainline
    10.2
    Thanks, mine is Coffee Lake.
     
  4. rdan

    rdan Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    6:50 PM
    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

    49,031
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    8:50 PM
    Nginx 1.21.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

    177
    39
    28
    May 22, 2019
    Ratings:
    +128
    Local Time:
    1:50 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 Premium Member Premium Member

    5,299
    1,328
    113
    May 25, 2014
    Ratings:
    +2,052
    Local Time:
    6:50 PM
    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

    49,031
    11,232
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,483
    Local Time:
    8:50 PM
    Nginx 1.21.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.