Ubuntu
1、禁用所有交换分区
swapoff -a
可以用free命令查看禁用情况
root@gpu-10-0-1-24:~# free total used free shared buff/cache available Mem: 528016312 6131652 343432968 6595072 178451692 512492696 Swap: 0 0 0
2、关闭防火墙
systemctl stop firewalld systemctl disable firewalld
原文:https://www.cnblogs.com/yangwenhuan/p/11484859.html