### General - lag in expected output - [[Clint notes]] REMOVE THIS ### General Latency #'s | Latency | Operation | | ---------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | | 0-1 ns | Accessing [[CPU]] [[Register\|Registers]], [[Clock Cycle]] of a [[CPU]] | | 1-10 ns | L1/L2 [[Cache]] accesses, branch mispredict penalty (20 [[CPU]] [[Clock Cycle\|Clock Cycles]]) | | 10-100 ns | L3 [[Cache]] access (faster end of this range), referencing main memory (slower end of this range) | | 100-1000 ns | [[System Call]] (to [[Kernel]] and back, not counting latency of syscall itself), [[MD5]] hashing a 64 bit number | | 1-10 µs (~ 1K times slower than CPU register access) | | | asdf | | ### Networking Latency - time it takes for data to pass from point A in [[Networking|Network]] to point B - delay in network communication https://aws.amazon.com/what-is/latency/ https://www.cloudflare.com/learning/performance/glossary/what-is-latency/ https://www.youtube.com/watch?v=FqR5vESuKe0&list=PLCRMIe5FDPsd0gVs500xeOewfySTsmEjf&index=3