Javatpoint Logo
Javatpoint Logo

Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)

Multiprocessors are classified into three types of shared memory models: UMA (Uniform Memory Access), NUMA (Non-uniform Memory Access), and COMA (Cache-only Memory Access). The models differ based on how memory and hardware resources are allocated. The physical memory is uniformly shared among the processors in the UMA model, which also has identical latency for every memory word. In contrast, NUMA gives variable accessing time for the CPU to access memory.

In this article, you will learn about the difference between the UMA and NUMA. But before discussing the differences, you must know about the UMA and NUMA.

What is UMA?

UMA is an abbreviation for "Uniform Memory Access". It is a multiprocessor shared memory architecture. In this model, all of the processors in the multiprocessor system use and access the same memory with the aid of the interconnection network.

Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)

The latency and access speed of each CPU is the same. It can make use of a crossbar switch, a single bus switch, or a multiple bus switch. It is also referred to as SMP (Symmetric Multiprocessor) system because it offers balanced shared memory access. It is suitable for time-sharing and general-purpose applications.

What is NUMA?

NUMA is an abbreviation for "Non-uniform Memory Access". It is also a multiprocessor model with dedicated memory attached to each CPU. But these small memory components come together to form a single address space. Memory access time is determined by the distance between the CPU and the memory, resulting in varied memory access times. It provides access to any memory place using the physical address.

Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)

The NUMA architecture is designed to maximize the available memory bandwidth by utilizing several memory controllers. It integrates many machine cores into "nodes", with each core having its own memory controller. In a NUMA system, the core receives the memory handled by the memory controller by its node to access local memory. The core transmits the memory request across the interconnection links to access the distant memory, which the other memory controller processes. The NUMA architecture employs hierarchical and tree bus networks to connect the memory blocks and CPUs. Some examples of the NUMA architecture are BBN, SGI Origin 3000, TC-2000, and Cray.

Key Differences between UMA and NUMA

Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)

There are various key differences between UMA and NUMA. Some of the key differences between UMA and NUMA are as follows:

  1. The UMA (Uniform Memory Access) contains a single memory controller. In contrast, the NUMA (Non-Uniform Memory Access) may utilize several memory controllers to access the memory.
  2. The memory accessing time for each CPU in UMA is the same. In contrast, the memory accessing time in NUMA varies with the distance of memory from the CPU.
  3. UMA is utilized in a variety of general-purpose and time-sharing apps. On the other hand, the NUMA is employed in real-time and time-critical apps.
  4. UMA architecture employs single, multiple, and crossbar buses. On the other hand, the NUMA employs hierarchical and tree-structured buses and network connections.
  5. In terms of bandwidth, the UMA architecture has limited bandwidth. On the other hand, the NUMA has higher bandwidth than UMA.
  6. Memory access in UMA is slow. On the other hand, NUMA memory access is faster than UMA memory access.

Head-to-head comparison between UMA and NUMA

Here, you will learn the head-to-head comparisons between UMA and NUMA. The main differences between UMA and NUMA are as follows:

Features UMA NUMA
Full Forms UMA is an abbreviation for Uniform Memory Access. NUMA is an abbreviation for Non-Uniform Memory Access.
Memory Controller It contains a single memory controller. It contains several memory controllers.
Memory Access Time It contains balanced or equal memory access time. Its memory access time changes according to the distance of the microprocessor.
Memory Access Its memory access is slow. Its memory access is faster.
Suitability It is mainly utilized in time-sharing and general-purpose applications. It is mainly utilized in time-critical and real-time apps.
Bandwidth It has limited bandwidth. It has more bandwidth.
Bus type It employs single, multiple, and crossbar buses. It employs hierarchical and tree-structured buses and network connections.

Conclusion

The UMA architecture offers the same overall latency for the processors accessing memory, and it is not particularly useful when accessing local memory because the delay would be uniform. In contrast, in NUMA, each processor has its own dedicated memory, which eliminates delay while accessing local memory. The latency changes depend on the distance between the CPU and memory changes. However, as compared to the UMA design, NUMA offers improved performance.


Next TopicDifference between





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA