Specifying processor having secure core and opportunistic core

By identifying and allocating insurance cores and opportunistic cores in the processor and dynamically adjusting the frequency, the problem of increased power consumption under multi-threaded workloads is solved, achieving higher multi-threaded performance and lower power consumption.

CN118535522APending Publication Date: 2024-08-23INTEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311858207.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2023-12-29
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The increased power consumption of modern processors under multi-threaded workloads can lead to glitches, failures and thermal events, limiting the number of cores and multi-threaded performance in a product.

Method used

Adopting multi-core processors, by identifying and allocating safe cores and opportunistic cores, using power controllers and hardware feedback circuits to execute workloads within specified power and thermal budgets, dynamically adjusting core frequencies to manage power consumption, and providing information to the operating system Core identification information to optimize thread scheduling.

Benefits of technology

It is possible to increase the number of product cores and multi-thread performance in a restricted environment, reduce power consumption, avoid thermal events, and dynamically manage core resources to improve processor efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535522A
    Figure CN118535522A
Patent Text Reader

Abstract

The disclosure relates to specifying a processor having a secure core and an opportunistic core. In one embodiment, a processor includes: a plurality of cores to execute instructions; and a non-volatile memory coupled to the plurality of cores to store identification information about the plurality of cores, the identification information for identifying a core as a secure core or an opportunistic core for each of the plurality of cores. The processor is designated to have a first subset of the plurality of cores including an insurance type core and a second subset of the plurality of cores including an opportunistic type core, and to execute a designated workload on the first subset of the plurality of cores at a first performance level within a designated power budget and a designated thermal budget. Other embodiments are described and claimed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to specifying a processor having insurance cores and opportunistic cores. Background Art

[0002] Modern processors can be manufactured with a large number of cores. Power consumption becomes an issue because with all cores running multithreaded workloads, power consumption can increase undesirably, which can lead to malfunctions, failures, and thermal events if not managed.

[0003] The power dissipation of worst-case real-world workloads limits the number of cores in a product, since performance (frequency) is guaranteed by manufacturing to be within a specified power range for such workloads. As a result, multithreaded performance is limited by the number of processor cores in a package. Summary of the invention

[0004] According to one embodiment of the present disclosure, a processor is provided, comprising: a plurality of cores for executing instructions; and a non-volatile memory coupled to the plurality of cores to store identification information about the plurality of cores, the identification information being used to identify the core as a safety core or an opportunistic core for each of the plurality of cores, wherein: the processor is designated as having a first subset of the plurality of cores including safety cores and a second subset of the plurality of cores including opportunistic cores; and the processor executes a specified workload on the first subset of the plurality of cores at a first performance level within a specified power budget and a specified thermal budget.

[0005] According to one embodiment of the present disclosure, a method is provided, comprising: identifying, via the processor, to an operating system a first core subset including insurance cores and a second core subset including opportunistic cores, wherein the processor includes the first core subset and the second core subset; receiving from the operating system at least one first thread for execution on one or more cores in the first core subset and at least one second thread for execution on one or more cores in the second core subset; and executing the at least one first thread on one or more cores in the first core subset, and executing the at least one second thread on one or more cores in the second core subset.

[0006] According to one embodiment of the present disclosure, a computer program product is provided, comprising instructions, which, when executed by a processor, enable the processor to perform the above method.

[0007] According to one embodiment of the present disclosure, a system is provided, comprising: a processor, the processor comprising: a first plurality of cores for executing instructions, the first plurality of cores comprising insurance cores designated to execute a guaranteed workload within the constraints of the processor; a second plurality of cores for executing instructions, the second plurality of cores comprising opportunistic cores designated to execute a workload with a complexity less than the guaranteed workload; a power controller for controlling the delivery of an operating voltage and an operating frequency to the first plurality of cores and the second plurality of cores; and a control circuit coupled to the first plurality of cores and the second plurality of cores, the control circuit being used to provide hardware feedback information about the first plurality of cores and the second plurality of cores, the control circuit being used to allocate a hardware feedback structure to store the hardware feedback information and core identification information, the core identification information being used to identify the insurance core and the opportunistic core, at least one hardware feedback structure being accessible by an operating system; and a system memory coupled to the processor, the system memory being used to store the hardware feedback structure.

[0008] According to one embodiment of the present disclosure, a device is provided, comprising: a device for identifying a first core subset including insurance cores and a second core subset including opportunistic cores to an operating system; a device for receiving from the operating system at least one first thread for execution on one or more cores in the first core subset and at least one second thread for execution on one or more cores in the second core subset; and a device for executing the at least one first thread on one or more cores in the first core subset and executing the at least one second thread on one or more cores in the second core subset. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 is a block diagram of a computing system according to an embodiment.

[0010] Figure 2 is a block diagram of a system on chip according to an embodiment.

[0011] Figure 3 is a flow chart of a method according to an embodiment.

[0012] Figure 4 is a flow chart of a method according to another embodiment.

[0013] Figure 5 An example computing system is shown.

[0014] Figure 6 A block diagram of an example processor is shown in accordance with an embodiment.

[0015] Figure 7 is a block diagram of a processor core according to an embodiment. DETAILED DESCRIPTION

[0016] In various embodiments, a processor with multiple cores can be manufactured with a variety of different core types. These different core types can provide a range of performance and power efficiency because different core models can have different microarchitectures and capabilities and operate at different power consumption levels.

[0017] Additionally, due to manufacturing variations, some cores may be manufactured with higher performance than other similarly configured cores. It is also possible that one or more cores of a processor may not function properly due to manufacturing defects. During manufacturing testing and characterization activities, various cores may be analyzed to identify their relative performance capabilities, functional correctness, etc.

[0018] Based at least in part on such information, a processor stock keeping unit (SKU) can be established for the processor, in which a first subset of cores can be identified as so-called "base" or "safety" cores. Herein, the terms "base" and "safety" are used interchangeably to refer to cores or other processing circuits that are designated as threads that can be used to execute workloads (even including worst-case workloads). That is, these cores are designated so that the worst-case real-world workload (the so-called guaranteed or thermal design power (TDP) workload) can operate at a specified operating frequency (the so-called guaranteed frequency), and the processor is guaranteed by designation to operate within its design limits (e.g., the so-called TDP power level or other specified power level and thermal constraints) and all safety cores are working.

[0019] In addition, the processor includes a second subset of cores identified as so-called "turbo" or "opportunistic" cores. Herein, the terms "turbo" and "opportunistic" are used interchangeably to refer to cores or other processing circuits that are designated as available for executing workload threads when there is available margin (e.g., power and / or thermal margin). For example, such margin may exist for low-complexity workloads that have lower computational and power consumption requirements than worst-case workloads. Thus, less complex applications may be assigned to opportunistic cores. Further note that the term "turbo core" should not be confused with so-called "turbo frequencies," in which cores or other processing circuits are allowed to operate at a frequency higher than a guaranteed frequency when there is available margin.

