赞
踩
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
[ice@ice_lns ~]$ sudo hdparm -Tt /dev/sda
[sudo] password for ice:
/dev/sda:
Timing cached reads: 15696 MB in 2.00 seconds = 7853.21 MB/sec
Timing buffered disk reads: 1562 MB in 3.00 seconds = 520.30 MB/sec
[ice@ice_lns ~]$ sudo hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 16334 MB in 2.00 seconds = 8172.50 MB/sec
Timing buffered disk reads: 1564 MB in 3.00 seconds = 520.91 MB/sec
[ice@ice_lns ~]$ dd if=/dev/zero of=tempfile bs=1M count=1024 conv=fdatasync,notrunc
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,2.2377 秒,480 MB/秒
[ice@ice_lns ~]$ echo 3 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: 权限不够
[ice@ice_lns ~]$ sudo -s
[root@ice_lns ice]# echo noop > /sys/block/sda/queue/scheduler
[root@ice_lns ice]# dd if=tempfile of=/dev/null bs=1M count=1024
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,0.148724 秒,7.2 GB/秒
[root@ice_lns ice]# dd if=tempfile of=/dev/null bs=1M count=1024
记录了1024+0 的读入
记录了1024+0 的写出
1073741824字节(1.1 GB)已复制,0.129555 秒,8.3 GB/秒
[root@ice_lns ice]#
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。