Processor performance grading method, power supply method and device

By deploying a ring oscillator on the processor and using the target oscillator for performance grading, the problem of performance differences in processor chips due to process differences is solved, and precise grading of processor performance and power consumption optimization are achieved.

CN117971628BActive Publication Date: 2024-08-23BEIJING XIANGDIXIAN COMPUTING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410370724.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-29
Publication Date
2024-08-23
Estimated Expiration
2044-03-29

AI Technical Summary

Technical Problem

The same model of processor chips has different performance due to process differences. It is difficult to effectively classify performance with existing technology, resulting in some processors being unable to meet working requirements or causing a waste of power consumption.

Method used

Deploy N ring oscillators on the processor, determine the M target oscillators by testing the processor's operating frequency and oscillator output values ​​under various operating temperature and voltage combinations, and use these oscillators to conduct testing on the processor to be classified. Performance grading, including preliminary grading and secondary grading, establishes a model of the relationship between the oscillator output value and the operating frequency, and predicts the current frequency of the processor for grading.

Benefits of technology

It achieves precise grading of processor performance, ensuring that each processor optimizes its work according to its own performance, and avoids problems of unsatisfied work requirements or wasted power consumption due to performance mismatch.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117971628B
    Figure CN117971628B
Patent Text Reader

Abstract

The present disclosure provides a processor performance grading method, a power supply method and a device, wherein N ring oscillators are deployed on a processor; for each test processor among a plurality of test processors, the test processor is operated in a target working mode to obtain the working frequency of the test processor and the output value of each ring oscillator on the test processor under a combination of multiple working temperatures and working voltages; based on the working frequencies of all the test processors under the combination of the multiple working temperatures and working voltages and the output value of each ring oscillator on all the test processors, M target oscillators are determined; the target oscillators are the M ring oscillators most relevant to the change of the working frequency of the test processor among the N ring oscillators; and the performance of the processors to be graded is graded using the M target oscillators.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a processor performance grading method, a power supply method and a device. Background Art

[0002] At present, after the production of processor chips is completed, it is generally believed that the performance of processor chips of the same model in the same batch or even different batches is not much different. Therefore, when the processor chips are working, each processor chip will work according to the same operating voltage standard.

[0003] However, since processor chips are processed from wafers, the process may be different between different locations on the same wafer, and the process differences between different wafers may be even greater, therefore, even if the same model of processor chips are produced using the same equipment and the same production method, there will be differences in performance due to different processes.

[0004] In order to make the processor chip work better, the processor chip needs to be performance graded. Summary of the invention

[0005] The purpose of the present disclosure is to provide a processor performance grading method, a power supply method and a device.

[0006] According to a first aspect of the present disclosure, a method for grading processor performance is provided, wherein N ring oscillators are deployed on the processor;

[0007] For each test processor among the plurality of test processors, the test processor is operated in a target operating mode to obtain an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages;

[0008] Determine M target oscillators based on the operating frequencies of all test processors and the output value of each ring oscillator on all test processors under the combinations of the multiple operating temperatures and operating voltages; the target oscillators are the M ring oscillators most relevant to the operating frequency changes of the test processors among the N ring oscillators;

[0009] The M target oscillators are used to perform performance grading on the processors to be graded.

[0010] In one embodiment, the method further includes, for any one of the several working modes, causing the several test processors to respectively operate in the working mode, and applying pressure to the several test processors so that the several test processors respectively operate at a target working frequency;

[0011] Obtaining the minimum voltage required for each test processor to run at the target operating frequency under the plurality of operating modes;

[0012] A target operating mode is determined according to the minimum voltage required for each test processor to run at the target operating frequency, and the target operating mode is the operating mode with the greatest operating pressure on the processor.

[0013] In one embodiment, determining the target operating mode according to the minimum voltage required for each test processor to run at the target operating frequency includes:

[0014] Determine the average value of the minimum voltage required for each test processor to run to the target operating frequency in each operating mode; and determine the operating mode with the largest average value as the target operating mode.

[0015] In one embodiment, for any one of the plurality of operating modes, causing the plurality of test processors to respectively operate in the operating mode, and applying pressure to the plurality of test processors so that the plurality of test processors respectively operate at a target operating frequency, comprises:

[0016] For any working mode among several working modes, several test processors are respectively operated in the working mode, and the several processors are pressurized and heated so that the several test processors are respectively operated to the target working frequency at multiple temperatures.

[0017] In one embodiment, the plurality of test processors include processors of different process corner types.

[0018] In one embodiment, the step of using the M target oscillators to perform performance grading on the processors to be graded includes:

[0019] The M target oscillators are used to perform preliminary grading on unpackaged processors to be graded, and the M target oscillators are used to perform secondary grading on packaged processors based on the preliminary grading results.

[0020] In one embodiment, the using the M target oscillators to perform preliminary grading on the unpackaged processors to be graded includes:

[0021] Establishing a relationship model between the output values ​​of the M target oscillators and the operating frequency of the processor;

[0022] Allowing the unpackaged processor to be graded to operate in the target operating mode, and obtaining output values ​​of the M target oscillators on the processor to be graded at a first preset operating temperature and a preset operating voltage;

[0023] Predicting the current operating frequency of the processor to be classified based on the output values ​​of the M target oscillators and the established relationship model;

[0024] The processors are ranked based on current operating frequencies.

[0025] In one embodiment, the performing secondary grading on the packaged processor based on the preliminary grading result using the M target oscillators includes:

[0026] The processor that has undergone preliminary classification and packaging is operated in the target working mode, and output values ​​of the M target oscillators on the processor that has undergone preliminary classification are obtained at a second preset working temperature and the preset working voltage; wherein the second preset working temperature is greater than the first preset temperature;

[0027] Predicting the current operating frequency of the preliminary classified processor based on the output values ​​of the M target oscillators and the established relationship model;

[0028] The processors are ranked based on current operating frequencies.

