Multi-copy optimization method and system for read-only code segments of NUMA-aware SMP systems

An optimization method and code segment technology, applied in the computer field, can solve the problems affecting the available bandwidth of on-chip network and interconnection bus, remote memory delay and bandwidth asymmetry, and large delay of remote instruction fetching, etc., to achieve software performance, Save finger fetch delay and improve performance

Active Publication Date: 2020-12-18
PHYTIUM TECH CO LTD
View PDF10 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The root cause is that the multi-way server OS adopts a single image for the code segment, and the NUMA architecture adopted by the multi-way server will cause asymmetry in the delay and bandwidth of CPU access to local memory and remote memory.
Under the premise that the performance of the interconnection bus, especially the inter-circuit interconnection bus, is limited,

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Multi-copy optimization method and system for read-only code segments of NUMA-aware SMP systems
  • Multi-copy optimization method and system for read-only code segments of NUMA-aware SMP systems
  • Multi-copy optimization method and system for read-only code segments of NUMA-aware SMP systems

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037]Such asfigure 2 As shown, the NUMA-aware SMP system read-only code segment multi-copy optimization method of this embodiment includes:

[0038]1) Pre-configure two local address spaces for each SMP system, including the "local address" used to store the read-only code segment of the respective SMP system, and the "application local address" used to store the read-only code segment of the application ";

[0039]2) Perform data copy through the SMC service to copy the kernel read-only code segment to the "local address" in each SMP system; and parse their read-only code segment during the application binary or dynamic library loading process, and then Copy to the "application local address" in each SMP system;

[0040]3) When each SMP system needs to execute the read-only code segment of the kernel, it directly fetches the local instructions through the "local address"; when each SMP system needs to execute the read-only code segment of the application binary or dynamic library, directly...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a multi-copy optimization method and system for read-only code segments of NUMA-aware SMP systems. The method comprises the following steps: configuring a local address and anapplication program local address for each SMP system; copying a kernel read-only code segment into the local addresses in each SMP system through SMC service; analyzing the read-only code segment parts of application programs in a binary or dynamic library loading process of the application programs, and copying the read-only code segment parts to the application program local addresses in each SMP system; and when each SMP system needs to execute a binary or dynamic library read-only code segment of a kernel and an application program, locally fetching an instruction directly through the local address or the local address of the application program. According to the method, the problem of far-end instruction fetching in the NUMA-aware SMP systems can be solved, software performance optimization is realized by utilizing an address localization technology, and better performance improvement can be obtained when network-on-chip and cross-path bandwidth are delayed and limited.

Description

technical field [0001] The invention relates to a server with a NUMA structure in the computer field, in particular to a NUMA-aware SMP system read-only code segment multi-copy optimization method and system. Background technique [0002] At present, the server is basically a multi-SMP system based on NUMA (non-uniform memory access) architecture. Under the NUMA architecture, each SMP system can be understood as a node (node), and the system composed of multiple SMP systems constitutes what we usually call "socket". . The socket's internal CPU access to remote node bandwidth and delay performance indicators are often better than the performance of local nodes. For multi-routing nodes, each node has its own CPU, memory and / or IO, and multiple sockets pass through Interconnect buses are linked together to form larger systems. However, due to the slow development of the interconnection bus, it cannot match the development of the CPU's exponential Moore's Law. Therefore, once ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/41G06F8/658G06F9/445G06F9/50
CPCG06F8/4441G06F8/658G06F9/44521G06F9/5016G06F9/5022
Inventor 王银峰刘勇鹏舒奕棋田鹏陈鲍孜谢鹏屈利婵
Owner PHYTIUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products