(好吧,實際上我們要繼續討論這個問題,我想承認這是一個家庭作業問題,請考慮並幫助我提高理解度更多。)瞭解內存組織中的基本概念,並在解決問題時有效應用這些內容
我最近開始學習計算機組織和架構。我已經對緩存的組織方式,緩存和主內存之間的映射是如何進行(直接,完全和集合關聯映射),什麼是頁表(什麼是頁面,塊等),我可以這麼說我對分段,尋呼,虛擬地址和物理地址有基本的瞭解(在基礎層)。
以及我所遇到的這個問題:
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?
一個很好的資源,其中這樣的問題實際上是教給解決會讚賞。 好的文章和意見是最受歡迎的。
Thankyou提前!