前几天买了个东芝Q300的SSD,对它进行了分区(将分区对齐到2048的倍数),然后安装了Ubuntu Mate。
根据这一页,“顺序读取”最多550MB/秒。
据我所知,该命令
hdparm -t /dev/sda
测试顺序读取。在我的 Q300 SSD 上,其输出为253 MB/秒(平均值)。
这种差异正常吗?如果不正常,该如何解释?
--
供参考:这是的输出fdisk -lu /dev/sda
,我相信它显示分区对齐是正确的:
Disk /dev/sda: 447,1 GiB, 480103981056 bytes, 937703088 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: 0xf43fed25
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 8192 847257599 847249408 404G 83 Linux
/dev/sda2 847257600 937695231 90437632 43,1G 82 Linux swap / Solaris
编辑:
dmesg | grep -i sata | grep 'link up'
结果是:
[55430.435511] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[55430.443546] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[55430.451511] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[63259.256126] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[63259.256158] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[63260.616043] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[63702.998313] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[63702.998345] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[63704.406285] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75037.453949] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[75037.453980] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75037.461948] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75911.769328] ata5: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
[75911.769359] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[75913.121390] ata6: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
smartctl -a /dev/sda | grep SATA
结果是:
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
hdparm -iI /dev/sda | grep SATA
结果是:
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
lspci | grep SATA
结果是:
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)