计算机组成原理中山学院,中山软件学院专业课计算机组成原理.ppt

中山软件学院专业课计算机组成原理

Characteristics of Memory Systems Location CPU Internal External Access Methods (1) Sequential Start at the beginning and read through in order Access time depends on location of data and previous location e.g. tape Direct Individual blocks have unique address Access is by jumping to vicinity plus sequential search Access time depends on location and previous location e.g. disk Access Methods (2) Random Individual addresses identify locations exactly Access time is independent of location or previous access e.g. RAM Associative Data is located by a comparison with contents of a portion of the store Access time is independent of location or previous access e.g. cache Performance Access time Time between presenting the address and getting the valid data Memory Cycle time Time may be required for the memory to “recover” before next access Cycle time is access + recovery Transfer Rate Rate at which data can be moved Physical Types Semiconductor RAM Magnetic Disk & Tape Optical CD & DVD Others Hologram The Bottom Line How much? (Capacity) Greater capacity, smaller cost per bit Greater capacity, slower access time How fast? (Access time) Faster access time, greater cost per bit How expensive? (Cost) Memory Hierarchy Registers In CPU Internal or Main memory May include one or more levels of cache “RAM” External memory Backing store Hierarchy List Registers L1 Cache L2 Cache Main memory Disk Optical Tape Memory Hierarchy - Diagram Hierarchy List Cache Small amount of fast memory Sits between normal main memory and CPU May be located on CPU chip or module Content addressable memory What makes cache “special”? Cache is not accessed by address; it is accessed by content. For this reason, cache is sometimes called content addressable memory or CAM. Terminology Hit: The requested data resides in a given level of memory. Miss: The requested data is not found in the given level of memory. Hit Rate: The percentage of memory accesses found in a given level

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值