You don't even have to go that old. There are so many companies that upgrade tiny pc's its created a whole self hosting community with the tiny lenovo, hp and dell unit's. It's not only Windows that can be replaced with old hardware but also many online services with proxmox for cloud/nas/dns/vpn/multimedia etc. Of course these are not 2GB systems but you can do some pretty cool things with 8 and 9 year old systems t…
Linux on Older Hardware: The Complete Revival Guide
71–80 of 135 posts
Re: Linux on Older Hardware: The Complete Revival Guide
#72AntiX and Puppy Linux are a bit too rough, in my opinion. I'd rather leave the machine with some fully updated old Windows version designed for that hardware, offline. Works very well for retro gaming, ripping CDs and stuff like that.
Re: Linux on Older Hardware: The Complete Revival Guide
#73What’s a good small laptop that’ll run a recent Linux distro? I’d like to get one to have an ultra-portable machine for doing lightweight development work - I don’t need much more than a text editor and a C compiler. Would a second-hand 11” MacBook Air or 12” MacBook be a good choice?
They would work but I'm not sure it's worth it. The 11" Air had a pretty terrible screen, and the models with 8GB of RAM are more expensive than I think they are worth. Plus Macbooks of this era are going to need a battery replacement, so your going to have to invest $70-100 on top of the price of buying the Macbook. You're likely going to be $200-300 invested into a 10 year old macbook. Also keep in mind the 11" Mac…
Re: Linux on Older Hardware: The Complete Revival Guide
#74Don't do zram, do zswap. The big difference is zswap is dynamically managed by the kernel and zswap sends out compressed pages to swap.
The article says they want to avoid swap hitting disk, so that seems counterproductive.
Re: Linux on Older Hardware: The Complete Revival Guide
#75Don't do zram, do zswap. The big difference is zswap is dynamically managed by the kernel and zswap sends out compressed pages to swap.
> and zswap sends out compressed pages to swap. The article says they want to avoid swap hitting disk, so that seems counterproductive.
Zswap will still compress pages in ram. It only evicts to the disk when the in memory swap pool is filled. The difference being that the pages swapped to disk remain compressed on their way there.
Re: Linux on Older Hardware: The Complete Revival Guide
#76Earlier quoted context omitted.
> and zswap sends out compressed pages to swap. The article says they want to avoid swap hitting disk, so that seems counterproductive.
When you do zram, what happens is the pages sent to zram are compressed. But when those compressed pages need to be evicted to swap, they are decompressed before being sent there. It's not helping you to avoid hitting the disk, it's writing more to the disk. Zswap will still compress pages in ram. It only evicts to the disk when the in memory swap pool is filled. The difference being that the pages swapped to disk re…
When using zram, there is no "evicted to swap"; zram is the swap. Even if you activated zram and disk-backed swap, I'm pretty sure they just get used in parallel, not through some sort of fallback.
It was my understanding that zswap does decompress pages before writing them to disk. Annoyingly, this doesn't seem to be spelled out either way in https://www.kernel.org/doc/html/latest/admin-guide/mm/zswap.... ; https://wiki.archlinux.org/title/Zswap does say "Once the pool is full or the RAM is exhausted, the least recently used (LRU) page is decompressed and written to disk, as if it had not been intercepted." but doesn't cite that claim.
EDIT: I think my belief is backed by https://elixir.bootlin.com/linux/v7.1.2/source/mm/zswap.c#L9... -
> We are basically resuming the same swap writeback path that was intercepted with the zswap_store() in the first place. After the folio has been decompressed into the swap cache, the compressed version stored by zswap can be freed.
Re: Linux on Older Hardware: The Complete Revival Guide
#77> They are slow because Windows got heavier while the hardware stayed the same. That is not true. They are slow, because ALL software got better and more advanced and that is not only the operating system. It always makes me mad when people say that macOS is so optimized you can do more than on windows. No. Old hardware not having a hardware decoder for modern youtube videos won't play them. Modern webpages full of i…
Re: Linux on Older Hardware: The Complete Revival Guide
#78Thanks for this link! "antiX is my top pick for truly constrained hardware. It runs on systemd-free Debian Stable, uses around 256MB at idle, and includes a full desktop experience. The trade-off is a less polished interface compared to Ubuntu-based options. If you need something even lighter, Puppy Linux runs entirely in RAM and can resurrect machines that most distros would reject. The learning curve is steeper, bu…
> and it had issues crashing on browsers under even a couple tabs. Surely this has way more to do with the browser (and the website!) than the OS, nowadays.
Re: Linux on Older Hardware: The Complete Revival Guide
#79Earlier quoted context omitted.
When you do zram, what happens is the pages sent to zram are compressed. But when those compressed pages need to be evicted to swap, they are decompressed before being sent there. It's not helping you to avoid hitting the disk, it's writing more to the disk. Zswap will still compress pages in ram. It only evicts to the disk when the in memory swap pool is filled. The difference being that the pages swapped to disk re…
I think you have it backwards. When using zram, there is no "evicted to swap"; zram is the swap. Even if you activated zram and disk-backed swap, I'm pretty sure they just get used in parallel, not through some sort of fallback. It was my understanding that zswap does decompress pages before writing them to disk. Annoyingly, this doesn't seem to be spelled out either way in https://www.kernel.org/doc/html/latest/admi…
> Even if you activated zram and disk-backed swap, I'm pretty sure they just get used in parallel, not through some sort of fallback.
You can tweak priorities such that zram ends up being the preferred location for swaps.
However, since it looks like just another block device, what happens is it simply gets filled up with the first swap entries and those in turn aren't written out to the disk device.
zswap works better in that way because it'll keep hotter pages in memory and sends LRU pages to the swap device. That's really the biggest reason to use zswap over zram if you are getting into a situation where you overfill your ram.
zram works best if it's the only device with the expectation that you'll OOME when it fills up.
Re: Linux on Older Hardware: The Complete Revival Guide
#80Swap the HDD for an SSD first makes more difference than the distro choice.