作者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
1F:→ ohstar:20的部分是不是还要扣掉4? 因为16 entry,tag要再扣4 @@ 12/23 23:42
2F:→ bernachom:计算题解决了,谢谢 12/24 00:06
3F:→ bernachom:名词再麻烦了解的大大说明一下了,谢谢帮忙 12/24 00:07