[0020] With such a processor configuration, more multi-threaded performance can be achieved when workloads operate within lower power envelopes. In addition, product differentiation is achieved between different processor SKUs because a single processor that is designed and manufactured can be placed into multiple SKUs with different numbers of insurance and opportunistic cores specified. For example, processors manufactured from the dies of a single wafer can be specified as different SKUs with different numbers of insurance and opportunistic cores. In this way, a processor SKU with a larger number of insurance cores can be sold at a higher value than a processor SKU with a smaller number of insurance cores. Note that these different processor SKUs may have the same circuitry, but based on manufacturing testing and characterization, can be placed into different SKUs.

[0021] In various embodiments, the identification of a core as insurance type or opportunistic type may be disclosed to an operating system (OS) and / or an application so that this information can be used when scheduling workloads onto various cores. Note that opportunistic cores are not guaranteed to always be available. For example, when there are processor constraints (e.g., thermal constraints, power constraints, etc.), the hardware circuitry of the processor may first reduce the operating frequency of any active opportunistic cores to reduce or eliminate the constraints. If the constraints continue to exist, the hardware circuitry may then communicate with the OS / application to indicate that one or more of the opportunistic cores are no longer available for scheduling. When it is determined that an opportunistic core is to be discarded, the processor hardware may communicate with the OS to discard / stop using these cores. The frequency of these opportunistic cores may also be simply reduced to a low level by performing a periodic pause (duty cycle) to control heat. In this case, the OS may observe this periodic pause and therefore move the work on its own.

[0022] Through embodiments, product core counts and multithreading capabilities can be increased, thereby achieving higher performance in constrained environments. In addition, embodiments can enable monetization of dark silicon without forcing downranges that would otherwise allow the use of currently existing cores.

[0023] Reference now Figure 1 , shows a block diagram of a system according to an embodiment. Figure 1 As shown, computing system 100 may be any type of computing device, ranging from relatively small devices (e.g., smartphones) to larger devices (including laptop computers, desktop computers, server computers, etc.). Figure 1At a high level shown, system 100 includes a processor implemented as a SoC 110, although other processor implementations are possible. As shown, processor SoC 110 is coupled to memory 150 (e.g., dynamic random access memory (DRAM)) as system memory, and non-volatile memory 160, which in different embodiments may be implemented as flash memory, a disk drive, etc. It is understood that the term "system on chip" or "SoC" should be broadly interpreted as an integrated circuit having one or more semiconductor dies implemented in a package, whether a single die, multiple dies on a common substrate, or multiple dies at least some of which have a stacked relationship. Therefore, as used herein, such a SoC is contemplated as including separate chiplets, cores and / or tiles, and the terms "system in a package" and "SiP" are interchangeable with system on chip and SoC.

[0024] Regarding SoC 110, multiple cores are included. In the specific embodiment shown, there are two different core types, namely, first cores 1120-112n (so-called efficiency cores (E cores)) and second cores 1140-n (so-called performance cores (P cores)). As further shown, SoC 110 includes a graphics processing unit (GPU) 120, and GPU 120 includes multiple execution units (EU) 1220-n. In one or more embodiments, the first core 112 and the second core 114 and / or GPU 120 can be implemented on separate tube cores. In an embodiment, cores 112 and 114 can be classified as insurance cores or opportunistic cores, for example, based on reliability testing. Note that the designation of insurance cores or opportunistic cores is not necessarily based on different core types. In various embodiments, cores of each of these types can be designated as insurance and opportunistic categories, for example, randomly, or more likely based on manufacturing time testing and characterization of core capabilities. Therefore, the designated insurance core can include one or more of the first core 112 and the second core 114. Similarly, the designated opportunistic cores may include one or more of the first core 112 and the second core 114 .

[0025] After designation, the core identification information may be persistently stored within the SoC 110. To this end, the SoC 110 includes a non-volatile memory 146 in which the core identification information 148 may be stored. Although the embodiment is not limited thereto, the non-volatile memory 146 may be implemented as a fuse memory. The core identification information 148 may be stored in a table or list form, in which each core is identified as a safe core or an opportunistic core.

[0026] These various computing elements are coupled to additional components of SoC 110, including shared cache memory 125, which in an embodiment may be a last level cache (LLC) having a distributed architecture. In addition, memory controller 130 is present along with power controller 135, which may be implemented as a hardware control circuit, which may be a dedicated microcontroller that executes instructions, such as instructions stored on a non-transitory storage medium (e.g., firmware instructions). In other cases, power controller 135 may have different portions distributed across one or more available cores.

[0027] Still reference Figure 1 , SoC 110 also includes a hardware control circuit 140 independent of the power controller 135. In various embodiments herein, the hardware control circuit 140 may be configured to monitor operating conditions, for example, using one or more monitors 142. Based at least in part on the monitored operating conditions, a hardware feedback circuit 144 of the hardware control circuit 140 may maintain hardware feedback information that may dynamically indicate processor capabilities, such as regarding performance and efficiency. In addition, the hardware feedback information may include core identification information to identify whether the core is insurance-type or opportunistic. In one embodiment, the hardware feedback circuit 144 may update information present in an interface structure stored in the memory 150. Specifically, a hardware feedback interface (HFI) 152 may be stored in the memory 150, which includes information about the efficiency and performance levels of various cores and core-specified identification (e.g., insurance-type or opportunistic).

[0028] When the information is updated, the hardware control circuit 140 can communicate with the OS 162, for example, via an interrupt. As shown, the NVM 160 can store the OS 162, various applications, drivers, and other software (generally identified at 164), and one or more virtualization environments 166 (generally identified as VMM / VM 166). In one example, the communication of the hardware feedback information to the OS 162 can be implemented at least in part in the hardware feedback circuit 144. Thread Director technology.

[0029] It should be understood that although Figure 1 The embodiments of the present invention are shown at this high level, but many variations and alternatives are possible, and other implementations of the SoC 100 may likewise incorporate the embodiments. For example, depending on the market segment, the SoC may include only a single type of core, rather than a mixed product with heterogeneous core types. In addition, there may be more or different types of accelerators. For example, in addition to or in place of a GPU, the SoC may include a direct stream accelerator (DSA), a field programmable gate array (FPGA), or other accelerator.

