WO2018018494A1 - Method and system for allocating power based on multi-zone allocation - Google Patents

Method and system for allocating power based on multi-zone allocation Download PDF

Info

Publication number
WO2018018494A1
WO2018018494A1 PCT/CN2016/092038 CN2016092038W WO2018018494A1 WO 2018018494 A1 WO2018018494 A1 WO 2018018494A1 CN 2016092038 W CN2016092038 W CN 2016092038W WO 2018018494 A1 WO2018018494 A1 WO 2018018494A1
Authority
WO
WIPO (PCT)
Prior art keywords
power
power value
interval
threads
core
Prior art date
Application number
PCT/CN2016/092038
Other languages
French (fr)
Chinese (zh)
Inventor
张升泽
Original Assignee
张升泽
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 张升泽 filed Critical 张升泽
Priority to PCT/CN2016/092038 priority Critical patent/WO2018018494A1/en
Publication of WO2018018494A1 publication Critical patent/WO2018018494A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs

Definitions

  • the present invention relates to the field of electronics, and in particular, to a power allocation method and system based on multi-interval allocation.
  • Chip English is Chip; Chipset is Chipset.
  • the chip generally refers to the carrier of the integrated circuit, and is also the result of the integrated circuit after being designed, manufactured, packaged, and tested. It is usually an independent whole that can be used immediately.
  • the words "chip” and "integrated circuit” are often mixed. For example, in the common discussion topic, integrated circuit design and chip design say that the chip industry, the integrated circuit industry, and the IC industry are often also meanings. . In fact, these two words are related and different.
  • Integrated circuit entities often exist in the form of chips, because narrowly defined integrated circuits emphasize the circuit itself, such as a phase-shifted oscillator that is simply connected with only five components. When it is still on the drawing, we It can also be called an integrated circuit.
  • this small integrated circuit When we want to use this small integrated circuit for application, it must be a separate piece of real object, or embedded in a larger integrated circuit, relying on the chip to play its role; Focusing on the design and layout of the circuit, the chip emphasizes the integration, production and packaging of the circuit.
  • the generalized integrated circuit when it comes to the industry (different from other industries), can also contain various meanings related to the chip.
  • a power allocation method based on multi-interval allocation is provided, which solves the shortcomings of the prior art that power efficient control of a multi-core chip cannot be realized.
  • a power allocation method based on multi-interval allocation comprising the following steps:
  • the method further includes:
  • the method further includes:
  • a power distribution system based on multi-interval allocation comprising:
  • a dividing unit configured to divide the number of threads into a plurality of thread number intervals, and divide the power value into a plurality of power value intervals according to the size of the power value
  • the power unit is configured to acquire the number of threads corresponding to the current core, obtain a corresponding thread number interval according to the number of threads, and a power value interval corresponding to the thread number interval, and adjust the power of the core to the power value interval.
  • system further includes:
  • the adjusting unit is configured to acquire a change value of the number of threads, and adjust the power of the core according to the change value.
  • system further includes:
  • a storage unit for recording an operating power value of the core for recording an operating power value of the core.
  • the technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power.
  • FIG. 1 is a flowchart of a power allocation method based on multi-interval allocation according to the present invention
  • FIG. 2 is a structural diagram of a power distribution system based on multi-interval allocation according to the present invention.
  • FIG. 1 is a flowchart of a power allocation method based on multi-interval allocation according to a first preferred embodiment of the present invention.
  • the method is implemented by an electronic chip.
  • the method is as shown in FIG. 1 and includes the following steps. :
  • Step S101 dividing the number of threads into a plurality of thread number intervals, and dividing the power value into multiple power value intervals according to the power value;
  • Step S102 Establish a mapping relationship between a plurality of power value intervals and a thread number interval.
  • step S103 the number of threads corresponding to the current core is obtained, and the corresponding thread number interval and the power value interval corresponding to the thread number interval are obtained according to the number of the threads, and the power of the core is adjusted to the power value interval.
  • the technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power.
  • the foregoing method may further include:
  • the foregoing method may further include:
  • FIG. 2 is a power distribution system based on multi-interval allocation according to a second preferred embodiment of the present invention.
  • the system includes:
  • the dividing unit 201 is configured to divide the number of threads into a plurality of thread number intervals, and divide the power value into a plurality of power value intervals according to the size of the power value;
  • the establishing unit 202 is configured to establish a mapping relationship between the plurality of power value intervals and the thread number interval;
  • the power unit 203 is configured to acquire the number of threads corresponding to the current core, obtain the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the threads, and adjust the power of the core to the power value interval.
  • the technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power.
  • the above system may further include:
  • the adjusting unit 204 is configured to acquire a change value of the number of threads, and adjust the power of the core according to the change value.
  • the above system may further include:
  • the storage unit 205 is configured to record an operating power value of the core.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a computer.
  • the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium.
  • a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.

