MULTI-CLUSTER PROCESSING SYSTEM AND METHOD OF OPERATING THE SAME
A multi-cluster processing system and a method of operating a multi-cluster processing system are provided. The multi-cluster processing system includes: a first cluster including a plurality of first-type cores: a second cluster including a plurality of second-type cores; and a control unit configured to monitor loads of the first-type cores and the second-type cores, wherein when utilization of at least one of enabled first-type cores exceeds a predetermined threshold utilization of each of the first-type cores, the control unit enables at least one of disabled first-type cores in a first mode, and the control unit enables at least one of the disabled second-type cores and disables the first cluster in a second mode, wherein an amount of computation per unit of time of each of the second-type cores is greater than an amount of computation per unit of time of each of the first-type cores.
Latest Samsung Electronics Patents:
This application claims priority from Korean Patent Application No. 10-2012-0064450 filed on Jun. 15, 2012 in the Korean Intellectual Property Office, the disclosure of which is incorporated herein by reference in its entirety.
BACKGROUND1. Field
Apparatuses and methods consistent with exemplary embodiments relate to multi-cluster processing.
2. Description of the Related Art
Increasing portability and performance of electronic devices have led to introduction of processors having a multi-cluster to reduce power consumption of the electronic devices.
An example model, which uses the multi-cluster, is a switching model. In the switching model, if power is supplied to all multi-cores included in the cluster during an operation, power consumption may be excessive.
SUMMARYAspects of one or more exemplary embodiments may provide a multi-cluster processing system, which has reduced power consumption during operation.
Aspects of one or more exemplary embodiments may also provide a method of operating a multi-cluster processing system, which has reduced power consumption during operation.
However, the inventive concept is not restricted to the aspects of the exemplary embodiments set forth herein. The above and other aspects of the exemplary embodiments will become more apparent to one of ordinary skill in the art to which the exemplary embodiments pertain by referencing the detailed description given below.
According to an aspect of an exemplary embodiments, there is provided a multi-cluster processing system comprising: a first cluster including a plurality of first-type cores; a second cluster comprising a plurality of second-type cores; and a control unit which enables at least one disabled first-type cores, among the first-type cores, when a first event occurs, and the control unit which disables all enabled first-type cores, among the first-type cores and enables at least one of the disabled second-type cores, when a second event occurs, different from the first event, wherein an amount of computation per unit of time of each of the second-type cores is greater than an amount of computation per unit of time of each of the first-type cores.
According to an aspect of another exemplary embodiments, there is provided a method of operating a multi-cluster processing system, the method including: providing a little cluster which includes n first cores and a big cluster which includes n second cores, where n is a natural number, disabling m first cores, among k enabled first cores, when a number of threads to be processed is reduced by m, where m is a natural number smaller than n, and m≦k<n; and disabling all of the k enabled first cores and enabling k second cores, among the n second cores, when utilization of one of the k enabled first cores exceeds a predetermined threshold utilization, wherein an amount of computation per unit of time of each of the n second cores is greater than an amount of computation per unit of time of each of the n first cores.
According to an aspect of still another exemplary embodiment, there is provided a multi-cluster processing system including: a first cluster including a plurality of first-type cores; a second cluster including a plurality of second-type cores; a policy determining unit which determines a policy based on one of a low power scheduling policy and a high power scheduling policy, and outputs the determined policy; and a power management unit which enables or disables the first-type cores and the second-type cores based on the determined policy received from the policy determining unit, wherein an amount of computation per unit of each of the second-type cores is greater than an amount of computation per unit of each of the first-type cores.
The above and other aspects of the exemplary embodiments will become more apparent with reference to the attached drawings, in which:
Advantages and features of the inventive concept may be understood more readily by reference to the following detailed description of the exemplary embodiments and the accompanying drawings. The inventive concept may, however, be embodied in many different forms and should not be construed as being limited to the exemplary embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the inventive concept to those skilled in the art, and the inventive concept will only be defined by the appended claims. In the drawings, the thickness of layers and regions are exaggerated for clarity.
The use of the terms “a,” “an,” “the,” and similar references in the context of describing the exemplary embodiments (especially in the context of the following claims) are to be construed to cover both the singular and the plural, unless otherwise indicated herein or clearly contradicted by context. The terms “comprising,” “having,” “including,” and “containing” are to be construed as open-ended terms (i.e., meaning “including, but not limited to,”) unless otherwise noted.
It will be understood that, although the terms first, second. etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another element. Thus, for example, a first element, a first component or a first section discussed below could be termed a second element, a second component or a second section without departing from the teachings of the exemplary embodiments.
The term “unit” or “module”, as used herein, means, but is not limited to, a software or hardware component, such as a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), which performs certain tasks. A unit or module may advantageously be configured to reside in the addressable storage medium and configured to execute on one or more processors. Thus, a unit or module may include, by way of example, components, such as software components, object-oriented software components, class components and task components, processes, functions, attributes, procedures, subroutines, segments of program code, drivers, firmware, microcode, circuitry, data, databases, data structures, tables, arrays, and variables. The functionality provided for in the components and units or modules may be combined into fewer components and units or modules or further separated into additional components and units or modules
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the exemplary embodiments belong. It is noted that the use of any and all examples, or exemplary terms provided herein is intended merely to better illuminate the exemplary embodiments and is not a limitation on the scope of the inventive concept unless otherwise specified. Further, unless defined otherwise, all terms defined in generally used dictionaries may not be overly interpreted.
Referring to
The first cluster 200 may be disposed within a processor 100. The first cluster 200 may include n (in is a natural number) first cores 250. In the present specification, for ease of description, a case where the first cluster 200 includes four (i.e., n=4) first cores 210 through 240 will be described as an example. However, embodiments are not limited to this case.
The second cluster 300 may also be disposed within the processor 100 and include n second cores 350. The first cluster 200 and the second cluster 300 can be disposed in a single chip. As shown in
In
In addition, in
In the current embodiment, the first cluster 200 may be, e.g., a little cluster, and the second cluster 300 may be, e.g., a big cluster. In other words, the amount of computation per unit of time of each of the first cores 250 included in the first cluster 200 may be smaller than the amount of computation per unit of time of each of the second cores 350 included in the second cluster 300. Therefore, the amount of computation time may be smaller when all first cores 250 included in the first cluster 200 are enabled to perform operations than when all second cores 350 included in the second cluster 300 are enabled to perform operations. Further, embodiments may also make each of the first cores 250, included in the first cluster 200, consume less power than each of the second cores 350, included in the second cluster 300.
In the current embodiment, (1-1)th through (1-4)th cores 210 through 240 included in the first cluster 200 may perform the same amount of computation per unit of time, and (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300 may perform the same amount of computation per unit of time. For example, if the amount of computation per unit of time of each of the (1-1)th through (1-4)th cores 210 through 240 is 10, the amount of computation per unit of time of each of the (2-1)th through (2-4)th cores 310 through 340 may be 40). Based on this assumption, the operation of the multi-cluster processing system according to the current embodiment will hereinafter be described. However, embodiments are not limited to this assumption. Although not included in the following description, features that can be readily modified by those of ordinary skill in the art to which the embodiments pertain may be included in the scope of the embodiments.
The control unit 400 may enable or disable the first cluster 200 and the second cluster 300 as desired. Specifically, when an operation needs to be performed by the first cluster 200, the control unit 400 may enable the first cluster 200 and disable the second cluster 300. Conversely, when an operation needs to be performed by the second cluster 300, the control unit 400 may enable the second cluster 300 and disable the first cluster 200. In addition, when a required amount of computation can be fully processed by the (1-1)th core 210 of the first cluster 200, the control unit 400 may enable the first cluster 200 and disable the second cluster 300. Even within the first cluster 200, the control unit 400 may enable the (1-1)th core 210 and disable the (1-2)th through (1-4)th cores 220 through 240. In other words, the control unit 400, according to the current embodiment, may determine whether to enable the entire first cluster 200 and the entire second cluster 300. Also, the control unit 400 may determine whether to enable each of the (1-1)th through (1-4)th cores 210 through 240 included in the first cluster 200 and each of the (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300.
In some embodiments, as shown in the drawing, the control unit 400 may be, for example, a power management unit. In other words, when the control unit 400, according to the current embodiment, enables the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200 and 300, it may denote that the control unit 400 operates the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200 and 300 by supplying power to them. In addition, when the control unit 400 disables the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200 and 300, it may denote that the control unit 400 inactivates the operation of the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200 and 300 by shutting off the power supply. A case where the control unit 400, according to the current embodiment, is a power management unit will hereinafter be described. However, embodiments are not limited to this case, and the configuration of the control unit 400 can be changed as desired. Although not shown in the drawing, in some embodiments, the control unit 400 may enable or disable the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200 and 300 by transmitting an enable signal or a disable signal to them.
Hereinafter, the operation of the multi-cluster processing system shown in
For an easier description of operating characteristics of the multi-cluster processing system according to the current embodiment, the multi-cluster processing system may be assumed to initially be in such a state that the (1-1)th core 210 and the (1-2)th core 220 included in the first cluster 200 are enabled while the (1-3)th core 230 and the (1-4)th core 240 included in the first cluster 200 and the (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300 are disabled. However, this is merely an example. As long as one of ordinary skill in the art to which the embodiments pertain understand the technical spirit of the embodiments described below, they can made any modifications to this example.
Referring to
Specifically, referring to
Referring back to
Specifically, referring to
Referring back to
Specifically, referring to
Referring back to
Specifically, referring to
In the current embodiment, when enabling the second cluster 300, the control unit 400 may enable a number of the second cores 350 equal to the number of the enabled first cores 250. In other words, the control unit 400 may enable not all of the second cores 350 included in the second cluster 300 but may enable a number of the second cores 350 corresponding to the number of the enabled first cores 250. In the example of
In summary, the control unit 400 of the multi-cluster processing system, according to the current embodiment, determines whether to enable or disable the first cores 250 included in the first cluster 200 in view of the number of threads to be processed and the idle time of each of enabled first cores 250. In addition, the control unit 400 determines whether to enable or disable the first cluster 200 and the second cluster 300 in view of the utilization of each of the enabled first cores 250. When disabling the first cluster 200 and enabling the second cluster 300, the control unit 400 enables a number of the second cores 350 equal to the number of the enabled first cores 250. As described above, the multi-cluster processing system, according to the current embodiment, enables and operates only a required number of the first cores 250 or the second cores 350 to process the required computation amount. Therefore, the multi-cluster processing system can avoid an unnecessary waste of power, thereby reducing power consumption during operation.
Hereinafter, a multi-cluster processing system, according to another embodiment, will be described with reference to
Referring to
The first cluster 200 may be disposed within a processor 100. The first cluster 200 may include n (n is a natural number) first cores 250. For ease of description, a case where the first cluster 200 includes four (i.e., n=4) first cores 210 through 240 will be described.
The second cluster 300 may also be disposed within the processor 100 and include n second cores 350. As shown in
In the current embodiment, as described above, the first cluster 200 may be, e.g., a little cluster, and the second cluster 300 may be, e.g., a big cluster. Therefore, the amount of computation per unit of time of each of the first cores 250 included in the first cluster 200 may be smaller than the amount of computation per unit of time of each of the second cores 350 included in the second cluster 300. Here, (1-1)th through (1-4)th cores 210 through 240 included in the first cluster 200 may perform the same amount of computation per unit of time, and (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300 may perform the same amount of computation per unit of time.
The control unit 400 may enable or disable the first cluster 200 and the second cluster 300 as desired. Specifically, the control unit 400 may determine whether to enable the entire first cluster 200 and the entire second cluster 300. Also, the control unit 400 may determine whether to enable each of the (1-1)th through (1-4)th cores 210 through 240 included in the first cluster 200 and each of the (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300. In the current embodiment, as shown in the drawing, the control unit 4100 may be, for example, a power management unit. However, in some other embodiments, the control unit 400 may be modified to enable or disable the first and second clusters 200 and 300 and/or the cores 210 through 240 and 310 through 340 included in the first and second clusters 200) and 300 by transmitting an enable signal or a disable signal to them.
The control unit 400, according to the current embodiment, may control the first cluster 200 and the second cluster 300 in different ways according to a mode determined by the mode decision unit 600. In other words, the operation of the control unit 400, when the mode determined by the mode decision unit 600 is a low power scheduling mode LOW POWER for minimizing power consumption, may be different from the operation of the control unit 400, when the mode determined by the mode decision unit 600 is a high performance scheduling mode HIGH SPEED for maximizing system performance.
The mode decision unit 600 may determine the mode of the multi-cluster processing system. Specifically, the mode decision unit 600 may determine any one of the low power scheduling mode LOW POWER, for minimizing power consumption, and the high performance scheduling mode HIGH SPEED, for maximizing system performance. The mode determined by the mode decision unit 600 may change in real time, according to the system operating environment, or may be fixed by a user at the initial operation of the multi-cluster processing system.
Hereinafter, the operation of the multi-cluster processing system shown in
For an easier description of operating characteristics of the multi-cluster processing system according to the current embodiment, the multi-cluster processing system may be assumed to initially be in such a state that the (1-1)th core 210 and the (1-2)th core 220 included in the first cluster 200 are enabled while the (1-3)th core 230 and the (1-4)th core 240 included in the first cluster 200 and the (2-1)th through (2-4)th cores 310 through 340 included in the second cluster 300 are disabled. However, this is merely an example. As long as one of ordinary skill in the art to which the embodiments pertain understands the technical spirit of the embodiments described below, they can make any modifications to this example.
Referring to
Referring to
Referring to
Specifically, referring to
In this case, the control unit 400, according to the current embodiment, may not disable the first cluster 200 or enable the second cluster 300. Instead, the control unit 400 may additionally enable a first core 250 included in the first cluster 200. In
In other words, when the operation mode of the multi-cluster processing system is the low power scheduling mode LOW POWER, the control unit 400 operates the multi-cluster processing system by additionally enabling a first core 250, which consumes less power than a second core 350, since the amount of computation per unit of time of the first core 250 is smaller than that of the second core 350.
Referring back to
Specifically, referring to
In some embodiments, the control unit 400 may operate in a different way than
As shown in
As described above, the multi-cluster processing system, according to the current embodiment, enables and operates only a required number of the first cores 250 or the second cores 350 to process the amount of computation required based on the determined system mode. Therefore, the multi-cluster processing system can avoid an unnecessary waste of power, thereby reducing power consumption during operation.
Referring to
The processor system 914 may execute programs and control the electronic system 900. The multi-cluster processing system, according to any one of the above-described embodiments, can be employed in the processor system 914.
The RAM 916 can be used as an operation memory of the processor system 914. In some embodiments, the processor system 914 and the RAM 916 may be included in one package.
The user interface 918 may be used to input or output data to/from the electronic system 900. When the multi-cluster processing system, according to any one of the above-described embodiments, is employed in the processor system 914, a user may determine a mode of the multi-cluster processing system (e.g., a low power scheduling mode or a high performance scheduling mode) through the user interface 918.
The memory system 912 may store codes for operating the processor system 914, data processed by the processor system 914, or data input from an external source. The memory system 912 may include a controller and a memory and may be configured as a memory card.
The electronic system 900 can be applied to electronic controllers of various electronic devices. For example, the electronic system 900 can be applied to a mobile system, a personal computer, an industrial computer, or a logic system performing various functions. For example, the mobile system may be any one of a personal digital assistant (PDA), a portable computer, a web tablet a mobile phone, a wireless phone, a laptop computer, a memory card, a digital music system, and an information transmission/reception system. When the electronic system 900 is equipment that can perform wireless communication, it can be used in a communication system, such as Code Division Multiple Access (CDMA). Global System for Mobile communication (GSM), North American Digital Cellular (NADC), Enhanced-Time Division Multiple Access (E-TDMA), Wideband CDMA (WCDMA), CDMA-2000, etc.
In the detailed description, those skilled in the art will appreciate that many variations and modifications can be made to the above exemplary embodiments without substantially departing from the principles of the inventive concept. Therefore, the above exemplary embodiments are used in a generic and descriptive sense only and not for purposes of limitation.
Claims
1. A multi-cluster processing system comprising:
- a first cluster comprising a plurality of first-type cores;
- a second cluster comprising a plurality of second-type cores; and
- a control unit configured to monitor loads of the first-type cores and the second-type cores,
- wherein when utilization of at least one of enabled first-type cores exceeds a predetermined threshold utilization of each of the first-type cores, the control unit enables at least one of disabled first-type cores in a first mode, and the control unit enables at least one of the disabled second-type cores and disables the first cluster in a second mode,
- wherein an amount of computation per unit of time of each of the second-type cores is greater than an amount of computation per unit of time of each of the first-type cores.
2. The multi-cluster processing system of claim 1, wherein in the second mode, the control unit enables only a portion of disabled second-type cores and disables the first cluster.
3. The multi-cluster processing system of claim 1, wherein the first cluster and the second cluster are disposed in a single chip.
4. The multi-cluster processing system of claim 1, wherein when the multi-cluster processing system is in a low power mode, the control unit is in the first mode.
5. The multi-cluster processing system of claim 1, wherein when the multi-cluster processing system is in a high performance mode, the control unit is in the second mode.
6. The multi-cluster processing system of claim 1, wherein in the second mode, the control unit enables a first number of the second-type cores in the second cluster and disables a second number of the first-type cores in the first cluster,
- wherein the first number is less than the second number.
7. The multi-cluster processing system of claim 1, wherein in the second mode, the control unit enables a first number of the second-type cores in the second cluster and disables a second number of the first-type cores in the first cluster,
- wherein the first number is equal to the second number.
8. The multi-cluster processing system of claim 4, wherein the control unit receives a low power mode signal from a mode decision unit.
9. The multi-cluster processing system of claim 5, wherein the control unit receives a high performance mode signal from a mode decision unit.
10. The multi-cluster processing system of claim 1, wherein the control unit further monitors an idle time of each of the first-type cores and compares the idle time with the predetermined threshold time of each of the first-type cores, and wherein the control unit disables at least one of the first-type cores which has an idle time exceeding the predetermined threshold time.
11. A method of operating a multi-cluster processing system, the method comprising:
- providing a first cluster which comprises a plurality of first-type cores and a second cluster which comprises a plurality of second-type cores;
- disabling at least one of enabled first-type cores when utilization of at least one of the enabled first-type cores exceeds a predetermined threshold utilization of each of the first-type cores and the multi-cluster processing system is in a first mode; and
- disabling the first cluster and enabling at least one of disabled second-type cores when utilization of at least one of the enabled first-type cores exceeds the predetermined threshold utilization of each of the first-type cores and the multi-cluster processing system is in a second mode,
- wherein an amount of computation per unit of time of each of the second-type cores is greater than an amount of computation per unit of time of each of the first-type cores.
12. The method of claim 11, further comprising:
- monitoring an idle time of each of the first-type cores and comparing the idle time with the predetermined threshold time of each of the first-type cores,
- disabling at least one of the first-type cores which has an idle time exceeding the predetermined threshold time.
13. The method of claim 11, wherein the first mode is a low power mode.
14. The method of claim 11, wherein the second mode is a high performance mode.
15. The method of claim 11, wherein the disabling the first cluster and enabling at least one of disabled second-type cores comprise disabling the first cluster and enabling only a portion of disabled second-type cores.
16. The method of claim 11, wherein the disabling the first cluster and enabling at least one of disabled second-type cores comprise disabling a second number of the first-type cores in the first cluster and enabling a first number of the second-type cores in the second cluster,
- wherein the first number is less than the second number.
17. The method of claim 11, wherein the disabling the first cluster and enabling at least one of disabled second-type cores comprise disabling a second number of the first-type cores in the first cluster and enabling a first number of the second-type cores in the second cluster,
- wherein the first number is equal to the second number.
18. The processing system of claim 1, wherein the first-type cores each perform a same amount of computation per unit of time, and the second-type cores each perform a same amount of computation per unit of time.
Type: Application
Filed: Mar 13, 2013
Publication Date: Dec 19, 2013
Patent Grant number: 9043629
Applicant: SAMSUNG ELECTRONICS CO., LTD. (Suwon-si)
Inventor: Eui-Youl RYU (Yongin-si)
Application Number: 13/798,681
International Classification: G06F 1/32 (20060101);