[0030] Reference now Figure 2 , shows a block diagram of a SoC according to another embodiment. More specifically, as Figure 2 As shown, SoC200 is a multi-core processor, including a first plurality of cores 2100-n and a second plurality of cores 2150-m. In one or more embodiments, the first core 210 can be implemented as a performance core, because they can include a larger amount of circuits (and wider and deeper pipelines) to perform more advanced calculations in a performance manner. In contrast, the second core 215 can be configured as a smaller core that consumes less power, and can perform calculations in a more efficient manner (e.g., relative to power) than the first core 210. In some implementations, the first core 210 can be referred to as a P core (for performance core), and the second core 215 can be referred to as an E core (for efficiency core). Note that different numbers of first cores and second cores can exist in different implementations. And as described herein, different numbers of insurance cores and opportunistic cores can be specified for the first core and the second core. To this end, a core identification information 275 indicating that the core is classified as insurance type or opportunistic can be stored in the non-volatile memory 270.

[0031] like Figure 2 As further shown in , cache memory 230 may be implemented as a shared cache memory arranged in a distributed manner. In one or more embodiments, cache memory 230 may be an LLC with a distributed implementation, where one or more memory banks are associated with each core.

[0032] As further shown, GPU 220 may include a media processor 222 and a plurality of EUs 224. Graphics processor 220 may be configured to efficiently perform graphics or other operations that may be broken down for execution on parallel processing units such as EUs 224.

[0033] Still reference Figure 2 There are various interface circuits 240 to implement interfaces with other components of the system. Although the embodiments are not limited in this regard, such interface circuits may include a peripheral component interconnect express (PCIe) interface, one or more Thunderbolt TM interface, Gaussian and Neural Accelerator (GNA) coprocessor, etc. As further shown, the processor 200 includes a display controller 250 and an image processing unit (IPU) 255 .

[0034] As further shown, SoC 200 also includes memory 260, which may provide memory controller functionality for interfacing with system memory such as DRAM. Figure 2The embodiments of are shown at this high level, but many variations and alternatives are possible. Note that in this implementation, such as Figure 1 The power controller 135 and the separate power controller circuits such as the hardware control circuit 140 are not shown separately. Depending on the implementation, such components may be separate circuits present within the SoC 200, or the function may be performed by one or more of the first and / or second cores or other processing units.

[0035] In embodiments herein, SoC 200 may be configured to maintain updated hardware feedback information about first core 210 and second core 215, for example, based on one or more environmental conditions (e.g., power or thermal events). In turn, the control circuitry may notify the OS through an interface about the hardware feedback information, which may be used by the OS scheduler to schedule threads of a given workload to the appropriate core type and core designation.

[0036] Reference now Figure 3 , a flow chart of a method according to an embodiment is shown. More specifically, method 300 is a manufacturing time process performed during manufacturing testing and specification of a processor according to an embodiment. Method 300 can be performed by hardware circuits including a manufacturing test system and additional manufacturing components alone and / or in combination with firmware and / or software.

[0037] As shown, method 300 begins by performing manufacturing testing of a processor core (block 310). Of course, manufacturing testing of other processor components may also occur. Such manufacturing testing of the core may include running various workloads at different frequencies and / or voltages to evaluate the functionality of the core. Given tight manufacturing tolerances, it is possible that one or more cores in the processor may not operate correctly during this functional testing, or may not operate within a target (e.g., a power target, where the core operates at too high a power consumption for a given operating frequency, or may not operate properly at a given performance / frequency level), and therefore these cores may be identified as unavailable or non-existent (so-called dark silicon).

[0038] Additionally, as a result of this testing, the relative performance of the cores can be ranked. This is the case because, depending on manufacturing variations, some cores may have higher performance than other cores of the same core type. In different scenarios, multiple processor performance levels or ranges may be identified for the cores, and the cores may be assigned to these different performance ranges. This identification may occur for different core types present in a processor with heterogeneous cores (e.g., performance and efficiency cores).

[0039] Still reference Figure 3Next, at block 320, a given core combination may be selected for workload testing. The workload test may be a TDP workload, where the cores are configured to operate within guaranteed frequency and voltage levels. It should be understood that the selection process at block 320 may be based on a given selection algorithm, which is iteratively executed to ensure that Figure 3 Every possible combination of available cores is tested during the iterative testing described in .

[0040] Next, at block 330, a guaranteed workload (i.e., a TDP workload) is executed on the selected core combination. In other cases, another type of workload suitable for performing power consumption measurements may be used. During such a test, at block 340, power consumption information for the core combination may be measured and stored. For example, metrics regarding peak power consumed, total power consumed, average power consumption, etc. may be maintained and stored. At the end of the test, it is next determined whether there are additional combinations to be tested (diamond 350). If so, control returns to block 320.

[0041] Still reference Figure 3 , when it is determined that all available combinations have been tested, control is transferred to box 360. Here, an identification process is performed to place the available cores into different classes. Specifically, the cores can be divided into insurance cores and opportunistic cores. The identification process can be based at least in part on the relative performance and power consumption information of the cores. For example, higher performance cores (based on manufacturing tests in box 310) can be identified as insurance cores, while cores with lower performance capabilities (e.g., with respect to frequency capabilities) can be identified as opportunistic cores. Next, in box 370, this identification of insurance cores and opportunistic cores can be stored in a non-volatile memory of the processor. For example, this information can be stored in a set of fuses written during manufacturing.

[0042] Therefore, at this point, processor manufacturing can be completed with information stored in the processor to identify the core as an insurance core or an opportunistic core. This information can be used to place the manufactured processor into a given SKU. Therefore, this given designation of insurance cores and opportunistic cores can be utilized when marketing and selling cores. In turn, it can be guaranteed that the user of the processor uses all insurance cores up to the TDP level when executing workloads. However, in many cases, the user may execute workloads that do not have such high power consumption levels. In this case, the processor can dynamically enable the execution of lower-impact workloads on insurance cores and additionally on at least some opportunistic cores.

[0043] Reference now Figure 4, which is a flow chart of a method according to another embodiment. More specifically, method 400 is a method for operating a processor having insurance cores and opportunistic cores. Therefore, method 400 can be executed by a hardware circuit of a processor, such as a power controller alone and / or in combination with firmware and / or software.

[0044] As shown, method 400 begins by exposing the identification of insurance cores and opportunistic cores to the operating system (box 410). For example, the power controller can access the non-volatile memory of the processor including the identification information and provide it to the OS via a given interface. Although the embodiments are not limited in this regard, in one or more embodiments, the interface can be a hardware structure that stores the identification information of the insurance cores and opportunistic cores. Such an interface can also provide additional information to the OS. For example, the interface can further provide information about the relative performance of the cores (which can be dynamically updated during processor operation) and the relative efficiency of the cores (which can also be dynamically updated). In a specific implementation, this interface may be Thread Director Interface. Such an interface may be implemented at least in part in a data structure stored in memory, including potentially in one or more cache memories of a processor.

