Which LINUX Kernel should I use to BOOST Performance?

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 ก.ย. 2024
  • People wonder which Linux Kernel is best to use to boost performance on your system. Let's talk about the various different available Kernels and what the benchmarks are on Arch Linux.
    My Linux Cheat Sheet and 25 Page Checklist here:
    📚 learn.savvynik...
    Share this free tool and support Small TH-camrs
    editbulk.com
    (I made this tool to help creators)
    Discord Community:
    Discord Link: / discord
    Useful Links:
    Kernels - wiki.archlinux...
    Benchmarks - openbenchmarki...
    #kernel #linux #performance

ความคิดเห็น • 72

  • @DarkGT
    @DarkGT ปีที่แล้ว +51

    While stock kernel is mostly the best solution for the desktop users, the Android users get to experience some different results, because phone makers don't let their kernels to reach full potential.

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      Thanks for sharing

    • @IIlI396
      @IIlI396 ปีที่แล้ว

      Flash a caf kernel with thermal disabled and see (🔥)

    • @godnyx117
      @godnyx117 10 หลายเดือนก่อน

      Source?

  • @RealMephres
    @RealMephres 11 หลายเดือนก่อน +26

    The only improvement you'll get from changing Linux kernels is by building your own that has certain features you *don't* need disabled or completely removed, while also removing most unnecessary drivers/modules that you will never use. All of these things and some slight tweaks with what schedulers and other I/O or CPU-related settings you would want to use to gain a bit extra performance will be superior to most other options. It's pretty much cheating in the comparison, but if you want to go that route, it can give proper gains and reduce strain on your system.

    • @godnyx117
      @godnyx117 10 หลายเดือนก่อน +4

      Wow! A comment that says the truth isn't liked and popular! Never saw that before...

    • @RealMephres
      @RealMephres 8 หลายเดือนก่อน +1

      @@godnyx117 It's really the standard procedure, in all honesty. I'm confused as to why people see this as a surprise.

    • @godnyx117
      @godnyx117 8 หลายเดือนก่อน

      @@RealMephres Well, people go out to say that you are gonna get performance improvements, so people who never did it expect it to be true? 🤷

    • @RealMephres
      @RealMephres 8 หลายเดือนก่อน +1

      @@godnyx117 True enough. I guess the main issue I have is with people who promote the idea that the zen kernel is 100% better than the mainline or stable release kernels, which is only really true in edge cases.

    • @godnyx117
      @godnyx117 8 หลายเดือนก่อน +1

      @@RealMephres I have become more "serious" now, and I'm a programmer and I have stopped been obsessed with performance. There are other things to consider as well. Your time been one thing. Experimenting takes time, and it isn't worth it for a 2-3% performance different and that, one edge cases as you said!

  • @Psychx_
    @Psychx_ ปีที่แล้ว +33

    "Performance" can mean different things in different situations. I.e. for a server it probably means IO, request and database throughput, while for an interactive desktop system latency and responsiveness (esp. when the system is under load) are valued more. For gaming it's a middleground kind of thing, where the latest kernels are preferrable on AMD and Intel GPUs. Hence, there'll never be a kernel that is the fastest throughout all test categories.
    The Arch stock kernel is fine for 90% of people. The 7% that is lazy and wants to game, can use the Zen kernel, and the other 3% that is not lazy and wants to game probably installs the CachyOS kernel. LTS kernels can be very valuable if you have older hardware and don't gain anything from newer kernel features. LTS recieves bugfixes throughout its lifetime, but no feature updates.

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      Great summary

    • @orwennesfh4813
      @orwennesfh4813 ปีที่แล้ว

      I want to use CachyOS kernel, but it will crash my whole system when I start the QEMU virtual machine

  • @user-ke1ct7wq4g
    @user-ke1ct7wq4g ปีที่แล้ว +16

    I used to think the LTS kernel is faster, since it eats less memory, and was using that one. Thought there were less binaries than in current linux. Thanks for explaining :)

  • @matthiasbendewald1803
    @matthiasbendewald1803 ปีที่แล้ว +5

    I have 2 Laptops (mine and my daughters one) that I just switched away from zen to the vanilla kernel.
    Issues with stability are now gone, no noticable performance difference.

  • @VEKTOR_87
    @VEKTOR_87 ปีที่แล้ว +5

    very good video , pls upload more videos like this about kernels . I started learning Linux 6 months ago and im really interested in learning the linux kernel in depth and also for building for my pc and android device , i use Xanmod 6.1.9 stable as my kernel

  • @sTL45oUw
    @sTL45oUw ปีที่แล้ว +3

    Admirable reading skills

  • @tandlose
    @tandlose ปีที่แล้ว +6

    Isn't zen kernel for responsiveness and latency? Which wouldn't show up on this benchmark but does make your desktop feel faster

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      I’m not sure what you mean by latency but if you’re describing the time it takes for a processor to get an instruction before it acts on the instruction (a typical definition) then the benchmarks show there’s no real general performance boost. I did say in specific scenarios zen performs better but this is solely based on what zen developers want to focus on. Such as maybe a more responsive desktop.

    • @tandlose
      @tandlose ปีที่แล้ว +2

      @@SavvyNik ye sure but in the video it sounded like what they focused on was some small niece things, but i think everyone appreciates a responsive desktop. Basically these 100% cpu load for several minutes benchmarks dont accurately represents how it feels to use a computer. If my computer is 5% slower in all core workloads but significantly more responsive, id still say its faster. But great video anyway

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      I don’t agree. Those are 100 stress tests that run for extended period of time. Testing everything from memory, cpu, gpu, and storage. How else do you benchmark a system? Look up phoronix tools because it’s one of the staples in benchmarking and I think you’ll have a better understanding of how this is a decent representation of resource usage based on kernel.

  • @DJNebaJS
    @DJNebaJS ปีที่แล้ว +4

    You just glanced over the first chart, which shows that zen is, by far, the best. When it leads, it leads by a lot, and when it trails it trails by a tiny bit. The second graph shows nothing really meaningful.

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +2

      Please look back at the chart because the purple and red overlap each other (stable rolling release and zen) for almost all tests. There are a couple of tests where there’s a slim margin between them but that also goes both ways.

    • @DJNebaJS
      @DJNebaJS ปีที่แล้ว +2

      @@SavvyNik Yes I see that. And don't get me wrong, I do think it's a very valuable video. It would also be interesting to see how they compare in gaming and realtime audio latency. It would show if zen and realtime kernels are really necessary for those tasks. Thank you!

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      Yeah that would be nice to look at specific use case scenarios, because I would venture to say that zen would win out in gaming and audio. The realtime kernel won't make any difference in gaming and audio. More than likely it'll make things worse because the cpu can be preempted (interrupted) to do other tasks which would take away from audio and graphical processing since they're typically of higher priority on most basic kernels. With realtime you get to decide what is prioritized, but the task also has to be optimized to use realtime.

    • @DJNebaJS
      @DJNebaJS ปีที่แล้ว +1

      Cool. Thanks for the info!

  • @SouthFacedWindows
    @SouthFacedWindows 11 หลายเดือนก่อน +1

    So when you enable Zen kernel during the installation process on Arch it becomes the default kernel.

  • @matiasm.3124
    @matiasm.3124 ปีที่แล้ว +3

    I like this type of videos about kernels.. maybe you can nake one video for each stable release talking about new features and big fixes.. I think i saw those types of videos in your channel..

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      Thanks for the suggestion. Yeah, I’ve done videos similar to that before but only when there’s big changes were made in the kernel. Maybe I can refocus but make a monthly video with the latest updates or something.

  • @letmedwight
    @letmedwight 26 วันที่ผ่านมา

    Whats about this new 6.10 kernel?
    I heard a lot of news about it, with large performance improvements.

  • @rafapedziwiatr2386
    @rafapedziwiatr2386 ปีที่แล้ว +5

    Most surprising for me is that every type is the best in some area. Also, after you explained this, I would expect that the realtime will be always the slowest one

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      More than likely

  • @Johnscompany
    @Johnscompany 2 หลายเดือนก่อน

    i use kubuntu with a RT kernel, for music production, and when i put the kernel normal, the only difference that i see its on rt kernel its a better but no so much lower audio latency when I did recorded music, but on other things, the normal stable kernel it feels better. the responsive from the windows animations and things like that its a little better.

  • @1Iljo1
    @1Iljo1 ปีที่แล้ว +3

    very good and informative video, keep up the good work :D

    • @1Iljo1
      @1Iljo1 ปีที่แล้ว +1

      the realtime kernel is also better for battery life

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      Thanks!

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      I can’t say I’ve seen that result before.

  • @killzone3507
    @killzone3507 ปีที่แล้ว +1

    there are also cachyos kernel which increase performance because of their schedulers

  • @woodenbeast9337
    @woodenbeast9337 ปีที่แล้ว +2

    I saw Kernal and thought it was a cooking corn show. Het J/l Your channel is great. I want a kernal that is for OBS live streaming from your own server

  • @oraz.
    @oraz. ปีที่แล้ว

    Number of first place finishes could be deceptive. It doesn't say anything about the magnitude of difference overall.

  • @jamegumb7298
    @jamegumb7298 11 หลายเดือนก่อน

    Just recompile if the little things matter that much. If it can be left out, leave it out, if you need it, put it in not as module if possible. Not liker ystems hurt for ram these days.
    Tune every detail for your system.

  • @AkosiJeThro
    @AkosiJeThro 4 หลายเดือนก่อน

    Heroic games launcher won't on linux hardened kernel

  • @Sweetfart444
    @Sweetfart444 ปีที่แล้ว

    why is it my ram and ssd getting soo hot even when the laptop is idle? my battery and cpu side is much cooler than the ram and ssd side

  • @jordan2869
    @jordan2869 ปีที่แล้ว +1

    New to linux here just started a few weeks ago.
    I have made a custom kernel for my mini pc M93P Thinkcentre, I compiled 6.1.8 Stable on Linux Mint 20.3. Do I need to keep updating each time there is a new release? I noticed there is now a 6.1.9 Stable.

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว

      I personally wouldn't bother unless you find that you're missing something driver wise / you need some sort of a vulnerability update that may effect your hardware.

    • @jordan2869
      @jordan2869 ปีที่แล้ว

      @@SavvyNik thanks, as I had already started compiling the new 6.1 .9. I think I will finish making that build and leave it there for a while. I noticed 6.1.8 is not even on kernelorg anymore?

  • @guilherme5094
    @guilherme5094 ปีที่แล้ว +3

    👍

  • @bobbyjohnson116
    @bobbyjohnson116 2 หลายเดือนก่อน

    CachyOS is pretty sweet!

  • @greatwavefan397
    @greatwavefan397 ปีที่แล้ว +1

    Is there a kernel for low power usage?

    • @LovecraftianGodsKiller
      @LovecraftianGodsKiller ปีที่แล้ว +3

      Not really. It all comes down to what you are running for say your desktop environment, or window manager. Like if you use gnome and have quite a few extensions the power usage is going to be considerably higher. Or if you use KDE and have quite a few widgets and applets that refresh very often the power usage is also going to be higher.
      You could install auto-cpufreq (exact name of the package available from the aur) which will automatically set your CPU to a higher or lower frequency depending on what you are doing and will allow the CPU to run at full power when your computer is plugged into a power source.

    • @aiisnice1453
      @aiisnice1453 ปีที่แล้ว +2

      switch to arm?

  • @bhaijaan7052
    @bhaijaan7052 ปีที่แล้ว +2

    I have poco x3 pro Android
    Wich is best for gaming performance
    Kali nethunter kernel or kangaroo kernel?
    Please reply

    • @TheKevinGDX
      @TheKevinGDX ปีที่แล้ว

      ???

    • @bhaijaan7052
      @bhaijaan7052 ปีที่แล้ว +1

      @@TheKevinGDX wich kernel is best performance in gaming?
      Kangaroo kernel or Kali net hunter kernel?

    • @shringe9769
      @shringe9769 ปีที่แล้ว +1

      If you use a dual-kernel configuration like me, you can find a good balance for performance, and use one of the many tools out there to custom compile a kernel with the best of both worlds.

    • @OneTwoThreeFour56
      @OneTwoThreeFour56 ปีที่แล้ว +1

      ​@@bhaijaan7052 This video is about kernels on desktop linux and not android.

    • @Akronn
      @Akronn ปีที่แล้ว

      ​@@OneTwoThreeFour56Yeah lmao. On android, you can't freely switch kernel versions or patch levels.

  • @TsjuunTze
    @TsjuunTze ปีที่แล้ว +2

    In my humble opinion the LTS is fastest. More important for me personal is that it also provides the best mix between secutity and stability.
    Thank you!

    • @SavvyNik
      @SavvyNik  ปีที่แล้ว +1

      Yeah I think that applies to most people. Unless for some reason they’re keeping up with the latest and greatest in hardware

    • @VollkinSea
      @VollkinSea 10 หลายเดือนก่อน

      ​@@SavvyNikeither that or if someone is using nonstandard hardware, sometimes LTS may just not have the support yet for certain laptops or other specialized devices, requiring a more up to date kernel for better compatibility, performance, and ironically, stability.

  • @Aoitori365
    @Aoitori365 ปีที่แล้ว +1

    Not everyone uses arch

    • @Akronn
      @Akronn ปีที่แล้ว +3

      i use arch btw

    • @slavic_commonwealth
      @slavic_commonwealth 9 หลายเดือนก่อน +2

      i use arch too, btw.

    • @user-rc6mw9ju6m
      @user-rc6mw9ju6m 4 หลายเดือนก่อน +2

      your icon seems like arch btw

    • @oni741
      @oni741 3 หลายเดือนก่อน

      @@user-rc6mw9ju6m his icon looks like this Ⓐ btw 😂[LOL]

  • @louisthomas8130
    @louisthomas8130 11 หลายเดือนก่อน

    Garuda might have seemed a little snappier with zen. But lts causes much less trouble