▲ 24 ▼ 20gb ram, 10gb zram, 10gb swap, default values. What should I change? (lemmy.world) submitted 2 years ago by ExplodeyWolf@lemmy.world to c/linux@lemmy.ml 17 comments fedilink hide all child comments I assume I should get rid of most of the swap. I also read somewhere to increase... swappiness of zram?
[–] ExplodeyWolf@lemmy.world [S] 2 points 2 years ago (2 children) Should I lower swap? How do I change the swappiness? permalink fedilink source parent hideshow 4 child comments replies: [–] MyNameIsRichard@lemmy.ml 1 point 2 years ago Have a look at this for info on swappiness. As for your swap, if it's not causing you problems, it can't hurt to have it. permalink fedilink source parent [–] wheels@lemmy.world 1 point 2 years ago* (last edited 2 years ago) (1 child) There's some instructions here but basically: sudo apt install zram-config append to end of /etc/sysctl.conf: vm.swappiness = 180 # disable swap readahead (since using zram swap) vm.page-cluster = 0 Can check these have been applied with cat /proc/sys/vm/page-cluster or .../swappiness permalink fedilink source parent hideshow 2 child comments replies: [–] ExplodeyWolf@lemmy.world [S] 1 point 2 years ago Would these settings be the same if I used the same amount of swap? permalink fedilink source parent
[–] MyNameIsRichard@lemmy.ml 1 point 2 years ago Have a look at this for info on swappiness. As for your swap, if it's not causing you problems, it can't hurt to have it. permalink fedilink source parent
[–] wheels@lemmy.world 1 point 2 years ago* (last edited 2 years ago) (1 child) There's some instructions here but basically: sudo apt install zram-config append to end of /etc/sysctl.conf: vm.swappiness = 180 # disable swap readahead (since using zram swap) vm.page-cluster = 0 Can check these have been applied with cat /proc/sys/vm/page-cluster or .../swappiness permalink fedilink source parent hideshow 2 child comments replies: [–] ExplodeyWolf@lemmy.world [S] 1 point 2 years ago Would these settings be the same if I used the same amount of swap? permalink fedilink source parent
[–] ExplodeyWolf@lemmy.world [S] 1 point 2 years ago Would these settings be the same if I used the same amount of swap? permalink fedilink source parent