2007年7月25日 星期三

計算機組織

為了讓CPU存取指令或是資料能夠更加的快速
因此導入了記憶體階層的觀念 將常用到的資料放在快速存取的區域
Cache是個很好的例子,它具有以下的特性
1.Small Size (Smaller is faster)
2.Fast access(L1 cache ~10 ns)
3.More expensive(Static RAM)

There are some principles & trade-off for designing cache
1.What is the size of a block?
The bigger the size , the more transferring time , but make use of locality.

2.

依頻率排序