2015年11月3日 星期二

Validate PCIe's Speed and Width under Linux

1. use `lspci` to list all pci devices
The number less than 7f:xx:xx is for CPU0
more than 80:xx:xx is for CPU1

2. use 'lspci -vv" to check the detail of target device
check the "LnkStat:"
 Speed 2.5GT/s is gen1
 Speed    5GT/s is gen2
 Speed    8GT/s is gen3

Width is the PCIe lances

Reference:
https://en.wikipedia.org/wiki/PCI_Express

沒有留言:

張貼留言