21 ms·
CAS has nothing to do with "distances between RAM modules and the CPU".
by rasz 7y ago
CAS has nothing to do with "distances between RAM modules and the CPU".
- Retric 7y agoThe memory controller referenced in CAS is in the CPU and the ram modules are part of those ram sticks so it’s not the only component of CAS latency but it is a big one. “For a completely unknown memory access (AKA Random access), the relevant latency is the time to close any open row, plus the time to open the desired row, followed by the CAS latency to read data from it. Due to spatial locality, however, it is common to access several words in the same row. In this case, the CAS latency alone determines the elapsed time.”
- rasz 7y agoNo, distance from memory controller is NOT a component of CAS. CAS is the time it takes for row amps to stabilize their levels after being connected to selected memory cells (capacitors). CAS is counted in clock cycles. Have you ever heard of a motherboard where you would have to add/subtract CAS cycles from memory module specification because of memory slot layout? ;-) btw 10cm of track on pcb is about 2 clock cycles at 3GHz, ~0.6ns. Now you will love this one - in the last 20 years we went from ~15ns CAS down to ... 7ns, twice as fast! Even better - we got down to 7ns in 2006 https://www.newegg.com/g-skill-2gb-240-pin-ddr2-sdram/p/N82E16820231086 https://www.newegg.com/g-skill-2gb-240-pin-ddr2-sdram/p/N82E... and stayed there for the last 14 years. What we got instead is higher density and susceptibility to rowhammer.
- Retric 7y agoCAS is the full round trip time, the controller does not care about individual components of the latency just the total latency. End users just see the CAS number, but what it’s repressing under the hood is not simply what’s going on inside a DIMM, which is why the numbers get higher with higher memory clock speeds. Further, MB traces are just part of the story. It’s the physical distance traveled from a CPU’s memory controller to the furthest physical cell location on a chip which is significantly more than 10cm and it’s a round trip timing. Even just the physical DIMM’s are 13 CM wide. A more accurate ~25 cm each way = 50 cm total ~= 3ns out of 6.56ns timing for a DDR3-2133 & CAS 7 ~47%. CAS 18 DDR4-4600 is 7.82 ns or ~40%. PS: As to progress, DDR2-1066 at CAS 4 was 7.5n where CAS 18 DDR4-4600 is 7.82 ns that’s some progress.
- rasz 7y ago2005 Intel server memory controller datasheet states up to 800mils for die to BGA ball distance (huge chip), thats 2cm. Newer stuff is hard to dig up. Afaik JEDEC DDR3/4 layout guidelines state no more than 4.5 inches to DIMM socket, 5 inches ball to ball. Max connector to ball length for DDR4 UDIMM is ~3cm. All in all max ~17cm.