Reference no: EM132493630
Q1. Consider a machine with B-bit architecture (i.e. virtual address and physical address are B bits long). Size of a page is P bytes.
1. What is the size (in bytes) of the virtual address space of a process?
2. How many bits in an address represent the byte offset into a page?
3. How many bits in an address are needed to determine the page number ?
4. How many page-table entries does a process' page-table contain?
Q2. Assume that the Size of each disk block is B bytes.
Address of each disk block is A bytes long.
The top level of a UNIX i-node contains D direct block addresses, one single-indirect block address, one double-indirect block address, and one triple-indirect block address.
(a) What is the size of the largest "small" file that can be addressed through direct block addresses?
(b) What is the size of the largest file that can be supported by the UNIX inode? Explain your answers.