Abstract

A method and system for allocating power based on a multi-zone allocation. The method comprises the following steps: dividing a thread quantity into a plurality of thread quantity zones and dividing the power values into a plurality of power value zones according to the magnitude of the power values (S101); establishing a mapping relationship between the plurality of power value zones and thread quantity zones (S102); and acquiring the quantity of threads corresponding to a current core, and in accordance with the quantity of the threads, acquiring the thread quantity zone corresponding thereto and the power value zone corresponding to the thread quantity zone, and adjusting the power of the core to the power value zone (S103). This technical solution has the advantage of effectively controlling the power.

Description

基于多区间分配的功率分配方法及系统  Power allocation method and system based on multi-interval allocation 技术领域Technical field
本发明涉及电子领域,尤其涉及一种基于多区间分配的功率分配方法及系统。 The present invention relates to the field of electronics, and in particular, to a power allocation method and system based on multi-interval allocation.
背景技术Background technique
芯片,英文为Chip;芯片组为Chipset。芯片一般是指集成电路的载体,也是集成电路经过设计、制造、封装、测试后的结果,通常是一个可以立即使用的独立的整体。“芯片”和“集成电路”这两个词经常混着使用,比如在大家平常讨论话题中,集成电路设计和芯片设计说的是一个意思,芯片行业、集成电路行业、IC行业往往也是一个意思。实际上,这两个词有联系,也有区别。集成电路实体往往要以芯片的形式存在,因为狭义的集成电路,是强调电路本身,比如简单到只有五个元件连接在一起形成的相移振荡器,当它还在图纸上呈现的时候,我们也可以叫它集成电路,当我们要拿这个小集成电路来应用的时候,那它必须以独立的一块实物,或者嵌入到更大的集成电路中,依托芯片来发挥他的作用;集成电路更着重电路的设计和布局布线,芯片更强调电路的集成、生产和封装。而广义的集成电路,当涉及到行业(区别于其他行业)时,也可以包含芯片相关的各种含义。Chip, English is Chip; Chipset is Chipset. The chip generally refers to the carrier of the integrated circuit, and is also the result of the integrated circuit after being designed, manufactured, packaged, and tested. It is usually an independent whole that can be used immediately. The words "chip" and "integrated circuit" are often mixed. For example, in the common discussion topic, integrated circuit design and chip design say that the chip industry, the integrated circuit industry, and the IC industry are often also meanings. . In fact, these two words are related and different. Integrated circuit entities often exist in the form of chips, because narrowly defined integrated circuits emphasize the circuit itself, such as a phase-shifted oscillator that is simply connected with only five components. When it is still on the drawing, we It can also be called an integrated circuit. When we want to use this small integrated circuit for application, it must be a separate piece of real object, or embedded in a larger integrated circuit, relying on the chip to play its role; Focusing on the design and layout of the circuit, the chip emphasizes the integration, production and packaging of the circuit. The generalized integrated circuit, when it comes to the industry (different from other industries), can also contain various meanings related to the chip.
现有的电子芯片均有多个内核,但是现有的电子芯片无法对多个内核的功率进行有效的控制。Existing electronic chips have multiple cores, but existing electronic chips cannot effectively control the power of multiple cores.
技术问题technical problem
提供一种基于多区间分配的功率分配方法,其解决了现有技术的无法实现多核芯片的功率有效控制的缺点。A power allocation method based on multi-interval allocation is provided, which solves the shortcomings of the prior art that power efficient control of a multi-core chip cannot be realized.
技术解决方案Technical solution
一方面,提供一种基于多区间分配的功率分配方法,所述方法包括如下步骤:In one aspect, a power allocation method based on multi-interval allocation is provided, the method comprising the following steps:
将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;Dividing the number of threads into a plurality of thread number intervals, and dividing the power value into a plurality of power value intervals according to the power value;
建立多个功率值区间和线程数量区间的映射关系;Establishing a mapping relationship between multiple power value intervals and thread number intervals;
获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。Obtaining the number of threads corresponding to the current core, obtaining a corresponding thread number interval and a power value interval corresponding to the thread number interval according to the number of the threads, and adjusting the power of the core to the power value interval.
可选的,所述方法还包括:Optionally, the method further includes:
获取线程的数量的变化值,依据该变化值调整该核的功率。Obtain a change value of the number of threads, and adjust the power of the core according to the change value.
可选的,所述方法还包括:Optionally, the method further includes:
记录该核的工作功率值。Record the operating power value of the core.
第二方面,提供一种基于多区间分配的功率分配系统,所述系统包括:In a second aspect, a power distribution system based on multi-interval allocation is provided, the system comprising:
划分单元,用于将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;a dividing unit, configured to divide the number of threads into a plurality of thread number intervals, and divide the power value into a plurality of power value intervals according to the size of the power value;
建立单元,用于建立多个功率值区间和线程数量区间的映射关系;Establishing a unit, configured to establish a mapping relationship between multiple power value intervals and thread number intervals;
功率单元,用于获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。The power unit is configured to acquire the number of threads corresponding to the current core, obtain a corresponding thread number interval according to the number of threads, and a power value interval corresponding to the thread number interval, and adjust the power of the core to the power value interval.
可选的,所述系统还包括:Optionally, the system further includes:
调整单元,用于获取线程的数量的变化值,依据该变化值调整该核的功率。The adjusting unit is configured to acquire a change value of the number of threads, and adjust the power of the core according to the change value.
可选的,所述系统还包括:Optionally, the system further includes:
存储单元,用于记录该核的工作功率值。A storage unit for recording an operating power value of the core.
有益效果Beneficial effect
本发明具体实施方式提供的技术方案将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间,建立多个功率值区间和线程数量区间的映射关系,获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整值该功率值区间,所以其具有对功率进行有效控制的优点。The technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power The advantages of effective control.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明提供的一种基于多区间分配的功率分配方法的流程图;1 is a flowchart of a power allocation method based on multi-interval allocation according to the present invention;
图2为本发明提供的一种基于多区间分配的功率分配系统的结构图。2 is a structural diagram of a power distribution system based on multi-interval allocation according to the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
参阅图1,图1为本发明第一较佳实施方式提供的一种基于多区间分配的功率分配方法的流程图,该方法由电子芯片来完成,该方法如图1所示,包括如下步骤:Referring to FIG. 1 , FIG. 1 is a flowchart of a power allocation method based on multi-interval allocation according to a first preferred embodiment of the present invention. The method is implemented by an electronic chip. The method is as shown in FIG. 1 and includes the following steps. :
步骤S101、将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;Step S101, dividing the number of threads into a plurality of thread number intervals, and dividing the power value into multiple power value intervals according to the power value;
步骤S102、建立多个功率值区间和线程数量区间的映射关系;Step S102: Establish a mapping relationship between a plurality of power value intervals and a thread number interval.
步骤S103、获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。In step S103, the number of threads corresponding to the current core is obtained, and the corresponding thread number interval and the power value interval corresponding to the thread number interval are obtained according to the number of the threads, and the power of the core is adjusted to the power value interval.
本发明具体实施方式提供的技术方案将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间,建立多个功率值区间和线程数量区间的映射关系,获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整值该功率值区间,所以其具有对功率进行有效控制的优点。The technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power The advantages of effective control.
可选的,上述方法在步骤S103之后还可以包括:Optionally, after the step S103, the foregoing method may further include:
获取线程的数量的变化值,依据该变化值调整该核的功率。Obtain a change value of the number of threads, and adjust the power of the core according to the change value.
可选的,上述方法在步骤S103之后还可以包括:Optionally, after the step S103, the foregoing method may further include:
记录该核的工作功率值。Record the operating power value of the core.
参阅图2,图2为本发明第二较佳实施方式提供的一种基于多区间分配的功率分配系统,该系统包括:Referring to FIG. 2, FIG. 2 is a power distribution system based on multi-interval allocation according to a second preferred embodiment of the present invention. The system includes:
划分单元201,用于将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;The dividing unit 201 is configured to divide the number of threads into a plurality of thread number intervals, and divide the power value into a plurality of power value intervals according to the size of the power value;
建立单元202,用于建立多个功率值区间和线程数量区间的映射关系;The establishing unit 202 is configured to establish a mapping relationship between the plurality of power value intervals and the thread number interval;
功率单元203,用于获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。The power unit 203 is configured to acquire the number of threads corresponding to the current core, obtain the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the threads, and adjust the power of the core to the power value interval.
本发明具体实施方式提供的技术方案将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间,建立多个功率值区间和线程数量区间的映射关系,获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整值该功率值区间,所以其具有对功率进行有效控制的优点。The technical solution provided by the specific embodiment of the present invention divides the number of threads into a plurality of thread number intervals, divides the power value into multiple power value intervals according to the power value, and establishes a mapping relationship between multiple power value intervals and thread number intervals. Obtaining the number of threads corresponding to the current core, obtaining the corresponding thread number interval and the power value interval corresponding to the thread number interval according to the number of the thread, and adjusting the power of the core to the power value interval, so that the power is performed on the power The advantages of effective control.
可选的,上述系统还可以包括:Optionally, the above system may further include:
调整单元204,用于获取线程的数量的变化值,依据该变化值调整该核的功率。The adjusting unit 204 is configured to acquire a change value of the number of threads, and adjust the power of the core according to the change value.
可选的,上述系统还可以包括:Optionally, the above system may further include:
存储单元205,用于记录该核的工作功率值。The storage unit 205 is configured to record an operating power value of the core.
需要说明的是,对于前述的各方法实施方式或实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明并不受所描述的动作顺序的限制,因为根据本发明,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述实施方式或实施例均属于优选实施例,所涉及的动作和单元并不一定是本发明所必须的。It should be noted that, for the foregoing method embodiments or embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that the present invention is not subject to the described action sequence. Limitations, as certain steps may be performed in other sequences or concurrently in accordance with the present invention. In the following, those skilled in the art should also understand that the embodiments or examples described in the specification are preferred embodiments, and the actions and units involved are not necessarily required by the present invention.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。The steps in the method of the embodiment of the present invention may be sequentially adjusted, merged, and deleted according to actual needs.
本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。本领域的技术人员可以将本说明书中描述的不同实施例以及不同实施例的特征进行结合或组合。The units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs. Those skilled in the art can combine or combine the different embodiments described in the specification and the features of the different embodiments.
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发明可以用硬件实现,或固件实现,或它们的组合方式来实现。当使用软件实现时,可以将上述功能存储在计算机可读介质中或作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是计算机能够存取的任何可用介质。以此为例但不限于:计算机可读介质可以包括随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其他光盘存储、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质。此外。任何连接可以适当的成为计算机可读介质。例如,如果软件是使用同轴电缆、光纤光缆、双绞线、数字用户线(Digital Subscriber Line,DSL)或者诸如红外线、无线电和微波之类的无线技术从网站、服务器或者其他远程源传输的,那么同轴电缆、光纤光缆、双绞线、DSL或者诸如红外线、无线和微波之类的无线技术包括在所属介质的定影中。如本发明所使用的,盘(Disk)和碟(disc)包括压缩光碟(CD)、激光碟、光碟、数字通用光碟(DVD)、软盘和蓝光光碟,其中盘通常磁性的复制数据,而碟则用激光来光学的复制数据。上面的组合也应当包括在计算机可读介质的保护范围之内。Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented in hardware, firmware implementation, or a combination thereof. When implemented in software, the functions described above may be stored in or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a computer. Taking this as an example, but not limited to: the computer readable medium may include random access memory (Random) Access Memory, RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), Compact Disc Read-Only Memory, CD-ROM, or other optical disc storage, magnetic storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also. Any connection may suitably be a computer readable medium. For example, if the software is using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (Digital Subscriber Line, DSL) or wireless technology such as infrared, radio and microwave transmission from a website, server or other remote source, then coaxial cable, fiber optic cable, twisted pair, DSL or such as infrared, wireless and microwave Wireless technology is included in the fixing of the associated medium. As used in the present invention, a disk and a disc include a compact disc (CD), a laser disc, a compact disc, a digital versatile disc (DVD), a floppy disk, and a Blu-ray disc, wherein the disc is usually magnetically copied, and the disc is The laser is used to optically replicate the data. Combinations of the above should also be included within the scope of the computer readable media.
总之,以上所述仅为本发明技术方案的较佳实施例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 In summary, the above description is only a preferred embodiment of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims (6)

  1. 一种基于多区间分配的功率分配方法,其特征在于,所述方法包括如下步骤: A power allocation method based on multi-interval allocation, characterized in that the method comprises the following steps:
    将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;Dividing the number of threads into a plurality of thread number intervals, and dividing the power value into a plurality of power value intervals according to the power value;
    建立多个功率值区间和线程数量区间的映射关系;Establishing a mapping relationship between multiple power value intervals and thread number intervals;
    获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。Obtaining the number of threads corresponding to the current core, obtaining a corresponding thread number interval and a power value interval corresponding to the thread number interval according to the number of the threads, and adjusting the power of the core to the power value interval.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    获取线程的数量的变化值,依据该变化值调整该核的功率。Obtain a change value of the number of threads, and adjust the power of the core according to the change value.
  3. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    记录该核的工作功率值。Record the operating power value of the core.
  4. 一种基于多区间分配的功率分配系统,其特征在于,所述系统包括:A power distribution system based on multi-interval allocation, characterized in that the system comprises:
    划分单元,用于将线程数量划分成多个线程数量区间,按功率值的大小将功率值划分成多个功率值区间;a dividing unit, configured to divide the number of threads into a plurality of thread number intervals, and divide the power value into a plurality of power value intervals according to the size of the power value;
    建立单元,用于建立多个功率值区间和线程数量区间的映射关系;Establishing a unit, configured to establish a mapping relationship between multiple power value intervals and thread number intervals;
    功率单元,用于获取当前核对应的线程的数量,依据该线程的数量获取其对应的线程数量区间以及该线程数量区间对应的功率值区间,将该核的功率调整至该功率值区间。The power unit is configured to acquire the number of threads corresponding to the current core, obtain a corresponding thread number interval according to the number of threads, and a power value interval corresponding to the thread number interval, and adjust the power of the core to the power value interval.
  5. 根据权利要求4所述的系统,其特征在于,所述系统还包括:The system of claim 4, wherein the system further comprises:
    调整单元,用于获取线程的数量的变化值,依据该变化值调整该核的功率。The adjusting unit is configured to acquire a change value of the number of threads, and adjust the power of the core according to the change value.
  6. 根据权利要求4所述的系统,其特征在于,所述系统还包括:The system of claim 4, wherein the system further comprises:
    存储单元,用于记录该核的工作功率值。A storage unit for recording an operating power value of the core.
