Browse Definitions :
Definition

memory management unit (MMU)

What is a memory management unit (MMU)?

A memory management unit (MMU) is a computer hardware component that handles all memory and caching operations associated with the processor. In other words, the MMU is responsible for all aspects of memory management. It's usually integrated into the processor, although, in some systems, it occupies a separate integrated circuit (IC).

Effective memory management requires systems administrators to consistently monitor memory use and performance. Tools to help with this process are included in a computer OS and are available for third-party vendors.

What does an MMU do?

The work of the MMU falls into three major categories:

  • Hardware memory management oversees and regulates the processor's use of random access memory and cache memory.
  • OS memory management ensures adequate memory resources are available for the objects and data structures of each running program.
  • Application memory management allocates each individual program's required memory, then recycles freed-up memory space when the operation concludes.
Chart comparing RAM and cache
There are important differences between RAM and cache.

How does the MMU work?

Next to the central processing unit (CPU), memory is the most important part of a computer. It's where the work gets done and where instructions and other computing functions are performed. Memory ensures a computer's utilities work correctly and applications and input/output functions are performed.

An MMU is an essential part of memory subsystems, keeping all memory-related functions operating efficiently. Memory management helps with the following functions:

  • Memory distribution. The MMU moves memory resources to where they can best meet system requirements, typically before and after systems processes are executed.
  • Monitoring. It tracks all memory resources.
  • Efficiency. It conserves main memory and other memory resources.
  • System integrity. It reduces the likelihood of memory fragmentation and poor memory allocation.
  • Data integrity. It ensures data integrity is maintained.
  • Data risk. It minimizes the risk of data corruption.
  • Cost control. It keeps memory-related costs down.

Physical vs. logical memory management

The main differences between logical and physical memory are the following:

  • Logical memory. Logical memory addresses -- also called virtual address space-- are created by the CPU and execute many different functions. Logical memory is also called virtual memory because its size can be dynamically changed based on user processing requirements.
  • Physical memory. In contrast, the MMU computes physical addresses. They're then loaded into the memory address register of the memory subsystem, which is also called physical memory. When physical addresses contain logical addresses, they're called the physical address space. In contrast to logical addresses, physical addresses don't change.

Best practices for memory management

System administrators must regularly monitor memory system performance metrics, such as the following:

  • available memory,
  • memory use,
  • paging activity and
  • fragmentation.

The key to effective memory management and memory protection is having the right tools, such as those provided by the OS and third-party memory management applications. It's also important to respond to alarms based on problems with memory functions and blocks of memory, and to perform proactive maintenance activities to ensure memory resources are optimized.

Learn about memory management techniques that will improve system performance.

This was last updated in September 2022

Continue Reading About memory management unit (MMU)

Networking
  • local area network (LAN)

    A local area network (LAN) is a group of computers and peripheral devices that are connected together within a distinct ...

  • TCP/IP

    TCP/IP stands for Transmission Control Protocol/Internet Protocol and is a suite of communication protocols used to interconnect ...

  • firewall as a service (FWaaS)

    Firewall as a service (FWaaS), also known as a cloud firewall, is a service that provides cloud-based network traffic analysis ...

Security
  • identity management (ID management)

    Identity management (ID management) is the organizational process for ensuring individuals have the appropriate access to ...

  • single sign-on (SSO)

    Single sign-on (SSO) is a session and user authentication service that permits a user to use one set of login credentials -- for ...

  • fraud detection

    Fraud detection is a set of activities undertaken to prevent money or property from being obtained through false pretenses.

CIO
  • core competencies

    For any organization, its core competencies refer to the capabilities, knowledge, skills and resources that constitute its '...

  • change management

    Change management is a systematic approach to dealing with the transition or transformation of an organization's goals, processes...

  • IT project management

    IT project management is the process of planning, organizing and delineating responsibility for the completion of an ...

HRSoftware
  • recruitment management system (RMS)

    A recruitment management system (RMS) is a set of tools designed to manage the employee recruiting and hiring process. It might ...

  • core HR (core human resources)

    Core HR (core human resources) is an umbrella term that refers to the basic tasks and functions of an HR department as it manages...

  • HR service delivery

    HR service delivery is a term used to explain how an organization's human resources department offers services to and interacts ...

Customer Experience
  • martech (marketing technology)

    Martech (marketing technology) refers to the integration of software tools, platforms, and applications designed to streamline ...

  • transactional marketing

    Transactional marketing is a business strategy that focuses on single, point-of-sale transactions.

  • customer profiling

    Customer profiling is the detailed and systematic process of constructing a clear portrait of a company's ideal customer by ...

Close