[0045] Still reference Figure 4 , next in box 420, workload threads can be received for execution on at least one insurance core and at least one opportunistic core. In some cases, the scheduler of the OS can provide these threads for execution, as well as an identification of whether the thread is executed on an insurance core or an opportunistic core. Therefore, in response to this information, the thread can be directed to the identified core for execution. However, note that although the OS can place a given thread to a given core, the processor hardware may make the core available or unavailable. The processor hardware has no role in thread placement other than providing availability hints to the OS. If the OS does not notice the hint, the performance of the insurance core or the hardware may periodically suspend the opportunistic core to a low frequency to minimize power at the expense of performance.

[0046] During such execution, the power controller monitors power consumption to ensure that the processor remains within specified thresholds. While there may be multiple thresholds at which different power management techniques may occur, for the purposes of this discussion it is assumed that there is at least one threshold at which power management activities may occur in a prioritized manner. For example, power management activities may be applied to opportunistic cores first, and only if such power management activities do not result in power consumption being reduced to within a threshold level, further power management activities may be applied to insurance cores.

[0047] Therefore, if Figure 4As shown in diamond 430, it is determined whether the power consumption exceeds a threshold level. Although the embodiments are not limited in this regard, the threshold level may be a TDP level. If the power consumption exceeds this level, control passes to box 440, in which the frequency of one or more opportunistic cores may be reduced. After this reduction and further monitoring of power consumption, it is determined at diamond 450 whether the power consumption still exceeds the threshold level. If not, no further power management activities may occur, and execution may continue on the insurance core and one or more opportunistic cores.

[0048] Still reference Figure 4 , otherwise, if it is determined that the power consumption level still exceeds the threshold, control proceeds to box 460, in which a prompt is provided to the OS to exit the opportunistic core. The prompt can be provided to the OS through a hardware interface. In one example implementation, the performance field of the interface of the opportunistic core can be cleared to null or a zero value to indicate the prompt. For some OS, thermal injection can be performed to remove the core from use and perform insertion when heat is allowed again. In another case, the prompt can be indicated by implementing periodic pauses of the core, and the OS will recognize the periodic pauses and move the workload to the insurance core. It should be understood that this hint may cause the OS scheduler to stop scheduling threads to the identified opportunistic cores and / or cause the scheduler to migrate currently executing threads from these cores.

[0049] However, it is to be understood that in some implementations this hint is only a hint and the OS scheduler may choose to ignore it. In such a case, and assuming that power consumption continues to exceed a given threshold and / or a thermal event is occurring (where the measured temperature of the processor (or portion thereof) exceeds a threshold level), additional power management activities may occur. For example, an opportunistic core may be inhibited so that minimal forward progress occurs (which in turn may cause the OS scheduler to migrate threads away from the opportunistic core). Such inhibition may be performed in particular when the OS scheduler has already scheduled the associated thread to an opportunistic core.

[0050] Still reference Figure 4 Next, at block 470, if it is determined that the power consumption still exceeds the threshold level, the frequency of one or more insurance cores may be further reduced. If the power consumption continues to exceed the threshold level after the frequency of the insurance core is reduced, control passes to box 480, in which a prompt may be provided to the OS for discarding the insurance core.

[0051] Despite Figure 4The embodiments are shown at this high level, but it is to be understood that many variations and alternatives are possible. For example, additional power management activities may be performed, including dynamic voltage and frequency scaling, and hardware power management, in which one or more cores are forcibly prevented from continuing to execute a workload to allow the temperature of the processor to decrease.

[0052] Figure 5 An example computing system is shown. Multiprocessor system 500 is an interface system and includes multiple processors or cores, including a first processor 570 and a second processor 580 coupled via an interface 550 (e.g., a point-to-point (PP) interconnect, structure and / or bus). In some examples, the first processor 570 and the second processor 580 are isomorphic. In some examples, the first processor 570 and the second processor 580 are heterogeneous. Although example system 500 is shown as having two processors, the system can have three or more processors, or can be a single processor system. In some examples, the computing system is a SoC.

[0053] Processors 570 and 580 are shown to include integrated memory controller (IMC) circuits 572 and 582, respectively. Processor 570 also includes interface circuits 576 and 578; similarly, second processor 580 includes interface circuits 586 and 588. Processors 570, 580 can exchange information via interface 550 using interface circuits 578, 588. IMCs 572 and 582 couple processors 570, 580 to respective memories, namely memory 532 and memory 534, which can be portions of main memory locally attached to the respective processors. Processors 570, 580 include a mix of insurance cores and opportunistic cores, as described herein.

[0054] Each of the processors 570, 580 can exchange information with a network interface (NW I / F) 590 via a separate interface 552, 554 using interface circuits 576, 594, 586, 598. The network interface 590 (e.g., one or more of an interconnect, bus, and / or fabric, and in some examples a chipset) can optionally exchange information with a coprocessor 538 via interface circuit 592. In some examples, the coprocessor 538 is a special-purpose processor, such as a high-throughput processor, a network or communication processor, a compression engine, a graphics processor, a general-purpose graphics processing unit (GPGPU), a neural network processing unit (NPU), an embedded processor, etc.

[0055] A shared cache (not shown) may be included in processors 570, 580, or may be included outside the two processors but connected to the processors via an interface such as a PP interconnect, so that if the processors are in a low power mode, local cache information of one or both processors may be stored in the shared cache.

[0056] The network interface 590 can be coupled to the first interface 516 via the interface circuit 596. In some examples, the first interface 516 can be an interface such as a peripheral component interconnect (PCI) interconnect, a PCI Express interconnect, or another I / O interconnect. In some examples, the first interface 516 is coupled to a power control unit (PCU) 517, which can include circuits, software, and / or firmware for performing power management operations with respect to the processors 570, 580, and / or the coprocessor 538. The PCU 517 provides control information to a voltage regulator (not shown) so that the voltage regulator generates an appropriate regulated voltage. The PCU 517 also provides control information to control the generated operating voltage. In various examples, the PCU 517 may include various power management logic units (circuits) for performing hardware-based power management. Such power management can be completely controlled by the processor (e.g., controlled by various processor hardware and can be triggered by workload and / or power, thermal or other processor constraints) and / or can be performed in response to an external source (e.g., a platform or power management source or system software).

[0057] PCU 517 is illustrated as existing as logic separate from processor 570 and / or processor 580. In other cases, PCU 517 may execute on a given core or cores (not shown) of processor 570 or 580. In some cases, PCU 517 may be implemented as a microcontroller (dedicated or general purpose) or other control logic configured to execute its own dedicated power management code (sometimes referred to as P-code). In other examples, the power management operations to be performed by PCU 517 may be implemented external to the processor, such as by a separate power management integrated circuit (PMIC) or another component external to the processor. In other examples, the power management operations to be performed by PCU 517 may be implemented within BIOS or other system software.

