ubuntu adjusts the priority of swap swap space usage

In ubuntu, vm.swappiness is used to control the priority of the swap space. The value is 0-100. The larger the value, the more active the swap partition is used.

View current value:

cat /proc/sys/vm/swappiness

Temporary modification (invalid after restart):

sysctl vm.swappiness=100

Permanent modification:

vi /etc/sysctl.conf

Add at the end of the file

vm.swappiness=100

Recommended Posts

ubuntu adjusts the priority of swap swap space usage
Summary of ubuntu usage
The usage of wheel in python
Overview of the Ubuntu file system
The usage of tuples in python
How to add swap space on Ubuntu 20.04
The usage of Ajax in Python3 crawler
The apt-get command of Ubuntu basic tutorial
The implementation of the Ubuntu18.04 installation Pycharm tutorial
Expand the disk size of Ubuntu under VMware
Solve the problem of installing VMwareTools on Ubuntu 18.04
Install the CPU version of Caffe on Ubuntu
Installation of pulseaudio and API usage under Ubuntu 12.04
The usage of several regular expressions in Linux
The basic configuration and interface beautification of Ubuntu
Install the old version of seurat under Ubuntu
The usage of several regular expressions in Linux
The meaning and usage of lists in python
Talking about the first experience of using Ubuntu
First look at the new features of Ubuntu 17.10
Detailed explanation of the usage of Python decimal module
The road to reinstallation of ubuntu 18.04 from scratch
The use of crontab for ubuntu scheduled tasks
The usage of several regular expressions in Linux
The consequences of uninstalling python in ubuntu, very
Introduction to the use of Hanlp in ubuntu
Cancel the background color of the Ubuntu (wsl) folder
The latest method of installing Mongodb on Ubuntu 16.04
Solve the problem of installing Theano on Ubuntu19
The default installation path of apt-get install of ubuntu (transfer)
How to turn the language of Ubuntu into Chinese? ?
Modify the default root password of the Ubuntu operating system
Canonical announced the temporary closure of Ubuntu 17.10 download channel
Solution to the slow speed of ubuntu18.04 wireless network
Installation and usage instructions of rz/sz command under ubuntu