I have the following kernels installed:

  • linux-zen (Zen)
  • linux-rt (RealTime)
  • linux-hardened (Security Hardened)
  • linux-lts (Long Term Support)
  • linux-tr-lts (Realtime LTS)

When I boot up, I try the different kernels from time to time just to see if anything interesting happens. It never does.

My question: How do I actually physically notice the difference between these kernels? If I use RT, does Firefox spawn quicker (in my testing, no, not really)?

What are some use cases when I can really see the difference in these kernels?

  • wabasso@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    ·
    2 days ago

    Ok this discussion reminds me of a gripe: Is there a Linux distribution or kernel that prioritizes the UI over everything else, including an OOM situation?

    I’ve never had (modern) Windows kernel panic on me, or completely slow to the point I can’t get Ctrl+Alt+Del registered.

    Let me know if I’m just using Linux stupidly though…

    • merthyr1831@lemmy.ml
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 day ago

      Yeah I’ve had multiple times where a silly process (usually a game running via WINE) will shit itself and lock the whole desktop. it’s my only gripe even if it’s rare

    • moody@lemmings.world
      link
      fedilink
      arrow-up
      6
      ·
      2 days ago

      I’ve definitely had Windows hard lock before and stop responding to the keyboard, from Win95 all the way to Win10. I have no experience with Win11 so I can’t speak for that, but all others have situations where it can happen.

      In fact, Windows is bad enough that the disk usage being high can cause the system to stop responding until it’s done and drops back down.

      • AnyOldName3@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        You can jam the Windows UI by spawning loads of processes with equivalent or higher priority to explorer.exe, which runs the desktop as they’ll compete for CPU time. The same will happen if you do the equivalent under Linux. However if you have one process that does lots of small allocations, under Windows, once the memory and page file are exhausted, eventually an allocation will fail, and if the application’s not set up to handle that, it’ll die and you’ll have free memory again. Doing the same under every desktop Linux distro I’ve tried (which have mostly been Ubuntu-based, so others may handle it better) will just freeze the whole machine. I don’t know the details, but I’d guess it’s that the process gets suspended until its request can be fulfilled, so as long as there’s memory, it gets it eventually, but it never gets told to stop or murdered, so there’s no memory for things like the desktop environment to use.

        • nyan@sh.itjust.works
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          On Linux, the OOM reaper should come for the memory cannibal eventually, but it can take quite a while. Certainly it’s unlikely to be quick enough to avoid the desktop going unresponsive for a while. And it may take out a couple of other processes first, since it takes out the process holding the most memory rather than the one that’s trying to allocate, if I recall correctly.