part 3 Cache Memory 1

来源:互联网 发布:网络电视直播源代码 编辑:程序博客网 时间:2024/06/06 01:36

·Computer system overview

-location

-capacity

-unit of transfer

  cpu(word)-cache(word)-main memory(block)-disk(page)

  1 byte is always 8 bits

  1 word, it's just the number of bits the CPU can handle at once.16-bits or 32-bits.

  So for an 8-bit CPU, word and byte is the same.

-access method

  associative- it goes in parallel way and searching for the marching context and return address. ex.some cache memories.

-performance

 access time-The time from the instant that an address is presented to be the memory to the instant that data have been stored or made available ,that it is a bus cycle.

-physical characteristic

 volatile and erasable

·Memory hierarchy

- faster access time,greater cost per bit. greater capacity, smaller cost per bit and slower access time.that's why make computer hierarchy and cache is small.

- Do not use go to in programming cause (the principle of locality). try to stay in the same area.

what is memory stall cycles