Programming Assign, Unit 5 Paging Lab University of The People CS 2301
Programming Assign, Unit 5 Paging Lab University of The People CS 2301
PAGING LAB
UNIVERSITY OF THE PEOPLE
CS 2301
Suppose that a system has a 32-bit (4GB) virtual address space. It has 1GB of physical memory, and uses 1MB
pages (Zhang, 2007).
1. How many virtual pages are there in the address space? 4000 - 4*2^10 bites
2. How many physical pages are there in the address space? 1000 - 2^10 bites
3. How many bits are there in the offset? 7388608
4. How many bits are there in the virtual page number? 8378608
5. How many bits are there in the physical page number? 8388608
6. 0xE12C → 0x312C 0x3A9D → 0xAA9D 0xA9D9 → 0x59D9 0x7001 → 0xF001 0xACA1 → 0x5CA1
ess 0x410423
Conclusión
There are many cool things about memory management in operating systems, I hope I can learn more about
these topics.
References
ZHANG, H., LV, Z., & ZHAI, H. (2007). The Use of Process Explorer & Autoruns. Computer Knowledge and
Technology (Academic Exchange), 2007, 15.