Title: Theory / Unimportant / CS / Hardware / Latencies

Question: Time taken for a L1 cache reference
Answer: .5 ns = 5. 10^-10s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for a Branch mispredict
Answer: 5 ns = 5. 10^-9s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for a L2 cache reference
Answer: 7 ns = 7. 10^-9s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for a Mutex lock/unlock
Answer: 25 ns = 2.5 10^-8s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for a main memory reference
Answer: .1 µs = 1 10^-7s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to compress 1K with Zippy
Answer: 3 µs = 3 10^-6s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to send 1K over 1Gbps network
Answer: 10 µs = 1 10^-5s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to read 4K randomly from SSD
Answer: 150 µs = 1.5 10^-4s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to read 1M sequentially from memory
Answer: 250 µs = 2.5 10^-4s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for round trip within same datacenter
Answer: .5 ms = 5 10^-4s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to read 1M sequentially from SSD
Answer: 1 ms = 1 10^-3s
Page: https://gist.github.com/jboner/2841832

Question: Time taken for Disk seek
Answer: 10 ms = 1 10^-2s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to Read 1MB sequentially from disk
Answer: 20 ms = 2 10^-2s
Page: https://gist.github.com/jboner/2841832

Question: Time taken to send packet CA->Netherlands->CA
Answer: 150 ms = 1.5 10^-1s
Page: https://gist.github.com/jboner/2841832