# Cpu (Continue...)

+ Numa binding
  + Definition: Memory is directly bound to the CPU, and the CPU will only have a short response time if it accesses the physical address of the memory it manages.
  + NUMA architected servers improve the performance of tidb-server by binding NUMA nodes to avoid accessing memory across NUMA as much as possible.
  + Can be bound using the numactl command

![left](./student-guide/diagram/06-CPU-02-01.png)

![right](./student-guide/diagram/06-CPU-02-02.png)
------------------------------------------------------------
- Numa Binding
  - Features of NUMA: Memory is directly bound to the CPU, and the CPU will only have a short response time if it accesses the physical address of the memory managed by itself; while accessing data on memory addresses managed by other CPU, it needs to be accessed through the InterConnect channel, and the response time will increase.
  - Servers with NUMA architecture, improve the performance of tidb-server by binding NUMA nodes to avoid accessing memory across NUMA as much as possible
  - You can use the numactl command to bind, please refer to the man manual for details
