Rate This Document
Findability
Accuracy
Completeness
Readability

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