|
|
|
|
|
by patrickwiseman
4927 days ago
|
|
With timings that are several orders of magnitude in difference I'd just ignore the constants between factors as they change too frequently. Also there is a difference between latency and bandwidth and the chart is simply inconsistent. CPU Cycle ~ 1 time unit
Anything you do at all. The cost of doing business. CPU Cache Hit ~ 10 time units
Something that was located close to something else that was just accessed by either time or location. Memory Access ~ 100 time units
Something that most likely has been accessed recently, but not immediately previously in the code. Disk Access ~ 1,000,000 time units
It's been paged out to disk because it's accessed too infrequently or is too big to fit in memory. Network Access ~ 100,000,000 time units
It's not even here. Damn. Go grab it from that long series of tubes. Roughly about the same amount of time it takes to blink your eye. |
|
Local gigabit network ping time is 200 μs and an SSD typically reads a 4K block in 25 μs. I imagine that converts to 200,000 time units and 25,000 time units, respectively.