Linux non-Uniform memory distribution

Source: Internet
Author: User

Linux non-Uniform memory distribution


Directory[show]Traditional SMP Architecture

NUMA, non-uniform memory access (Non-uniform memories Access), between SMP and MPP. In the NUMA architecture, each CPU is called a node, and the memory between each node is used independently.

Each CPU is absolutely equal, there is no priority, access to memory must pass through the system bus. Access to the CPU also needs to go through the system bus.

From this architecture, you can also see where the short board of the SMP architecture is. This is obviously problematic for systems that are now prone to dozens of or even hundreds of CPUs. The system's bus will be the bottleneck of the whole system.

NUMA Architecture

With the development of technology, a new kind of architecture Numa is introduced. Each CPU is independent of each other and the memory between them is not affected. Each CPU accesses its own memory, and the latency is minimal.

Numa Configuration Method

1) Turn off NUMA settings in the BIOS

2) Turn off NUMA at the operating system kernel level, for example:

/etc/grub.conf's kernel line was last added: Numa=off

3) application shutdown such as Oracle database plane shutdown:

_enable_numa_optimization=false (parameter in 11g is _enable_numa_support)

Numa common Commands

To view NUMA statistics:

Numastat

View CPU Attribution node

Lscpu

The Numactl--hardware command returns the total memory size of the different nodes, the available size, and the node distance information

Linux non-Uniform memory distribution

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.