3 ms·
The clarify my scenario: I'm looking for the rate, not the total from a standing start. To use an analogy: I'm not asking how far a car can go on the highway i
by jiggawatts 3y ago
The clarify my scenario: I'm looking for the rate, not the total from a standing start.
To use an analogy: I'm not asking how far a car can go on the highway if accelerating from zero, but how far it can move if moving at highway speeds.
Nonetheless, the latency to main memory is also a great example of how bad programmers' intuitions are! A processor can perform thousands of operations in the time it takes for it to wait for just one memory access.
RAM is the new disk, and disk is the new tape.
PS: There was an article on here just a couple of days ago about how "handles are better than references". I didn't see many comments pointing out that this doubles the number of memory requests required when chasing pointers, halving the overall performance!
- Dylan16807 3y ago> The clarify my scenario: I'm looking for the rate, not the total from a standing start. > To use an analogy: I'm not asking how far a car can go on the highway if accelerating from zero, but how far it can move if moving at highway speeds. The terms and conditions keep applying. The everyday real world conditions implied by "highway speed" include regular cache misses and branches. It's not about "start" or "acceleration". This massively impacts the steady state speed. If you want a car analogy, tight vector packing compares to normal code about as well as looking at the speed and width of the flame front across a cylinder and using that to measure fuel consumption.