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

help-circle







  • Yes.

    Really the hardest part of desktop linux for a regular, so called “internet user”, in the installation.

    They don’t have no clue how to install an operating system, even windows.

    I once installed CentOS workstation for my father on his ThinkPad. Firefox and Libreoffice is all he needs. Automatic updates in the background make sure all the latest security patches are applied. There have been few time when, after the update, the laptop hangs at boot. I’ve since told him to choose the second-to-last boot option from the “start-up menu” until the fix for the bug has been deployed (usually in within a 24h).

    So really using Linux isn’t the hard part. Back in 2004 (ish) I went the painful route of installing my first Linux - Gentoo. But boy I learned a lot from it. Yes, I had a helping friend to get me over the hardest parts.












  • Zucca@sopuli.xyztoLinux@lemmy.mlZRAM is insane
    link
    fedilink
    arrow-up
    1
    ·
    10 months 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