赞
踩
- root@sta:~# dmidecode |grep -i pci
- PCI is supported
- Internal Reference Designator: J9C1 - PCIE DOCKING CONN
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Type: x8 PCI Express 3 x8
- Type: x8 PCI Express 3 x8
- Type: x4 PCI Express 3 x4
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Type: x16 PCI Express 3 x16
- Invalid entry length (16). Fixed up to 11.
- Descriptor 9: PCI parity error
- Descriptor 10: PCI system error
- root@sta:~#
查看m.2固态硬盘的连接速度:
- root@sta:~# lspci|grep -i ssd
- 0f:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
- root@sta:~# lspci -n|grep -i 0f:00.0
- 0f:00.0 0108: 144d:a808
- root@sta:~# lspci -n -d 144d:a808 -vvv|grep -i width
- LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
- LnkSta: Speed 5GT/s (downgraded), Width x4 (ok)
- root@sta:~#
一行命令搞定:
- root@sta:~# x=`lspci|grep -i ssd|awk '{print $1}'`;y=`lspci -n|grep -i $x|awk '{print $3}'`;lspci -n -d $y -vvv|grep -i width
- LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
- LnkSta: Speed 5GT/s (downgraded), Width x4 (ok)
- root@sta:~#
LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us 表示支持的速度
LnkSta: Speed 5GT/s (downgraded), Width x4 (ok)这是当前的速度,有downgraded说明降速了,可能是接口有问题。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。