Mint isn't just for noobs (compiling the kernel)

Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
8,430
Reaction score
6,859
Credits
56,549
Discussion

A while ago I asked about compiling the kernel on Mint 21 Xfce. Yesterday I finished installing my custom kernel. It took over a day to go through the menuconfig settings. It took three tries to compile totalling about three hours. Basically, anything that implied laptop, Nvidia, or Intel got cut out of the kernel.

The results? I ran benchmarks before and after the install and recorded the avg RAM usage at idle. Benchmarks showed zero significant change but RAM usage went down by 0.5GB which on Xfce was enough to bring me down to 1012MB of RAM usage at idle. (Ryzen 5700G, 32GB RAM)

Would I recommend doing this? It depends! Systems with low physical RAM could benefit but you'd likely need to compile the kernel on a more capable system first. Or if saving any amount of RAM (no matter how big or small) is important to you, it's a good and practical learning experience.

Lastly, according to my google research, the 6.0 kernel is best if you don't have more than 2 NVMe drives as it appears that the Rust driver loses its competitive edge vs C drivers in that use case. 5.19 is probably your best bet for that scenario. I look forward to Rust completely eclipsing C in the probably not so distant future.

 


on Xfce was enough to bring me down to 1012MB of RAM usage at idle.
That much? I haven't used Mint in almost a year, but in other distros I use, they are sitting around at 500MB of RAM.
 
Brian, you trying to confuse me? If so, it worked.

The text you entered is exactly what the person at Reddit posted. I take it that this is not you but someone else.

Wiz
 
nah....I had already copied and pasted the text from Reddit......the text repeated when I entered the link from Reddit..........

i decided to leave it that way just to add a little mystique...
 
Bugger.
 
I have been using linux distros for over a year now...i don't think there's anything "noob" about any of them, it's overwhelmingly a computer hobbyist and server thing. People who want computers just for ease of use always quit early on, even though anybody could install a linux distro just for internet browsing very easily. That doesn't need to be complicated or frustrating at all.

Compiling a mint kernel is like 'LiTe HaxxER BroW
 

Members online


Top