我要评分
获取效率
正确性
完整性
易理解

Disabling Swap

Purpose

The virtual memory of the Linux OS is automatically adjusted based on the system load. Swapping memory pages to drives affects the test performance.

Procedure

Run the following command to disable swap.

swapoff -a

Run the free -g command to query the Swap parameter. If its value is 0, swap is disabled.

free -g