diff options
| author | Franck Cuny <franck@fcuny.net> | 2022-10-26 19:09:19 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2022-10-26 19:09:44 -0700 |
| commit | 2a1649ddcd32efb687bf09c5ec2033af690c8124 (patch) | |
| tree | bb4d666544c987087ed6616b5a3826383786840c /content/notes/stuff-about-pcie.md | |
| parent | ref(css): clean up and adjust a few things (diff) | |
| download | fcuny.net-2a1649ddcd32efb687bf09c5ec2033af690c8124.tar.gz | |
ref(content): set correct headers for notes
Diffstat (limited to 'content/notes/stuff-about-pcie.md')
| -rw-r--r-- | content/notes/stuff-about-pcie.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/notes/stuff-about-pcie.md b/content/notes/stuff-about-pcie.md index a3644f1..022cfd6 100644 --- a/content/notes/stuff-about-pcie.md +++ b/content/notes/stuff-about-pcie.md @@ -6,7 +6,7 @@ tags: - harwdare --- -# Speed +## Speed The most common versions are 3 and 4, while 5 is starting to be available with newer Intel processors. @@ -39,7 +39,7 @@ If we apply the formula, for a PCIe version 3 device we can expect 8GT/s * 4 lanes * (1 - 2/130) - 1G = 32G * 0.985 - 1G = ~30Gb/s -> 3750MB/s -# Topology +## Topology The easiest way to see the PCIe topology is with `lspci`: @@ -75,12 +75,12 @@ The easiest way to see the PCIe topology is with `lspci`: +-18.6 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6 \-18.7 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7 -# View a single device +## View a single device $ lspci -s 0000:01:00.0 01:00.0 Non-Volatile memory controller: OCZ Technology Group, Inc. RD400/400A SSD (rev 01) -# Reading `lspci` output +## Reading `lspci` output $ sudo lspci -vvv -s 0000:01:00.0 01:00.0 Non-Volatile memory controller: OCZ Technology Group, Inc. RD400/400A SSD (rev 01) (prog-if 02 [NVM Express]) @@ -165,7 +165,7 @@ A few things to note from this output: (here, we can use 4 lanes) - **MaxPayload** is the maximum size of a PCIe packet -# Debugging +## Debugging PCI configuration registers can be used to debug various PCI bus issues. |