PCT/CN2016/092038 2016-07-28 2016-07-28 Method and system for allocating power based on multi-zone allocation WO2018018494A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092038 WO2018018494A1 (en) 2016-07-28 2016-07-28 Method and system for allocating power based on multi-zone allocation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/092038 WO2018018494A1 (en) 2016-07-28 2016-07-28 Method and system for allocating power based on multi-zone allocation

Publications (1)

Publication Number Publication Date
WO2018018494A1 true WO2018018494A1 (en) 2018-02-01

Family

ID=61015427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/092038 WO2018018494A1 (en) 2016-07-28 2016-07-28 Method and system for allocating power based on multi-zone allocation

Country Status (1)

Country Link
WO (1) WO2018018494A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534463A (en) * 2003-02-20 2004-10-06 三星电子株式会社 Synchronous multiline procedure processor circuit and computer program product and operating method
CN1885232A (en) * 2005-06-24 2006-12-27 戴尔产品有限公司 Power management of multiple processors
CN103502946A (en) * 2011-04-05 2014-01-08 高通股份有限公司 Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN104204999A (en) * 2012-03-13 2014-12-10 英特尔公司 Method and apparatus for per core performance states
CN104583900A (en) * 2012-10-04 2015-04-29 英特尔公司 Dynamically switching a workload between heterogeneous cores of a processor
US20150268710A1 (en) * 2014-03-19 2015-09-24 International Business Machines Corporation Power management for multi-core processing systems
CN106201728A (en) * 2016-07-28 2016-12-07 张升泽 Power distribution methods based on many interval distribution and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1534463A (en) * 2003-02-20 2004-10-06 三星电子株式会社 Synchronous multiline procedure processor circuit and computer program product and operating method
CN1885232A (en) * 2005-06-24 2006-12-27 戴尔产品有限公司 Power management of multiple processors
CN103502946A (en) * 2011-04-05 2014-01-08 高通股份有限公司 Method and system for dynamically controlling power to multiple cores in a multicore processor of a portable computing device
CN104204999A (en) * 2012-03-13 2014-12-10 英特尔公司 Method and apparatus for per core performance states
CN104583900A (en) * 2012-10-04 2015-04-29 英特尔公司 Dynamically switching a workload between heterogeneous cores of a processor
US20150268710A1 (en) * 2014-03-19 2015-09-24 International Business Machines Corporation Power management for multi-core processing systems
CN106201728A (en) * 2016-07-28 2016-12-07 张升泽 Power distribution methods based on many interval distribution and system

