2022年1月28日 星期五

GPU | 如何在Linux下查詢目前GPU的PCIe速度 8x 16x

Linux沒辦法像Windows用CPUz查到目前GPU在PCIe的速度,如果是用Nvidia的顯卡只要用nvidia-smi指令就可以查到,如下面所示,目前使用16x的速度。


PCI Bus : 0x19 Device : 0x00 Domain : 0x0000 Device Id : 0x1E0410DE Bus Id : 00000000:19:00.0 Sub System Id : 0x12FA10DE GPU Link Info PCIe Generation Max : 3 Current : 3 Link Width
Max : 16x Current : 16x Bridge Chip Type : N/A Firmware : N/A Replays Since Reset : 0 Replay Number Rollovers : 0 Tx Throughput : 8000 KB/s Rx Throughput : 189000 KB/s

下面的連結還有其他方法,但有點難查所以我還是比較推薦上面的方法


沒有留言: