STOP DOING SWAP PARTITIONS

HARD DRIVES WERE NOT SUPPOSED TO ACT LIKE RAM

YEARS OF LINUX SYSADMINNING yet NO REAL-WORLD USE FOUND for going beyond CLOSING A FEW TABS

Wanted to avoid the OOM killer anyway for a laugh? We had a tool for that: It was called ZRAM

"Yes please give me a dedicated 64GB logical volume of SWAP. Please give me unresizable block devices trapped at the end of my disk." - STATEMENTS DREAMED UP BY THE UTTERLY DERANGED

LOOK at what Neckbeards have been demanding your Respect for all this time, with all the fdisk and GParted Live USBs we built for them. (This is REAL PARTITIONING, done by REAL LINUX USERS):

# mkswap /dev/nvme0n1p3
# echo /dev/nvme0n1p3 none swap sw 0 0 >> /etc/fstab
# swapon -a

"Hello I would like to torture my SSD's FTL because I left three Electron apps open."

They have played us for absolute fools.

#linux #sysadmin

Replying to @⁨mo@mastodon.ml⁩

@mo @SRAZKVT @ryanc ran a 4 GiB Netbook with Linux Mint and later Fedora for a total of 8.5 years, w/o Zram it was severely limited for more than half of the time. Misusing the SATA SSD as swap drive was almost unbearable. Zram immensely profited from increased efficiency (both in ratio of zstd but more so by VMM improvements, which let me to migrate to LZ4 later) over the years. And I ran half a dozen Electron shells on it. Ofc it was slow as a slug. 🤩

Edited ⁨⁨Sep⁩ ⁨12⁩, ⁨2026⁩, ⁨21:28⁩⁩en