• 2 Posts
  • 76 Comments
Joined 1 year ago
cake
Cake day: June 26th, 2023

help-circle










  • I’ve only ever had minor ones on arch and pretty much nothing on gentoo.

    My biggest complaint with Arch was that downgrading wasn’t officially supported.

    With Gentoo I don’t have pretty much nothing to complain. But I get it’s not for everyone.

    That said I’ve not ran many different distros as my main distro. I went with mkLinux --> Gentoo --> Arch --> Gentoo.











  • Zucca@sopuli.xyztoLinux@lemmy.mlZRAM is insane
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Yes. I stand corrected.

    So the kernel memory management system wants to free up some RAM… it’ll either kick stuff out of the page cache (this is the disk cache), or write some stuff out to swap. vm.swappiness determines “relative I/O cost” of swapping something out versus dropping some disk cache (i.e. how much you think it’ll slow the system down.) Total value is 200, so default vm.swappiness=60 means page cache is 140 (200-60). 140/60=2.33, so it considers regular disk I/o to be about 2.33 times the speed of swap. Settings vm.swappiness=100 means swap and disk I/O are equally fast; on modern kernels, in case you had a fast swap system (like some auxillary RAM disk or optane ssds or something) you can even set vm.swappiness over 100 to say 150 to say swap is faster than your regular disk.

    https://stackoverflow.com/questions/72544562/what-is-vm-swappiness-a-percentage-of