[D2D Bandwidth] Performance Degradation Caused by Enabled Swap Partition

Symptom

The bandwidth test of Ascend DMI takes a long time, and the test result does not meet the expectation.

Figure 1 Results of the bandwidth test

Possible Causes

Solution

Perform the following steps to disable the swap partition, clear the cache, and restart the environment.

  1. Run the free -h command to check whether the swap partition is enabled.

  2. If it is enabled, run the swapoff -a command as the root user to disable it before the bandwidth test.