Comment on iFixit hails replaceable LPCAMM2 laptop memory as a 'big deal'
TimeSquirrel@kbin.social 6 months agothe lower voltage they operate at calls for more attention to be paid to signal integrity between the CPU and memory
And they aren't kidding around, modern high speed signals are so fast that a millimeter or less of difference in length between two traces might be enough to cause the signals to arrive at the other end with enough skew to corrupt the data.
SpaceNoodle@lemmy.world 6 months ago
A millimeter is huge in these situations. USB3 requires 5 mil tolerances, just over 0.1 mm. This scales with the inverse of data rate.
Electronics are so fast that we gotta take the speed of light into account. God help you if you put too sharp a bend in a trace, too …
itsmect@monero.town 6 months ago
USB3 is quite forgiving regarding the layout. The standard ±10% impedance matching is fine, and because there is no dedicated clock line you don’t need to do length matching either. Even differential pair length mismatch is not that big of a deal. If 0.1mm is easy to archive, sure go for it, but I’d rather compromise on this in favor of more important parameters.
gregorum@lemm.ee 6 months ago
So, does it just have really advanced error checking? How does it handle the mismatches?
itsmect@monero.town 6 months ago
The signal does not care about how it gets from the sender to the receiver. The only thing that matters is that at the receivers end 0s and 1s can be separated. One common measurement is the eye pattern. If the eye is “open” enough (=matches the spec), communication is possible.
Impedance mismatch causes reflections (visible as oscillation after rising/falling edge), differential pair line mismatch degrades the slop of the signal transition (rising/falling edge). Geometric features only matter if they are large compared to the signal wavelength. As a rule of thumb features smaller then 1/20th can be safely ignored, often times a ratio as large as 1/5 works just fine. USB3 uses 2.5Ghz (5Gbit/s) or 5Ghz (10Gbit/s), where 1/20th result in 3.4mm and 1.7mm respectively (assuming an effective dialectic of 3.17). This is still grossly simplified, because in many real systems you don’t control the entire transmission line (eg. user buys a random cable and expects it to work), so it makes sense that the USB consortium specifies eye patterns and factors in various system uncertainties.
RAM on the other hand uses 16/32/64/128 single ended data lines, with a dedicated clock line. Data does not have to arrive perfectly at the same time, but the margin may be as little as 1/10th of a clock cycle. Here accurate length matching is absolutely required. Its also the reason why the same CPU + RAM combination may archive higher stable clock rates on some mainboards then on others.
AnUnusualRelic@lemmy.world 6 months ago
That’s why serial busses won over parallel ones I guess.
TimeSquirrel@kbin.social 6 months ago
Haha, I'm still over here messing with 10/100 Ethernet and USB 2 on my home projects. I'm used to bigger tolerances than the truly high tech stuff.
SpaceNoodle@lemmy.world 6 months ago
Same, but now I’m working on very high-speed stuff for work and starting to get into that hobby-wise as well. Just yesterday had a conversation with a colleague about how things are getting too small to hand-solder.
GluWu@lemm.ee 6 months ago
My dedicated AI machine uses 1866mhz DDR3. Consumers don’t know what they need and will buy whatever the latest new thing is. Smart phones are so dumb. Like wow, your brand new $2500 phone has a benchmark 4x faster than my refurbished $250 phone. Now tell me what you do with all that power. “…well I save 27ms per Instagram post which adds up with how much I use it”. I want to run headfirst into a brick wall.
TimeSquirrel@kbin.social 6 months ago
I meant PCBs. I design custom circuit boards.
Threeme2189@lemmy.world 6 months ago
What is a mil in this context? I’m genuinely curious.
Hawke@lemmy.world 6 months ago
Probably one thousandth of an inch.
user224@lemmy.sdf.org 6 months ago
Ew.
Threeme2189@lemmy.world 6 months ago
I’ve heard it referred to as ‘thou’ but not ‘mil’
SpaceNoodle@lemmy.world 6 months ago
Correct.
flying_gel@lemmy.world 6 months ago
A millimeter i.e a thousands of a meter.
Threeme2189@lemmy.world 6 months ago
5 mm isn’t ‘just over 0.1 mm’. That can’t be right.
Aceticon@lemmy.world 6 months ago
In the design and manufacture of PCBs (aka circuit boards) a “mil” is a one thousandth of an inch.
gregorum@lemm.ee 6 months ago
That inverse square law will fuck you every time