Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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, there will be a large delay in remote instruction fetching, and this delay is related to the blocking state of the network-on-chip (NOC) link, so to a certain extent brings uncertainty to fetch
In addition, as the number of channels or cores increases, fragmented instruction fetching will also affect the available bandwidth of the on-chip network and interconnection bus.

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

Embodiment Construction

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

[0038] 1) Configure two local address spaces for each SMP system in advance, including the "local address" for storing the kernel read-only code segment of the respective SMP system, and the "application local address" for storing the application program read-only code segment ";

[0039] 2) Copy the kernel read-only code segment to the "local address" in each SMP system by performing data copy through the SMC service; and parse their read-only code segment part during the loading process of the application binary or dynamic library, and convert it 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 instructions locally through the "local address"; when each SMP system needs to execute the read-only code segment o...

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
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More