https://blog.gslin.org/archives/2026/03/27/12957/%e9%a0%90%e8%a8%ad%e6%8a%8a-zswap-%e6%89%93%e9%96%8b/
#linux #swap #zswap
預設把 zswap 打開
I write insane amounts of data to my scratch drives (AI models, VMs, you name it). Currently, that is an SSD. I have worn a few below 100%. And since I don't have enough kidneys to sell for more SSDs, I'm trying something kind of retro.
I ordered a USB 3.2 DAS, and will load it with 4x 1TB WD VelociRaptor HDDs. This in RAID0 should give me near 1 gigabyte per second, plenty for the purpose. HDDs don't "wear out" from writing. (EDIT: as fast).
And the sound will be splendid 😁 Stay tuned.
EDIT: It's working fantastic! https://tech.lgbt/@Lydie/116307176095683365
#Linux #système #avis #swap
Bon... je crois que tout ce que j'ai pu lire (et ce que certains m'ont dit sur le Fedivers) me confirme dans l'usage du swap compressé (zram vs. zswap):
- zram UNIQUEMENT si vous n'avez pas de swap disque.
- si vous avez du swap disque, ZSWAP ET RIEN D'AUTRE.
Et : Si vous avez une forte pression sur la RAM, préférer swap disque + zswap, car zram se comporte mal dans ces cas là (les MRU sont envoyés sur disque, ce qui n'est carrément pas ce qu'on veut).
Mi sistema andaba un poco lento cuando terminé de editar el video sobre memoria libre, disponible, y la métrica PSI en Linux, y efectivamente, el sistema estaba bastante colapsado.
Dato: tengo 15G de RAM, y estaba bastante libre.
Conclusión: el cuello de botella era el acceso a disco.
Estuve tuneando un poco algunos daemons que usan I/O intensa, como syncthing, para optimizar un poco.
Debería documentarlo, no? 😅