操做
时间
L1 cache reference
L1缓存查询 0.5 纳秒
Branch mispredict
转移、分支预测 5 纳秒
L2 cache reference
L2缓存查询 7 纳秒
Mutex lock/unlock
互斥锁\解锁 25 纳秒
Main memory reference
主存访问 100 纳秒
Compress 1KB bytes with Zippy
1k字节压缩Zippy 3,000 纳秒
Send 2K bytes over 1 Gbps network
在1Gbps的网络上发送2k字节 20,000(20微秒)
Read 1MB sequentially from memory
从内存顺序读取1MB 250,000 (250微秒)
Roundtrip within same datacenter
同一个数据中心往返 500,000(0.5毫秒)
Read 1 MB sequentially from SSD
从SSD顺序读取1MB 1,000,000(1毫秒)
Disk seek
磁盘寻址 10,000,000(10毫秒)
Read 1MB sequentially from disk
从磁盘里面读出1MB 20,000,000(20毫秒)
Send packet CA -> Netherlands -> CA
发送数据包 150,000,000(150毫秒)