Operating SystemComputer Science & Information Technology

What is Logical (virtual) vs Physical Address Space?

The concept of a logical address space that is bound to a separate physical address space is central to proper memory management.

  • Logical address: Generated by the CPU; also referred to as virtual address.
  • Physical address: Address seen by the memory unit, i.e., the address loaded into MAR (memory address register).

Logical and physical addresses are the same in compile-time and load-time address-binding schemes; logical (virtual) and physical addresses differ in execution-time address-binding scheme.

physical-address-space

WHAT IS MEMORY ALLOCATION TECHNIQUES?

Main memory is divided into a set of non-overlapping memory regions called partitions. Memory can be allocated in contiguous or non-contiguous partitions.

Contiguous Partition

Contiguous Partition categorized into two ways.

  1. Single Partitioning (Single User, Single process)
  2. Multiple Partitioning (Fixed/Static and Variable/Dynamic)

1. Fixed Partitions/Static Partitioning

Memory is divided into fixed-sized partitions (fixed means number of partition are fixed and not size). All partitions either equal (same) size or unequal size partitions. One partition is allocated to each active process in the multiprogramming set.

2. Variable/Dynamic Partitioning

The partitions are created dynamically. When a process arrives, it allocates memory from a hole large enough to accommodate it. Operating system maintains information about allocated partitions and free partitions.

Memory is allocated contiguously to processes until there is no available block of memory large enough.

<< Previous | Next >>
Must Read: What is an operating system and its types?

 

Check More Links:
1. What is program interrupt? 2. What do you mean by addressing mode?
3. Logical address space and physical address space 4. Types of CPU Scheduling
5. What is the function of control unit? 6. I/O module in computer architecture
7. Floating point representation in computer architecture 8. Flynn’s classification in computer architecture

 

Dear Aspirants,
Your preparation for GATE, ESE, PSUs, and AE/JE is now smarter than ever — thanks to the MADE EASY YouTube channel.
This is not just a channel, but a complete strategy for success, where you get toppers strategies, PYQ–GTQ discussions, current affairs updates, and important job-related information, all delivered by the country’s best teachers and industry experts.
If you also want to stay one step ahead in the race to success, subscribe to MADE EASY on YouTube and stay connected with us on social media.
MADE EASY — where preparation happens with confidence.

MADE EASY

MADE EASY is a well-organized institute, complete in all aspects, and provides quality guidance for both written and personality tests. MADE EASY has produced top-ranked students in ESE, GATE, and various public sector exams. The publishing team regularly writes exam-related blogs based on conversations with the faculty, helping students prepare effectively for their exams.

Leave a Reply

Your email address will not be published. Required fields are marked *