L1 cache reference 0.5 nsBranch mispredict 5 nsL2 cache reference 7 nsMutex lock/unlock 25 nsMain memory reference 100 nsCompress 1K bytes with Zippy 3,000 nsSend 2K bytes over 1 Gbps network 20,000 nsRead 1 MB sequentially from memory 250,000 nsRound trip within same datacenter 500,000 nsDisk seek 10,000,000 nsRead 1 MB sequentially from disk 20,000,000 nsSend packet CA->Netherlands->CA 150,000,000 nsBy Jeff Dean (http://research.google.com/people/jeff/):
Thursday, May 31, 2012
Latency numbers every programmer should know — Gist:
at 8:30 PM
Given chord length c and segment height m (this is called a "sagitta"), radius = (m^2 + (c^2)/4) / (2 m) In OpenSCAD: c=20; ...
On Mac and Linux, set up an ssh key in the usual way: ssh-keygen cat $HOME/.ssh/id_rsa.pub Copy that into the github ssh keylis...
A while back I answered a question on Stack Overflow asking about the relative popularity of TAOCP. I replied with something I had heard, th...