linux下查看硬盘读写速度
2015-08-04 17:01
609 查看
root@ubuntu:~# fdisk -l
Disk /dev/cciss/c0d0: 300.0 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cbb89
DeviceBoot Start End Blocks Id System
/dev/cciss/c0d0p1 1 2432 19530752 83 Linux
/dev/cciss/c0d0p2 2432 3405 7812096 82 Linux swap / Solaris
/dev/cciss/c0d0p3 3405 27744 195507201 5 Extended
/dev/cciss/c0d0p5 3405 3429 194560 83 Linux
/dev/cciss/c0d0p6 3429 27744 195311616 83 Linux
root@ubuntu:~# hdparm -t/dev/cciss
/dev/cciss:
BLKGETSIZE failed: Inappropriate ioctl fordevice
BLKFLSBUF failed: Inappropriate ioctl for device
root@ubuntu:~# hdparm -t/dev/cciss/c0d0
/dev/cciss/c0d0:
Timing buffered disk reads: 550MB in 3.01 seconds = 182.76 MB/se
单个硬盘转速测试命令:
在linux下,可以查看硬盘的读写速度,比如
#hdparm -t /dev/hda 查看硬盘读写速度
最后可以看到
timing buffered disk reads:.......
开启DMA功能
hdparm -d 1 /dev/hda 开启DMA功能,可把它添加到/etc/rc.local文件中
Disk /dev/cciss/c0d0: 300.0 GB, 299966445568 bytes
255 heads, 63 sectors/track, 36468 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000cbb89
DeviceBoot Start End Blocks Id System
/dev/cciss/c0d0p1 1 2432 19530752 83 Linux
/dev/cciss/c0d0p2 2432 3405 7812096 82 Linux swap / Solaris
/dev/cciss/c0d0p3 3405 27744 195507201 5 Extended
/dev/cciss/c0d0p5 3405 3429 194560 83 Linux
/dev/cciss/c0d0p6 3429 27744 195311616 83 Linux
root@ubuntu:~# hdparm -t/dev/cciss
/dev/cciss:
BLKGETSIZE failed: Inappropriate ioctl fordevice
BLKFLSBUF failed: Inappropriate ioctl for device
root@ubuntu:~# hdparm -t/dev/cciss/c0d0
/dev/cciss/c0d0:
Timing buffered disk reads: 550MB in 3.01 seconds = 182.76 MB/se
单个硬盘转速测试命令:
在linux下,可以查看硬盘的读写速度,比如
#hdparm -t /dev/hda 查看硬盘读写速度
最后可以看到
timing buffered disk reads:.......
开启DMA功能
hdparm -d 1 /dev/hda 开启DMA功能,可把它添加到/etc/rc.local文件中
相关文章推荐
- Linux 回调函数
- Linux下的sort命令解析
- 运维必须掌握的Linux面试题
- 如何分析Linux日志
- Linux的五个查找命令
- Linux内核Socket参数调优
- centos6.5安装和配置cobbler
- linux修改登陆欢迎信息
- redhat 配置ssh服务器
- centos yum时总出错
- CentOS6.4升级python2.6.6到3.4.3
- linux文件系统如何进行文件存取
- Window文件目录挂载(mount)到linux系统目录下
- linux 远程桌面:SSH
- centos7.0_redhat7.0安装vncserver和Desktop桌面
- 查看Linux下*.a库文件中文件、函数、变量等情况
- linux 克隆:device eth0 does not seem to be present,delaying initialization
- Linux命令之find
- Linux异步------signal
- Linux下Weblogic 11g R1安装和配置