- A+
所属分类:技术杂记
测试磁盘:
dd if=/dev/zero of=/run/media/nvme0n1p1/test.raw bs=1M count=4096 oflag=direct ,使用直接存储方式测量SSD的速度。
dd if=/dev/zero of=/run/media/nvme0n1p1/test.raw bs=1M count=4096 conv=fsync ,使用普通存储方式测量SSD的速度。
优化系统:
echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
echo performance | sudo tee /sys/class/devfreq/dmc/governor





