Linux-disk
磁盘测速命令:
1、dd
命令
写入速度测试:
dd if=/dev/zero of=./testfile bs=1G count=1 oflag=dsync
oflag=dsync
绕过缓存直接写入磁盘- 结果示例:
1073741824 bytes copied, 12.42 s, 86.4 MB/s
1、dd
命令
写入速度测试:
dd if=/dev/zero of=./testfile bs=1G count=1 oflag=dsync
oflag=dsync
绕过缓存直接写入磁盘1073741824 bytes copied, 12.42 s, 86.4 MB/s