How to check how many lanes are used by the PCIe card?
Clash Royale CLAN TAG#URR8PPP
PCI Express slots on the motherboard can be wider then the number of lanes connected.
For example a motherboard can have x8 slot with only x1 lane connected.
On the other hand, you can insert a card using only for ex. 4 lanes to a x16 slot on the motherboard, and they will negotiate to use only those x4 lanes.
How to check from the running system how many lanes are used by the inserted PCIe cards?
pci
add a comment |
PCI Express slots on the motherboard can be wider then the number of lanes connected.
For example a motherboard can have x8 slot with only x1 lane connected.
On the other hand, you can insert a card using only for ex. 4 lanes to a x16 slot on the motherboard, and they will negotiate to use only those x4 lanes.
How to check from the running system how many lanes are used by the inserted PCIe cards?
pci
add a comment |
PCI Express slots on the motherboard can be wider then the number of lanes connected.
For example a motherboard can have x8 slot with only x1 lane connected.
On the other hand, you can insert a card using only for ex. 4 lanes to a x16 slot on the motherboard, and they will negotiate to use only those x4 lanes.
How to check from the running system how many lanes are used by the inserted PCIe cards?
pci
PCI Express slots on the motherboard can be wider then the number of lanes connected.
For example a motherboard can have x8 slot with only x1 lane connected.
On the other hand, you can insert a card using only for ex. 4 lanes to a x16 slot on the motherboard, and they will negotiate to use only those x4 lanes.
How to check from the running system how many lanes are used by the inserted PCIe cards?
pci
pci
asked Aug 12 '10 at 11:52
silksilk
6122812
6122812
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
Ok, it seems I missed it on first try in lspci
manpages.
Note: Run the command as root/sudo otherwise a lot of detail is ommitted including the Lnk output shown below.
lspci -vv
displays a lot of information, including link width:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
[...]
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
1
in your example the output text has bothwidth x16
andwidth x8
. I assume this is interpretted as:the link capacity is width x16
andthis device has negotiated width x8
?
– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
add a comment |
Sometimes it can be a bit more complicated.
For example, 4 Port GBit ethernet adapters have a PCIe switch on board. I trapped into an issue where I found the Ethernet Adapter connected to x4, but a bottleneck upstream when the onboard pcie switch was connected at x1 to the motherboard only.
See this thread for the issue: http://thread.gmane.org/gmane.linux.drivers.e1000.devel/15192/focus=15254
To get a grasp on tree connectivity, compare the view of
sudo lspci -tv
sudo lspci -vv | grep -P "[0-9a-f]2:[0-9a-f]2.[0-9a-f]|LnkSta:"
The last line will show you the Link Status below every device on the bus without the overwelming detail of vv option.
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f393%2fhow-to-check-how-many-lanes-are-used-by-the-pcie-card%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Ok, it seems I missed it on first try in lspci
manpages.
Note: Run the command as root/sudo otherwise a lot of detail is ommitted including the Lnk output shown below.
lspci -vv
displays a lot of information, including link width:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
[...]
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
1
in your example the output text has bothwidth x16
andwidth x8
. I assume this is interpretted as:the link capacity is width x16
andthis device has negotiated width x8
?
– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
add a comment |
Ok, it seems I missed it on first try in lspci
manpages.
Note: Run the command as root/sudo otherwise a lot of detail is ommitted including the Lnk output shown below.
lspci -vv
displays a lot of information, including link width:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
[...]
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
1
in your example the output text has bothwidth x16
andwidth x8
. I assume this is interpretted as:the link capacity is width x16
andthis device has negotiated width x8
?
– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
add a comment |
Ok, it seems I missed it on first try in lspci
manpages.
Note: Run the command as root/sudo otherwise a lot of detail is ommitted including the Lnk output shown below.
lspci -vv
displays a lot of information, including link width:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
[...]
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
Ok, it seems I missed it on first try in lspci
manpages.
Note: Run the command as root/sudo otherwise a lot of detail is ommitted including the Lnk output shown below.
lspci -vv
displays a lot of information, including link width:
01:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GT] (rev a2) (prog-if 00 [VGA controller])
[...]
LnkCap: Port #0, Speed 2.5GT/s, Width x16, ASPM L0s L1, Latency L0 <512ns, L1 <1us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk+
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x8, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
edited Jul 18 '12 at 8:38
Tim Sutton
1032
1032
answered Aug 12 '10 at 12:15
silksilk
6122812
6122812
1
in your example the output text has bothwidth x16
andwidth x8
. I assume this is interpretted as:the link capacity is width x16
andthis device has negotiated width x8
?
– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
add a comment |
1
in your example the output text has bothwidth x16
andwidth x8
. I assume this is interpretted as:the link capacity is width x16
andthis device has negotiated width x8
?
– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
1
1
in your example the output text has both
width x16
and width x8
. I assume this is interpretted as: the link capacity is width x16
and this device has negotiated width x8
?– Trevor Boyd Smith
Nov 21 '14 at 18:26
in your example the output text has both
width x16
and width x8
. I assume this is interpretted as: the link capacity is width x16
and this device has negotiated width x8
?– Trevor Boyd Smith
Nov 21 '14 at 18:26
1
1
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Yes, that's how I understand it, too.
– silk
Nov 24 '14 at 10:47
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
Same as @ʇsәɹoɈ 's comment at other answer; Use root/sudo
– hbogert
Oct 7 '18 at 13:38
add a comment |
Sometimes it can be a bit more complicated.
For example, 4 Port GBit ethernet adapters have a PCIe switch on board. I trapped into an issue where I found the Ethernet Adapter connected to x4, but a bottleneck upstream when the onboard pcie switch was connected at x1 to the motherboard only.
See this thread for the issue: http://thread.gmane.org/gmane.linux.drivers.e1000.devel/15192/focus=15254
To get a grasp on tree connectivity, compare the view of
sudo lspci -tv
sudo lspci -vv | grep -P "[0-9a-f]2:[0-9a-f]2.[0-9a-f]|LnkSta:"
The last line will show you the Link Status below every device on the bus without the overwelming detail of vv option.
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
add a comment |
Sometimes it can be a bit more complicated.
For example, 4 Port GBit ethernet adapters have a PCIe switch on board. I trapped into an issue where I found the Ethernet Adapter connected to x4, but a bottleneck upstream when the onboard pcie switch was connected at x1 to the motherboard only.
See this thread for the issue: http://thread.gmane.org/gmane.linux.drivers.e1000.devel/15192/focus=15254
To get a grasp on tree connectivity, compare the view of
sudo lspci -tv
sudo lspci -vv | grep -P "[0-9a-f]2:[0-9a-f]2.[0-9a-f]|LnkSta:"
The last line will show you the Link Status below every device on the bus without the overwelming detail of vv option.
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
add a comment |
Sometimes it can be a bit more complicated.
For example, 4 Port GBit ethernet adapters have a PCIe switch on board. I trapped into an issue where I found the Ethernet Adapter connected to x4, but a bottleneck upstream when the onboard pcie switch was connected at x1 to the motherboard only.
See this thread for the issue: http://thread.gmane.org/gmane.linux.drivers.e1000.devel/15192/focus=15254
To get a grasp on tree connectivity, compare the view of
sudo lspci -tv
sudo lspci -vv | grep -P "[0-9a-f]2:[0-9a-f]2.[0-9a-f]|LnkSta:"
The last line will show you the Link Status below every device on the bus without the overwelming detail of vv option.
Sometimes it can be a bit more complicated.
For example, 4 Port GBit ethernet adapters have a PCIe switch on board. I trapped into an issue where I found the Ethernet Adapter connected to x4, but a bottleneck upstream when the onboard pcie switch was connected at x1 to the motherboard only.
See this thread for the issue: http://thread.gmane.org/gmane.linux.drivers.e1000.devel/15192/focus=15254
To get a grasp on tree connectivity, compare the view of
sudo lspci -tv
sudo lspci -vv | grep -P "[0-9a-f]2:[0-9a-f]2.[0-9a-f]|LnkSta:"
The last line will show you the Link Status below every device on the bus without the overwelming detail of vv option.
edited Dec 31 '18 at 2:00
Scott Stensland
4711413
4711413
answered Mar 30 '15 at 9:48
wjrwjr
8113
8113
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
add a comment |
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
10
10
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
Note: When run as an unprivileged user, lspci doesn't show the LnkCap / LnkSta / Width stats. Run it with sudo to see them.
– ʇsәɹoɈ
Jan 7 '17 at 18:44
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f393%2fhow-to-check-how-many-lanes-are-used-by-the-pcie-card%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown