Computing system and method for operating a computing system
By introducing ISA identifier, core selector and task allocator into the computing system, suitable core processing tasks are dynamically selected, which solves the problem in the existing technology of failing to effectively utilize the difference in core power performance efficiency of heterogeneous multi-core processors, and achieves Provides higher power performance efficiency and lower power consumption.
Patent Information
- Application Number
- CN201911044375.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-11-07
- Filing Date
- 2019-10-30
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2039-10-30
AI Technical Summary
Existing computing systems fail to effectively consider the differences in core power performance efficiency in heterogeneous multi-core processors when scheduling tasks, resulting in failure to fully reflect performance differences and affecting the power consumption and performance of the system.
By introducing the ISA identifier, core selector and task allocator, the ISA of the task is identified, and the core with the highest power performance efficiency is selected for task allocation based on the identified ISA, and the operating frequency of the core is dynamically adjusted to optimize power consumption and performance.
While maintaining computing system performance, the total power consumption of multi-core processors is reduced and the power performance efficiency of the system is improved.
Smart Images

Figure CN111158868B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] The entire contents of Korean Patent Application No. 10-2018-0135615, entitled “Computing System and Method for Operating Computing System” filed on November 7, 2018 in the Korean Intellectual Property Office are incorporated herein by reference. Technical Field
[0003] The exemplary embodiments relate to a computing system having a multi-core processor and a method for operating the computing system. More particularly, the exemplary embodiments relate to a task allocation method for operating the computing system. Background Art
[0004] The computing system may include a multi-core processor with heterogeneous multi-cores. For example, the heterogeneous multi-cores may respectively process tasks with different types of ISA (instruction set architecture). In addition, the heterogeneous multi-cores may process tasks with the same ISA. The heterogeneous multi-cores for processing tasks with the same ISA may include a core with high performance and high power consumption and another core with low performance and low power consumption.
[0005] In addition, depending on the operating conditions, the heterogeneous multi-cores of the multi-core processor may have different power efficiencies. For example, depending on the bit width of the ISA of the task, the heterogeneous multi-cores may have different power-performance efficiencies from each other. In other words, in the heterogeneous multi-cores, the power-performance efficiency of the heterogeneous multi-cores when the heterogeneous multi-cores execute 32-bit ISA tasks is different from the power-performance efficiency of the heterogeneous multi-cores when the heterogeneous multi-cores execute 64-bit ISA tasks. In addition, the power-performance efficiency of the heterogeneous multi-cores may change according to the change of the operating frequency. Since the scheduler in the operating system usually schedules tasks without considering the power-performance efficiency that varies according to the bit width of the ISA of the task, the performance differences between the heterogeneous multi-cores may not be fully reflected in the computing system with a multi-core processor. Summary of the invention
[0006] An embodiment relates to a computing system comprising: an ISA (instruction set architecture) identifier, which is used to identify the ISA of a task; a core selector, which selects a core with the highest power-performance efficiency among multiple cores based on the identified ISA; and a task allocator, which allocates the task to the selected core.
[0007] An embodiment relates to a computing system, which includes: a first type of core, the first type of core having a first maximum operating frequency; a second type of core, the second type of core having a second maximum operating frequency lower than the first maximum operating frequency; an ISA (instruction set architecture) identifier, the ISA identifier being used to identify the ISA of a task; a core selector, the core selector selecting the second type of core when the power-performance efficiency of the second type of core is higher than the power-performance efficiency of the first type of core, and selecting the first type of core when the power-performance efficiency of the first type of core is higher than the power-performance efficiency of the second type of core based on the identified ISA at an operating frequency lower than the second maximum operating frequency; and a task allocator, the task allocator allocating the task to the selected core.
[0008] An embodiment relates to a method for operating a computing system, the method comprising: identifying an ISA (instruction set architecture) of a task; selecting a core with the highest power performance efficiency among a plurality of cores based on the identified ISA; and assigning the task to the selected core. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] Features will become apparent to those skilled in the art by describing in detail exemplary embodiments with reference to the accompanying drawings, in which:
[0010] Figure 1 A computing system according to an exemplary embodiment is shown;
[0011] Figure 2 A computing system according to an exemplary embodiment is shown;
[0012] Figure 3 A computing system according to an exemplary embodiment is shown;
[0013] Figure 4 shows a graph for illustrating a power performance table according to an exemplary embodiment;
[0014] Figure 5 Combination Figure 4 The operation of a computing system according to an exemplary embodiment is shown;
[0015] Figure 6 shows a graph for illustrating a power performance table according to an exemplary embodiment;
[0016] Figure 7 Combination Figure 6 The operation of a computing system according to an exemplary embodiment is shown;
[0017] Figure 8 A method for operating a computing system according to an exemplary embodiment is shown; and
[0018] Fig. 9 A method for operating a computing system according to an exemplary embodiment is shown. DETAILED DESCRIPTION
[0019] Figure 1 A computing system according to an exemplary embodiment is shown. Figure 1 , the computing system 1 may include a scheduler 10 and a multi-core processor 20. For example, the computing system 1 may be implemented as a system on a chip (SoC).
[0020] The multi-core processor 20 may include multiple cores. The multiple cores may include heterogeneous multi-cores. For example, each of the multiple cores may be a single processing unit. Figure 1 , the multi-core processor 20 may include: first type cores B1 and B2 classified as a first type core group 200, and second type cores L1, L2, L3, and L4 classified as a second type core group 210. In another exemplary embodiment, the multi-core processor 20 may also include other types of core groups, and the number of core groups may be variable. In addition, the number of cores in each core group may also be variable.
[0021] In some embodiments, the multi-core processor 20 may have a big.LITTLE architecture (e.g., ARMbig.LITTLE). The big.LITTLE architecture may include large cores and small cores. For example, first type cores B1 and B2 may correspond to large cores in the big.LITTLE architecture. Second type cores L1, L2, L3, and L4 may correspond to small cores in the big.LITTLE architecture. Large cores may have high performance and high power consumption, and small cores may have low performance and low power consumption. In other words, large cores may refer to high-performance cores with high power consumption, and small cores may refer to low-performance cores with low power consumption. When large cores and small cores use the same memory area, large cores and small cores may receive tasks dynamically allocated according to operating conditions. For example, a method for scheduling tasks (e.g., cluster migration, intra-core switcher, heterogeneous multiprocessing) may be used to apply tasks to heterogeneous multi-cores (e.g., large cores and small cores).
[0022] The first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may be electrically connected to each other via a bus 290. In some embodiments, the bus 290 may be implemented as, for example, AXI (Advanced eXtensible Interface) based on AMBA (Advanced Microcontroller Bus Architecture).
[0023] The first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 of the multi-core processor 20 may have different power performance efficiencies. The power consumption of the first type cores B1 and B2 and the power consumption of the second type cores L1, L2, L3 and L4 may change according to the bit width of the ISA of the task and the operating frequency of the computing system 1. For example, when the first type cores B1 and B2 are high-performance cores with high power consumption and the second type cores L1, L2, L3 and L4 are low-performance cores with low power consumption, in order to maintain the same performance, the second type cores L1, L2, L3 and L4 may sometimes consume more power than the first type cores B1 and B2, depending on the bit width of the ISA of the task and the operating frequency of the computing system 1. Therefore, when a task is assigned to the multi-core processor 20 (including the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4), in order to reduce the total power consumption of the multi-core processor 20 and maintain the operation performance of the multi-core processor 20, the power consumption difference of the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 can be considered according to the bit width of the task and the operating frequency of the computing system 1. Figure 4 and Figure 6 further describing the power-performance efficiency of the first type cores B1 and B2 and the power-performance efficiency of the second type cores L1, L2, L3 and L4, Figure 4 The power performance table shows the tasks with 32-bit ISA, Figure 6 A power performance table for tasks with 64-bit ISA is shown.
[0024] The scheduler 10 may include an ISA identification module 100 , a core selection module 110 , and a task allocation module 120 , which are elements for allocating tasks to the multi-core processor 20 according to a change in the operating frequency of the computing system 1 in consideration of power consumption.
[0025] The ISA identification module 100 may identify the ISA (instruction set architecture) of the task. For example, the ISA identification module 100 may identify whether the ISA of the task is a 32-bit ISA or a 64-bit ISA, and may determine whether the task is a 32-bit task or a 64-bit task. The 32-bit ISA may include AArch32. The 64-bit ISA may include AArch64. In another exemplary embodiment, the ISA identification module 100 may identify whether the ISA of the task is an N-bit ISA or a 2N-bit ISA, where N is a natural number.
[0026] The core selection module 110 may select a core with the highest power performance efficiency from among the multiple cores of the multi-core processor 20 based on the ISA of the task (e.g., the number of bits of the ISA of the task) identified by the ISA identification module 100. For example, the core selection module 110 may select a core for processing a task according to a change in the operating frequency of the multi-core processor 20 in consideration of the power consumption of the multiple cores.
[0027] For example, when the ISA is a 32-bit ISA, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies from each other. For example, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies according to the operating frequency of the multi-core processor 20. For example, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies according to higher and lower operating frequencies. In addition, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies according to the number of bits of the ISA of the task. For example, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies according to 32-bit ISA and 64-bit ISA.
[0028] For example, when the ISA is a 64-bit ISA, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies from each other. On the other hand, when the ISA is a 64-bit ISA, the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 may have different power performance efficiencies that are different in trend from the 32-bit ISA. For example, the power performance efficiency of the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 when executing tasks with a 64-bit ISA therein may be different from the power performance efficiency of the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4 when executing tasks with a 32-bit ISA therein. The core selection module 110 may select the core with the highest power performance efficiency considering operating conditions (e.g., the number of bits of the ISA and the operating frequency).
[0029] The task allocation module 120 may allocate the task to the core selected by the core selection module 110. For example, the selected core may process the task with sufficient performance and relatively low power. For example, the selected core may process the task with the highest power-performance efficiency. For example, the power-performance efficiency may correspond to a ratio of operating performance to power consumption. For example, when multiple cores are processing the task, the ratio of operating performance to power consumption of the selected core is greater than the ratio of operating performance to power consumption of other cores in the multiple cores.
[0030] When the task-based ISA allocates tasks to the multi-core processor 20 to perform task scheduling in consideration of changes in power consumption according to the operating frequency of the multi-core processor 20, power consumption of the multi-core processor 20 can be reduced while maintaining performance of the multi-core processor 20.
[0031] Figure 2A computing system according to another exemplary embodiment is shown. Figure 2 , the computing system 2 can be connected with Figure 1 For example, the multi-core processor 20 of the computing system 2 may be implemented as a tri-cluster architecture, including: first-type cores B1 and B2 classified as a first-type core group 200, second-type cores L1, L2, L3, and L4 classified as a second-type core group 210, and third-type cores M1, M2, M3, and M4 classified as a third-type core group 220. For example, the number of core groups and the number of cores belonging to each core group may be variable.
[0032] In some embodiments, the three-cluster architecture may include a big.MIDdle.LITTLE architecture having a large core, a medium core, and a small core. For example, the first type cores B1 and B2 may correspond to the large cores in the big.MIDdle.LITTLE architecture. The second type cores L1, L2, L3, and L4 may correspond to the small cores in the big.MIDdle.LITTLE architecture. The third type cores M1, M2, M3, and M4 may correspond to the medium cores in the big.MIDdle.LITTLE architecture. The large core may refer to a high-performance core with high power consumption. The small core may refer to a low-performance core with low power consumption. The medium core may refer to a core with power consumption and performance level between the large core and the small core. When the large core, the small core, and the medium core use the same memory area, they can dynamically receive assigned tasks based on their operating conditions.
[0033] For example, the first type cores B1 and B2, the second type cores L1, L2, L3 and L4, and the third type cores M1, M2, M3 and M4 may be electrically connected to each other via the bus 290. In some embodiments, the bus 290 may be implemented as, for example, AXI (Advanced eXtensible Interface) based on AMBA (Advanced Microcontroller Bus Architecture).
[0034] The first type cores B1 and B2, the second type cores L1, L2, L3 and L4, and the third type cores M1, M2, M3 and M4 may have different power performance efficiencies from each other. The power consumption of the first type cores B1 and B2, the power consumption of the second type cores L1, L2, L3 and L4, and the power consumption of the third type cores M1, M2, M3 and M4 may be changed according to the bit width of the task and the operating frequency of the multi-core processor 20. For example, the first type cores B1 and B2 may be high-performance cores with high power consumption, the second type cores L1, L2, L3 and L4 may be low-performance cores with low power consumption, and the third type cores M1, M2, M3 and M4 may be medium-performance cores with medium power consumption between low power consumption and high power consumption.
[0035] For example, the first type cores B1 and B2 may be high-performance cores with high power consumption, and the second type cores L1, L2, L3, and L4 and the third type cores M1, M2, M3, and M4 may have different performance and different power consumption. In order to maintain the same performance, the first type cores B1 and B2 may sometimes consume more power than other types of cores, the second type cores L1, L2, L3, and L4 may sometimes consume more power than other types of cores, and the third type cores M1, M2, M3, and M4 may sometimes consume more power than other types of cores, depending on the bit width of the task and the operating frequency of the computing system 1. Therefore, if Figure 1 As shown, when tasks are assigned to the multi-core processor 20 in consideration of the power consumption of the first type cores B1 and B2, the power consumption of the second type cores L1, L2, L3 and L4, and the power consumption of the third type cores M1, M2, M3 and M4 according to changes in the bit width and operating frequency of the ISA of the tasks, the total power consumption of the multi-core processor 20 can be reduced while maintaining its performance.
[0036] The core selection module 110 may select a core having the highest power performance efficiency among the first type cores B1 and B2, the second type cores L1, L2, L3 and L4, and the third type cores M1, M2, M3 and M4 of the multi-core processor 20 based on the ISA of the task identified by the ISA identification module 100. In addition, the task allocation module 120 may allocate the task to the core selected by the core selection module 110.
[0037] By considering the change of power consumption according to the operating frequency of the multi-core processor 20, the task-based ISA allocates tasks to the multi-core processor 20, which can reduce the power consumption of the multi-core processor 20 while maintaining the performance of the multi-core processor 20.
[0038] Hereinafter, only an exemplary embodiment in which the multi-core processor 20 is implemented as a three-cluster architecture will be described, and the contents to be explained below can be applied to Figure 1 The multi-core processor 20 may have any structure.
[0039] Figure 3 A computing system according to an exemplary embodiment is shown. Figure 3 , the computing system 3 can be connected with Figure 2 For example, the computing system 3 may further include a power performance table (PPT) 112 .
[0040] The power performance table 112 may include power performance values for a plurality of cores. For example, the power performance value may correspond to a ratio of the power consumption of the core to the operating performance. For example, the power performance value is different from the power performance efficiency, which may correspond to a ratio of the operating performance of the core to the power consumption. For example, as the power performance value of the core increases, the power performance efficiency of the core decreases. In other words, the power performance value of the core may be inversely proportional to the power performance efficiency of the core.
[0041] The power performance values of the multiple cores can be obtained by processing tasks with different types of ISAs according to the operating frequency. For example, the power performance values of the multiple cores can be generated by processing a first task with a first type of ISA and a second task with a second type of ISA by sweeping the operating frequency (changing the operating frequency).
[0042] The power performance values of the multiple cores may be stored in the power performance table 112, respectively, according to the tasks with 32-bit ISA and the tasks with 64-bit ISA. For example, the power performance values may include: a first power performance value obtained by sweeping the operating frequency when the multiple cores execute tasks with 32-bit ISA, and a second power performance value obtained by sweeping the operating frequency when the multiple cores execute tasks with 64-bit ISA. In addition, the first power performance value and the second power performance value may be stored in the power performance table 112, respectively, according to the types of the multiple cores and the types of ISA. For example, the power performance values may include: a third power performance value obtained by sweeping the operating frequency when the first type core executes tasks with 32-bit ISA or 64-bit ISA, and a fourth power performance value obtained by sweeping the operating frequency when the second type core executes tasks with 32-bit ISA or 64-bit ISA.
[0043] According to the implementation method, the power performance table 112 can be implemented separately according to the type (bit width) of the ISA, or it can be implemented separately according to the type (bit width) of the ISA. For example, the power performance table 112 can be implemented as a first power performance table including a 32-bit ISA and a second power performance table for a 64-bit ISA. Alternatively, the power performance table 112 can be implemented as a single power performance table including power performance values (or data) for a 32-bit ISA and power performance values (or data) for a 64-bit ISA. For example, the power performance table 112 can also include a column for identifying the type (bit width) of the ISA.
[0044] The core selection module 110 can select a core with the highest power-performance efficiency (i.e., corresponding to the lowest power-performance value) among the multiple cores by referring to the power-performance table 112. For example, the power-performance efficiency can be a ratio of operating performance to power consumption, and the power-performance value can be a ratio of power consumption to operating performance. For example, when the ISA of the task is identified as a 32-bit ISA, and when the multi-core processor 20 operates at a first operating frequency, the core selection module 110 can compare the power-performance values of the first type cores B1 and B2 at the first operating frequency, the power-performance values of the second type cores L1, L2, L3 and L4, and the power-performance values of the third type cores M1, M2, M3 and M4, and can select the core with the lowest power-performance value (i.e., corresponding to the highest power-performance efficiency).
[0045] For example, when the ISA of the task is identified as a 64-bit ISA, and when the multi-core processor 20 operates at a second operating frequency, the core selection module 110 may compare the power performance values of the first type cores B1 and B2 at the second operating frequency, the power performance values of the second type cores L1, L2, L3 and L4, and the power performance values of the third type cores M1, M2, M3 and M4, and may select the core with the lowest power performance value (i.e., corresponding to the highest power performance efficiency). In addition, the task allocation module 120 may allocate the task to the core selected by the core selection module 110 so that the selected core can perform the task with the highest power performance efficiency. For example, when other cores perform the task instead of the selected core, the power performance efficiency of the other cores may be lower than the power performance efficiency of the selected core.
[0046] For example, when tasks are assigned to multiple cores of a multi-core processor, the power consumption of each core may be considered to perform task assignment according to changes in the operating frequency and the type of ISA. Therefore, regardless of how the operating frequency and the type of ISA change, the multi-core processor can process tasks with the highest power-performance efficiency. In other words, by considering the change in power consumption according to the operating frequency and assigning tasks to each core based on the ISA, the power consumption of the multi-core processor 20 can be reduced while maintaining the performance of the multi-core processor 20.
[0047] Figure 4 A graph illustrating a power performance table according to an exemplary embodiment is shown. Figure 5 Shown according to the reference Figure 4 Operation of a computing system of an embodiment.
[0048] Figure 4 The graph shows that when the above reference Figure 3When the ISA identification module 100 identifies that the ISA of the task is a 32-bit ISA, the power performance value stored in the power performance table 112. The horizontal axis of the graph may represent the operating frequency of the multi-core processor 20, and the vertical axis of the graph may represent the power performance value of the multiple cores of the multi-core processor 20 (e.g., the ratio of power consumption to operating performance).
[0049] Curve B2 may indicate power performance values of the first type cores B1 and B2 when the first type cores B1 and B2 execute tasks with a 32-bit ISA by sweeping the operating frequency. For example, the first type cores B1 and B2 may have a first maximum operating frequency f max 1.
[0050] The curve L2 may indicate the power performance values of the second type cores L1, L2, L3, and L4 when the second type cores L1, L2, L3, and L4 execute tasks with a 32-bit ISA by sweeping the operating frequency. For example, the second type cores L1, L2, L3, and L4 may have a second maximum operating frequency f max 2.
[0051] Curve M2 may indicate power performance values of the third type cores M1, M2, M3, and M4 when the third type cores M1, M2, M3, and M4 execute tasks with a 32-bit ISA by sweeping the operating frequency. For example, the third type cores M1, M2, M3, and M4 may have a third maximum operating frequency f max 3.
[0052] For example, the second maximum operating frequency f max 2 can be lower than the third maximum operating frequency f max 3. In addition, the third maximum operating frequency f max 3 can be lower than the first maximum operating frequency f max 1.
[0053] For example, when the multi-core processor 20 operates at the first frequency f1, the core selection module 110 can select the third type cores M1, M2, M3 and M4 as the cores with the highest power performance efficiency, because the power performance efficiency of the third type cores M1, M2, M3 and M4 is the largest at the first frequency f1 compared to other types of cores (e.g., the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4). For example, the second type cores L1, L2, L3 and L4 cannot operate at the first frequency f1. In addition, although the first type cores B1 and B2 can operate at the first frequency f1, at the first frequency f1, the power performance value P2 of the first type cores B1 and B2 is greater than the power performance value P1 of the third type cores M1, M2, M3 and M4 (P2>P1). In other words, the power performance efficiency of the first type cores B1 and B2 is lower than the power performance efficiency of the third type cores M1, M2, M3 and M4. As described above, the power-performance value of a core may be inversely proportional to the power-performance efficiency of the core.
[0054] in this regard, Figure 5 It is shown that the core selection module 110 may select the core 220 a among the third type cores M1 , M2 , M3 , and M4 at the first frequency f1 .
[0055] On the other hand, for example, when the multi-core processor 20 operates at a second frequency f2 higher than the first frequency f1, the core selection module 110 may select the first type cores B1 and B2 as cores with the highest power efficiency. Figure 4 , the second type cores L1, L2, L3 and L4 cannot operate at the second frequency f2, and the third type cores M1, M2, M3 and M4 cannot operate at the second frequency f2. Figure 5 , the core selection module 110 can select the first type cores B1 and B2 as the cores with the highest power performance efficiency at the second frequency f2. In addition, the core selection module 110 can select the core 200a among the first type cores B1 and B2 so that the selected core 200a can execute the task with 32-bit ISA at the second frequency f2.
[0056] For example, the task assignment module 120 may assign a task having a 32-bit ISA to the core 200a selected by the core selection module 110. When the task scheduling is performed by assigning tasks based on the ISA (e.g., 32-bit ISA) of the task by considering the change in the power consumption of each core according to the operating frequency, the power consumption of the multi-core processor 20 may be reduced while maintaining the performance of the multi-core processor 20.
[0057] Figure 6 A graph illustrating a power performance table according to an exemplary embodiment is shown. Figure 7 Shown according to the reference Figure 6Operation of a computing system of an exemplary embodiment.
[0058] Reference Figure 6 , the graph shows the storage above reference Figure 3 The power performance value in the power performance table 112 described above when the ISA identified by the ISA identification module 100 from the task is a 64-bit ISA. The horizontal axis of the graph may represent the operating frequency of the multi-core processor 20, and the vertical axis of the graph may represent the power performance value of the multiple cores of the multi-core processor 20 (e.g., the ratio of power consumption to operating performance).
[0059] Curve B1 may indicate power performance values of the first type cores B1 and B2 when the first type cores B1 and B2 execute tasks with a 64-bit ISA by sweeping the operating frequency. For example, the first type cores B1 and B2 may have a first maximum operating frequency f max 1.
[0060] The curve L1 may indicate power performance values of the second type cores L1, L2, L3, and L4 when the second type cores L1, L2, L3, and L4 execute tasks with a 64-bit ISA by sweeping the operating frequency. For example, the second type cores L1, L2, L3, and L4 may have a second maximum operating frequency f max 2.
[0061] The curve M1 may indicate the power performance values of the third type cores M1, M2, M3, and M4 when the third type cores M1, M2, M3, and M4 execute tasks with a 64-bit ISA by sweeping the operating frequency. For example, the third type cores M1, M2, M3, and M4 may have a third maximum operating frequency f max 3.
[0062] For example, the second maximum operating frequency f max 2 can be lower than the third maximum operating frequency f max 3. In addition, the third maximum operating frequency fmax 3 can be lower than the first maximum operating frequency f max 1.
[0063] For example, when the multi-core processor 20 operates at the first frequency f1, the core selection module 110 can select the third type cores M1, M2, M3 and M4 as the cores with the highest power performance efficiency, because compared with other types of cores (e.g., the first type cores B1 and B2 and the second type cores L1, L2, L3 and L4), at the first frequency f1, the power performance efficiency of the third type cores M1, M2, M3 and M4 is the largest. For example, the second type cores L1, L2, L3 and L4 cannot operate at the first frequency f1. In addition, although the first type cores B1 and B2 can operate at the first frequency f1, the power performance efficiency of the first type cores B1 and B2 is lower than the power performance efficiency of the third type cores M1, M2, M3 and M4. In other words, at the first frequency f1, the power performance value P2 of the first type cores B1 and B2 is greater than the power performance value P1 of the third type cores M1, M2, M3 and M4 (P2>P1).
[0064] also, Figure 5 It is shown that the core selection module 110 can select the core 220a among the third type cores M1, M2, M3 and M4 at the first frequency f1. On the other hand, for example, when the multi-core processor 20 operates at a third frequency f3 that is higher than the first frequency f1, the core selection module 110 can select the first type cores B1 and B2 as the cores with the highest power-performance efficiency. For example, the second type cores L1, L2, L3 and L4 cannot operate at the third frequency f3. In addition, although the third type cores M1, M2, M3 and M4 can operate at the third frequency f3, the power-performance efficiency of the third type cores M1, M2, M3 and M4 at the third frequency f3 is lower than the power-performance efficiency of the first type cores B1 and B2. In other words, at the third frequency f3, the power-performance value P4 of the third type cores M1, M2, M3 and M4 will be greater than the power-performance value P3 of the first type cores B1 and B2 (P4>P3). In addition, Figure 5 It is shown that the core selection module 110 may select the core 200 a ( B1 ) among the first type cores B1 and B2 at the third frequency f3 .
[0065] Thereafter, the task assignment module 120 may assign the task having the 64-bit ISA to the core selected by the core selection module 110. When the task is assigned based on the ISA (e.g., 64-bit ISA) of the task by considering the change in the power consumption of each core according to the operating frequency, thereby performing task scheduling, the power consumption of the multi-core processor 20 may be reduced while maintaining the performance of the multi-core processor 20.
[0066] Figure 7 Combination Figure 6As another alternative, the core selection module 110 may select the core 202a (B2) of the first type cores B1 and B2 instead of the core 202a (B2) of the first type cores B1 and B2 at the third frequency f3. Figure 5 And as another option, the core selection module 110 may select the core 222a (M2) among the third type cores M1, M2, M3 and M4 at the first frequency f1 instead of Figure 5 Core 220a (M1) in.
[0067] Figure 8 A method for operating a computing system according to an exemplary embodiment is shown. Figure 8 According to an exemplary embodiment, a method for operating a computing system may include identifying an ISA of a task (S801). In addition, the method may include selecting a core with the highest power performance efficiency among multiple cores based on the identified ISA (S803).
[0068] In some embodiments, selecting the core with the highest power performance efficiency may include selecting the core with the highest power performance efficiency with reference to the power performance table 112, which may include power performance values of multiple cores according to the operating frequency and each ISA. In addition, the above method may also include assigning the task to the selected core (S805).
[0069] Fig. 9 A method for operating a computing system according to an exemplary embodiment is shown. Fig. 9 , a method for operating a computing system may include executing a task on a selected core (S901). In addition, the method may include reselecting a core with the highest power-performance efficiency among a plurality of cores during operation of the computing system (S903). For example, the selected core in S805 or S901 may be different from the reselected core in S903. For example, when the computing system operates at a first operating frequency, the selected cores in S805 and S901 may be selected, and when the computing system operates at a second operating frequency, the reselected core in S903 may be selected. For example, when the computing system processes a task with a first type of ISA (e.g., a 32-bit ISA), the selected cores in S805 and S901 may be selected, and when the computing system processes a task with a second type of ISA (64-bit ISA), the reselected core in S903 may be selected. In addition, the method may also include moving or reallocating the task assigned to the selected core to the reselected core (S905).
[0070] According to some embodiments, by allocating tasks according to the operating frequency and each ISA changes in consideration of the power consumption of each core, task scheduling that can further reduce the power consumption of the multi-core processor while ensuring the operating performance of the multi-core processor can be performed. Therefore, regardless of how the operating frequency and the type of ISA change, the multi-core processor can process tasks with the highest power performance efficiency.
[0071] The exemplary embodiments may be applied to various electronic devices and electronic systems including image processing devices. For example, the exemplary embodiments may be applied to systems such as mobile phones, smart phones, tablet computers, laptop computers, personal digital assistants (PDAs), portable multimedia players (PMPs), digital cameras, portable game consoles, music players, portable cameras, video players, navigation devices, wearable devices, Internet of Things (IoT) devices, Internet of Everything (IoE) devices, e-book readers, virtual reality (VR) devices, augmented reality (AR) devices, robotic devices, etc. In addition, the exemplary embodiments may be applied to various devices and systems that require image processing, such as vehicle-mounted cameras, medical cameras, etc.
[0072] Finally, it will be appreciated by those skilled in the art that many changes and modifications may be made to the preferred embodiments without departing substantially from the principles of the present disclosure. Therefore, the preferred embodiments disclosed in the present disclosure are used in a general and descriptive sense only and not for a limiting purpose.
[0073] Example embodiments have been disclosed herein, and although specific terms are employed, these terms are used and interpreted in a general and descriptive sense only and not for purposes of limitation. In some cases, as will be apparent to one of ordinary skill in the art when filing this application, unless otherwise specifically noted, features, characteristics, and / or elements described in conjunction with a particular embodiment may be used alone or in combination with features, characteristics, and / or elements described in conjunction with other embodiments. Therefore, it will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit and scope of the invention as set forth in the appended claims.
Claims
1. A computing system, include: An instruction set architecture identifier, the instruction set architecture identifier being used to identify the instruction set architecture of the task; a core selector that selects a core with the highest power-performance efficiency among the plurality of cores based on the identified instruction set architecture; as well as a task allocator that allocates the task to the selected core, The core selector selects the core with the highest power-performance efficiency by referring to a power-performance table, wherein the power-performance table includes the power-performance efficiencies of the multiple cores according to the operating frequencies and the types of instruction set architectures.
2. The computing system according to claim 1, in, The plurality of cores include a first type of core having a first maximum operating frequency and a second type of core having a second maximum operating frequency lower than the first maximum operating frequency, and The core selector selects the core with the highest power-performance efficiency among the first-type cores and the second-type cores.
3. The computing system according to claim 2, in, The core selector reselects a core having the highest power-performance efficiency from among the first type cores and the second type cores during operation of the computing system, and The task allocator moves the task allocated to the selected core to the reselected core.
4. The computing system according to claim 2, in, The plurality of cores further include a third type core having a third maximum operating frequency that is lower than the first maximum operating frequency and higher than the second maximum operating frequency, and The core selector selects the core with the highest power-performance efficiency among the first-type cores, the second-type cores, and the third-type cores.
5. The computing system according to claim 4, in, The core selector reselects a core having the highest power performance efficiency among the first type cores, the second type cores, and the third type cores during operation of the computing system, and The task allocator moves the task allocated to the selected core to the reselected core.
6. A computing system, include: a first type of core, the first type of core having a first maximum operating frequency; a second type of cores, the second type of cores having a second maximum operating frequency lower than the first maximum operating frequency; An instruction set architecture identifier, the instruction set architecture identifier being used to identify the instruction set architecture of the task; a core selector, the core selector selecting the second type of core when the power-performance efficiency of the second type of core is higher than the power-performance efficiency of the first type of core, and selecting the first type of core when the power-performance efficiency of the first type of core is higher than the power-performance efficiency of the second type of core, based on the identified instruction set architecture, at an operating frequency lower than the second maximum operating frequency; as well as a task allocator that allocates the task to the selected core, The core selector selects a core with higher power-performance efficiency by referring to a power-performance table, wherein the power-performance table includes the power-performance efficiencies of the first type core and the second type core according to the operating frequency based on the identified instruction set architecture.
7. The computing system according to claim 6, in, The core selector reselects a core with higher power performance efficiency from among the first type cores and the second type cores during operation of the computing system, and The task allocator moves the task allocated to the selected core to the reselected core.
8. The computing system according to claim 6, further comprising: include: a third type of core, the third type of core having a third maximum operating frequency that is lower than the first maximum operating frequency and higher than the second maximum operating frequency, The core selector selects a core with the highest power-performance efficiency among the first type cores, the second type cores, and the third type cores.
9. The computing system according to claim 8, in, The core selector reselects a core having the highest power performance efficiency among the first type cores, the second type cores, and the third type cores during operation of the computing system, and The task allocator moves the task allocated to the selected core to the reselected core.
10. A method for operating a computing system, the method include: Identify the instruction set architecture for the task; Selecting a core with the highest power-performance efficiency among the plurality of cores based on the identified instruction set architecture; as well as assigning the task to the selected core, Among them, selecting the core with the highest power-performance efficiency includes: selecting the core with the highest power-performance efficiency by referring to a power performance table, wherein the power performance table includes the power-performance efficiencies of the multiple cores according to the operating frequency and the type of instruction set architecture.
11. A method for operating a computing system according to claim 10, in, The plurality of cores include a first type of core having a first maximum operating frequency and a second type of core having a second maximum operating frequency lower than the first maximum operating frequency, and Selecting the core with the highest power-performance efficiency includes: selecting the core with the highest power-performance efficiency from among the first-type cores and the second-type cores.
12. The method for operating a computing system according to claim 11, further comprising: include: During operation of the computing system, reselecting a core having the highest power-performance efficiency among the first type of cores and the second type of cores; as well as The task assigned to the selected core is moved to the reselected core.
13. The method for operating a computing system according to claim 11, in, The plurality of cores further include a third type core having a third maximum operating frequency that is lower than the first maximum operating frequency and higher than the second maximum operating frequency, and Selecting the core with the highest power-performance efficiency includes: selecting the core with the highest power-performance efficiency from among the first-type cores, the second-type cores, and the third-type cores.
14. The method for operating a computing system according to claim 13, further comprising: include: During operation of the computing system, reselecting a core having the highest power-performance efficiency among the first type of cores, the second type of cores, and the third type of cores; as well as The task assigned to the selected core is moved to the reselected core.
