DEV Community

Sarvesh Kesharwani
Sarvesh Kesharwani

Posted on

physical memory, virtual address space, size of the page table

https://gateoverflow.in/739/gate-cse-2001-question-2-21?show=739#q739

Image description

To solve this question, you need to have a basic understanding of the following concepts of memory management:

Memory management: Memory management refers to the process of managing the memory resources of a computer system, including physical memory and virtual memory. In a virtual memory system, the memory addresses used by a program are virtual addresses, which are mapped to physical addresses by the operating system.

Paging: Paging is a memory management technique used in virtual memory systems to divide the virtual address space into fixed-size blocks called pages. Each page is mapped to a corresponding page frame in physical memory.

Page tables: A page table is a data structure used by the operating system to keep track of the mapping between virtual addresses and physical addresses. It contains information about which pages are mapped to which page frames, and it is used by the memory management unit (MMU) to translate virtual addresses to physical addresses.

Page size: The page size is the size of each page in a paging system. It is typically a power of two, and it determines the granularity of memory allocation in the system.
Enter fullscreen mode Exit fullscreen mode

Top comments (0)