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

Method for optimizing performance of high-performance network card under Feiteng platform based on NUMA architecture

An optimization method and high-performance technology, applied in the field of Feiteng platform, can solve problems such as inability to obtain data sending and receiving queues, poor performance of high-performance network cards, and routing consumption, so as to avoid additional routing consumption and interrupt reversal, and improve network I/O O performance, to achieve the effect of obvious effect

Active Publication Date: 2021-05-07
KYLIN CORP
View PDF8 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Regardless of whether the network card is inserted into other numa nodes, or the network I / O request is processed at a node far away from numa node0, it will generate interrupt routing overhead and affect the performance of high-performance network cards;
[0005] 2) On the FT2500 processor platform with a total of 128 cpu cores in the main and slave roads, some high-performance network card driver logic problems may lead to poor performance of the high-performance network card: Compatible with some can only apply for 64 interrupts The total number of data sending and receiving queues registered by some high-performance network card drivers does not exceed 60, which makes it impossible for the FT2500 processor platform to obtain data sending and receiving queues from the rear 64-core CPU on the road. Network card, the I / O request of the slave network card can only be routed to the master CPU for processing, instead of being directly processed by the slave CPU, resulting in additional routing consumption;
[0006] 3) Because the total number of msix interrupts applied by some high-performance network card drivers cannot exceed 64 (to be compatible with some network cards that can only apply for 64 interrupts), and the network card driver selects the CPU for interrupt processing by extracting the cpu id from the interrupt information For the reason of the FT2500 platform, when the master and slave channels of the FT2500 platform are both connected to the network card, there will be a phenomenon that the master and slave channels are interrupted and reversed: when the network card is interrupted on the slave channel, the cpu id obtained through 64 interrupts can only be the one on the main channel. For the first 64 CPUs, because the interrupt types of the main road and the slave road are the same, this will cause the interrupt of the slave road to preempt the main road cpu (number cpu0~cpu63), and the interrupt of the main road network card is forced to reverse to the slave road. cpu (number cpu64~cpu127) to process
[0008] At present, none of the existing technologies for improving the performance of high-performance network cards in Linux systems is specifically aimed at optimizing the performance of high-performance network cards for domestic Phytium processor platforms.

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
  • Method for optimizing performance of high-performance network card under Feiteng platform based on NUMA architecture

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are exemplary only, and are not intended to limit the scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concept of the present invention.

[0049] BIOS: Basic Input Output System. That is the basic input output system.

[0050] NUMA architecture: NUMA is non-uniform storage access. The NUMA architecture focuses on solving the limitation of server scalability. Its basic feature is that a server has multiple CPU modules (also called NUMA nodes), and each node consists of multiple CPU, and NUMA nodes have independent local memory, I / O and other resources, and ...

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 method for optimizing the performance of a high-performance network card under a Feiteng platform based on an NUMA architecture. The method comprises the following steps of: processing a memory node application of network interruption; expanding a data transceiving queue of the network interruption; and eliminating the network interruption reversal. According to the method for optimizing the performance of the high-performance network card under the Feiteng platform based on the NUMA architecture, the performance of the high-performance network card is improved through network card interruption affinity under the numa architecture, and meanwhile, the performance of the high-performance network card under the Feiteng platform based on the NUMA architecture is further optimized in a more targeted manner; by analyzing the numa architecture characteristics of the Feiteng platform, the performance of the high-performance network card under the Feiteng platform based on the numa architecture is improved in a more targeted manner; and the limitation of a network card driver on the number of data receiving and transmitting queues and the number of interrupts is broken through, the problems of extra routing consumption and interrupt reversal possibly occurring on a processor platform of a multi-channel over 64-core CPU are avoided, and the network I / O performance is improved.

Description

technical field [0001] The invention belongs to the technical field of Feiteng platform, and in particular relates to a method for optimizing the performance of a high-performance network card under the Feiteng platform based on NUMA architecture. Background technique [0002] With the further rapid development of network technology, in order to meet the needs of applications, high-performance network cards with higher bandwidth such as 25G, 40G, and 100G have appeared and are being used more and more. With the improvement of network bandwidth, high-performance network cards are increasingly squeezing the CPU. However, the original scheduling method of the Linux system and the way single-core CPU handles network card interrupts can no longer meet the demand. For this reason, the NUMA architecture and multi-queue network card technology are widely used in the I / O requests of high-performance network cards. This type of technology uses the characteristics of the NUMA architect...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08G06F15/173
CPCG06F15/17331H04L67/1001Y02D10/00
Inventor 肖林奎刘正元胡海危荣广陆云刘云孙立明张铎李唯实
Owner KYLIN CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products