3 ms·
Surprised to not see swappiness as a part of this guide.
by 29athrowaway 6y ago
Surprised to not see swappiness as a part of this guide.
- angry_octet 6y agoDoes anyone use swap on a system with real time response goals? Just disable swap.
- 29athrowaway 6y agoAgreed, but it is worth mentioning.
- rigtorp 6y agoDisabling swap only prevents major page faults on anonymous memory. You want to avoid all page faults by using mlockall (https://linux.die.net/man/2/mlockall https://linux.die.net/man/2/mlockall). At that point swap settings doesn't matter. But yeah, disable swap anyway just in case.