Post AcIEW2Gn3Swzo45fkW by dek@piaille.fr
(DIR) More posts by dek@piaille.fr
(DIR) Post #AcHfLSwk2DPUxfwBEG by a@social.exozy.me
2023-11-29T01:55:58Z
0 likes, 0 repeats
TIL it's possible to download more RAM in Linux by using a swap file in another computer's RAM.First:sudo -E sshfs user@domain.com:/tmp tmpNext, create the swapfile in tmp, then:sudo losetup -f tmp/swapfilesudo swapon /dev/loop0also, if SSHFS itself gets swapped out, your computer will probably freeze, so have fun.
(DIR) Post #AcHfTKMRq4L8eQi5PU by a@social.exozy.me
2023-11-29T01:57:22Z
0 likes, 0 repeats
probably a better idea to use NBD for this instead of SSHFS
(DIR) Post #AcHff3RuXhgFftrDMG by a@social.exozy.me
2023-11-29T01:59:30Z
0 likes, 0 repeats
probably a better idea to use NBD for swap over network instead of SSHFS, such as here: https://unix.stackexchange.com/a/666446
(DIR) Post #AcI7aP5nRXuw4L5GyG by bekopharm@social.tchncs.de
2023-11-29T07:12:19Z
0 likes, 0 repeats
@a heh yeah, this system allows for some crazy stuff. In a similar way it's e.g. also possible to use a remote USB device 🤪 And I do not mean a mass storage device by that.
(DIR) Post #AcIEW2Gn3Swzo45fkW by dek@piaille.fr
2023-11-29T08:29:54Z
0 likes, 0 repeats
@a that's so cursed 😶
(DIR) Post #AcJKMzIPXISkrNsSC8 by cehteh@karlsruhe-social.de
2023-11-29T21:10:12Z
0 likes, 0 repeats
@a is there any cloud provider offering NBD? 🤣 srsly: zswap and zram are really great things on linux, practically doubling your physical ram. even on machine with 64+GB RAM its nice to have swappiness = 95, things that are rarely or never used become compressed making space for more caches and memory that is frequently needed.