Similar Documents

Publication Publication Date Title
WO2018018424A1 (en) Temperature control method and system based on chip
WO2018018494A1 (en) Method and system for allocating power based on multi-zone allocation
WO2018018492A1 (en) Method and system of allocating current in plurality of intervals in interior of multi-core chip
WO2018018493A1 (en) Method and system for applying multi-zone temperature values to multi-core chip
WO2018018491A1 (en) Method and system for allocating voltage of electronic chip in plurality of intervals
WO2018018495A1 (en) Method and system for controlling multi-interval ventilation quantity of electronic chip
WO2018018448A1 (en) Method and system for lowering temperature of chip
WO2018018451A1 (en) Power distribution method and system in electronic chip
WO2018018450A1 (en) Current limit application method and system for use in multi-core chip
WO2018018449A1 (en) Multi-core chip-based voltage reduction method and system
WO2018014300A1 (en) Power implementation method and system for multi-core chip
WO2018014298A1 (en) Internal voltage distribution method and system for electronic chip
WO2018014299A1 (en) Method and system for distributing current in a plurality of cores
WO2018010086A1 (en) Electronic chip signal information sending method and system
WO2018018452A1 (en) Load balance application method and system in multi-core chip
WO2018018425A1 (en) Method and system for allocating threads of multi-kernel chip
WO2018014186A1 (en) Current storage method and system for electronic chip
WO2018014185A1 (en) Voltage storage method and system for electronic chip
WO2018010155A1 (en) Electronic chip current modulation method and system
WO2018014184A1 (en) Power modulation method and system for electronic chip
WO2018010154A1 (en) Electronic chip voltage modulation method and system
WO2018018427A1 (en) Multi-task scheduling method and system based on multi-kernel chip
WO2018010156A1 (en) Electronic chip signal modulation method and system
WO2017219298A1 (en) Method and system for storing signal of electronic chip
WO2018014183A1 (en) Noise modulation method and system for electronic chip

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16910075

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 020719)

122 Ep: pct application non-entry in european phase

Ref document number: 16910075

Country of ref document: EP

Kind code of ref document: A1