0% found this document useful (0 votes)
29 views1 page

Programming Assign, Unit 5 Paging Lab University of The People CS 2301

The document is a programming assignment for a paging lab at University of the People. It asks students to calculate details about a virtual memory system with a 32-bit address space, 1GB of physical memory divided into 1MB pages. The summary provides the number of virtual pages, physical pages, and bits used for the offset, virtual page number, and physical page number. It also includes some sample address translations.

Uploaded by

Leonardo Triana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views1 page

Programming Assign, Unit 5 Paging Lab University of The People CS 2301

The document is a programming assignment for a paging lab at University of the People. It asks students to calculate details about a virtual memory system with a 32-bit address space, 1GB of physical memory divided into 1MB pages. The summary provides the number of virtual pages, physical pages, and bits used for the offset, virtual page number, and physical page number. It also includes some sample address translations.

Uploaded by

Leonardo Triana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

PROGRAMMING ASSIGN, UNIT 5

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.

You might also like