Re: GPU PCIe link speed

2022-01-24 Thread Sarunas Burdulis

On 1/21/22 17:07, Grzesiek wrote:

Hi there,

I noticed that all my GPU operate at PCIe 1.1=2.5GHz instead of PCIe 
2.0/3.0. Is there any way to force higher speed?


Hardware details below

---===### First system ###===---

CPU: i7-3770, Linux version 5.15.0-2-amd64

# dmesg  | grep bandwidth
[    0.224924] pci :01:00.0: 16.000 Gb/s available PCIe bandwidth, 
limited by 2.5 GT/s PCIe x8 link at :00:01.0 (capable of 126.016 
Gb/s with 8.0 GT/s PCIe x16 link)


# lspci

> ...
01:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 
780] (rev a1)


Link speed might be set dynamically depending on load. You may do 
something like:


watch -n1 'lspci -vv -s 01:00.0 | grep Lnk'

and then find some task to load the GPU.

--
Sarunas Burdulis
Systems Administrator, Dartmouth Mathematics
math.dartmouth.edu/~sarunas

· https://useplaintext.email ·


OpenPGP_signature
Description: OpenPGP digital signature


GPU PCIe link speed

2022-01-21 Thread Grzesiek

Hi there,

I noticed that all my GPU operate at PCIe 1.1=2.5GHz instead of PCIe 
2.0/3.0. Is there any way to force higher speed?


Hardware details below

---===### First system ###===---

CPU: i7-3770, Linux version 5.15.0-2-amd64

# dmesg  | grep bandwidth
[0.224924] pci :01:00.0: 16.000 Gb/s available PCIe bandwidth, 
limited by 2.5 GT/s PCIe x8 link at :00:01.0 (capable of 126.016 
Gb/s with 8.0 GT/s PCIe x16 link)


# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core 
processor PCI Express Root Port (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset 
Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family 
USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family 
High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI 
Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset 
Family PCI Express Root Port 2 (rev c4)

00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family 
USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller 
(rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset 
Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus 
Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK110 [GeForce GTX 
780] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK110 High Definition Audio 
Controller (rev a1)
03:00.0 Ethernet controller: Qualcomm Atheros Killer E220x Gigabit 
Ethernet Controller (rev 13)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI 
Bridge (rev 03)


---===### Second system ###===---

CPU: i5-2500k, Linux version 5.15.0-2-amd64

# dmesg  | grep bandwidth
[0.285635] pci :03:00.0: 32.000 Gb/s available PCIe bandwidth, 
limited by 2.5 GT/s PCIe x16 link at :02:00.0 (capable of 126.016 
Gb/s with 8.0 GT/s PCIe x16 link)


# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor 
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core 
Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series 
Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network 
Connection (rev 05)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset 
Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 1 (rev b5)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 3 (rev b5)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 4 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 5 (rev b5)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 7 (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation P67 Express Chipset LPC Controller 
(rev 05)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset 
Family 6 port Desktop SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family 
SMBus Controller (rev 05)

01:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:00.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
02:02.0 PCI bridge: NVIDIA Corporation NF200 PCIe 2.0 switch (rev a3)
03:00.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 
970] (rev a1)
03:00.1 Audio device: NVIDIA Corporation GM204 High Definition Audio 
Controller (rev a1)
06:00.0 Ethernet controller: Intel Corporation 82572EI Gigabit Ethernet 
Controller (Copper) (rev 06)
07:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series 
Firewire Controller (rev 01)
08:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host 
Controller (rev 04)
09:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network 
Connection


---===### Third system ###===---

CPU: Ryzen 7 1700, Linux version 5.10.0-10-amd64

# dmesg  | grep bandwidth
[0.647668] pci :22:00.0: 32.000 Gb/s available