Welcome to Centmin Mod Community
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,077
    1,255
    113
    May 25, 2014
    Ratings:
    +1,908
    Local Time:
    11:41 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

    47,292
    10,701
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,626
    Local Time:
    1:41 PM
    Nginx 1.19.x
    MariaDB 5.5/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,077
    1,255
    113
    May 25, 2014
    Ratings:
    +1,908
    Local Time:
    11:41 AM
    Mainline
    10.2
    Thanks, mine is Coffee Lake.
     
  4. rdan

    rdan Well-Known Member

    5,077
    1,255
    113
    May 25, 2014
    Ratings:
    +1,908
    Local Time:
    11:41 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

    47,292
    10,701
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,626
    Local Time:
    1:41 PM
    Nginx 1.19.x
    MariaDB 5.5/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

    153
    36
    28
    May 22, 2019
    Finland
    Ratings:
    +111
    Local Time:
    6:41 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,077
    1,255
    113
    May 25, 2014
    Ratings:
    +1,908
    Local Time:
    11:41 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

    47,292
    10,701
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,626
    Local Time:
    1:41 PM
    Nginx 1.19.x
    MariaDB 5.5/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.