@kopasz7@sh.itjust.works
member since 12 Dec 2024 16:15
comments
- on Stop Doing Swap Partitions in c/programmer_humor@programming.dev · 13 Sep 2026
-
on Stop Doing Swap Partitions in c/programmer_humor@programming.dev · 13 Sep 2026
To add some nuance to this, do not use ZRAM in combination with swap. There’s ZSWAP for that which does what you would expect, without clogging up your RAM and gracefully handling a backing device. (ZRAM is just another block device for the kernel, so you will get LRU inversion if it fills up and you have another layer of swap on disk. Meaning your cold pages will be needlessly stuck in zram.)
-
on the neverruling story in c/onehundredninetysix@lemmy.blahaj.zone · 4 Sep 2026
It’s not laziness if you don’t enjoy it, it’s just sparkling executive disfunction.
-
on Why nano gets used in c/programmer_humor@programming.dev · 9 Aug 2026
It is preinstalled and does what it needs to do. What else can I ask for?
Even if you don’t run out of RAM your kernel will use swap to defragment your memory. Usually you end up with gaps in memory that are too small to effectively allocate as programs open, close or stay running over time.