[0058] Various I / O devices 514 can be coupled to the first interface 516 along with a bus bridge 518, which couples the first interface 516 to the second interface 520. In some examples, one or more additional processors 515, such as a coprocessor, a high-throughput multi-integrated core (MIC) processor, a GPGPU, an accelerator (e.g., a graphics accelerator or a digital signal processing (DSP) unit), a field programmable gate array (FPGA), or any other processor, are coupled to the first interface 516. In some examples, the second interface 520 can be a low pin count (LPC) interface. Various devices can be coupled to the second interface 520, including, for example, a keyboard and / or mouse 522, a communication device 527, and a storage circuit 528. The storage circuit 528 can be one or more non-transitory machine-readable storage media as described below, such as a disk drive or other mass storage device that can include instructions / code and data 530. In addition, an audio I / O 524 can be coupled to the second interface 520. Note that other architectures besides the point-to-point architecture described above are also possible. For example, instead of a point-to-point architecture, a system such as multiprocessor system 500 may implement a multi-point interface or other such architecture.

[0059] Example core architectures, processors, and computer architectures.

[0060] Processor cores can be implemented in different ways, for different purposes, and in different processors. For example, implementations of such cores may include: 1) a general-purpose in-order core intended for general-purpose computing; 2) a high-performance general-purpose out-of-order core intended for general-purpose computing; 3) a dedicated core intended for graphics and / or scientific (throughput) computing. Implementations of different processors may include: 1) a CPU that includes one or more general-purpose in-order cores intended for general-purpose computing and / or one or more general-purpose out-of-order cores intended for general-purpose computing; and 2) a coprocessor that includes one or more dedicated cores intended primarily for graphics and / or scientific (throughput) computing. Such different processors lead to different computer system architectures, which may include: 1) a coprocessor on a chip separate from the CPU; 2) a coprocessor on a separate die in the same package as the CPU; 3) a coprocessor on the same die as the CPU (in this case, such a coprocessor is sometimes referred to as dedicated logic, such as integrated graphics and / or scientific (throughput) logic, or as a special purpose core); and 4) a system on a chip (SoC), which may be included on the same die as the CPU (sometimes referred to as an application core or application processor), the above-mentioned coprocessor, and additional functions. An example core architecture is described next, followed by a description of example processor and computer architectures.

[0061] Figure 6A block diagram of an example processor and / or SoC 600 that may have one or more cores and an integrated memory controller is shown. The solid lined boxes illustrate the processor 600 having a single core 602(A), a system agent unit circuit 610, and a collection of one or more interface controller unit circuits 616, while the optional addition of the dashed lined boxes illustrates an alternative processor 600 having multiple cores 602(A)-(N), a collection of one or more integrated memory controller unit circuits 614 in the system agent unit circuit 610, and dedicated logic 608, and a collection of one or more interface controller unit circuits 616. Note that the processor 600 may be Figure 5 one of the processors 570 or 580, or the coprocessors 538 or 515.

[0062] Thus, different implementations of processor 600 may include: 1) a CPU, where dedicated logic 608 is integrated graphics and / or scientific (throughput) logic (which may include one or more cores, not shown), and cores 602(A)-(N) are one or more general purpose cores (e.g., general purpose in-order cores, general purpose out-of-order cores, or a combination of both, where, depending on the embodiment, these cores may include a mix of insurance-type cores and opportunistic cores); 2) a coprocessor, where cores 602(A)-(N) are a large number of dedicated cores primarily for graphics and / or scientific (throughput); and 3) a coprocessor, where cores 602(A)-(N) are a large number of general purpose in-order cores. Thus, processor 600 may be a general purpose processor, a coprocessor, or a special purpose processor, such as a network or communication processor, a compression engine, a graphics processor, a GPGPU (general purpose graphics processing unit), a high throughput multi-integrated core (MIC) coprocessor (including 30 or more cores), an embedded processor, etc. The processor may be implemented on one or more chips. Processor 600 may be part of and / or implemented on one or more substrates using any of a variety of process technologies, such as complementary metal oxide semiconductor (CMOS), bipolar CMOS (BiCMOS), P-type metal oxide semiconductor (PMOS), or N-type metal oxide semiconductor (NMOS).

[0063] The memory hierarchy includes one or more levels of cache cell circuitry 604(A)-(N) within the cores 602(A)-(N), a collection of one or more shared cache cell circuitry 606, and external memory (not shown) coupled to a collection of circuitry 614 of an integrated memory controller unit. The collection of one or more shared cache cell circuitry 606 may include one or more mid-level caches, such as level 2 (L2), level 3 (L3), level 4 (L4), or other levels of cache, such as a last level cache (LLC), and / or combinations thereof. While in some examples, an interface network circuitry 612 (e.g., a ring interconnect) interfaces with dedicated logic 608 (e.g., integrated graphics logic), the collection of shared cache cell circuitry 606, and the system agent unit circuitry 610, alternative examples use any number of well-known techniques to interface these units. In some examples, coherence is maintained between one or more of the shared cache cell circuitry 606 and the cores 602(A)-(N). In some examples, interface controller unit circuit 616 couples core 602 to one or more other devices 618, such as one or more I / O devices, memory, one or more communication devices (e.g., wireless network, wired network, etc.), etc.

[0064] In some examples, one or more of the cores 602(A)-(N) are capable of multithreading. System agent unit circuitry 610 includes those components that coordinate and operate the cores 602(A)-(N). System agent unit circuitry 610 may include, for example, power control unit (PCU) circuitry and / or display unit circuitry (not shown). The PCU may be or may include logic and components required to regulate the power state of the cores 602(A)-(N) and / or the dedicated logic 608 (e.g., integrated graphics logic). The display unit circuitry is used to drive one or more externally connected displays.

[0065] The cores 602(A)-(N) may be homogeneous in terms of instruction set architecture (ISA). Alternatively, the cores 602(A)-(N) may be heterogeneous in terms of ISA; that is, a subset of the cores 602(A)-(N) may be capable of executing an ISA, while other cores may be capable of executing only a subset of that ISA or another ISA, and the cores may include a mix of insurance-type cores and opportunistic cores as described herein.

[0066] Figure 7A processor core 790 is shown, which includes a front end unit circuit 730 coupled to an execution engine unit circuit 750, and both are coupled to a memory unit circuit 770. The core 790 can be a reduced instruction set architecture computing (RISC) core, a complex instruction set architecture computing (CISC) core, a very long instruction word (VLIW) core, or a hybrid or alternative core type. Depending on the implementation, the processor core 790 can represent a given insurance type or an opportunistic core according to an embodiment. As another option, the core 790 can be a dedicated core, such as a network or communication core, a compression engine, a coprocessor core, a general purpose computing graphics processing unit (GPGPU) core, a graphics core, etc.

