6.3.3 · D3 · HinglishInterconnects, Buses & SoC

Worked examplesPCIe lanes, links, and bandwidth

2,723 words12 min read↑ Read in English

6.3.3 · D3 · Hardware › Interconnects, Buses & SoC › PCIe lanes, links, and bandwidth

Yeh page PCIe lanes, links, and bandwidth ka drill ground hai. Parent note ne raw signalling rate se full-duplex aggregate tak ka six-step bandwidth formula banaya tha. Yahan hum us machine ko lete hain aur usmein har tarah ka input daalte hain jo kabhi bhi aa sakta hai — bade lanes, chhote lanes, mismatched generations, number zero, ek bifurcated slot, ek word problem, aur ek exam trap — taaki koi bhi scenario tumhe kabhi surprise na kare.

Examples se pehle hum ek map of all the cases rakhte hain. Neeche har worked example us map-cell ke saath stamp kiya gaya hai jo use cover karta hai, taaki tum dekh sako ki kuch bhi chhoota nahi.

The one formula everything comes from

Is page par sab kuch ek hi chain hai. Pehle har piece ko plain words mein name karte hain, taaki koi bhi symbol bina explanation ke na aaye.

Yeh wala tool kyun aur, say, rates add karna kyun nahi? Kyunki charo effects independent multipliers hain, additions nahi. Lanes ko half karna aur efficiency ko half karna dono result ko same proportion se cut karte hain, isliye woh multiply karte hain. Addition se units mix ho jaate (GT/s + lanes meaningless hai).

The scenario matrix

Neeche woh har class of input hai jo yeh topic tumpar throw kar sakta hai. Har row ek alag "shape" of problem hai; last column us example ka naam batata hai jo ise pin karta hai.

Cell Case class Kya stress ho raha hai Covered by
A Plain forward calc (one gen, one width) Core chain, no traps Example 1
B Byte↔bit / MB↔GB unit gymnastics Marketers wale units ke beech convert karna Example 2
C Mismatched generation aur width (negotiated down) Ek saath do cheezein galat Example 3
D Bifurcation split (one slot → two links) Lanes divide karna, total conserve karna Example 4
E Full-duplex aggregate vs one-way ×2 trap Example 5
F Zero / degenerate input (, disconnected, x1) Edge aur smallest cases Example 6
G Reverse solve (given BW, find lanes) Chain ko ulta chalana Example 7
H Real-world word problem (bottleneck reasoning) Kaunsa link limit hai? Example 8
I Exam-style twist (per-lane Gen numbers hidden) Wording mein trap padhna Example 9

Reference numbers jo hum baar baar use karte hain (sab one-direction, parent ke master table se):

Gen (GT/s) Per-lane GB/s
1.0 2.5 0.8 0.250
2.0 5.0 0.8 0.500
3.0 8.0 128/130 0.985
4.0 16.0 128/130 1.969
5.0 32.0 128/130 3.938

Worked examples

Yeh rahi woh linearity drawn — bandwidth origin se ek seedhi ray hai, ek line per generation:

Figure — PCIe lanes, links, and bandwidth
Recall Quick self-test

Gen 3.0 x8 one-way bandwidth? ::: ≈ 7.88 GB/s A card reads "x16 @ x8" — how many real lanes? ::: 8 (doosra number negotiated width hai) Why do bandwidth contributions multiply, not add? ::: , , aur independent proportional factors hain; add karne se incompatible units mix ho jaate An x16 slot bifurcated x8/x8 — bandwidth per device? ::: har ek ko x16 link ka half; total conserved Marketing "128 GB/s" for Gen5 x16 vs your 63 GB/s — the gap? ::: woh bidirectional aggregate (×2) quote karte hain aur aksar encoding ignore karte hain

Where to go next

  • Encoding fractions 8b10b Encoding aur 128b130b Encoding se aaye hain.
  • Lanes physically pairs mein kyun exist karte hain: PCIe Electrical Signaling.
  • CPU/chipset kaise decide karta hai ki kaunse slot ko kitne lanes milenge: Motherboard Lane Allocation aur PCIe Bifurcation.
  • Kya ek card actually full width use bhi karta hai: GPU Bandwidth Requirements.
  • Bada picture: PCIe Architecture Overview aur parent PCIe lanes, links, and bandwidth.