CN107302473A - A kind of high frequency data transfer method for testing pressure and system - Google Patents

A kind of high frequency data transfer method for testing pressure and system Download PDF

Info

Publication number
CN107302473A
CN107302473A CN201710469448.1A CN201710469448A CN107302473A CN 107302473 A CN107302473 A CN 107302473A CN 201710469448 A CN201710469448 A CN 201710469448A CN 107302473 A CN107302473 A CN 107302473A
Authority
CN
China
Prior art keywords
numa node
network adapter
local
long
range
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710469448.1A
Other languages
Chinese (zh)
Other versions
CN107302473B (en
Inventor
王月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Wave Intelligent Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710469448.1A priority Critical patent/CN107302473B/en
Publication of CN107302473A publication Critical patent/CN107302473A/en
Application granted granted Critical
Publication of CN107302473B publication Critical patent/CN107302473B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3409Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
    • G06F11/3414Workload generation, e.g. scripts, playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The invention discloses a kind of high frequency data transfer method for testing pressure and system, this method includes:The corresponding first network adapter port of local first NUMA node is distributed to long-range second NUMA node by the tested server, and corresponding second network adapter port of long-range second NUMA node is distributed into local first NUMA node;The corresponding first network adapter port of local first NUMA node is distributed to local first NUMA node by the forcing press, and corresponding second network adapter port of long-range second NUMA node is distributed into long-range second NUMA node;The forcing press operational network testing tool carries out high frequency data transfer pressure test to the tested server, and the network test tool is general applied in network performance test open source software.The present invention, to verify high frequency data transfer pressure, reacts the stability of high-speed transfer passage by the data transmission state and performance of test network adapter.

Description

A kind of high frequency data transfer method for testing pressure and system
Technical field
The present invention relates to server test technology, espespecially a kind of high frequency data transfer method for testing pressure and system.
Background technology
In the big data epoch, high frequency data transfer passage is used as server public system interface, it is possible to achieve chip chamber is straight The direct interconnection inside polycaryon processor can be realized by connecing quick interconnecting channels between the passage of interconnection, such as processor, and this greatly speeds up The transmission of data and treatment effeciency.The fast-developing of server proposes higher and higher requirement to high frequency data transfer design, Such as hyperchannel interconnection UPI (Ultra Path Interconnect), data transmission rate is up to 10.4GT/s, and bandwidth is more sufficient, spirit Activity is stronger, and every message can send multiple requests.In this case, the pressure test of high frequency data transfer is carried out particularly It is important.The bit error rate for the key node that existing method of testing is passed through for test high speed data transfer carrys out authentication server system fortune The whether stable method of row, the above method needs multiple testing tools to coordinate the stability that could complete high speed data transfer to test Card, and the above method does not consider that real business scenario carries out prolonged pressure test.
The content of the invention
In order to solve the above-mentioned technical problem, the invention provides a kind of high frequency data transfer method for testing pressure and system, By verifying high frequency data transfer pressure, the stability of high-speed transfer passage is reacted.
In order to reach the object of the invention, the invention provides a kind of high frequency data transfer method for testing pressure, applied to by Tested server and forcing press are connected with each other the test system of composition, and the tested server includes at least two non-unified memories Access NUMA node and at least two network adapter, one network adapter of each NUMA node correspondence, the NUMA node Between by quick interconnecting channels QPI communicate, including:
The corresponding first network adapter port of local first NUMA node is distributed to long-range by the tested server Two NUMA nodes, local first NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed to local first by the forcing press NUMA node, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press operational network testing tool carries out high frequency data transfer pressure test, institute to the tested server Network test tool is stated for general applied in network performance test open source software.
Further, the corresponding first network adapter port of local first NUMA node is distributed in tested server Long-range second NUMA node, local first NUMA is distributed to by corresponding second network adapter port of long-range second NUMA node Before node, this method also includes:
Basic input-output system BIOS sense mode is set to detect ES patterns ahead of time by the tested server.
Further, high frequency data transfer is carried out to the tested server in the forcing press operational network testing tool After pressure test, this method also includes:
The forcing press collects the results of property of at least two network adapter, or at least two network is fitted The state of orchestration, or system event;
The results of property includes network data transmission rate, when the network data transmission rate is higher than default first threshold During value, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then it represents that pressure is surveyed Examination is effective;When the state of the network adapter including extension or is wrong, then it represents that pressure test is invalid;When the system When event includes recording QPI channel errors or system reactionless for a long time in system journal, then it represents that pressure test is invalid.
Further, the tested server distributes the corresponding first network adapter port of local first NUMA node To long-range second NUMA node, corresponding second network adapter port of long-range second NUMA node is distributed to local first NUMA node, is specifically included:
The tested server performs the first command-line shell PowerShell scripts being pre-configured with, described first PowerShell content for script includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to local first NUMA node.
Further, the corresponding first network adapter port of local first NUMA node is distributed to this by the forcing press The NUMA node of ground first, distributes to long-range 2nd NUMA by corresponding second network adapter port of long-range second NUMA node and saves Point, is specifically included
The forcing press performs the 2nd PowerShell scripts being pre-configured with, the 2nd PowerShell content for script Including:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, the corresponding first network adapter port of local first NUMA node is distributed in the forcing press Corresponding second network adapter port of long-range second NUMA node is distributed to long-range 2nd NUMA by local first NUMA node Node, is specifically included:
The forcing press is performed in the built-in command being pre-configured with the network test tool installed, the built-in command Appearance includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
In order to reach the object of the invention, present invention also offers a kind of high frequency data transfer pressure testing system system bag Include:
The tested server and forcing press being connected with each other, the tested server is comprising at least two NUMA nodes and at least Pass through quick mutually UNICOM between two network adapter, one network adapter of each NUMA node correspondence, the NUMA node Road QPI communicates,
The tested server, for the corresponding first network adapter port of local first NUMA node to be distributed to far The NUMA node of journey second, distributes to local first NUMA by corresponding second network adapter port of long-range second NUMA node and saves Point;
The forcing press, for the corresponding first network adapter port of local first NUMA node to be distributed into local One NUMA node, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press, is additionally operable to operational network testing tool and carries out high frequency data transfer pressure to the tested server Test, the network test tool is general applied in network performance test open source software.
Further, the corresponding first network adapter port of local first NUMA node is being distributed to long-range second NUMA node, by corresponding second network adapter port of long-range second NUMA node distribute to local first NUMA node it Before,
The tested server, is additionally operable to the basic input-output system BIOS sense mode of tested server being set to ES patterns are detected ahead of time.
Further, operational network testing tool the tested server is carried out high frequency data transfer pressure test it Afterwards,
The forcing press collects the results of property of at least two network adapter, or at least two network is fitted The state of orchestration, or system event;
The results of property includes network data transmission rate, when the network data transmission rate is higher than default first threshold During value, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then it represents that pressure is surveyed Examination is effective;When the state of the network adapter including extension or is wrong, then it represents that pressure test is invalid;When the system When event includes recording QPI channel errors or system reactionless for a long time in system journal, then it represents that pressure test is invalid.
Further, the tested server, specifically for performing be pre-configured with first in the tested server PowerShell scripts, the first PowerShell content for script includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to local first NUMA node.
Further, the forcing press, specifically for performing be pre-configured with second in the forcing press PowerShell scripts, the 2nd PowerShell content for script includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, it is pre- in the forcing press, the network test tool specifically for performing installation in the forcing press The built-in command first configured, the built-in command content includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
The invention provides a kind of method of high frequency data transfer pressure test, applied to by tested server and forcing press The test system of composition is connected with each other, the tested server is comprising at least two nonuniform memory access NUMA nodes and at least Pass through quick mutually UNICOM between two network adapter, one network adapter of each NUMA node correspondence, the NUMA node Road QPI communicates, including:The tested server distributes to the corresponding first network adapter port of local first NUMA node Long-range second NUMA node, local first NUMA is distributed to by corresponding second network adapter port of long-range second NUMA node Node;The corresponding first network adapter port of local first NUMA node is distributed to local first NUMA and saved by the forcing press Point, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;The pressure Machine operational network testing tool carries out high frequency data transfer pressure test to the tested server, and the network test tool is General applied in network performance test open source software.The present invention is using by verifying high frequency data transfer pressure, and reaction high-speed transfer is led to The stability in road.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and constitutes a part for specification, with this The embodiment of application is used to explain technical scheme together, does not constitute the limitation to technical solution of the present invention.
The high frequency data transfer method for testing pressure schematic flow sheet that Fig. 1 provides for the present invention;
The high frequency data transfer pressure testing system structural representation that Fig. 2 provides for the present invention;
Fig. 3 is the high frequency data transfer method for testing pressure schematic diagram that the embodiment of the present invention one is provided.
Embodiment
Technical scheme is described in detail below in conjunction with drawings and Examples.
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be conducive to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can be mixed Ground is used.
Nonuniform memory access (NUMA, Non-Uniform Memory Access) is a kind of setting for multiprocessor Meter, its memory access time depends on the core position of processor.Under NUMA, processor accesses the local storage of its own Speed ratio non-local memory (place of memory between another processor share processor or memory) fast one A bit.NUMA technologies (, nonuniform memory access mechanism) in, all internal memories of system are divided into several blocks, and simultaneity factor possesses many Bar rambus, processor is connected by each rambus with one piece of internal memory constitutes a group, and such NUMA system is divided into Several groups, each group is referred to as a node (node).Internal memory in the node is referred to as local memory (local Memory), the internal memory in other nodes is referred to as long-distance inner (foreign memory) for the group.Many queues RSS (Receive Side Scaling) technology can allow network adapter to be distributed in assess in kernel mode network processing load more Multiple processor cores in calculation machine.In other words, RSS technologies can make network adapter bind multiple processor cores, these Physical core may be at local NUMA node, can also be in long-range NUMA node.May compared to using only a core The situation of appearance, the distribution of this processing can support higher network traffic load.The mainboard of server network adapter is at a high speed Peripheral component interconnection bus PCIE (is also known as PCI-Express, peripheral component interconnect Express is a kind of high speed serialization computer expansion bus standard) slot position determines its native processor position and local NUMA system position.
The technical scheme that the present invention is provided is applied to the server based on windows systems, wherein, Windows operations system System can bind any NUMA sections by PowerShell scripts by a network adapter binding random processor core Point, can be tied to local NUMA node or long-range NUMA node, the own processor containing multiple cores of each node and Internal memory, the internal memory that local node accesses other remote nodes then passes through quick interconnecting channels QPI (QuickPath Interconnect).The present invention is using passing through between test processor, between internal memory and processor, PCIE high-speed expansion equipment Whether the data transmission performance of network adapter carrys out authentication server being capable of stable operation in the case of high frequency data transfer.Pass through The data transmission state and performance of test network adapter, to verify can whether high frequency data transfer design be reasonable, meet city Field business demand.
The high frequency data transfer method for testing pressure schematic flow sheet that Fig. 1 provides for the present invention, as shown in figure 1, of the invention There is provided a kind of method of high frequency data transfer pressure test, it is connected with each other what is constituted applied to by being tested server and forcing press Test system, the tested server includes at least two NUMA node and at least two network adapter, each NUMA node pair Answer by quick interconnecting channels QPI communications between a network adapter, the NUMA node, including:
The corresponding first network adapter port of local first NUMA node is distributed to long-range by the tested server Two NUMA nodes, local first NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed to local first by the forcing press NUMA node, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press operational network testing tool carries out high frequency data transfer pressure test, institute to the tested server Network test tool is stated for general applied in network performance test open source software.
General applied in network performance test open source software includes one below:NTttcp(Network Performance Tool) testing tool, NetCPS testing tools, Jperf testing tools etc..
Further, the tested server distributes the corresponding first network adapter port of local first NUMA node To long-range second NUMA node, corresponding second network adapter port of long-range second NUMA node is distributed to local first NUMA node, is specifically included:
The tested server performs the first PowerShell scripts finished writing in advance, the first PowerShell scripts Content includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to local first NUMA node.
Further, the corresponding first network adapter port of local first NUMA node is distributed to this by the forcing press The NUMA node of ground first, distributes to long-range 2nd NUMA by corresponding second network adapter port of long-range second NUMA node and saves Point, is specifically included
Performed in the forcing press in the 2nd PowerShell scripts finished writing in advance, the 2nd PowerShell scripts Appearance includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, the corresponding first network adapter port of local first NUMA node is distributed to this by the forcing press The NUMA node of ground first, distributes to long-range 2nd NUMA by corresponding second network adapter port of long-range second NUMA node and saves Point, is specifically included
The forcing press performs the built-in command in the network test tool installed, and the built-in command content includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, the corresponding first network adapter port of local first NUMA node is divided in the tested server Long-range second NUMA node of dispensing, local first is distributed to by corresponding second network adapter port of long-range second NUMA node Before NUMA node, this method also includes:
Basic input-output system BIOS sense mode is set to detect ES patterns ahead of time by the tested server.
Further, high frequency data transfer is carried out to the tested server in the forcing press operational network testing tool After pressure test, this method also includes:
The forcing press collects the results of property of at least two network adapter, or at least two network is fitted The state of orchestration, or system event;
Further, the results of property includes network data transmission rate, when the network data transmission rate is higher than During preset first threshold value, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then Represent that pressure test is effective;First threshold can for example be preset for 2400GB/S, Second Threshold is 1900GB/S.
Further, the state of the network adapter or mistake including extension, then it represents that test invalidation.
Further, the system event includes recording QPI channel errors or system in system journal for a long time without anti- Reflect, then it represents that test invalidation.
The high frequency data transfer method for testing pressure that the present invention is provided, using network test tool come authentication server high frequency Whether the pressure test of data transfer, the design for being capable of effectively authentication server high frequency data transfer passage is reasonable, and stability is The no demand for meeting practical business scene.The business scenario that can combine reality using this method is authentic and validly to high-frequency data Transmission channel applies the stability of pressure, reaction system running status and high speed data transfer passage.
The high frequency data transfer pressure testing system structural representation that Fig. 2 provides for the present invention, as shown in Fig. 2 the system Including:
The tested server and forcing press being connected with each other, the tested server include at least two NUMA node and at least 2 Pass through quick interconnecting channels between individual network adapter, one network adapter of each NUMA node correspondence, the NUMA node QPI communicates,
The tested server, for the corresponding first network adapter port of local first NUMA node to be distributed to far The NUMA node of journey second, distributes to local first NUMA by corresponding second network adapter port of long-range second NUMA node and saves Point;
The forcing press, for the corresponding first network adapter port of local first NUMA node to be distributed into local One NUMA node, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press, is additionally operable to operational network testing tool and carries out high frequency data transfer pressure to the tested server Test, the network test tool is general applied in network performance test open source software.
Wherein, forcing press can be multiple.General applied in network performance test open source software includes one below:NTttcp (Network Performance Tool) testing tool, NetCPS testing tools, Jperf testing tools etc..
Further, the tested server, specifically for performing finish writing in advance first in the tested server PowerShell scripts, the first PowerShell content for script includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to local first NUMA node.
Further, the forcing press, specifically for performing finish writing in advance second in the forcing press PowerShell scripts, the 2nd PowerShell content for script includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, the forcing press, specifically for being performed in the forcing press in the network test tool of installation Built-in command, the built-in command content includes:
Obtain the first network adapter port and the hardware information of the second network adapter port and many queue RSS letters Breath, it is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, will be remote Corresponding second network adapter port of the NUMA node of journey second distributes to long-range second NUMA node.
Further, the tested server, is additionally operable to be adapted to by the corresponding first network of local first NUMA node Device port assignment gives long-range second NUMA node, and corresponding second network adapter port of long-range second NUMA node is distributed to Before local first NUMA node, the basic input-output system BIOS sense mode of tested server is set to detect ahead of time ES patterns.
Further, the forcing press, is additionally operable to carry out high frequency to the tested server in operational network testing tool After data transfer pressure test,
The forcing press, is additionally operable to collect the results of property of at least two network adapter, or described at least two The state of individual network adapter, or system event;
Further, the results of property includes network data transmission rate, when the network data transmission rate is higher than During preset first threshold value, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then Represent that pressure test is effective;First threshold can for example be preset for 2400GB/S, Second Threshold is 1900GB/S.
Further, the state of the network adapter or mistake including extension, then it represents that test invalidation.
Further, the system event includes recording QPI channel errors or system in system journal for a long time without anti- Reflect, then it represents that test invalidation.
Embodiment one
In the present embodiment, network test tool using NTttcp (Network Performance Tool) testing tools as Example, describes technical solution of the present invention in detail.
Fig. 3 is the high frequency data transfer method for testing pressure schematic diagram that the embodiment of the present invention one is provided, as shown in figure 3, should Method of testing detailed process is as follows:
Carried out under standard window test environment, the test environment includes a tested server and some pressure Machine.Distribute long-range by the network adapter port of tested server local node using the PowerShell scripts finished writing in advance NUMA node, will belong to the port assignment NUMA node 2 of NUMA node 1, and the port assignment NUMA for belonging to NUMA node 2 is saved Point 1.It is provided with network test tool, the present embodiment and is fitted using processor core can be tied to specific network in forcing press The network test tool of orchestration port, such as NTTTCP instruments.In a press by network test tool, by network adapter end Mouth distributes to local NUMA node, will belong to the local NUMA node 1 of port assignment of NUMA node 1, will belong to NUMA sections The local NUMA node 2 of port assignment of point 2.When tested server sense mode is in ES patterns, above-mentioned general repeatedly arranged in a crossed manner Cause substantial amounts of QPI detectings circulation, pressure is applied to high frequency data transfer passage so as to reach, as shown in Figure 3.So big Under pressure, the throughput performance of network adapter port will decline to a great extent, block or occur corpse state, in this case, see Whether normal examine system operation, if having system mistake appearance.
Tested server operation high frequency data transfer method for testing pressure is mainly included the following steps that:
(1) before pressure test, the BIOS sense modes of tested server are set to ES patterns, NUMA architecture is opened;
(2) server master board whole PCIE grooves position
(3) before pressure test, network adapter port hardware information and RSS information is obtained, determines that network adapter is local NUMA node position;
(4) renaming network adapter port, represents PCIE slot positions, 1 represents net to be reduced to principle, such as 0-1,0 Network adapter end slogan;
(5) long-range NUMA is distributed by the network adapter port of tested server local node using PowerShell scripts Node, such as content for script can include following content, and (the local NUMA node of the position network interface cards (network adapter 1) of slot 0 is 1, long-range NUMA node is that the local NUMA node of the position network interface cards (network adapter 2) of 3, slot 1 is 2, and long-range NUMA node is 1):
(6) tested server and forcing press network connectivty are verified;
(7) in network test tool, local NUMA node is distributed by network adapter port using built-in command parameter;
(8) network test tool of operating pressure machine;
(9) network test tool of tested server is run, will be set to the testing time 48 hours;
(10) after pressure test terminates, results of property, network adapter state and the system event of collection network adapter.
The present invention, which is used, passes through quick interconnecting channels between interconnecting channels, Memory Controller Hub, PCIE high speeds between test processor The data transmission performance of expansion equipment network adapter come verify high frequency data transfer design it is whether reasonable.Use PowerShell The network adapter port of tested server local node is distributed to long-range NUMA node by script, i.e., being forced in kernel spacing will The network adapter port of tested server is distributed to long-range NUMA node;In network test application program aspect by Network adaptation Device port assignment gives local NUMA node, i.e., force to distribute the network adapter port of tested server to this in user's space Ground NUMA node.Being arranged such will cause high frequency data transfer passage to be in high-pressure state.
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the step of the flow of accompanying drawing is illustrated Perform.And, although logical order is shown in flow charts, but in some cases, can be with suitable different from herein Sequence performs shown or described step.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, is not limited to the present invention.Technical staff in any art of the present invention, is taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (12)

1. a kind of high frequency data transfer method for testing pressure, the survey constituted is connected with each other applied to by being tested server and forcing press Test system, it is characterised in that the tested server includes at least two nonuniform memory access NUMA nodes and at least two Pass through quick interconnecting channels QPI between network adapter, one network adapter of each NUMA node correspondence, the NUMA node Communication, including:
The corresponding first network adapter port of local first NUMA node is distributed to long-range second by the tested server NUMA node, local first NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed to local first NUMA and saved by the forcing press Point, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press operational network testing tool carries out high frequency data transfer pressure test, the net to the tested server Network testing tool is general applied in network performance test open source software.
2. the method as described in claim 1, it is characterised in that in tested server by local first NUMA node corresponding One network adapter port distributes to long-range second NUMA node, by corresponding second network adapter of long-range second NUMA node Port assignment is given before local first NUMA node, and this method also includes:
Basic input-output system BIOS sense mode is set to detect ES patterns ahead of time by the tested server.
3. the method as described in claim 1, it is characterised in that in the forcing press operational network testing tool to described tested Server is carried out after high frequency data transfer pressure test, and this method also includes:
The forcing press collects the results of property of at least two network adapter, or at least two network adapter State, or system event;
The results of property includes network data transmission rate, when the network data transmission rate is higher than preset first threshold value When, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then it represents that pressure test Effectively;When the state of the network adapter including extension or is wrong, then it represents that pressure test is invalid;When the system thing When part includes recording QPI channel errors or system reactionless for a long time in system journal, then it represents that pressure test is invalid.
4. the method as described in claim 1, it is characterised in that the tested server is corresponding by local first NUMA node First network adapter port distributes to long-range second NUMA node, by corresponding second Network adaptation of long-range second NUMA node Device port assignment gives local first NUMA node, specifically includes:
The tested server performs the first command-line shell PowerShell scripts being pre-configured with, described first PowerShell content for script includes:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to local first NUMA node.
5. the method as described in claim 1, it is characterised in that the forcing press is by local first NUMA node corresponding first Network adapter port distributes to local first NUMA node, by the corresponding second network adapter end of long-range second NUMA node Mouth distributes to long-range second NUMA node, specifically includes
The forcing press performs the 2nd PowerShell scripts being pre-configured with, the 2nd PowerShell content for script bags Include:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to long-range second NUMA node.
6. the method as described in claim 1, it is characterised in that by local first NUMA node corresponding in the forcing press One network adapter port distributes to local first NUMA node by corresponding second network adapter of long-range second NUMA node Port assignment gives long-range second NUMA node, specifically includes:
The forcing press performs the built-in command being pre-configured with the network test tool installed, the built-in command content bag Include:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to long-range second NUMA node.
7. a kind of high frequency data transfer pressure testing system, it is characterised in that the system includes:
The tested server and forcing press being connected with each other, the tested server include at least two NUMA nodes and at least two Pass through quick interconnecting channels QPI between network adapter, one network adapter of each NUMA node correspondence, the NUMA node Communication,
The tested server, for the corresponding first network adapter port of local first NUMA node to be distributed into long-range Two NUMA nodes, local first NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press, for the corresponding first network adapter port of local first NUMA node to be distributed into local first NUMA node, long-range second NUMA node is distributed to by corresponding second network adapter port of long-range second NUMA node;
The forcing press, is additionally operable to operational network testing tool and carries out high frequency data transfer pressure survey to the tested server Examination, the network test tool is general applied in network performance test open source software.
8. system as claimed in claim 7, it is characterised in that be adapted to by the corresponding first network of local first NUMA node Device port assignment gives long-range second NUMA node, and corresponding second network adapter port of long-range second NUMA node is distributed to Before local first NUMA node,
The tested server, is additionally operable to be set to do sth. in advance by the basic input-output system BIOS sense mode of tested server Detect ES patterns.
9. system as claimed in claim 7, it is characterised in that carried out in operational network testing tool to the tested server After high frequency data transfer pressure test,
The forcing press collects the results of property of at least two network adapter, or at least two network adapter State, or system event;
The results of property includes network data transmission rate, when the network data transmission rate is higher than preset first threshold value When, then it represents that pressure test is invalid;When the network data transmission rate is less than default Second Threshold, then it represents that pressure test Effectively;When the state of the network adapter including extension or is wrong, then it represents that pressure test is invalid;When the system thing When part includes recording QPI channel errors or system reactionless for a long time in system journal, then it represents that pressure test is invalid.
10. system as claimed in claim 7, it is characterised in that the tested server, specifically in the tested service The first PowerShell scripts being pre-configured with are performed in device, the first PowerShell content for script includes:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into long-range second NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to local first NUMA node.
11. system as claimed in claim 7, it is characterised in that the forcing press, specifically for being performed in the forcing press The 2nd PowerShell scripts being pre-configured with, the 2nd PowerShell content for script includes:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to long-range second NUMA node.
12. system as claimed in claim 7, it is characterised in that the forcing press, specifically for being performed in the forcing press The built-in command being pre-configured with the network test tool of installation, the built-in command content includes:
The first network adapter port and the hardware information and many queue RSS informations of the second network adapter port are obtained, It is determined that the position of local first NUMA node and long-range second NUMA node;
The corresponding first network adapter port of local first NUMA node is distributed into local first NUMA node, by long-range Corresponding second network adapter port of two NUMA nodes distributes to long-range second NUMA node.
CN201710469448.1A 2017-06-20 2017-06-20 High-frequency data transmission pressure testing method and system Active CN107302473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710469448.1A CN107302473B (en) 2017-06-20 2017-06-20 High-frequency data transmission pressure testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710469448.1A CN107302473B (en) 2017-06-20 2017-06-20 High-frequency data transmission pressure testing method and system

Publications (2)

Publication Number Publication Date
CN107302473A true CN107302473A (en) 2017-10-27
CN107302473B CN107302473B (en) 2020-01-10

Family

ID=60135429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710469448.1A Active CN107302473B (en) 2017-06-20 2017-06-20 High-frequency data transmission pressure testing method and system

Country Status (1)

Country Link
CN (1) CN107302473B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354667A (en) * 2007-07-24 2009-01-28 英业达股份有限公司 Method for testing peripheral component interconnect bus level pressure
US20100205137A1 (en) * 2009-02-10 2010-08-12 International Business Machines Corporation Optimizing Power Consumption and Performance in a Hybrid Computer Evironment
CN101833493A (en) * 2010-03-24 2010-09-15 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of server based on linux system
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Network card performance testing environment automatic setting-up method based on Linux system
CN105243000A (en) * 2015-10-30 2016-01-13 浪潮电子信息产业股份有限公司 Cross-numa memory testing method suitable for multi-path server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101354667A (en) * 2007-07-24 2009-01-28 英业达股份有限公司 Method for testing peripheral component interconnect bus level pressure
US20100205137A1 (en) * 2009-02-10 2010-08-12 International Business Machines Corporation Optimizing Power Consumption and Performance in a Hybrid Computer Evironment
CN101833493A (en) * 2010-03-24 2010-09-15 浪潮电子信息产业股份有限公司 Method for testing stability and reliability of server based on linux system
CN104811353A (en) * 2015-05-05 2015-07-29 浪潮电子信息产业股份有限公司 Network card performance testing environment automatic setting-up method based on Linux system
CN105243000A (en) * 2015-10-30 2016-01-13 浪潮电子信息产业股份有限公司 Cross-numa memory testing method suitable for multi-path server

Also Published As

Publication number Publication date
CN107302473B (en) 2020-01-10

Similar Documents

Publication Publication Date Title
DE112013002069B4 (en) High performance link coherence protocol
CN104246759B (en) Application programming interfaces testing service
CN103827899B (en) Data center resource is distributed
DE112016005910T5 (en) Architecture for Software-Defined Interconnect Switch
CN107003955A (en) Methods, devices and systems for the integrated equipment in root complex
WO2006038717B1 (en) External data interface in a computer architecture for broadband networks
DE69724884T2 (en) Device and method for positive and subtractive address decoding on a bus
CN109194736A (en) Message De-weight method, device, electronic equipment, medium and unmanned vehicle
CN109885597A (en) Tenant group processing method, device and electric terminal based on machine learning
DE102020101958A1 (en) DYNAMIC LANE ACCESS SWITCHING BETWEEN PCIE ROOTS
CN108416506A (en) Customer risk level management approach, server and computer readable storage medium
CN104915302B (en) Data transmission processing method and data link
CN100524267C (en) Data processing system and data processing method
CN114356671A (en) Board card debugging device, system and method
US7529953B1 (en) Communication bus power state management
US7320054B2 (en) Multiprocessor system having a shared memory
US20180004987A1 (en) Information processing system and method, and information processing device and method
CN109582906A (en) Determination method, apparatus, equipment and the storage medium of data reliability
DE102021107336A1 (en) DEVICES, SYSTEMS, AND METHODS FOR PCIe ENDPOINT INTERRUPT
CN107302473A (en) A kind of high frequency data transfer method for testing pressure and system
CN205563550U (en) KVM module of PS2 interface based on soft nuclear of microblaze
CN105046638B (en) Processor system and its image processing method
WO2023124304A1 (en) Chip cache system, data processing method, device, storage medium, and chip
US20210405733A1 (en) Devices capable of detecting and allocating power and associated method
DE102022101490A1 (en) TECHNOLOGIES FOR REAL-TIME ENCRYPTION KEY UPDATES

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20191204

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: Suzhou Wave Intelligent Technology Co., Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: Zhengzhou Yunhai Information Technology Co. Ltd.

GR01 Patent grant
GR01 Patent grant