ubuntu下hdparm测试硬盘速度
root@jack:~# fdisk -l
Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1555e2a7
设备 启动 Start 末尾 扇区 Size Id 类型
/dev/sda1 * 2048 151093247 151091200 72G 83 Linux
/dev/sda2 151095294 156301311 5206018 2.5G 5 扩展
/dev/sda5 151095296 156301311 5206016 2.5G 82 Linux 交换 / Solaris
root@jack:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 112 MB in 3.03 seconds = 36.97 MB/sec
=========================================================
hdparm -t /dev/hda (IDE硬盘)
hdparm -t /dev/sda (SATA、SCSI、硬RAID卡阵列)
hdparm -t /dev/md0 (软RAID设备)
From:http://blog.csdn.net/amds123/article/details/68961474
http://www.jb51.net/LINUXjishu/160512.html
root@jack:~# fdisk -l
Disk /dev/sda: 74.5 GiB, 80026361856 bytes, 156301488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x1555e2a7
设备 启动 Start 末尾 扇区 Size Id 类型
/dev/sda1 * 2048 151093247 151091200 72G 83 Linux
/dev/sda2 151095294 156301311 5206018 2.5G 5 扩展
/dev/sda5 151095296 156301311 5206016 2.5G 82 Linux 交换 / Solaris
root@jack:~# hdparm -t /dev/sda1
/dev/sda1:
Timing buffered disk reads: 112 MB in 3.03 seconds = 36.97 MB/sec
=========================================================
hdparm -t /dev/hda (IDE硬盘)
hdparm -t /dev/sda (SATA、SCSI、硬RAID卡阵列)
hdparm -t /dev/md0 (软RAID设备)
From:http://blog.csdn.net/amds123/article/details/68961474
http://www.jb51.net/LINUXjishu/160512.html
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:https://jackxiang.com/post/9227/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
评论列表