[0067] The front end unit circuit 730 may include a branch prediction circuit 732, which is coupled to an instruction cache circuit 734, which is coupled to an instruction translation lookaside buffer (TLB) 736, which is coupled to an instruction fetch circuit 738, which is coupled to a decoding circuit 740. In one example, the instruction cache circuit 734 is included in the memory unit circuit 770 instead of the front end circuit 730. The decoding circuit 740 (or decoder) can decode the instruction and generate one or more micro-operations, microcode entry points, micro-instructions, other instructions or other control signals as output, which are decoded from the original instruction or otherwise reflect the original instruction or are derived from the original instruction. The decoding circuit 740 may further include an address generation unit (AGU, not shown) circuit. In one example, the AGU generates an LSU address using a forwarded register port, and may further perform branch forwarding (e.g., immediate offset branch forwarding, LR register branch forwarding, etc.). The decoding circuit 740 can be implemented using a variety of different mechanisms. Examples of suitable mechanisms include, but are not limited to, lookup tables, hardware implementations, programmable logic arrays (PLA), microcode read-only memories (ROMs), etc. In one example, core 790 includes a microcode ROM (not shown) or other medium storing microcode for certain macroinstructions (e.g., in decode circuitry 740 or within front-end circuitry 730). In one example, decode circuitry 740 includes a micro-op or operation cache (not shown) to hold / cache decode operations, micro-tags, or micro-ops generated during decode or other stages of processor pipeline 700. Decode circuitry 740 may be coupled to rename / allocator unit circuitry 752 in execution engine circuitry 750.

[0068] The execution engine circuit 750 includes a rename / allocator unit circuit 752 coupled to a retirement unit circuit 754 and a set of one or more scheduler circuits 756. The scheduler circuit 756 represents any number of different schedulers, including reservation stations, central instruction windows, and the like. In some examples, the scheduler circuit 756 may include an arithmetic logic unit (ALU) scheduler / scheduling circuit, an ALU queue, an address generation unit (AGU) scheduler / scheduling circuit, an AGU queue, and the like. The scheduler circuit 756 is coupled to a physical register file circuit 758. Each of the physical register file circuits 758 represents one or more physical register files, where different physical register files store one or more different data types, such as scalar integers, scalar floating points, packed integers, packed floating points, vector integers, vector floating points, status (e.g., an instruction pointer that is the address of the next instruction to be executed), and the like. In one example, the physical register file circuit 758 includes a vector register unit circuit, a write mask register unit circuit, and a scalar register unit circuit. These register units may provide architectural vector registers, vector mask registers, general purpose registers, etc. Physical register file circuitry 758 is coupled to retirement unit circuitry 754 (also referred to as a retirement queue) to illustrate various ways in which register renaming and out-of-order execution may be implemented (e.g., using a reorder buffer (ROB) and a retirement register file; using a future file, a history buffer, and a retirement register file; using a register map and a register pool; etc.). Retirement unit circuitry 754 and physical register file circuitry 758 are coupled to execution cluster 760. Execution cluster 760 includes a set of one or more execution unit circuits 762 and a set of one or more memory access circuits 764. Execution unit circuitry 762 may perform various arithmetic, logical, floating point, or other types of operations (e.g., shifts, additions, subtractions, multiplications) on various types of data (e.g., scalar integer, scalar floating point, packed integer, packed floating point, vector integer, vector floating point). While some examples may include multiple execution units or execution unit circuits dedicated to a particular function or set of functions, other examples may include only one execution unit circuit or multiple execution units / execution unit circuits that perform all functions. Scheduler circuit 756, physical register file circuit 758, and execution cluster 760 are shown as potentially multiple because some examples create separate pipelines for certain types of data / operations (e.g., a scalar integer pipeline, a scalar floating point / compressed integer / compressed floating point / vector integer / vector floating point pipeline, and / or a memory access pipeline, each with its own scheduler circuit, physical register file circuit, and / or execution cluster - and in the case of a separate memory access pipeline, some examples are implemented where only the execution cluster of that pipeline has a memory access unit circuit 764).It should also be understood that where separate pipelines are used, one or more of those pipelines may experience out-of-order issues / execution while the others are in-order.

[0069] In some examples, execution engine unit circuit 750 may perform a load store unit (LSU) address / data pipeline to an advanced microcontroller bus (AMB) interface (not shown), as well as address stage and writeback, data stage loads, stores, and branches.

[0070] The set of memory access circuits 764 are coupled to the memory cell circuit 770, which includes a data TLB circuit 772, which is coupled to a data cache circuit 774, which is coupled to a level 2 (L2) cache circuit 776. In one example, the memory access circuit 764 may include a load unit circuit, a storage address unit circuit, and a storage data unit circuit, each of which is coupled to the data TLB circuit 772 in the memory cell circuit 770. The instruction cache circuit 734 is further coupled to the level 2 (L2) cache circuit 776 in the memory cell circuit 770. In one example, the instruction cache 734 and the data cache 774 are combined into a single instruction and data cache in the L2 cache circuit 776, a level 3 (L3) cache circuit (not shown), and / or a main memory (not shown). The L2 cache circuit 776 is coupled to one or more other levels of cache and ultimately to the main memory.

[0071] The following examples are further embodiments.

[0072] In one example, a processor includes: a plurality of cores for executing instructions; and a non-volatile memory coupled to the plurality of cores. The non-volatile memory stores identification information about the plurality of cores, the identification information being used to identify the core as a safety core or an opportunistic core for each of the plurality of cores. The processor is designated to have a first subset of the plurality of cores including safety cores and a second subset of the plurality of cores including opportunistic cores, and the processor executes a specified workload on the first subset of the plurality of cores at a first performance level within a specified power budget and a specified thermal budget.

[0073] In the example, the processor further includes: at least one monitor circuit coupled to the multiple cores to measure power information and temperature information; and a hardware feedback circuit coupled to the at least one monitor circuit, the hardware feedback circuit being used to determine hardware feedback information including energy efficiency capabilities and performance capabilities of at least some of the multiple cores based at least in part on the power information and the temperature information.

[0074] In an example, the hardware feedback circuit is used to allocate at least one hardware feedback data structure to store the hardware feedback information and the identification information, the hardware feedback data structure being accessible by an operating system.

[0075] In an example, the identification information includes hint information for the operating system, the operating system to schedule one or more threads to one or more cores in the second subset of the plurality of cores based at least in part on the hint information.

[0076] In an example, in response to scheduling by the operating system, the processor is configured to execute a multi-threaded workload on one or more cores in a first subset of the multiple cores and one or more cores in a second subset of the multiple cores, the multi-threaded workload having a lower complexity than the specified workload.

[0077] In an example, the processor further comprises a power controller for reducing the frequency of at least one core in the second subset of the plurality of cores after the frequency of at least one core in the second subset of the plurality of cores is reduced.

[0078] In an example, the power controller is configured to transmit discard information to an operating system to instruct the operating system not to schedule threads to the second subset of the plurality of cores when the power consumption of the processor exceeds a first threshold.

