(Very) brief guide on optimizing old laptops using Linux
Posted by Western-Mode-7743@reddit | linux | View on Reddit | 6 comments
Hi! I'm a young middle schooler who's pretty tech-savvy and looking to share knowledge on some stuff.
One thing I've done recently is trying to bring back an old laptop. Not horribly old - only about 6 years old, however it was running Windows 11 (eugh) and took 15 seconds to open a browser.
Here's how I turned that 15 seconds into 2, and turned it into a real, working laptop again, that you can use for pretty much anything that a typical person uses a laptop for.
Maybe not workstation and stuff like that but it does anything you could ask out of a laptop.
Lets go!
- I used Arch Linux. I know it's a hard first time distro however if you've ever distro-hopped before like me - I switched from Nobara -> CachyOS -> Arch (not for just the larp) and have gained some experience. I used the included archinstall script and made sure to add modules like:
Bluetooth
Printers
Pipewire
Make sure to also get an LTS kernel, and configure limine!
And since Arch's iso is only about 1.4 GB, it's impressively lightweight and speeds up any old system.
Yes, I know that there are other distros out there that are specifically targeted towards old hardware; however, I find that Arch is by far the most customizable.
The AUR and Pacman also add to reasons of why to use Arch.
- Format as btrfs (if you have a decent ssd)
For SSD's always use btrfs. It's stable, and offers a lot of backup snapshots. Although raw speed is not the same, btrfs uses some form of zstd compression when moving around files and speeds up real world performance.
- Choose a light DE
This one's especially important. If you have decent hardware from the last 5-8 years or so, something like KDE or Budgie (what I use) wouldn't hurt. Older than that? A few options:
-
XFCE. I've used this one before. Pretty fast, but it doesn't have Wayland support and though responsive, lightdm is buggy.
-
LXDE. Like xfce, I think, but even better for old hardware.
-
LXQt. What I recommend. Uses Qtile framework, so wayland support included out of the box; the successor to LXDE.
-
OPTIMIZE, OPTIMIZE, OPTIMIZE!
This step takes the longest so I won't list every exact thing I did here. I'll just list what I did, not how. That's a bigger conversation for a different day.
-
Configured terminal - swapped from stock terminal to Kitty; changed shell from bash -> fish, configured starship, added shortcuts.
-
Kernel - Cross-compiled a kernel (tkg) from my main rig, optimized with every instruction the laptop had - Full LTO, znver1, and -O3 optimizations to squeeze performance out of the computer.
-
Configured ease of use - took so long. Configured paru, installed limine-update-tools and such for the limine bootloader and configured that, and a lot more.
The results speak for themselves.
Here's for a Lenovo 81W1, with a Ryzen 5 3500U APU:
Single core - 1,149 (Average - 878) Total gain - \~31%
Multi-core - 3,298 (Average -2,512) Total gain - \~31%
Try it for yourself.
Thanks for reading. Peace out, have a blessed day!
moderately-extremist@reddit
LXDE isn't like XFCE. It's like LXQt but lighter and looks better.
Western-Mode-7743@reddit (OP)
Got it! Never used lxde, thanks for the tip. I’ve only used lxqt but I’m pretty sure it’s the successor, no?
moderately-extremist@reddit
Well, kinda yeah. The original developer of LXDE (and only developer, at that time, IIRC) wanted to switch to QT, so joined another DE called Razor-qt and renamed that to LXQt. But other developers have picked up maintaining LXDE. I'm hoping LXDE will be ported to GTK3 with wayland support in time to be included in Debian 14.
Western-Mode-7743@reddit (OP)
Oh. Yeah hope so too, if it really is lighter than lxqt
UnluckyDouble@reddit
How much does cranking up the optimization on the kernel actually help? Surely if you could just get free performance that way the official builds would already be doing it?
Western-Mode-7743@reddit (OP)
I think it’s for stability. Most systems nowadays can handle o3. But there’s probably a group of people out there using old hardware that would crash on o3 because the binary is too large or on some hardware, totally unstable; that’s why I recommend downloading the Linux-lts kernel from the archinstall script as a fallback.