How To Add Swap Space on Ubuntu 20.04

Published

För att lägga till swapfil på Ubuntu 20.04 har jag hittat en guide hos DigitalOcean som fungerar bra.

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-ubuntu-20-04

Det jag har märkt är att servern går bättre när man justerar värdena på swappiness och vfs_cache_pressure till något lägre värden än i exemplet i artikeln. Jag kör med swappiness på 2 och vfs_cache_pressure på 20.

By Håkan Dahlström

Hi! I am Håkan. I am the author of this website. I work with IT and photography is my hobby. I also like to travel and cooking. Living in Malmö, Sweden.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.