[0079] In an example, the power controller is configured to periodically pause at least one core of the second subset of the plurality of cores when power consumption of the processor exceeds a first threshold.

[0080] In an example, the processor further includes one or more unavailable cores, the processor being configured to identify the first subset of the plurality of cores and the second subset of the plurality of subsets to an operating system and not identify the one or more unavailable cores to the operating system.

[0081] In an example, a method includes: identifying, via a processor, to an operating system a first core subset including insurance cores and a second core subset including opportunistic cores, the processor including the first core subset and the second core subset; receiving from the operating system at least one first thread for execution on one or more cores in the first core subset and at least one second thread for execution on one or more cores in the second core subset; and executing the at least one first thread on one or more cores in the first core subset, and executing the at least one second thread on one or more cores in the second core subset.

[0082] In the example, the method also includes: reducing the frequency of one or more cores in the second core subset when the processor constraint occurs; and after reducing the frequency of one or more cores in the second core subset, notifying the operating system that the processor constraint has occurred when the power consumption level of the processor exceeds a threshold.

[0083] In an example, the method further includes notifying the operating system that the processor constraint occurs when at least one of a power excursion or a temperature excursion has occurred.

[0084] In an example, notifying the operating system includes providing prompt information to indicate that the opportunistic core is unavailable.

[0085] In an example, providing the prompt information includes: updating the performance information of the opportunistic core to a zero value.

[0086] In an example, providing the hint information includes providing a discard hint to the operating system to indicate that the opportunistic core is unavailable.

[0087] In an example, the method further includes receiving at least one first thread and at least one second thread of a multi-threaded workload from the operating system, the multi-threaded workload having a lower complexity than the guaranteed workload, the processor being designated to execute the guaranteed workload on a first subset of the multiple cores within a guaranteed power budget and a guaranteed thermal budget.

[0088] In an example, the method further includes: allocating a hardware feedback structure; filling the hardware feedback structure with performance and efficiency information about the first subset of cores and the second subset of cores; filling the hardware feedback structure with identification information, the identification information being used to identify the first subset of cores as insurance cores and the second subset of cores as opportunistic cores; and disclosing to the operating system via the hardware feedback structure that the first subset of cores are insurance cores and the second subset of cores are opportunistic cores.

[0089] In another example, a computer readable medium includes instructions for executing the method of any one of the above examples.

[0090] In another example, a computer readable medium includes data to be used by at least one machine to fabricate at least one integrated circuit to perform the method of any of the above examples.

[0091] In another example, an apparatus includes means for performing the method of any one of the above examples.

[0092] In another example, a system includes: a processor and a system memory coupled to the processor, the system memory storing a hardware feedback structure. The processor includes: a first plurality of cores for executing instructions, the first plurality of cores including insurance cores designated to execute guaranteed workloads within the constraints of the processor; a second plurality of cores for executing instructions, the second plurality of cores including opportunistic cores designated to execute workloads with a complexity less than the guaranteed workload; a power controller for controlling the delivery of operating voltage and operating frequency to the first plurality of cores and the second plurality of cores; and a control circuit coupled to the first plurality of cores and the second plurality of cores, the control circuit for providing hardware feedback information about the first plurality of cores and the second plurality of cores, the control circuit for allocating a hardware feedback structure to store the hardware feedback information and core identification information, the core identification information for identifying insurance cores and opportunistic cores, and the at least one hardware feedback structure being accessible by an operating system.

[0093] In an example, the first plurality of cores includes heterogeneous core types.

[0094] In an example, the processor is used to: receive from the operating system at least one first thread for execution on one or more cores in the insurance cores and at least one second thread for execution on one or more cores in the opportunistic cores; execute the at least one first thread on one or more cores in the insurance cores, and execute the at least one second thread on one or more cores in the opportunistic cores; and in response to processor constraints, reduce the frequency of one or more cores in the opportunistic cores, and maintain the frequency of one or more insurance cores.

[0095] In another example, a device includes: a device for identifying to an operating system a first subset of core devices including insurance-type core devices and a second subset of core devices including opportunistic core devices, wherein a processing device includes the first subset of core devices and the second subset of core devices and is specified by the insurance-type core devices and the opportunistic core devices; a device for receiving from the operating system at least one first thread for execution on one or more core devices of the first subset of core devices and at least one second thread for execution on one or more core devices of the second subset of core devices; and a device for executing the at least one first thread on one or more core devices of the first subset of core devices, and a device for executing the at least one second thread on one or more core devices of the second subset of core devices.

[0096] In the example, the device also includes: a device for reducing the frequency of one or more core devices of the second subset of core devices; and after reducing the frequency of one or more core devices of the second subset of core devices, a device for notifying an operating system that processor constraints have occurred when the power consumption level of the processing device exceeds a threshold.

[0097] In an example, the apparatus further includes means for notifying an operating system that a processor constraint has occurred when at least one of a power excursion or a temperature excursion has occurred.

[0098] It is understood that various combinations of the above examples are possible.

[0099] Note that the terms "circuit" and "circuitry" are used interchangeably herein. As used herein, these terms and the term "logic" are used to refer to analog circuits, digital circuits, hard-wired circuits, programmable circuits, processor circuits, microcontroller circuits, hardware logic circuits, state machine circuits, and / or any other type of physical hardware components, either alone or in any combination. Embodiments may be used in many different types of systems. For example, in one embodiment, a communication device may be arranged to perform the various methods and techniques described herein. Of course, the scope of the present invention is not limited to communication devices, and instead, other embodiments may be directed to other types of devices for processing instructions, or one or more machine-readable media, including instructions that, in response to execution on a computing device, cause the device to perform one or more of the methods and techniques described herein.

[0100] Embodiments may be implemented in code and may be stored on a non-temporary storage medium on which instructions are stored that can be used to program a system to perform instructions. Embodiments may also be implemented in data and may be stored on a non-temporary storage medium that, if used by at least one machine, causes the at least one machine to manufacture at least one integrated circuit to perform one or more operations. Further embodiments may be implemented in a computer-readable storage medium that includes information that will configure the SoC or other processor to perform one or more operations when manufactured into the SoC or other processor. Storage media may include, but are not limited to, any type of disk, including a floppy disk, an optical disk, a solid-state drive (SSD), a compact disk read-only memory (CD-ROM), a compact disk rewritable memory (CD-RW) and a magneto-optical disk, a semiconductor device, such as a read-only memory (ROM), a random access memory (RAM) (such as a dynamic random access memory (DRAM), a static random access memory (SRAM)), an erasable programmable read-only memory (EPROM), a flash memory, an electrically erasable programmable read-only memory (EEPROM), a magnetic card or an optical card, or any other type of medium suitable for storing electronic instructions.

