Logical & Physical Address Nihal Güngör. Logical Address In simplest terms, an address generated by the CPU is known as a logical address. Logical addresses.

Slides:



Advertisements
Similar presentations
Computer Systems Nat 4/5 Computing Science Computer Structure:
Advertisements

MEMORY popo.
Basic Memory Management 1. Readings r Silbershatz et al: chapters
MEMORY ORGANIZATION Memory Hierarchy Main Memory Auxiliary Memory
Memory Hierarchy. Smaller and faster, (per byte) storage devices Larger, slower, and cheaper (per byte) storage devices.
Modified from Silberschatz, Galvin and Gagne Lecture 16 Chapter 8: Main Memory.
Virtual Memory Operating Systems Lecture # 8. Multi-tasking OS OS Excel MS Word Outlook 0x0000 0x7000 0x4000 0x8000 0x9000.
03/09/2007CSCI 315 Operating Systems Design1 Memory Management Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Chapter 9 Virtual Memory Produced by Lemlem Kebede Monday, July 16, 2001.
Computer Organization Cs 147 Prof. Lee Azita Keshmiri.
Modified from Silberschatz, Galvin and Gagne Lecture 15 Chapter 8: Main Memory.
Memory Management April 28, 2000 Instructor: Gary Kimura.
Operating System Concepts
Silberschatz, Galvin and Gagne  Operating System Concepts Multistep Processing of a User Program User programs go through several steps before.
03/05/2008CSCI 315 Operating Systems Design1 Memory Management Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Virtual Memory By: Dinouje Fahih. Definition of Virtual Memory Virtual memory is a concept that, allows a computer and its operating system, to use a.
MANINDER KAUR RAM and ROM Chips 24-Nov
Basic Operational Concepts of a Computer
Swapping and Contiguous Memory Allocation. Multistep Processing of a User Program User programs go through several steps before being run. Program components.
Lecture 13 L.Mohammad R.Alkafagee1.  The concept of a logical address space that is bound to a separate physical address space is central to proper memory.
Memory Management. Process must be loaded into memory before being executed. Memory needs to be allocated to ensure a reasonable supply of ready processes.
A genda for Today What is memory management Source code to execution Address binding Logical and physical address spaces Dynamic loading, dynamic linking,
Computer Architecture Lecture 28 Fasih ur Rehman.
Chapter 4 Storage Management (Memory Management).
Section one revision:1. Computer Systems To be able to Identify and describe computer systems To demonstrate an understanding of the Central Processing.
Memory Management COSC 513 Presentation Jun Tian 08/17/2000.
Memory. Chapter 8: Memory Management Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation.
7. Peripherals 7.1 Introduction of peripheral devices Computer Studies (AL)
Main Memory. Chapter 8: Memory Management Background Swapping Contiguous Memory Allocation Paging Structure of the Page Table Segmentation Example: The.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
Computer Structure & Architecture 7b - CPU & Buses.
Computer Studies/ICT SS2
Introduction to Virtual Memory and Memory Management
Introduction: Memory Management 2 Ideally programmers want memory that is large fast non volatile Memory hierarchy small amount of fast, expensive memory.
Excellence Publication Co. Ltd. Volume Volume 1.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
A Level Computing for AQA Teacher’s Resource CD-ROM 4 CHAPTER: Functional characteristics of a processor.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 31 Memory Management.
Memory Management Program must be brought (from disk) into memory and placed within a process for it to be run Main memory and registers are only storage.
Jeffrey Ellak CS 147. Topics What is memory hierarchy? What are the different types of memory? What is in charge of accessing memory?
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Virtual Memory By CS147 Maheshpriya Venkata. Agenda Review Cache Memory Virtual Memory Paging Segmentation Configuration Of Virtual Memory Cache Memory.
Memory management The main purpose of a computer system is to execute programs. These programs, together with the data they access, must be in main memory.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 8: Main Memory.
Main Memory CSSE 332 Operating Systems Rose-Hulman Institute of Technology.
VIRTUAL MEMORY.
Memory Management.
Chapter 8: Main Memory.
CPU & its Components CPU stands for central Processing Unit
3.2 Virtualisation.
Main Memory Management
CS 140 Lecture Notes: Virtual Machines
Memory Management 11/17/2018 A. Berrached:CS4315:UHD.
MEMORY MANAGEMENT & their issues
Multistep Processing of a User Program
Simulation of computer system
Module IV Memory Organization.
CS 140 Lecture Notes: Virtual Machines
Memory Management Tasks
Chapter 8: Memory management
Outline Module 1 and 2 dealt with processes, scheduling and synchronization Next two modules will deal with memory and storage Processes require data to.
Memory Management by Segmentation
Lecture 3: Main Memory.
Computer System Structures
CS 140 Lecture Notes: Virtual Machines
OPERATING SYSTEMS MEMORY MANAGEMENT BY DR.V.R.ELANGOVAN.
Virtual Memory Hakim Weatherspoon CS 3410 Computer Science
Computer Science. The CPU The CPU is made up of 3 main parts : Cache ALU Control Unit.
Page Main Memory.
Presentation transcript:

Logical & Physical Address Nihal Güngör

Logical Address In simplest terms, an address generated by the CPU is known as a logical address. Logical addresses are also referred to as virtual addresses. The logical address space is the set of logical addresses generated by a program. From the perspective of a program that is running, an item seems to be located in the address provided by the logical address. *That program uses the virtual memory at the time.

Physical Address Physical address (also called the real addresses) is the actual memory address which denotes a memory area in your storage device. Physical address is the address seen by the memory unit and it allows accessing a particular memory cell in the main memory by the data bus.

Application programs that are running on the computer do not see the physical addresses. They always work using the logical addresses. Logical addresses need to be mapped to physical addresses before they are used and this mapping is handled using a hardware device called the Memory Management Unit (MMU). There are several mapping schemes used by the MMU.

Physical address or the real address is the address seen by the memory unit and it allows the data bus to access a particular memory cell in the main memory. Logical addresses generated by the CPU when executing a program are mapped in to physical address using the MMU. All the logical addresses need to be mapped in to physical addresses before they can be used.

A logical cache, also known as a virtual cache, stores data using virtual addresses. The processor accesses the cache directly, without going through the MMU. A physical cache stores data using main memory physical addresses.