优化Ubuntu From Scratch性能可从系统构建、软件配置、资源管理等方面入手,具体如下:
-O2
-O3
-march
-mtune
-ffast-math
-jN
apt-fast
top
htop
操作前建议备份数据,部分优化需根据硬件环境调整。