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

A simultaneous testing method and system supporting multiple pcie cards

A test method and test data technology, applied in the field of testing, can solve problems such as low efficiency and single test content, and achieve the effect of reducing the number of tests, wide applicability, and improving test efficiency

Active Publication Date: 2022-02-25
ZHENGZHOU XINDA JIEAN INFORMATION TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Aiming at the problems of low efficiency and single test content of the traditional PCIE card test method, the present invention provides a simultaneous test method and system supporting multiple PCIE cards

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
  • A simultaneous testing method and system supporting multiple pcie cards
  • A simultaneous testing method and system supporting multiple pcie cards

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0051] Such as figure 1 As shown, the embodiment of the present invention provides a kind of simultaneous testing method that supports a plurality of PCIE cards, and described method comprises the following steps:

[0052] S101: Insert a plurality of PCIE cards on the test host through physical interfaces, wherein each PCIE card includes a plurality of DMA high-speed channels, a plurality of BAR low-speed channels and a configuration space, and the configuration space is used to store PCIE card identification information , the number of DMA high-speed channels, the number of BAR low-speed channels;

[0053] S102: The operating system of the test host monitors that multiple PCIE cards are connected, and then starts multiple test processes respectively, and the multiple test processes correspond to multiple PCIE cards one by one;

[0054] S103: Under each test process, start the PCIE card configuration space monitoring thread, and identify the PCIE card identification informati...

Embodiment 2

[0060] On the basis of the above-mentioned embodiment 1, the difference between the embodiment of the present invention and the above-mentioned embodiment is that this embodiment further optimizes the test process in step S105, and each DMA test thread group includes A DMA sending thread for channel sending test data and a DMA receiving thread for receiving response data, each BAR test thread group includes a BAR sending thread for sending test data to the BAR low-speed channel and a BAR receiving thread for receiving response data, Specifically:

[0061] S1051: The DMA sending thread sends the DMA test data to the corresponding DMA high-speed channel, and the BAR sending thread sends the BAR test data to the corresponding BAR low-speed channel;

[0062] S1052: After the corresponding DMA high-speed channel receives the DMA test data and performs transparent transmission or processing, returns the DMA response data to the corresponding DMA receiving thread; at the same time, t...

Embodiment 3

[0065] In order to test the limit speed of each PCIE card, the embodiment of the present invention also provides a kind of simultaneous testing method that supports a plurality of PCIE cards, and the difference with each above-mentioned embodiment is that the present embodiment also includes the following steps:

[0066] S107: After determining that the data processing performance of the PCIE card is qualified, test the limit speed of each DMA high-speed channel through each DMA test thread group corresponding to the test process, and test the limit of each BAR low-speed channel through each BAR test thread group speed.

[0067] As a kind of implementable mode, the limit speed of each DMA high-speed channel is tested respectively by each DMA test thread group corresponding to the test process, specifically including:

[0068] S1071: The DMA sending thread repeatedly sends DMA test data to the corresponding DMA high-speed channel according to the preset initial frequency, and m...

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 provides a simultaneous testing method and system supporting multiple PCIE cards. The method comprises: inserting a plurality of PCIE cards on the test host through physical interfaces respectively; the operating system of the test host monitors that a plurality of PCIE cards are inserted, and starts a plurality of test processes respectively; under each test process, Start the PCIE card configuration space monitoring thread; each test process starts multiple DMA test thread groups based on the number of DMA high-speed channels, and starts multiple BAR test thread groups based on the number of BAR low-speed channels; under each test process, respectively Asynchronously test the data processing accuracy of each DMA high-speed channel and BAR low-speed channel through multiple DMA test thread groups and BAR test thread groups; for each PCIE card, if there is a test thread group that exceeds the preset threshold, it will feedback the DMA high-speed channel or BAR When the processing data of the low-speed channel makes an error, it is determined that the data processing performance of the PCIE card is unqualified; otherwise, the performance is qualified.

Description

technical field [0001] The invention relates to the technical field of testing, in particular to a simultaneous testing method and system supporting multiple PCIE cards. Background technique [0002] At present, many hardware devices (such as PCIE cards) require performance testing after development is completed. Since PCIE cards are usually equipped with multiple DMA high-speed channels and BAR low-speed channels, when testing the performance of PCIE cards, not only the limit speed of a single DMA channel, but also multiple DMA high-speed channels and multiple BARs need to be considered. Stability in low-speed channel parallel mixed scenarios requires higher testing requirements for a single PCIE card. In addition, the traditional test method can only realize the test of a single PCIE card at a time. However, in actual scenarios, there may be multiple PCIE cards that need to be tested, and the test needs to be repeated many times to complete, and the test efficiency is no...

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 Patents(China)
IPC IPC(8): G06F11/22
CPCG06F11/2221G06F11/2273
Inventor 王斌王中原吴世勇李银龙冯驰王凯霖
Owner ZHENGZHOU XINDA JIEAN INFORMATION TECH
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