Okay, why does `swapoff` exist on Linux? It's completely useless as far as I can tell. It's been running for 24h to swap in like 1.5GB of used swap or so, on a largely idle server with >32GB free RAM. How can it be *this* hilariously inefficient?
-
Show this thread
-
Replying to @marcan42
The kernel has supported memory hotplugging for more than 10 years, so instead of bothering with swap, just stroll by your local hardware store and get an additional DIMM…
https://www.kernel.org/doc/html/latest/admin-guide/mm/memory-hotplug.html …2 replies 0 retweets 1 like -
Replying to @srslypascal
Tell that to distro installers that automatically add swap by default, for no reason. (also almost nothing actually supports hot-plugging DIMMs).
2 replies 0 retweets 8 likes -
Replying to @marcan42
TBH, I've given up on distro installers. Last time I checked, neither RHEL nor Fedora nor Ubuntu nor Debian were even able to allow something as simple as "btrfs subvolumes on top of LVM" - and I didn't even try to stack that on top of LUKS.
1 reply 0 retweets 4 likes -
Replying to @srslypascal @marcan42
I just install by hand using goot old chroot these days. pacstrap for Archlinux, debootstrap for Debian/Ubuntu, and when I'm feeling an urgent desire for strong pain, there's still rpm --root and [ yum | dnf ] --installroot for those RPM-based disgraces to technology.
1 reply 0 retweets 2 likes -
Replying to @srslypascal
Hey I have a script to install Gentoo systems off of my custom binpackage repository, using ROOT=<foo> emerge, without using an official stage3.
1 reply 0 retweets 3 likes -
Replying to @marcan42 @srslypascal
Just disable swap after standard install (if expert mode doesn't allow to unconfigure it). Keep the partition for later use or merge it with your main partition (there are tools). I don't use swap since years.
1 reply 0 retweets 0 likes -
Replying to @ruehsen @srslypascal
Yes, I know how to get rid of swap. That's not the point. The point is that it's 2019 and the default is still to add a useless swap partition. Defaults matter, because not everyone knows to get rid of it.
3 replies 0 retweets 6 likes -
Well, it's also 2019 and people configuring webservers still worry/care about clients that only support TLS 1.0 or that don't support SNI or ECDSA, and software developers still worry/care about people still using GCC 4.x…
1 reply 0 retweets 1 like
At least we moved on from SSLv3 and GCC 2.96...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.