作者jim055006 (jim)
看板Grad-ProbAsk
标题[理工] [计组]segment/page...
时间Mon Oct 31 22:38:55 2011
Consider a computer system with both segmentation and paging. When a segment
is in memory, the space overhead of the segment comes from two sources:
internal fragmentation and page table entries for the segment. Assume
that the segment size is s, and each page table entry occupies 8 bytes.
What page size (in bytes) minimizes such overhead?
这一题要怎麽算啊??
不懂内部碎裂要怎麽假设ㄝ....
有劳高手指点一下~~
钢温!!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 223.139.197.100
1F:推 kane9988:如果要使overhead最小,则page table大小和内部碎裂加起来 11/01 00:45
2F:→ kane9988:要刚好一个page,好像是在os恐龙里面看到的 11/01 00:46
3F:→ kane9988:所以假设页框大小为n,(s/n)*8=n/2 11/01 01:04
4F:→ jim055006:请问K大是在哪一页看到的.... 11/01 21:00