作者bernachom (Terry)
看板Grad-ProbAsk
標題[理工] [OS]-memory和一些名詞..
時間Wed Dec 23 23:32:24 2009
請教一下
這題是一個TLB的計算
A virtual memory system often implements a TLB to speed up the
virtual-to-physical address translation.
A TLB has the following characteristics. Assume each TLB entry has a valid bit
a dirty bit, a tag, and the page number. Determine the exact total number of
bits to implement this TLB.
-It is direct-mapped.
-It has 16 entries.
-The page size is 4K bytes.
-The virtual address space is 4G bytes.
-The physical memory is 1G bytes.
我計算是 20+18+1+1=40 40*16=640
和書上算的好像不太一樣..我這樣子算是哪裡錯了?
其它的就是一些名詞了
查過之後還是不太了解,希望可以幫忙解答一下..
1.regular function call
2.ioctl system call
3.process migration
謝謝幫忙
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.217.231.34
→ ohstar:20的部分是不是還要扣掉4? 因為16 entry,tag要再扣4 @@ 12/23 23:42
→ bernachom:計算題解決了,謝謝 12/24 00:06
→ bernachom:名詞再麻煩了解的大大說明一下了,謝謝幫忙 12/24 00:07