Get the most out of your Centmin Mod LEMP stack
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,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    11:40 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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    11:40 AM
    Mainline
    10.2
    Thanks, mine is Coffee Lake.
     
  4. rdan

    rdan Well-Known Member

    5,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    11:40 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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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:
    6:40 AM
    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,452
    1,418
    113
    May 25, 2014
    Ratings:
    +2,212
    Local Time:
    11:40 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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    1:40 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    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.