Search

CN-120234192-B - PCIE parameter optimization training method, device, equipment, medium and product

CN120234192BCN 120234192 BCN120234192 BCN 120234192BCN-120234192-B

Abstract

The application discloses a PCI E parameter optimization training method, a device, equipment, a medium and a product, and relates to the technical field of computer hardware. And executing multiple rounds of pressure test training on all the test equalization parameters according to the working state of the equipment as a parameter test state to obtain the optimal equalization parameters. The application aims to automatically optimize PCIE signal parameters so as to improve the optimization efficiency of the PCIE signal parameters.

Inventors

  • WANG YONGAN
  • WU CHANG

Assignees

  • 深圳市中微信息技术有限公司

Dates

Publication Date
20260508
Application Date
20250310

Claims (8)

  1. 1. The PCIE parameter optimization training method is characterized by comprising the following steps of: Obtaining test balance parameters corresponding to each PCIE differential line channel, and determining the working state of equipment according to the link bandwidth of a PCIE controller in the equipment enumeration stage, wherein the working state of the equipment is determined to be a parameter test state when the link bandwidth is a preset highest bandwidth threshold value, and the working state of the equipment is determined to be a parameter adjustment state when the link bandwidth is not the highest bandwidth threshold value; Executing multiple rounds of pressure test training on all the test equalization parameters according to the working state of the equipment as a parameter test state to obtain optimal equalization parameters; the step of performing multiple rounds of pressure test training on all the test equalization parameters according to the working state of the equipment as a parameter test state to obtain optimal equalization parameters comprises the following steps: Responding to the working state of the equipment as a parameter test state, performing first-wheel pressure test training on each test balance parameter according to a preset first test frequency, recording the test continuous pass frequency of each test balance parameter in the first-wheel pressure test training, taking the test balance parameter with the test continuous pass frequency being greater than the stable training frequency as a better balance parameter, performing second-wheel pressure test training on each test balance parameter according to a preset second test frequency, and performing third-wheel pressure test on the better balance parameter with the test stable in the second test frequency according to a preset third test frequency to obtain a plurality of final training balance parameters; When the working state of the equipment is a parameter adjustment state, automatically adjusting the equalization parameter combination corresponding to each PCIE differential line channel and related to a Tx Preset parameter and an Rx Preset parameter according to the degree of the link bandwidth deviating from the highest bandwidth threshold by a Preset parameter automatic training module, and adjusting the link bandwidth by different equalization parameter combinations so as to enable the link bandwidth to reach the highest bandwidth threshold.
  2. 2. The PCIE parameter optimization training method of claim 1 wherein the step of determining the device operating state according to the link bandwidth of the PCIE controller in the device enumeration stage comprises: detecting whether the link bandwidth of the PCIE controller is a preset highest bandwidth threshold value or not in the device enumeration stage; if the link bandwidth is the highest bandwidth threshold, determining that the equipment working state is a parameter test state; and if the link bandwidth is not the highest bandwidth threshold, determining that the equipment working state is a parameter adjustment state.
  3. 3. The PCIE parameter optimization training method of claim 2 wherein after the step of determining the device operating state according to the link bandwidth of the PCIE controller in the device enumeration stage, the PCIE parameter optimization training method comprises: And responding to the working state of the equipment as a parameter adjustment state, and updating the test balance parameters which are subjected to pressure test training according to a preset parameter automatic training module.
  4. 4. The PCIE parameter optimization training method of claim 1 wherein the step of determining optimal equalization parameters based on all of the final training equalization parameters comprises: transmitting the final training equalization parameters to a preset equalization parameter list according to time sequence to form an equalization parameter training list, and generating formal BIOS firmware according to the equalization parameter training list.
  5. 5. The PCIE parameter optimization training device is characterized by comprising: The device comprises an acquisition module, a parameter adjustment module and a parameter adjustment module, wherein the acquisition module is used for acquiring test equalization parameters corresponding to each PCIE differential line channel, and determining the working state of the device according to the link bandwidth of a PCIE controller in the device enumeration stage, wherein the working state of the device is determined to be a parameter test state when the link bandwidth is a preset highest bandwidth threshold value, and the working state of the device is determined to be a parameter adjustment state when the link bandwidth is not the highest bandwidth threshold value; the test training module is used for executing multiple rounds of pressure test training on all the test equalization parameters according to the working state of the equipment serving as a parameter test state to obtain optimal equalization parameters; The test training module is also used for responding to the working state of the equipment as a parameter test state, carrying out first wheel pressure test training on each test balance parameter according to a preset first test frequency, recording the test continuous pass frequency of each test balance parameter in the first wheel pressure test training, taking the test balance parameter with the test continuous pass frequency being greater than the stable training frequency as a better balance parameter, carrying out second wheel pressure test training on each test balance parameter according to a preset second test frequency, and carrying out third wheel pressure test on the better balance parameter with the stable continuous second test frequency according to a preset third test frequency to obtain a plurality of final training balance parameters; The PCIE parameter optimization training device is further configured to automatically adjust, when the working state of the device is a parameter adjustment state, an equalization parameter combination corresponding to each PCIE differential lane with respect to a Tx Preset parameter and an Rx Preset parameter according to a degree that the link bandwidth deviates from the highest bandwidth threshold through a Preset parameter automatic training module, and adjust the link bandwidth through different equalization parameter combinations, so that the link bandwidth reaches the highest bandwidth threshold.
  6. 6. A PCIE parameter optimization training device, characterized in that it comprises a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the PCIE parameter optimization training method according to any one of claims 1 to 4.
  7. 7. A medium, which is a computer readable storage medium, wherein the computer readable storage medium has stored thereon a computer program, which when executed by a processor, implements the steps of the PCIE parameter optimization training method according to any one of claims 1 to 4.
  8. 8. A computer program product comprising a computer program, characterized in that the computer program comprises computer program code means stored on a computer readable medium or carrier wave, the computer program code means being configured to cause a computer or processor to carry out the steps of the PCIE parameter optimization training method according to any one of claims 1 to 4 when executed.

