60
submitted 2 months ago by Sunshine@lemmy.ca to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] DmMacniel@feddit.org 8 points 2 months ago

Mhm something doesn't add up (well atleast on my system)

The kernel’s swappiness option (a sysctl parameter ranging from 0 to 100) controls how aggressively the kernel prefers to swap out pages. A lower value tells the kernel to avoid swapping whenever possible, while a higher value allows more proactive swapping. The default value is 60, and you can check it using:

    cat /proc/sys/vm/swappiness

In other words, a low value (e.g., 10) means that the system prefers to keep things in RAM as long as possible. On the contrary, a high value (e.g., 80 or 100) tells the kernel to start swapping earlier to free up more cache.

I have 64 Gigs of RAM (only 8 are used by endeavour OS at all time), No Swap Partition yet my swappiness is at 60?

Is something wrong, even though I don't feel anything off, with my System O.o?

[-] h4x0r@lemmy.dbzer0.com 24 points 2 months ago

There's no swap, so swappiness has no effect.

load more comments (3 replies)
this post was submitted on 11 Apr 2025
60 points (95.5% liked)

Linux

8249 readers
315 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

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

founded 2 years ago
MODERATORS