51
submitted 1 month ago by Blaze@lemmy.zip to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] NateNate60@lemmy.world 8 points 1 month ago

For normal users with a sufficient amount of RAM, is there any real reason to even have a swap file or swap partition? Or why shouldn't they have one and set the swappiness to zero?

[-] vividspecter@lemm.ee 9 points 1 month ago

Depends on how you define "sufficient". Having some amount of swap can be helpful for efficient use of RAM, but I personally prefer to use zram for those cases.

A swap partition can also be useful if you use hibernation.

[-] BeigeAgenda@lemmy.ca 5 points 1 month ago* (last edited 1 month ago)

Hibernation needs a swap partition that's at least the same size as the memory.

Nvm: vivid.. already mentioned hibernation.

this post was submitted on 06 Jul 2024
51 points (96.4% liked)

Linux

4750 readers
142 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS