[root@b01r1n02 ~]# lspci | grep -i NVIDIA #查看nvidia显卡序号
24:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1) #序号24:00.0
74:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1) #序号74:00.0
[root@b01r1n02 ~]# lspci -vs 74:00.0 #查看序号为74:00.0的显卡详细信息
74:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1)
Subsystem: NVIDIA Corporation Device 1306
Physical Slot: 16-1
Flags: bus master, fast devsel, latency 0, IRQ 405, NUMA node 7
Memory at d9000000 (32-bit, non-prefetchable) [size=16M]
Memory at 9000000000 (64-bit, prefetchable) [size=16G] #显存为16G
Memory at 9400000000 (64-bit, prefetchable) [size=32M]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Capabilities: [ac0] #23
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
[root@b01r1n02 ~]# lspci -vs 24:00.0 #查看序号为24:00.0的显卡详细信息
24:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1)
Subsystem: NVIDIA Corporation Device 1306
Physical Slot: 16
Flags: bus master, fast devsel, latency 0, IRQ 404, NUMA node 2
Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
Memory at 19400000000 (64-bit, prefetchable) [size=16G] #显存为16G
Memory at 19800000000 (64-bit, prefetchable) [size=32M]
Capabilities: [60] Power Management version 3
Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [78] Express Endpoint, MSI 00
Capabilities: [100] Virtual Channel
Capabilities: [258] L1 PM Substates
Capabilities: [128] Power Budgeting <?>
Capabilities: [420] Advanced Error Reporting
Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
Capabilities: [900] #19
Capabilities: [ac0] #23
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia