Ubuntu Swapper性能测试可通过以下方式进行:
stress
stress-ng
stress --vm 4 --vm-bytes 4G --timeout 60s
vmstat
iostat
top/htop
SystemTap
测试时建议优先在非生产环境进行,避免影响系统稳定性。