2001年夏天典型的1GHz PC的各种操作要花的时间

执行一条指令 1 nsec = (1/1,000,000,000) sec
从L1 cache memory 中取一个字 2 nsec
从内存中取一个字 10 nsec
从磁盘的连续位置取一个字 200 nsec
从磁盘的新位置取一个字(seek) 8,000,000nsec = 8msec



转载于:http://daiyuwen.freeshell.org/gb/misc/21-days-cn.html

posted on 2011-02-25 16:00  浓咖啡  阅读(167)  评论(0编辑  收藏  举报

导航