|
|
发表于 2022-11-1 13:19:25
|
显示全部楼层
本帖最后由 oldpoor 于 2022-11-1 13:38 编辑
root@localhost:~# sync; dd if=/dev/zero of=/mnt/slab/testfile bs=1M count=8192; sync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB, 8.0 GiB) copied, 13.3683 s, 643 MB/s
root@localhost:~# sync; dd if=/mnt/slab/testfile of=/dev/null bs=1M count=8192; sync
8192+0 records in
8192+0 records out
8589934592 bytes (8.6 GB, 8.0 GiB) copied, 19.5256 s, 440 MB/s
你们以为,哇塞,这个很快噢,丢爆,爽,捡到宝了,开跑
实际速度读取10MB,上面这个填0填到cache里面去了
实际读取速度,这个是下载的测速文件
root@localhost:/mnt/slab# sync; dd if=/mnt/slab/10GB.bin of=/dev/null bs=1M count=8192; sync
^C727+0 records in
726+0 records out
761266176 bytes (761 MB, 726 MiB) copied, 49.5625 s, 15.4 MB/s |
|