Description

PCIE parameter optimization training method, device, equipment, medium and product Technical Field The application relates to the technical field of computer hardware, in particular to a PCI E parameter optimization training method, a device, equipment, a medium and a product. Background In a computer hardware system, PCIE (PeripheralComponentInterconnectExpress, high-speed serial computer expansion bus standard) links play a key role in data transmission. However, due to the influence of various factors such as link length, material characteristics, design layout, PCB routing, etc., PCIE signals are very prone to attenuation or deformation during transmission. The method not only can lead to the speed reduction and bandwidth dropping of the PCIE training bandwidth, but also can cause equipment loss even when serious, and greatly influences the compatibility and stability of the board PCIE equipment. Currently, the main method for optimizing PCIE signals is to test PCIE eye patterns by means of a high bandwidth oscilloscope. If the eye diagram is not displayed well, the parameters of PCIEEQ (Equalization ) are manually modified by the BIOS (Basic Input/Output System), and then the eye diagram is tested again, and the process is repeated until a proper EQ parameter is found to meet the eye diagram test requirement. If the parameters for effectively improving the signal quality cannot be found, hardware needs to be modified and PCIE routing is re-optimized. The traditional method has the defects that firstly, the hardware cost is high, the price of a high-end oscilloscope is low, so that a plurality of small and medium-sized companies are difficult to bear, secondly, the analysis and optimization process of PCIE signal quality is extremely complex, a hardware engineer, a BIOS engineer and an SI engineer are required to be closely matched, a great deal of manpower is consumed, thirdly, the number of EQ parameter combinations corresponding to PCIE differential line Lane is huge, 16 settings are provided for TxPreset by taking PCIEX16 slots as an example, 8 settings are provided for RxPreset, and theoretically, the adjustable parameters are up to (16 multiplied by 8)/(16) and manual testing is almost impossible to complete. Each EQ parameter verification involves BIOS compiling, updating, and entering into an operating system to view bandwidth and test eye patterns, and the workload is enormous. Therefore, how to automatically optimize PCIE signal parameters to improve the optimizing efficiency of PCIE signal parameters is a technical problem to be solved. The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present application and is not intended to represent an admission that the foregoing is prior art. Disclosure of Invention The application mainly aims to provide a PCI E parameter optimization training method, a device, equipment, a medium and a product, which aim to automatically optimize PCIE signal parameters so as to improve the optimization efficiency of the PCIE signal parameters. In order to achieve the above objective, the present application provides a PCI E parameter optimization training method, which includes: Obtaining test equalization parameters corresponding to each PCIE differential line channel, and determining the working state of the equipment according to the link bandwidth of the PCIE controller in the equipment enumeration stage; and executing multiple rounds of pressure test training on all the test equalization parameters according to the working state of the equipment as a parameter test state to obtain the optimal equalization parameters. In an embodiment, the step of determining the working state of the device according to the link bandwidth of the PCIE controller in the device enumeration stage includes: detecting whether the link bandwidth of the PCIE controller is a preset highest bandwidth threshold value or not in the device enumeration stage; if the link bandwidth is the highest bandwidth threshold, determining that the equipment working state is a parameter test state; and if the link bandwidth is not the highest bandwidth threshold, determining that the equipment working state is a parameter adjustment state. In an embodiment, after the step of determining the working state of the device according to the link bandwidth of the PCIE controller in the device enumeration stage, the PCIE parameter optimization training method includes: And responding to the working state of the equipment as a parameter adjustment state, and updating the test balance parameters which are subjected to pressure test training according to a preset parameter automatic training module. In an embodiment, the step of performing multiple rounds of pressure test training on all the test equalization parameters according to the equipment working state as a parameter test state to obtain an optimal equalization parameter includes: Responding to th