• Skip to main content
  • Skip to primary sidebar
  • Skip to secondary sidebar
  • Skip to footer

Computer Notes

Library
    • Computer Fundamental
    • Computer Memory
    • DBMS Tutorial
    • Operating System
    • Computer Networking
    • C Programming
    • C++ Programming
    • Java Programming
    • C# Programming
    • SQL Tutorial
    • Management Tutorial
    • Computer Graphics
    • Compiler Design
    • Style Sheet
    • JavaScript Tutorial
    • Html Tutorial
    • Wordpress Tutorial
    • Python Tutorial
    • PHP Tutorial
    • JSP Tutorial
    • AngularJS Tutorial
    • Data Structures
    • E Commerce Tutorial
    • Visual Basic
    • Structs2 Tutorial
    • Digital Electronics
    • Internet Terms
    • Servlet Tutorial
    • Software Engineering
    • Interviews Questions
    • Basic Terms
    • Troubleshooting
Menu

Header Right

Home » Fundamental » Memory » What is Memory mapping?
Next →
← Prev

What is Memory mapping?

By Dinesh Thakur

Memory mapping is the translation between the logical address space and the physical memory. The objectives of memory mapping are (1) to translate from logical to physical address, (2) to aid in memory protection (q.v.), and (3) to enable better management of memory resources. Mapping is important to computer performance, both locally (how long it takes to execute an instruction) and globally (how long it takes to run a set of programs). In effect, each time a program presents a logical memory address and requests that the corresponding memory word be accessed, the mapping mechanism must translate that address into an appropriate physical memory location. The simpler this translation, the lower the implementation cost and the higher the performance of the individual memory reference.

There are two fundamental situations to be handled. When the logical address space is smaller than the physical address space (common to micro controllers, microprocessors, and older mini- and mainframe computers, mapping is needed to gain access to all of physical memory). When the logical address space is larger than the physical address space, mapping is used to insure that each logical address generated corresponds to an existing physical memory cell.

The size of the logical address space is determined by the number of bits in a memory address. Typically, the size of an address is limited by the word length of the computer. On a typical 1980s vintage computer with a 16-bit word, only 216 or about 65000 words could be addressed. Technology now permits such systems to be attached physically to many times this memory, but there is no direct way to address it without redesigning the instruction set. Thus, the primary purpose of a memory mapping mechanism on such a system is to enable the logical address space to be assigned to a desired portion of a larger physical address space. In paging, the logical address space is divided into a set of equal-sized blocks called pages, and each is mapped onto a block of physical memory called a page frame. Each page must begin at a page frame boundary in physical memory. The primary advantage of paging is that it allows a contiguous logical address space to be split into several non contiguous physical frames. This permits sharing of some of a program’s pages among multiple processes without complete overlap of physical addresses. The page map file is often kept in a cache memory.

Segmenting breaks the logical address space into several blocks, but does not require them to be of any particular size or to be mapped into any particular physical frames. Physical addresses are obtained by biasing the individual segments. This approach is the most flexible but also the most costly, both in hardware and performance. It requires both a segment table and an extra addition operation per memory reference.

You’ll also like:

  1. What is Bump Mapping?
  2. What is Texture mapping?
  3. Mapping Database Types to Java
  4. How To Troubleshoot Memory (Random Access Memory)
  5. What is Memory?
Next →
← Prev
Like/Subscribe us for latest updates     

About Dinesh Thakur
Dinesh ThakurDinesh Thakur holds an B.C.A, MCDBA, MCSD certifications. Dinesh authors the hugely popular Computer Notes blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps.

Dinesh Thakur is a Freelance Writer who helps different clients from all over the globe. Dinesh has written over 500+ blogs, 30+ eBooks, and 10000+ Posts for all types of clients.


For any type of query or something that you think is missing, please feel free to Contact us.


Primary Sidebar

Computer Memory

Computer Memory

    • Computer - Memory
    • Computer - Types of Memory
    • Computer - RAM
    • Computer - Types of RAM
    • Computer - ROM
    • Computer - RAM Vs ROM
    • Computer - Associative Memory
    • Computer - SemiConductor Memory
    • Computer - Primary Memory
    • Computer - Auxiliary Memory
    • Computer - Flash Memory
    • Computer - EPROM
    • Computer - Secondary Memory
    • Computer - Sequential Access Memory
    • Computer - EEPROM
    • Computer - Bubble Memory
    • Computer - DDRAM Vs FPMDRAM
    • Computer - SDRAM
    • Computer - DRAM
    • Computer - VRAM
    • Computer - ECC Memory
    • Computer - PC RAM
    • Computer - NVRAM
    • Computer - Register

Computer Devices

    • Computer - Input/Output Devices
    • Computer - Printer
    • Computer - Laser Printer
    • Computer - Hard Drive
    • Computer - Dot-Matrix Printer
    • Computer - Impact and Non-Impact
    • Computer - Storage Devices
    • Computer - Primary Storage
    • Computer - Types of Storage
    • Computer - Line Printer

Other Terms

    • Computer - Interrupt
    • Computer - Classify Storage Devices
    • Computer - CISC and RISC
    • Computer - Access Method
    • Computer - Memory Mapping
    • Computer - OMR
    • Computer - Access Time
    • Computer - Types of integrity
    • Computer - Buffer
    • Computer - Associative Cache
    • Computer - RAM Parity
    • Computer - Disk Cache
    • Computer - Disk Controller
    • Computer - Cycle Time
    • Computer - IDE
    • Computer - RAM Disk
    • Computer - Cartridge Hard Disk
    • Computer - DPI
    • Computer - Fatal Error
    • Computer - Install HDD/SSD
    • Computer - Input Technologies
    • Computer - OCR

Binary Number

  • CO - EBCDIC
  • CO - ASCII Code
  • CO - Bit
  • CO - ASCII
  • CO - BCD Numbers
  • CO - Binary Numbers
  • CO - Byte
  • CO - Bits and Bytes
  • CO - Machine Code

Other Links

  • Computer Memory - PDF Version

Footer

Basic Course

  • Computer Fundamental
  • Computer Networking
  • Operating System
  • Database System
  • Computer Graphics
  • Management System
  • Software Engineering
  • Digital Electronics
  • Electronic Commerce
  • Compiler Design
  • Troubleshooting

Programming

  • Java Programming
  • Structured Query (SQL)
  • C Programming
  • C++ Programming
  • Visual Basic
  • Data Structures
  • Struts 2
  • Java Servlet
  • C# Programming
  • Basic Terms
  • Interviews

World Wide Web

  • Internet
  • Java Script
  • HTML Language
  • Cascading Style Sheet
  • Java Server Pages
  • Wordpress
  • PHP
  • Python Tutorial
  • AngularJS
  • Troubleshooting

 About Us |  Contact Us |  FAQ

Dinesh Thakur is a Technology Columinist and founder of Computer Notes.

Copyright © 2025. All Rights Reserved.

APPLY FOR ONLINE JOB IN BIGGEST CRYPTO COMPANIES
APPLY NOW