2 ms·
The distance isn't a big issue. It's trivial to put the RAM close enough that the signals spend less than a nanosecond in transit on a round trip. It's all ab
by Dylan16807 10y ago
The distance isn't a big issue. It's trivial to put the RAM close enough that the signals spend less than a nanosecond in transit on a round trip.
It's all about the speed of the memory itself.
- adrianN 10y ago1ns is already two cycles at 2GHz and that doesn't count the switching delays of all the transistors between the memory cell and the register.
- sqeaky 10y agoIf RAM lookups only cost 2 cycles they would beat L2 and L3 cache. The real problem is the speed of the RAM, not the distance, for now. When RAM gets a request it can take many cycles to respond, sometimes as many as 50 or 60 before the first byte is returned. If you are smart you can request large sequential chunks and after the first bytes things come down to the the CPU very fast, but that initial hit is still something a lot of people optimizing algorithms are wrestling with.