What are the differences in the kernels?

On ROME what are the differences in the kernels?
I’m just going through and doing some “spring cleaning”, for lack of a better term, and noticed I have several different kernels installed. I briefly recall this subject was discussed sometime back in the Matrix space but thought we should put it here in case (and you know it will) it comes up again.

Obviously being a desktop all I really want or need to run are the kernel-desktop ones.
But can someone give an explanation of the difference between a gcc and server kernels and why and how they end up getting installed during an upgrade?
Should probably explain it in noobie terms.

And what was the solution that was discussed in Matrix to keep it from happening in the future?

1 Like

Some details here.

1 Like

kernel-desktop is the default kernel for desktop use – optimized for latency at the cost of a little performance.
kernel-server is the default kernel for server use – optimized for performance with latency as a second thought.
kernel-desktop-gcc is the same as kernel-desktop, but compiled with gcc instead of clang
kernel-server-gcc is the same as kernel-server, but compiled with gcc instead of clang

You can run kernel-server on a desktop and kernel-desktop on a server, and both will work - they’re just optimized for different workloads.

1 Like

In that thread it talks about running
sudo dnf remove hfsutils
before doing the distro-sync. Does that need to be run every time in the future or is it a one and done thing?

I recall running it last time and still got the other kernels installed.

No

$ rpm -q hfsutils
or
$ rpm -qa|grep hfsutils

if you have it then remove it.

1 Like