Welcome to Centmin Mod Community
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 Well-Known Member

    5,018
    1,219
    113
    May 25, 2014
    Ratings:
    +1,847
    Local Time:
    6:54 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

    45,974
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    8:54 AM
    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,018
    1,219
    113
    May 25, 2014
    Ratings:
    +1,847
    Local Time:
    6:54 AM
    Mainline
    10.2
    Thanks, mine is Coffee Lake.
     
  4. rdan

    rdan Well-Known Member

    5,018
    1,219
    113
    May 25, 2014
    Ratings:
    +1,847
    Local Time:
    6:54 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

    45,974
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    8:54 AM
    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

    131
    34
    28
    May 22, 2019
    Nordic
    Ratings:
    +95
    Local Time:
    12:54 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,018
    1,219
    113
    May 25, 2014
    Ratings:
    +1,847
    Local Time:
    6:54 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

    45,974
    10,444
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,206
    Local Time:
    8:54 AM
    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.