2. Table of content
Introduction to Memory Management
Memory Hierarchy
Virtual Memory
Paging
TLB (Translation Look-aside Buffer)
Memory Management Unit (MMU)
Conclusion
3. Introduction to Memory Management
• Memory management is the process of controlling
and coordinating a computer’s main memory.
4. Memory Hierarchy
• Processors typically incorporate a memory hierarchy, which consists
of multiple levels of memory with varying access speeds and
capacities.
The hierarchy includes
• Cache memories (L1, L2, etc)
• Main memory (RAM)
• Secondary storage (hard drives)
5. Virtual Memory
• Virtual memory is a common technique used in a computer’s
operating system.
• Virtual memory uses both hardware and software to enable a computer
to compensate for physical memory storages, temporarily transferring
data from random access memory(RAM) to disk storage.
6. Paging
• Paging is basic function in memory management for a computer’s
operating system (OS) .
• This include Windows, Linux ,Unix and MacOS.
• In memory Management, system takes advantage of paging,
the OS reads data from secondary storage in blocks called pages.
All of which have identical size.
7. TLB (Translation Look-aside Buffer)
• A Translation look-aside buffer is a memory cache that stores the
recent translations of virtual memory to physical memory.
• It is used to reduce the time taken to access user memory location.
8. Memory Management Unit(MMU)
• Memory management unit (MMU) is computer hardware component
that handles all memory and caching operations associated with a
processor.
• MMU is usually located within the computer’s central processing
unit(CPU), but sometime operates in separate integrated chip(IC).
9. Conclusion
Memory management is an important aspect of modern computer
systems that allows for the efficient use of memory resources.
Efficient memory management benefits a computer system in several
ways, including improved performance, resource optimization,
stability, security, and scalability.