[0101] While the present disclosure has been described with respect to a limited number of implementations, those skilled in the art having the benefit of this disclosure will appreciate numerous modifications and variations thereof. The appended claims are intended to cover all such modifications and variations.

Claims

1. A processor, comprising: Multiple cores for executing instructions; as well as a non-volatile memory coupled to the plurality of cores to store identification information about the plurality of cores, the identification information being used to identify each of the plurality of cores as a safe core or an opportunistic core, wherein: The processor is designated to have a first subset of the plurality of cores including insurance cores and a second subset of the plurality of cores including opportunistic cores; and The processor executes a specified workload on a first subset of the plurality of cores at a first performance level within a specified power budget and a specified thermal budget.

2. The processor according to claim 1, further comprising: at least one monitor circuit coupled to the plurality of cores to measure power information and temperature information; as well as A hardware feedback circuit is coupled to the at least one monitor circuit, the hardware feedback circuit being configured to determine hardware feedback information including energy efficiency capabilities and performance capabilities of at least some of the plurality of cores based at least in part on the power information and the temperature information.

3. The processor according to claim 2, wherein: The hardware feedback circuit is used to allocate at least one hardware feedback data structure to store the hardware feedback information and the identification information, and the hardware feedback data structure can be accessed by an operating system.

4. The processor according to claim 3, wherein: The identification information includes hint information for the operating system, wherein the operating system is configured to schedule one or more threads to one or more cores in the second subset of the plurality of cores based at least in part on the hint information.

5. The processor according to claim 3, wherein: In response to the scheduling of the operating system, the processor is used to execute a multi-threaded workload on one or more cores in the first subset of the multiple cores and one or more cores in the second subset of the multiple cores, and the multi-threaded workload has a lower complexity than the specified workload.

6. The processor according to any one of claims 1 to 5, further comprising: A power controller is configured to reduce the frequency of at least one core in the second subset of the plurality of cores when the power consumption of the processor exceeds a first threshold.

7. The processor according to claim 6, wherein: The power controller is configured to transmit discard information to an operating system when the power consumption of the processor exceeds the first threshold, so as to instruct the operating system not to schedule threads to the second subset of the multiple cores.

8. The processor according to claim 6, wherein: The power controller is configured to periodically pause at least one core in the second subset of the plurality of cores when the power consumption of the processor exceeds the first threshold.

9. The processor of claim 2, wherein: The processor also includes one or more unavailable cores, the processor being configured to identify the first subset of the plurality of cores and the second subset of the plurality of subsets to an operating system and not identify the one or more unavailable cores to the operating system.

10. A method comprising: identifying, via the processor, to an operating system a first subset of cores including insurance cores and a second subset of cores including opportunistic cores, wherein the processor includes the first subset of cores and the second subset of cores; receiving from the operating system at least one first thread for execution on one or more cores in the first subset of cores and at least one second thread for execution on one or more cores in the second subset of cores; and The at least one first thread is executed on one or more cores in the first subset of cores, and the at least one second thread is executed on one or more cores in the second subset of cores.

11. The method according to claim 10, wherein: The method further comprises: When processor constraints occur, reducing the frequency of one or more cores in the second subset of cores; and After reducing the frequency of one or more cores in the second subset of cores, when the power consumption level of the processor exceeds a threshold, notifying the operating system that the processor constraint has occurred.

12. The method according to claim 11, wherein: The method also includes notifying the operating system that the processor constraint occurs when at least one of a power excursion or a temperature excursion has occurred.

13. The method according to claim 11, wherein: Notifying the operating system includes providing prompt information to indicate that the opportunistic core is unavailable.

14. The method according to claim 13, wherein: Providing the prompt information includes: updating the performance information of the opportunistic core to a zero value.

15. The method according to claim 13, wherein: Providing the prompt information includes: providing a discard prompt to the operating system to indicate that the opportunistic core is unavailable.

16. The method according to claim 10, wherein: The method also includes: receiving the at least one first thread and the at least one second thread of a multi-threaded workload from the operating system, the multi-threaded workload having a lower complexity than a guaranteed workload, and the processor is specified to execute the guaranteed workload on the first core subset within a guaranteed power budget and a guaranteed thermal budget.

17. The method according to claim 10, wherein: The method further comprises: Allocate hardware feedback structures; populating the hardware feedback structure with performance and efficiency information about the first subset of cores and the second subset of cores; populating the hardware feedback structure with identification information identifying the first subset of cores as the insurance cores and the second subset of cores as the opportunistic cores; and The first subset of cores is disclosed to the operating system via the hardware feedback structure as the insurance cores and the second subset of cores is the opportunistic cores.

18. A computer program product comprising instructions which, when executed by a processor, cause the processor to perform the method according to any one of claims 10 to 17.

19. A system comprising: A processor, the processor comprising: a first plurality of cores for executing instructions, the first plurality of cores comprising insurance cores designated to execute guaranteed workloads within constraints of the processor; a second plurality of cores for executing instructions, the second plurality of cores comprising opportunistic cores designated to execute workloads having a complexity less than the guaranteed workload; a power controller for controlling the delivery of operating voltage and operating frequency to the first plurality of cores and the second plurality of cores; and a control circuit coupled to the first plurality of cores and the second plurality of cores, the control circuit configured to provide hardware feedback information about the first plurality of cores and the second plurality of cores, the control circuit configured to allocate a hardware feedback structure to store the hardware feedback information and core identification information, the core identification information being used to identify the insurance core and the opportunistic core, at least one of the hardware feedback structures being accessible by an operating system; and A system memory is coupled to the processor, and is used to store the hardware feedback structure.

20. The system of claim 19, wherein: The first plurality of cores includes heterogeneous core types.

21. The system of claim 19, wherein: The processor is used to: receiving from the operating system at least one first thread for execution on one or more cores in the insurance cores and at least one second thread for execution on one or more cores in the opportunistic cores; Executing the at least one first thread on one or more cores of the insurance cores, and executing the at least one second thread on one or more cores of the opportunistic cores; as well as In response to a processor constraint, a frequency of one or more of the opportunistic cores is reduced, and a frequency of one or more insurance cores is maintained.

22. A device comprising: means for identifying to an operating system a first subset of cores including insurance cores and a second subset of cores including opportunistic cores; means for receiving from the operating system at least one first thread for execution on one or more cores in the first subset of cores and at least one second thread for execution on one or more cores in the second subset of cores; as well as Means for executing the at least one first thread on one or more cores in the first subset of cores and executing the at least one second thread on one or more cores in the second subset of cores.

23. The apparatus of claim 22, further comprising: means for reducing the frequency of one or more cores in said second subset of cores; as well as Means for notifying the operating system that processor constraint has occurred when the power consumption level of the processor exceeds a threshold.

24. The apparatus of claim 23, further comprising: Means for notifying the operating system that the processor constraint occurred when at least one of a power excursion or a temperature excursion has occurred.