Read the following and answer the questions : Consider a machine with 16 GB main memory and 32‐bits virtual address space, with page size as 4KB. Frame size and page size is same for the given machine.
The number of bits reserved for the frame offset is ______
12
A frame contains \(4\times 1024=2^{12}\) bytes. Therefore its byte offset requires 12 bits. The 22-bit physical frame number identifies a frame, not a position within it.
If a process of size 34KB is to be executed on this machine, then what will be the size of internal fragmentation for this process?
Find number of pages required for the given virtual address space
For the machine described in the passage, assume byte addressing and a single-level page table containing one 4-byte entry for every virtual page in the complete 32-bit virtual address space. Each entry includes the physical frame number and control bits. What is the page-table storage size, excluding any additional overhead?
Use binary units: 1 KB = \(2^{10}\) bytes, 1 MB = \(2^{20}\) bytes, and 1 GB = \(2^{30}\) bytes.