[0029] In one embodiment, the plurality of test processors include processors of different performance levels; when for each of the plurality of test processors, the test processor is operated in a target operating mode, and the operating frequency of the test processor and the output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages are obtained, the method further includes:

[0030] For each test processor of each performance level, record the target mapping relationship between the operating voltage and the operating frequency of each test processor at that performance level;

[0031] The grading of the processor based on the current operating frequency includes:

[0032] The performance level of the processor is determined according to the current operating frequency and the target mapping relationship.

[0033] According to a second aspect of the present disclosure, a processor power supply method is provided, which is applied to a control unit on a system-on-chip, wherein the system-on-chip further includes a plurality of processors graded according to the performance grading method of the first aspect and a memory; the memory stores the performance grades of the plurality of processors and the voltage-frequency mapping relationship of the processors of each performance grade; the system-on-chip is deployed on a board; a power management module is also deployed on the board; the method includes:

[0034] Reading performance levels of multiple processors and voltage-frequency mapping relationships of processors of each performance level from a memory on the system-on-chip, and determining operating voltages of the multiple processors based on the read information and expected operating frequencies;

[0035] The voltage supply information is sent to the power management module, so that the power management module provides the operating voltage for each processor according to its performance level.

[0036] In one embodiment, the method further comprises:

[0037] When it is detected that the current operating frequency of any processor does not match the current workload, voltage adjustment information is sent to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor, so that the power management module adjusts the voltage for the processor according to its performance level.

[0038] According to a third solution of the present disclosure, a processor performance grading device is also provided, wherein N ring oscillators are deployed on the processor; the device comprises:

[0039] an acquisition module, configured to enable each test processor among the plurality of test processors to operate in a target operation mode, and acquire an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages;

[0040] A determination module, configured to determine M target oscillators based on the operating frequencies of all test processors and the output values ​​of each ring oscillator on all test processors under the combinations of the multiple operating temperatures and operating voltages; the target oscillators are the M ring oscillators most relevant to the operating frequency changes of the test processors among the N ring oscillators;

[0041] The grading module is used to perform performance grading on the processors to be graded by using the M target oscillators.

[0042] In one embodiment, the device also includes: an operating mode identification module, which is used to, for any operating mode among several operating modes, enable several test processors to operate in the operating mode respectively, and apply pressure to the several test processors so that the several test processors can operate at a target operating frequency respectively; obtain the minimum voltage required for each test processor to operate at the target operating frequency under the several operating modes; determine the target operating mode based on the minimum voltage required for each test processor to operate at the target operating frequency, and the target operating mode is the operating mode with the greatest operating pressure on the processor.

[0043] In one embodiment, the working mode identification module is specifically used to determine the average value of the minimum voltage required for each test processor to run to the target working frequency in each working mode; and determine the working mode with the largest average value as the target working mode.

[0044] In one embodiment, the working mode identification module is specifically used to enable the several test processors to operate in any of the several working modes, respectively, and to pressurize and heat the several processors so that the several test processors can operate at the target working frequency at multiple temperatures.

[0045] In one embodiment, the plurality of test processors include processors of different process corner types.

[0046] In one embodiment, the grading module is specifically configured to use the M target oscillators to perform preliminary grading on unpackaged processors to be graded, and use the M target oscillators to perform secondary grading on packaged processors based on the preliminary grading result.

[0047] In one embodiment, the grading module is specifically used to establish a relationship model between the output values ​​of the M target oscillators and the operating frequency of the processor;

[0048] Allowing the unpackaged processor to be graded to operate in the target operating mode, and obtaining output values ​​of the M target oscillators on the processor to be graded at a first preset operating temperature and a preset operating voltage;

[0049] Predicting the current operating frequency of the processor to be classified based on the output values ​​of the M target oscillators and the established relationship model;

[0050] The processors are ranked based on current operating frequencies.

[0051] In one embodiment, the grading module is specifically used to make the processor that has undergone preliminary grading and packaging operate in the target working mode, and obtain the output values ​​of the M target oscillators on the processor of the preliminary grading at a second preset working temperature and the preset working voltage of the processor of the preliminary grading; wherein the second preset working temperature is greater than the first preset temperature;

[0052] Predicting the current operating frequency of the processor to be classified based on the output values ​​of the M target oscillators and the established relationship model;

[0053] The processors are ranked based on current operating frequencies.

[0054] In one embodiment, the acquisition module is further used to record, for each test processor of each performance level, a target mapping relationship between an operating voltage and an operating frequency of each test processor at the performance level;

[0055] The grading module is specifically used to determine the performance level of the processor according to the current operating frequency and the target mapping relationship.

[0056] According to a fourth aspect of the present disclosure, a control unit is further provided, which is deployed on a system-level chip, and the system-level chip further includes a plurality of processors after being graded based on the performance grading method of the first aspect and a memory; the memory stores the performance grades of the plurality of processors and the voltage-frequency mapping relationship of the processors of each performance grade; the system-level chip is deployed on a board; and a power management module is also deployed on the board;

[0057] The control unit is used to read the performance levels of multiple processors and the voltage-frequency mapping relationship of processors of each performance level from the memory on the system-level chip, and determine the operating voltages of the multiple processors based on the read information and the expected operating frequency; send voltage provision information to the power management module so that the power management module provides the operating voltage for each processor according to its performance level.

[0058] In one embodiment, the control unit is also used to send voltage adjustment information to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor when it is detected that the current operating frequency of any processor does not match the current workload, so that the power management module adjusts the voltage for the processor according to its performance level.

[0059] According to a fifth aspect of the present disclosure, a graphics processing system is also provided, comprising the control unit of the fourth aspect.

[0060] According to a sixth aspect of the present disclosure, an electronic component is also provided, comprising the graphics processing system of the fifth aspect.

[0061] According to a seventh aspect of the present disclosure, an electronic device is also provided, comprising the electronic component of the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 A flowchart of a processor performance classification method provided by an embodiment of the present disclosure;

[0063] Figure 2 A schematic diagram of the structure of a processor provided for one embodiment of the present disclosure;

[0064] Figure 3A schematic diagram of the structure of a board provided by an embodiment of the present disclosure;

[0065] Figure 4 A schematic diagram of the structure of a processor performance grading device provided by an embodiment of the present disclosure;

[0066] Figure 5 A schematic diagram of the structure of a graphics processing system provided by one embodiment of the present disclosure. DETAILED DESCRIPTION

[0067] Before introducing the embodiments of the present disclosure, it should be noted that:

[0068] Some embodiments of the present disclosure are described as processing flows. Although the various operation steps of the flow may be given sequential step numbers, the operation steps therein may be implemented in parallel, concurrently or simultaneously.

[0069] In the embodiments of the present disclosure, the terms "first", "second", etc. may be used to describe various features, but these features should not be limited by these terms. These terms are used only to distinguish one feature from another.

[0070] The term “and / or” may be used in embodiments of the present disclosure. “And / or” includes any and all combinations of one or more of the associated features listed.

[0071] It should be understood that when describing the connection or communication relationship between two components, unless it is explicitly stated that the two components are directly connected or directly communicating, the connection or communication between the two components can be understood as direct connection or communication, or as indirect connection or communication through an intermediate component.

[0072] In order to make the technical solutions and advantages of the embodiments of the present disclosure more clearly understood, the exemplary embodiments of the present disclosure are further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than an exhaustive list of all the embodiments. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0073] At present, after the production of processor chips is completed, it is generally believed that the performance differences of processor chips of the same model in the same batch or even different batches are not much, and the processor chips of the same model will be operated at the same operating voltage during work.

[0074] However, since processor chips are processed from wafers, the process may be different at different locations on the same wafer, and the process differences between different wafers may be even greater, even if the same model of processor chips are produced using the same equipment, there will be differences in performance due to different processes.

[0075] For example, processor chip A and processor chip B are of the same model. When a voltage of 1V is applied to processor chip A, its operating frequency can reach 1.5GHZ, and when a voltage of 1.8V is applied to processor chip B, its operating frequency can reach 1.5GHZ. It can be seen that processor chip A has better performance than processor chip B of the same model. If the two processor chips are operated according to the same standard, for example, a voltage of 1.5V is applied to both processor chip A and processor chip B, and it is expected that the operating frequency of the processor chips can reach 1.5GHZ, then processor chip B may not meet the working requirements, and processor chip A may cause a certain amount of power consumption waste due to the excessively high operating frequency.

[0076] If the processor chips can be performance graded during the manufacturing stage, and each processor chip can work according to its own performance grading results during the subsequent operation stage, it can avoid the processor from failing to meet work requirements or avoid wasting power consumption.

[0077] For the convenience of description, unless otherwise specified, the processors described below are all processor chips.

[0078] like Figure 1 As shown, based on the above problems, the present disclosure proposes a processor performance grading method, wherein N ring oscillators are deployed on the processors described in the present disclosure, for example, Figure 2 As shown, each processor may include two ring oscillator clusters, each cluster including N / 2 ring oscillators. The processor performance grading method proposed in the present disclosure includes:

[0079] S101, for each test processor among a plurality of test processors, operating the test processor in a target operating mode, and obtaining an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages;

[0080] S102, determining M target oscillators based on the operating frequencies of all test processors and the output value of each ring oscillator on all test processors under the combinations of the multiple operating temperatures and operating voltages; wherein the target oscillators are the M ring oscillators most relevant to the operating frequency change of the test processor among the N ring oscillators;

[0081] S103, using M target oscillators to perform performance grading on the processors to be graded.

[0082] In the above S101, several test processors are operated in the target working mode, and the operating frequencies of the several test processors under different temperature and operating voltage combinations, as well as the output value of each ring oscillator on the test processor are obtained. If the voltage-temperature combination includes N kinds, and N ring oscillators are deployed on the processor, then for each test processor, the data shown in Table 1 can be obtained, wherein RO1-RON are the output values ​​of the N ring oscillators, and the frequency is the operating frequency of the test processor.

[0083]

[0084] Table 1

[0085] For several test processors, several data similar to Table 1 can be obtained. In a specific embodiment, several test processors may include processors of different process angle types to ensure the universality of the test data. Specifically, it may include a preset number of processors of each process angle type. For example, it includes 500 processors of TT (typical nmos and typical pmos) type, 500 processors of SS (slow nmos and slow pmos) type, 500 processors of FF (fast nmos and fast pmos) type, 500 processors of SF (slow nmos and fast pmos) type, and 500 processors of FS (fast nmos and slow pmos) type. The test processor proposed in the present disclosure is a packaged processor, so the test processor can be operated at various actual operating temperatures and loaded with various actual operating voltages.

[0086] In the above S102, since a plurality of data as shown in Table 1 are obtained, the operating frequencies of all test processors under various combinations of operating temperatures and operating voltages, as well as the output values ​​of each ring oscillator on all test processors, and the correlation analysis algorithm can be used to determine the M ring oscillators among the N ring oscillators that are most relevant to the operating frequency changes of the test processors as target oscillators. Among them, M is any positive integer less than N, and the value of M can be set according to actual needs. For example, M can be 8. The correlation analysis algorithm can adopt algorithms such as the standard least squares method, and specific reference can be made to the relevant technology, which is not described in detail in this disclosure. The output value of the above ring oscillator is specifically the clock frequency of the ring oscillator. Due to different internal structures of different ring oscillators, the correlation between the clock frequency changes of different ring oscillators and the frequency changes of the processors under different combinations of temperatures and voltages is different. The principle of the ring oscillator can refer to the relevant technology, which is not described in detail in this disclosure. Based on the correlation algorithm, the M ring oscillators that are most relevant to the frequency changes of the processors can be screened out.

[0087] The above S103 may specifically include: using the M target oscillators to perform preliminary grading on the unpackaged processors to be graded, and using the M target oscillators to perform secondary grading on the packaged processors to be graded based on the preliminary grading result.

[0088] The test for unpackaged processors is the CP (Chip Probe) test, and the test for packaged processors is the FT (Final Test) test. Since the CP test can only be performed at low temperatures, and the FT test can be performed at high temperatures when the chip is working normally, the chip can be initially graded at a coarse-grained level under low temperature conditions during the CP test phase, and the chip can be graded again at a fine-grained level under high temperature conditions during the FT test phase.

[0089] Specifically, the following method may be used to perform preliminary grading on unpackaged processors to be graded using M target oscillators.

[0090] Since the M ring oscillators most relevant to the change in the processor operating frequency have been screened, a relationship model between the output values ​​of the M target oscillators and the processor operating frequency can be established. Specifically, a regression algorithm can be used to establish a relationship model between the output values ​​of the M target oscillators and the processor operating frequency. For example, a multivariate random forest regression algorithm is used, with the output values ​​of the M target oscillators as input and the operating frequency of the processor as output, to solve the parameters in the random forest regression algorithm.

[0091] For example, the relational model is: F=X1RO1+X2RO2+X3RO3...+X M R M, where F is the operating frequency of the processor, RO1-RO M is the output value of M target oscillators, X1-X M is the coefficient of the M target oscillators. It can be understood that the relationship model is only exemplary, not a specific relationship model, and the relationship models obtained by using different algorithms are different, as long as the relationship between the output values ​​of the M target oscillators and the operating frequency of the processor can be established.

[0092] After establishing a relationship model between the output values ​​of M target oscillators and the processor operating frequency, the unpackaged processor to be graded is operated in a target operating mode, and the output values ​​of the M target oscillators on the processor to be graded at a first preset operating temperature and a preset operating voltage are obtained. Based on the output values ​​of the M target oscillators and the established relationship model, the current operating frequency of the processor to be graded is predicted, and the processor is graded based on the current operating frequency.

[0093] Since the relational model includes the relationship between the output values ​​of the M target oscillators and the operating frequency of the processor chip, after obtaining the output values ​​of the M target oscillators during testing, the current operating frequency of the chip can be obtained based on the relational model. In the above manner, the M target oscillators are first determined, and the outputs of the M target oscillators are used to predict the operating frequency of the processor. There is no need to use a large number of measuring instruments to measure the operating frequency of the chip, and the efficiency of obtaining the chip operating frequency is higher.

[0094] When performing preliminary grading of unpackaged processors, corresponding operating frequency data may be set in advance for processors of different performance levels based on actual test processor data. In one embodiment, the plurality of test processors include processors of different performance levels. For each of the plurality of test processors, the test processor is operated in a target operating mode, and the operating frequency of the test processor and the output value of each ring oscillator on the test processor are obtained under a combination of multiple operating temperatures and operating voltages. For each performance level of the test processor, the target mapping relationship between the operating voltage and the operating frequency of each test processor at the performance level is also recorded.

[0095]

[0096] Table 2

[0097] As shown in Table 2, for example, the test processor is divided into three levels according to performance, including L3, L2, and L1, among which the L3 level processor has the best performance and the L1 level processor has the worst performance. When the test processor is operated in the target working mode, the operating frequency of the test processor and the output value of each ring oscillator on the test processor are obtained under a combination of multiple operating temperatures and operating voltages. It is also necessary to record the target mapping relationship between the operating voltage and the operating frequency of each test processor under each performance level for the test processor. After data statistics, the average operating frequency that can be achieved by the test processor of each level after any voltage is loaded in the test processor of each level can be obtained.

[0098] Preferably, the above relationship between voltage and frequency covers all data under various actual operating temperatures.

[0099] In the CP stage, after the preset operating voltage is loaded on the unpackaged processor to be graded, the processor to be graded can be preliminarily graded according to the target mapping relationship between the operating voltage and the operating frequency of the test processor at each performance level.

[0100] Combined with the contents shown in Table 2, for example, if the voltage applied to the processor to be classified is 700mV, if the operating frequency of the processor to be classified exceeds 922Mhz, the level of the processor to be classified is considered to be L3, if it is much less than 922Mhz but greater than 807Mhz, the level of the processor to be classified is considered to be L2, and if it is close to 922Mhz, the level of the processor to be classified may be L3. Since the processor can only be tested at low temperature during the CP test phase and cannot be tested at high temperature, it is also considered that the level of the processor to be classified may be L3 when it is close to 922Mhz. In this way, the processor to be classified can be preliminarily classified at a coarse granularity.

[0101] After the initial classification, the packaged processors to be classified are secondary classified using M target oscillators based on the initial classification results. Specifically, the secondary classification may be:

[0102] Allowing the preliminarily classified and packaged processor to operate in the target operating mode, and obtaining output values ​​of M target oscillators on the preliminarily classified processor at a second preset operating temperature and a preset operating voltage; wherein the second preset operating temperature is greater than the first preset temperature;

[0103] Predicting the current operating frequency of the preliminary classified processor based on the output values ​​of the M target oscillators and the established relationship model;

[0104] The processor is rated based on the current operating frequency.

[0105] For example, after the initial classification, among the N processors to be classified, Y processors are classified into L3, Z processors are classified into L2, and the others are classified into L1. If only L3 or L2 processors are needed, but not L1 processors, then only Y+Z processors classified into L3 or L2 need to be packaged, and the remaining processors do not need to be packaged. After packaging, the processors are further tested at the actual second preset temperature, and the initially classified processors are secondary classified based on the current operating frequency. For example, since during the initial classification, processors whose operating frequencies can exceed 922Mhz or are close to 922Mhz after being loaded with 700mV are considered to be L3 level, then during the secondary classification, 700mV is loaded again on these processors at a higher operating temperature, and processors whose operating frequencies can reach 922Mhz are identified as L3, and processors that cannot reach 922Mhz are identified as L2.

[0106] After the processors to be classified are initially classified at a coarse granularity in this way, only some processors that initially meet the performance requirements can be packaged, and further secondary classification can be performed on some of the packaged processors, thereby avoiding packaging and secondary classification of all processors.

[0107] Of course, when there is not much data on the chips to be graded, the chips to be graded can be packaged directly, and then the M target oscillators can be used to perform a performance grade on the processors to be graded, without performing a preliminary grade before packaging. The grade method can refer to the above content, and will not be described in detail here. Those skilled in the art can select the grade method according to the actual situation and needs.

[0108] The target working mode mentioned above may be the working mode of the processor when processing any task in actual work. In addition, in order to adapt the processor classification result to various working modes, the target working mode may also be the working mode with the greatest operating pressure on the processor. Specifically, the working mode with the greatest operating pressure on the processor may be determined in the following manner.

[0109] For any working mode among the several working modes, the several test processors are respectively operated in the working mode, and the several test processors are pressurized so that the several test processors are respectively operated at a target working frequency;

[0110] Obtaining the minimum voltage required for each test processor to run at a target operating frequency under a plurality of operating modes;

[0111] The target operating mode is determined according to the minimum voltage required for each test processor to run at the target operating frequency, wherein the target operating mode is the operating mode with the greatest operating pressure on the processor.

[0112]

[0113] Table 3

[0114] As shown in Table 3, for example, in the case of operating mode 1, the minimum operating voltage for test processor 1 to run to the target operating frequency is 700mV, the minimum operating voltage for test processor 2 to run to the target operating frequency is 710mV, and so on, to obtain the minimum operating voltage required for each test processor to run to the target operating frequency in various operating modes.

[0115] There are many ways to determine the target operating mode based on the minimum voltage required for each test processor to run at the target operating frequency.

[0116] In one implementation, the average value of the minimum voltage required for each test processor to run to the target operating frequency in each operating mode may be determined; and the operating mode with the largest average value is determined as the target operating mode. Taking the content shown in Table 3 as an example, if the average value of the minimum voltage required for each test processor to run to the target operating frequency in operating mode 3 is the largest, then operating mode 3 is determined as the target operating mode.

[0117] In another implementation, the minimum value of the minimum voltage required for each test processor to run to the target operating frequency in each operating mode may be determined; and the operating mode with the largest minimum value is determined as the target operating mode.

[0118] In yet another embodiment, the median of the minimum voltage required for each test processor to run to the target operating frequency in each operating mode may be determined; and the operating mode with the largest median may be determined as the target operating mode.

[0119] The target working mode may be determined by adopting any of the above implementation modes, and the present disclosure does not limit this.

[0120] In order to make the determined target operating mode the operating mode with the greatest operating pressure for the processor under all circumstances, for any of the several operating modes, several test processors are respectively operated in the operating mode, and the several test processors are pressurized so that the several test processors respectively operate at the target operating frequency. Specifically, for any of the several operating modes, several test processors are respectively operated in the operating mode, and several processors are pressurized and heated so that the several test processors respectively operate at the target operating frequency at multiple temperatures. That is, the target operating mode finally determined is the operating mode with the greatest operating pressure for the processor at various operating temperatures.

[0121] In addition, in order to further ensure the universality of the target working mode, that is, the target working mode is the most stressful working mode for processors of all process angle types, the selected test processors may include processors of different process angle types, for example, a preset number of processors of each process angle type.

[0122] After the target operating mode is determined based on the above method, the processor performance grading method mentioned above can be executed based on the target operating mode.

[0123] After the performance level of each processor is determined, each processor can be enabled to work according to its own performance grading result during the processor operation stage.

[0124] Specifically, the present disclosure provides a processor power supply method, which is applied to a control unit on a system-level chip, such as Figure 3 As shown, in addition to the control unit 401, the system-level chip 400 also includes multiple processors 402 and memory 403 after being graded using the above-mentioned performance grading method; wherein the memory can be a one-time programmable memory such as efuse, that is, the data therein cannot be modified after being burned into the memory. The system-level chip 400 is deployed on a board 500, and a power management module 300 is also deployed on the board. The memory 403 pre-stores the performance levels of the multiple processors and the voltage-frequency mapping relationship of the processors of each performance level.

[0125]

[0126] Table 4

[0127] As shown in Table 4, the maximum operating voltage Vmax, the minimum operating voltage Vmin, and the median operating voltage Vmed of the processors of each performance level running at a certain operating frequency Frequency can be determined in advance in the test phase. The information in the table is stored in the memory 403, and the current performance level of each processor is stored in the memory 403.

[0128] The power supply method comprises: reading the performance levels of multiple processors and the voltage-frequency mapping relationship of processors of each performance level from a memory on a system-level chip, and determining the operating voltages of the multiple processors respectively based on the read information and the expected operating frequency;

[0129] The voltage supply information is sent to the power management module, so that the power management module provides the operating voltage for each processor according to its performance level.

[0130] For example, there are currently three processors, namely processor A, processor B, and processor C. The levels of processors A and B are L3, and the level of processor C is L2. After the system-level chip is powered on, the control unit 401 can determine the operating voltage of each processor by reading the data shown in Table 4 in the memory 403 and the level of each processor. Figure 4 For example, the current expected operating frequency, that is, the operating frequency of each processor needs to reach 850MHz. Since the level of processors A and B is L3, and the level of processor C is L2, it can be determined that the operating voltage of processors A and B is 760mV, and the operating voltage of processor C is 720mV (the tested voltage median Vmed is the operating voltage, of course, it can also be the minimum voltage Vmin or the maximum operating voltage Vmax, which is not limited in this disclosure). After determining the operating voltage of each processor, the voltage provision information can be sent to the power management module on the board, and the power management module provides a 760mV operating voltage to processors A and B, and a 720mV operating voltage to processor C. The above-mentioned expected operating frequency can be the default initial operating frequency of each processor after the system-level chip is powered on.

[0131] By adopting this processor power supply method, power is supplied to each processor on the system-level chip according to its own performance level, which can effectively reduce the situation where the processor cannot meet the working requirements or the situation where power consumption is wasted.

[0132] After the system-level chip is powered on, the work tasks of each processor at the same time may be different, so the required working frequencies may also be different. Therefore, in order to make the working frequency of each processor meet the current working requirements, or to avoid the current working frequency of the processor being too fast and causing power consumption waste, the present disclosure proposes that the control unit is also used to send voltage adjustment information to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor when it is detected that the current working frequency of any processor does not match the current workload, so that the power management module adjusts the voltage of the processor according to its performance level.

[0133] In combination with the above example, for example, when the control unit detects that the current workload of processor A exceeds the first preset threshold, such as 80%, it determines that the operating frequency of processor A needs to be increased. If the current operating voltage provided to processor A is 760mV, in order to increase the operating frequency of processor A, by checking the classification result of processor A, it is determined that the performance level of processor A is L3, and the operating frequency of processor A needs to be increased by one level. By checking the voltage-frequency mapping relationship corresponding to the L3 level, it can be determined that the operating voltage provided to processor A needs to be adjusted to 820mV. Therefore, the control unit needs to send voltage adjustment information to the power management module, and the voltage adjustment information is used to indicate that the operating voltage provided by processor A is adjusted to 820mV. After receiving the indication information, the power management module can adjust the operating voltage of processor A to 820mV, that is, to achieve voltage adjustment for the processor according to its classification result. By analogy, after the adjustment is completed, if it is detected that the current workload of processor A still exceeds the first preset threshold, the operating voltage of processor A continues to be increased by one level. In addition, if the control unit detects that the current workload of processor A is lower than the second preset threshold, for example, 30%, it determines that the operating frequency of processor A needs to be reduced. If the current operating voltage provided to processor A is 880mV, the operating voltage provided to processor A can be adjusted to 820mV to reduce the operating frequency of processor A. Similarly, if it is detected that the current workload of processor A is still lower than the second preset threshold, the operating voltage of processor A continues to be adjusted downward. It can be understood that the monitoring and voltage adjustment methods for each processor are all the above methods, so that the voltage adjustment can be implemented for each processor according to its classification result.

[0134] By adopting the above method, during the operation of each processor, by monitoring the load of the processor and then adjusting the operating voltage of the processor based on the performance level of each processor, it can be ensured that the processor can dynamically adjust the operating frequency according to its own performance and actual needs. In addition, deploying the power management module on the board instead of on the system-level chip can reduce the occupied area of ​​the system-level chip while achieving processor voltage regulation.

[0135] Based on the same inventive concept, Figure 4 As shown, the present disclosure also proposes a processor performance grading device, wherein N ring oscillators are deployed on the processor; the device comprises:

[0136] An acquisition module 510 is used to enable each test processor among the plurality of test processors to operate in a target operation mode, and acquire an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages;

[0137] A determination module 520 is used to determine M target oscillators based on the operating frequencies of all the test processors under the combinations of the multiple operating temperatures and operating voltages, and the output value of each ring oscillator on all the test processors; the target oscillators are the M ring oscillators that are most relevant to the operating frequency change of the test processor among the N ring oscillators;

[0138] The grading module 530 is configured to perform performance grading on the processors to be graded using the M target oscillators.

[0139] In one embodiment, the processor performance grading device further includes:

[0140] The working mode identification module 540 is used to enable a number of test processors to respectively operate in any working mode among a number of working modes, and to apply pressure to the number of test processors so that the number of test processors respectively operate at a target working frequency; to obtain the minimum voltage required for each test processor to operate at the target working frequency under the number of working modes; and to determine a target working mode based on the minimum voltage required for each test processor to operate at the target working frequency, wherein the target working mode is the working mode with the greatest operating pressure on the processor.

[0141] In one embodiment, the working mode identification module 540 is specifically used to determine the average of the minimum voltages required for each test processor to run to the target working frequency in each working mode; and determine the working mode with the largest average as the target working mode.

[0142] In one embodiment, the working mode identification module 540 is specifically used to enable the several test processors to operate in any of the several working modes, respectively, and to pressurize and heat the several processors so that the several test processors can operate at the target working frequency at multiple temperatures.

[0143] In one embodiment, the plurality of test processors include processors of different process corner types.

[0144] In one embodiment, the grading module 530 is specifically configured to perform preliminary grading on unpackaged processors to be graded using the M target oscillators, and perform secondary grading on packaged processors based on the preliminary grading results using the M target oscillators.

[0145] In one implementation, the grading module 530 is specifically used to establish a relationship model between the output values ​​of the M target oscillators and the operating frequency of the processor;

[0146] Allowing the unpackaged processor to be graded to operate in the target operating mode, and obtaining output values ​​of the M target oscillators on the processor to be graded at a first preset operating temperature and a preset operating voltage;

[0147] Predicting the current operating frequency of the processor to be classified based on the output values ​​of the M target oscillators and the established relationship model;

[0148] The processors are ranked based on current operating frequencies.

[0149] In one embodiment, the grading module 530 is specifically used to make the processor that has undergone preliminary grading and packaging operate in the target working mode, and obtain the output values ​​of the M target oscillators on the processor that has undergone preliminary grading at a second preset working temperature and a preset working voltage; wherein the second preset working temperature is greater than the first preset temperature;

[0150] Predicting the current operating frequency of the preliminary classified processor based on the output values ​​of the M target oscillators and the established relationship model;

[0151] The processors are ranked based on current operating frequencies.

[0152] In one implementation, the acquisition module 510 is further configured to record, for each test processor of each performance level, a target mapping relationship between an operating voltage and an operating frequency of each test processor at the performance level;

[0153] The grading module 530 is specifically configured to determine the performance grade of the processor according to the current operating frequency and the target mapping relationship.

[0154] Based on the same inventive concept, the present disclosure also proposes a control unit, which is deployed on a system-level chip, and the system-level chip also includes a plurality of processors after the performance grading method mentioned above and a memory; the memory stores the performance levels of the plurality of processors and the voltage-frequency mapping relationship of the processors of each performance level; the system-level chip is deployed on a board; the board also has a power management module;

[0155] The control unit is used to read the performance levels of multiple processors and the voltage-frequency mapping relationship of processors of each performance level from the memory on the system-level chip, and determine the operating voltages of the multiple processors based on the read information and the expected operating frequency; send voltage provision information to the power management module so that the power management module provides the operating voltage for each processor according to its performance level.

[0156] In one embodiment, the control unit is also used to send voltage adjustment information to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor when it is detected that the current operating frequency of any processor does not match the current workload, so that the power management module adjusts the voltage for the processor according to its performance level.

[0157] In a specific embodiment, Figure 5 The present disclosure also provides a graphics processing system, which at least includes:

[0158] GPU core, the GPU core in the graphics processing system can be understood as the processor in the general system-level chip mentioned above, which is used to process commands, such as drawing commands, and execute the image rendering pipeline according to the drawing commands. Among them, the GPU core mainly includes a computing unit, which is used to execute the instructions compiled by the shader. It is a programmable module composed of a large number of ALUs; Cache (memory), which is used to cache the data of the GPU core to reduce the access to the memory; controller (not shown in the figure). In addition, the GPU core also has a variety of functional modules, such as rasterization (a fixed stage of the 3D rendering pipeline), Tilling (slicing a frame in the TBR and TBDR GPU architecture), cropping (a fixed stage of the 3D rendering pipeline, cropping out the primitives outside the observation range or not displayed on the back), post-processing (scaling, cropping, rotating, etc. of the drawn image), etc.

[0159] General DMA is used to perform data movement between host memory and GPU graphics card memory. For example, for 3D drawing, general DMA moves vertex data from host memory to GPU graphics card memory.

[0160] On-chip network, used for data exchange between masters and slaves on the SOC;

[0161] The control unit is used to schedule the tasks of each module on the SOC. For example, after the GPU renders a frame of image, it notifies the application processor, and the application processor then starts the display controller to display the image drawn by the GPU on the screen. In addition, the control unit is also used to execute the processor power supply method mentioned above to control the power supply to each GPU core.

[0162] PCIe controller is used to communicate with the host, implement PCIe protocol, and connect GPU graphics card to the host through PCIe interface. Graphics API and graphics card driver are running on the host;

[0163] Memory controller, used to connect memory devices and save data on SOC;

[0164] Display controller, used to control the output of the frame buffer in the memory to the display via the display interface (HDMI, DP, etc.);

[0165] Video decoder, used to decode the encoded video on the host hard disk into a displayable picture.

[0166] The video encoder is used to encode the original video code stream on the host hard disk into a specified format and return it to the host.

[0167] Based on the same inventive concept, the embodiment of the present disclosure also provides an electronic component, which includes the graphics processing system described in any of the above embodiments. In some usage scenarios, the product form of the electronic component is embodied as a graphics card; in other usage scenarios, the product form of the electronic component is embodied as a CPU motherboard. The electronic component is also equipped with a power control module for receiving information sent by the control unit on the graphics processing system to power the GPU core on the graphics processing system.

[0168] Based on the same inventive concept, the disclosed embodiment also provides an electronic device, which includes the above-mentioned electronic components. In some usage scenarios, the product form of the electronic device is a portable electronic device, such as a smart phone, a tablet computer, a VR device, etc.; in some usage scenarios, the product form of the electronic device is a personal computer, a game console, etc.

[0169] Although the preferred embodiments of the present disclosure have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present disclosure.

[0170] Obviously, those skilled in the art can make various changes and modifications to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, if these modifications and variations of the present disclosure fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is also intended to include these modifications and variations.

Claims

1. A processor performance grading method, wherein N ring oscillators are deployed on the processor; For each test processor among the plurality of test processors, the test processor is operated in a target operating mode to obtain an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages; Determine M target oscillators based on the operating frequencies of all test processors and the output value of each ring oscillator on all test processors under the combinations of the multiple operating temperatures and operating voltages; the target oscillators are the M ring oscillators most relevant to the operating frequency changes of the test processors among the N ring oscillators; A regression algorithm is used to establish a relationship model between the output values ​​of M target oscillators and the operating frequency of the processor, and the output values ​​of the M target oscillators and the regression algorithm relationship model are used to perform performance grading on the processors to be graded; wherein, The method of using the output values ​​of M target oscillators and the regression algorithm relationship model to perform performance grading on the processor to be graded includes: making the unpackaged processor to be graded operate under the target working mode, obtaining the output values ​​of the M target oscillators on the processor to be graded at a first preset working temperature and a preset working voltage; predicting the current working frequency of the processor to be graded based on the output values ​​of the M target oscillators and the established relationship model; grading the processor based on the current working frequency; making the processor that has been preliminarily graded and packaged operate under the target working mode, obtaining the output values ​​of the M target oscillators on the processor to be graded at a second preset working temperature and the preset working voltage; wherein the second preset working temperature is greater than the first preset temperature; predicting the current working frequency of the processor to be graded based on the output values ​​of the M target oscillators and the established relationship model; grading the processor based on the current working frequency.

2. The method according to claim 1, further comprising: For any working mode among several working modes, making several test processors respectively operate in the working mode, and applying pressure to the several test processors so that the several test processors respectively operate at a target working frequency; Obtaining the minimum voltage required for each test processor to run at the target operating frequency under the plurality of operating modes; A target operating mode is determined according to the minimum voltage required for each test processor to run at the target operating frequency, and the target operating mode is the operating mode with the greatest operating pressure on the processor.

