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

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay