【发布时间】:2013-11-01 20:12:32
【问题描述】:
(好吧,实际上是继续这个问题,我想承认这是一个家庭作业问题,请考虑一下并帮助我进一步提高我的理解。)
我最近开始学习计算机组织和架构。我对缓存的组织方式、缓存和主内存之间的映射方式(直接、完全和集合关联映射)、什么是页表(什么是页、块等)有了相当的了解,我可以这么说我对分段、分页、虚拟地址和物理地址有基本的了解。(当然是基础)。
我遇到过这个问题:
A computer has 46-bit virtual address ,32- bit physical address, and a three level
page table organisation. The page table base-register stores the base address of the
first level table(t1), which occupies exactly one page.Each entry of t1 stores the base
address of the page of second level table t2. Each entry of t2 stores the base address
of the page of the third level table t3. Each entry of t3 stores a page table entry
(PTE). The PTE is 32 bit in size. The processor used in the computer has a 1MB
16-way set associative virtually indexed physically tagged cache. The cache block size
is 64 Bytes.
首先,我很难想象这种类型的虚拟计算机。 任何人都可以通过提供有关如何在纸上实现这样的虚拟计算机的简单步骤来帮助我,或者只是如何理解问题中给出的内容。真正问的是什么?? 如何表示一台具有 46 位虚拟地址和三级页表的计算机。
what is virtually indexed and physically tagged cache.
看完上面给出的内容,我觉得我只知道这些术语,但我无法将它们联系在一起来解决问题。 如果有人试图解释我的思维过程应该如何理解并实际应用这些概念来解决此类问题,我会很高兴。
根据上段提出的一些问题:
1) What is the size of a page in KB in this computer?
2) what is the minimum number of page colours needed to guarantee that no two synonyms
map to different sets in the processor cache of this computer?
将不胜感激提供实际教授解决此类问题的好资源。 欢迎好的文章和观点。
提前谢谢你!!
【问题讨论】:
标签: caching memory-management ram processor