Google Interview ( Time ) Part #1

Time of L1 cache reference ?
Answer: 0.5 ns.

Time of branch mis-predict ?
Answer: 5 ns.

Time of L2 cache reference ?
Answer: 7 ns.

Time of mutex lock/unlock ?
Answer: 100 ns.

Time of main memory reference ?
Answer: 100 ns.

Time of compressing 1 kB with Zippy ?
Answer: 10 us.

Time of sending 2 kB over GigE ?
Answer: 20 us.

Time of reading 1 MB sequentially from memory ?
Answer: 250 us.

Round-trip time within same data center ?
Answer: 500 us.

Time of disk seek ?
Answer: 10 ms.

Time to read 1 MB sequentially from network ?
Answer: 10 ms.

Time to read 1 MB sequentially from disk ?
Answer: 30 ms.

RTT of packet from CA to Netherlands and back ?
Answer: 150 ms.

Popular posts from this blog

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

What does Latency mean?