3. The method according to claim 2, wherein determining the target operating mode according to the minimum voltage required for each test processor to run at the target operating frequency comprises: Determine an average value of the minimum voltage required for each test processor to run at the target operating frequency in each operating mode; The working mode with the largest mean is determined as the target working mode.

4. The method according to claim 2, wherein for any one of the plurality of working modes, the plurality of test processors are respectively operated in the working mode, and the plurality of test processors are pressurized so that the plurality of test processors are respectively operated at a target working frequency, comprising: For any working mode among several working modes, several test processors are respectively operated in the working mode, and several test processors are pressurized and heated so that several test processors are respectively operated to target working frequencies at multiple temperatures.

5. The method of claim 2, wherein the plurality of test processors include processors of different process corner types.

6. The method according to claim 1, wherein the plurality of test processors include processors of different performance levels; and when for each of the plurality of test processors, the test processor is operated in a target operating mode, and the operating frequency of the test processor and the output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages are obtained, the method further comprises: For each test processor of each performance level, record the target mapping relationship between the operating voltage and the operating frequency of each test processor at that performance level; The grading of the processor based on the current operating frequency includes: The performance level of the processor is determined according to the current operating frequency and the target mapping relationship.

7. A processor power supply method, applied to a control unit on a system-on-chip, the system-on-chip further comprising a plurality of processors graded according to the performance grading method of claim 1 and a memory; the memory stores the performance grades of the plurality of processors and the voltage-frequency mapping relationship of the processors of each performance grade; The system-level chip is deployed on a board; The board is also provided with a power management module; the method comprises: Reading performance levels of multiple processors and voltage-frequency mapping relationships of processors of each performance level from a memory on the system-on-chip, and determining operating voltages of the multiple processors based on the read information and expected operating frequencies; The voltage supply information is sent to the power management module, so that the power management module provides the operating voltage for each processor according to its performance level.

8. The method according to claim 7, further comprising: When it is detected that the current operating frequency of any processor does not match the current workload, voltage adjustment information is sent to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor, so that the power management module adjusts the voltage for the processor according to its performance level.

9. A processor performance grading device, wherein N ring oscillators are deployed on the processor; the device comprises: an acquisition module, configured to enable each test processor among the plurality of test processors to operate in a target operation mode, and acquire an operating frequency of the test processor and an output value of each ring oscillator on the test processor under a combination of multiple operating temperatures and operating voltages; A determination module, configured to determine M target oscillators based on the operating frequencies of all test processors and the output values ​​of each ring oscillator on all test processors under the combinations of the multiple operating temperatures and operating voltages; the target oscillators are the M ring oscillators most relevant to the operating frequency changes of the test processors among the N ring oscillators; A grading module, used for establishing a relationship model between the output values ​​of M target oscillators and the operating frequency of the processor by using a regression algorithm, so that the unpackaged processor to be graded operates under the target operating mode, and obtaining the output values ​​of the M target oscillators on the processor to be graded at a first preset operating temperature and a preset operating voltage; Predicting the current operating frequency of the processor to be classified based on the output values ​​of the M target oscillators and the established relationship model; and classifying the processor based on the current operating frequency; The processor that has been preliminarily graded and packaged is operated in the target operating mode, and the output values ​​of the M target oscillators on the preliminarily graded processor are obtained at a second preset operating temperature and a preset operating voltage; wherein the second preset operating temperature is greater than the first preset temperature; based on the output values ​​of the M target oscillators and the established relationship model, a current operating frequency of the preliminarily graded processor is predicted; and the processor is graded based on the current operating frequency.

10. The apparatus according to claim 9, further comprising: The working mode identification module is used for making a plurality of test processors respectively operate in any working mode among the plurality of working modes, applying pressure to the plurality of test processors so that the plurality of test processors respectively operate at a target working frequency; and obtaining a minimum voltage required for each test processor to operate at the target working frequency under the plurality of working modes; A target operating mode is determined according to the minimum voltage required for each test processor to run at the target operating frequency, and the target operating mode is the operating mode with the greatest operating pressure on the processor.

11. The device according to claim 10, The working mode identification module is specifically used to determine the average value of the minimum voltage required for each test processor to run to the target working frequency in each working mode; and determine the working mode with the largest average value as the target working mode.

12. According to the device according to claim 10, the working mode identification module is specifically used to make the several test processors operate in any of the several working modes, respectively, and to pressurize and heat the several test processors so that the several test processors can operate to the target working frequency at multiple temperatures.

13. The apparatus according to claim 10, wherein the plurality of test processors include processors of different process corner types.

14. The device according to claim 10, wherein the acquisition module is further used to record, for each test processor of each performance level, a target mapping relationship between an operating voltage and an operating frequency of each test processor at the performance level; The grading module is specifically used to determine the performance level of the processor according to the current operating frequency and the target mapping relationship.

15. A control unit, deployed on a system-level chip, the system-level chip further comprising a plurality of processors graded based on the performance grading method according to claim 1 and a memory; the memory stores the performance grades of the plurality of processors and the voltage-frequency mapping relationship of the processors of each performance grade; the system-level chip is deployed on a board; A power management module is also deployed on the board; The control unit is used to read the performance levels of multiple processors and the voltage-frequency mapping relationship of processors of each performance level from the memory on the system-level chip, and determine the operating voltages of the multiple processors respectively based on the read information and the expected operating frequency; The voltage supply information is sent to the power management module, so that the power management module provides the operating voltage for each processor according to its performance level.

16. The control unit according to claim 15, The control unit is also used to send voltage adjustment information to the power management module based on the performance level of the processor and the voltage-frequency mapping relationship corresponding to the performance level of the processor when it is detected that the current operating frequency of any processor does not match the current workload, so that the power management module adjusts the voltage for the processor according to its performance level.

17. A graphics processing system, comprising the control unit according to any one of claims 15-16.

18. An electronic assembly comprising the graphics processing system according to claim 17.

19. An electronic device comprising the electronic component according to claim 18.