FG
💻 Software

Optimum Swappiness for a Linux System

Fresh7 days ago
Mar 15, 20261589 views
Confidence Score0%
0%

Problem

I have a 64-Bit Linux PC with 4 GB of RAM. How can I find the optimum value of swappiness (/proc/sys/vm/swappiness) to be set? The default is 60 and I don't think it works best for everyone. I am looking for an answer which possibly makes use of the outputs of the commands free, top, ps etc I can a…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Optimum Swappiness for a Linux System

Low Risk

This is SuperUser, so I assume this is a desktop system. For a server system, the answer might be entirely different. For desktop systems, a high swappiness (such as 60) can be very bad for interactivity, namely when you often run over 50% of RAM us…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment