CN101414268A - 一种在ARM MPCore处理器上管理处理器热插拔的方法 - Google Patents

一种在ARM MPCore处理器上管理处理器热插拔的方法 Download PDF

Info

Publication number
CN101414268A
CN101414268A CNA2007101332752A CN200710133275A CN101414268A CN 101414268 A CN101414268 A CN 101414268A CN A2007101332752 A CNA2007101332752 A CN A2007101332752A CN 200710133275 A CN200710133275 A CN 200710133275A CN 101414268 A CN101414268 A CN 101414268A
Authority
CN
China
Prior art keywords
cpu
processor
utilization rate
hot plug
arm
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CNA2007101332752A
Other languages
English (en)
Inventor
周余
于耀
王伟
都思丹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing University
Original Assignee
Nanjing University
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 Nanjing University filed Critical Nanjing University
Priority to CNA2007101332752A priority Critical patent/CN101414268A/zh
Publication of CN101414268A publication Critical patent/CN101414268A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

本发明是一种在ARM MPCore处理器上管理处理器热插拔的方法。该技术属于嵌入式智能电源管理领域。本发明解决的技术问题是:通过CPU热插拔的智能管理降低多核处理器的功耗,同时减少对CPU性能的影响。解决该问题的技术方案的要点是:根据CPU使用率及实时进程的数量等信息对CPU的热插拔进行智能管理。本发明的主要用途是在使用ARM MPCore的设备上降低系统的功耗。

Description

一种在ARM MPCore处理器上管理处理器热插拔的方法
技术领域
本发明涉及一种在ARM MPCore处理器上管理处理器热插拔的方法。该技术属于嵌入式智能电源管理领域。
背景技术
在嵌入式领域,处理器也朝着多核的方向发展,ARM MPCore就是一种具有4核处理器,除第一个CPU以外其它CPU都支持热插拔。现有的操作系统,如Linux操作系统,支持在用户空间对CPU进行热插拔,但没有一种方法去管理CPU的热插拔,进行智能电源管理。
发明内容
本发明的目的在于提出一种管理ARM MPCore多核处理器热插拔的方法,实时的关闭空闲的CPU,在节省系统功耗的同时减少关闭CPU对整个系统的影响。
为达到上述目的,本发明提供提出一种管理ARM MPCore多核处理器热插拔的方法,该方法是利用守护进程对ARM MPCore处理器的每个CPU的使用率进行实时的监控,当运行的CPU的使用率超过90%时,开启剩余关闭的CPU,这时操作系统能自动进行负载均衡,将使用率高的CPU上的进程迁移到新开启的CPU上;当某个CPU的使用率在一定时间段内处于0%时,监控进程将关闭该CPU。为了减少关闭CPU对实时进程的影响,当系统中的实时进程数量大于1且小于5时,开启CPU的个数为实时进程的数量,当系统中的实时进程数量大于等于5时,开启所有的CPU.
附图说明
图1在ARM MPCore上管理处理器热插拔步骤图
具体实施方式
如图1所示,在ARM MPCore上管理处理器热插拔步骤为:
步骤1:监控程序定时收集每个处理器的使用率及实时进程数量
步骤2:如果实时进程数量N,若0<N<5,则开启N个CPU;N=0,则开启第一个CPU;N>4,则开启全部的CPU;
步骤3:如果某个CPU的使用率大于90%,且开始CPU的数量小于4,则开启已关闭的CPU
步骤4:如果某个CPU的使用率长时间等于0%,则关闭该CPU,返回步骤1。

Claims (2)

1.一种在ARM MPCore处理器上管理处理器热插拔的方法,其特征在于所述步骤:
步骤1:监控程序定时收集每个处理器的使用率及实时进程数量
步骤2:如果实时进程数量N,若0<N<5,则开启N个CPU;N=0,则开启第一个CPU;N>4,则开启全部的CPU;
步骤3:如果某个CPU的使用率大于90%,且开始CPU的数量小于4,则开启已关闭的CPU
步骤4:如果某个CPU的使用率长时间等于0%,则关闭该CPU,返回步骤1
2.该方法利用处理器使用率和实时进程数量进行等信息进行管理,如果实时进程数量N,若0<N<5,则开启N个CPU;N=0,则开启第一个CPU;N>4,则开启全部的CPU;如果某个CPU的使用率大于90%,且开始CPU的数量小于4,则开启已关闭的CPU;如果某个CPU的使用率长时间等于0%,则关闭该CPU。
CNA2007101332752A 2007-10-15 2007-10-15 一种在ARM MPCore处理器上管理处理器热插拔的方法 Pending CN101414268A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007101332752A CN101414268A (zh) 2007-10-15 2007-10-15 一种在ARM MPCore处理器上管理处理器热插拔的方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007101332752A CN101414268A (zh) 2007-10-15 2007-10-15 一种在ARM MPCore处理器上管理处理器热插拔的方法

Publications (1)

Publication Number Publication Date
CN101414268A true CN101414268A (zh) 2009-04-22

Family

ID=40594807

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007101332752A Pending CN101414268A (zh) 2007-10-15 2007-10-15 一种在ARM MPCore处理器上管理处理器热插拔的方法

Country Status (1)

Country Link
CN (1) CN101414268A (zh)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012083742A1 (zh) * 2010-12-21 2012-06-28 中兴通讯股份有限公司 中央处理器热插拔的实现方法及装置
CN102566739A (zh) * 2012-01-06 2012-07-11 威盛电子股份有限公司 多核处理器系统及其动态电源管理方法与控制装置
CN102656539A (zh) * 2009-12-16 2012-09-05 高通股份有限公司 用于基于所推断的工作负载并行性控制中央处理单元功率的系统和方法
CN103488606A (zh) * 2013-09-10 2014-01-01 华为技术有限公司 基于节点控制器的请求响应方法和装置
CN103699444A (zh) * 2013-12-17 2014-04-02 华为技术有限公司 中央处理器热插拔的实现方法及装置
US8909962B2 (en) 2009-12-16 2014-12-09 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
CN104375881A (zh) * 2014-10-28 2015-02-25 江苏中科梦兰电子科技有限公司 龙芯处理器的主核热插拔方法
US9081558B2 (en) 2009-12-16 2015-07-14 Qualcomm Incorporated System and method for dynamically controlling a plurality of cores in a multicore central processing unit based on tempature
US9104411B2 (en) 2009-12-16 2015-08-11 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
CN104866379A (zh) * 2014-02-24 2015-08-26 中兴通讯股份有限公司 一种多核处理器调度方法、装置及终端
US9128705B2 (en) 2009-12-16 2015-09-08 Qualcomm Incorporated System and method for controlling central processing unit power with reduced frequency oscillations
CN105009086A (zh) * 2014-03-10 2015-10-28 华为技术有限公司 一种实现处理器切换的方法、计算机和切换装置
US9176572B2 (en) 2009-12-16 2015-11-03 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
US9405353B2 (en) 2012-08-30 2016-08-02 Huawei Device Co., Ltd. Method and apparatus for controlling central processing unit
US9436266B2 (en) 2012-08-30 2016-09-06 Huawei Device Co., Ltd. Method and apparatus for controlling central processing unit in a group of central processing units by acquiring power consumption factors for each central processing unit and comparing a mean of power consumption factors with a threshold
CN107220166A (zh) * 2016-03-22 2017-09-29 大唐移动通信设备有限公司 一种cpu占用率的统计方法及装置

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9128705B2 (en) 2009-12-16 2015-09-08 Qualcomm Incorporated System and method for controlling central processing unit power with reduced frequency oscillations
CN102656539A (zh) * 2009-12-16 2012-09-05 高通股份有限公司 用于基于所推断的工作负载并行性控制中央处理单元功率的系统和方法
US9176572B2 (en) 2009-12-16 2015-11-03 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
CN102656539B (zh) * 2009-12-16 2015-09-09 高通股份有限公司 用于基于所推断的工作负载并行性控制中央处理单元功率的系统和方法
US8909962B2 (en) 2009-12-16 2014-12-09 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
US9081558B2 (en) 2009-12-16 2015-07-14 Qualcomm Incorporated System and method for dynamically controlling a plurality of cores in a multicore central processing unit based on tempature
US9104411B2 (en) 2009-12-16 2015-08-11 Qualcomm Incorporated System and method for controlling central processing unit power with guaranteed transient deadlines
US9563250B2 (en) 2009-12-16 2017-02-07 Qualcomm Incorporated System and method for controlling central processing unit power based on inferred workload parallelism
WO2012083742A1 (zh) * 2010-12-21 2012-06-28 中兴通讯股份有限公司 中央处理器热插拔的实现方法及装置
CN102566739A (zh) * 2012-01-06 2012-07-11 威盛电子股份有限公司 多核处理器系统及其动态电源管理方法与控制装置
CN102566739B (zh) * 2012-01-06 2014-11-26 威盛电子股份有限公司 多核处理器系统及其动态电源管理方法与控制装置
US8977880B2 (en) 2012-01-06 2015-03-10 Via Technologies, Inc. Method for managing power supply of multi-core processor system involves powering off main and slave cores when master bus is in idle state
US9436266B2 (en) 2012-08-30 2016-09-06 Huawei Device Co., Ltd. Method and apparatus for controlling central processing unit in a group of central processing units by acquiring power consumption factors for each central processing unit and comparing a mean of power consumption factors with a threshold
US9405353B2 (en) 2012-08-30 2016-08-02 Huawei Device Co., Ltd. Method and apparatus for controlling central processing unit
US10324646B2 (en) 2013-09-10 2019-06-18 Huawei Technologies Co., Ltd. Node controller and method for responding to request based on node controller
CN103488606B (zh) * 2013-09-10 2016-08-17 华为技术有限公司 基于节点控制器的请求响应方法和装置
CN103488606A (zh) * 2013-09-10 2014-01-01 华为技术有限公司 基于节点控制器的请求响应方法和装置
CN103699444B (zh) * 2013-12-17 2017-03-15 华为技术有限公司 中央处理器热插拔的实现方法及装置
CN103699444A (zh) * 2013-12-17 2014-04-02 华为技术有限公司 中央处理器热插拔的实现方法及装置
WO2015123938A1 (zh) * 2014-02-24 2015-08-27 中兴通讯股份有限公司 一种多核处理器调度方法、装置及终端
CN104866379A (zh) * 2014-02-24 2015-08-26 中兴通讯股份有限公司 一种多核处理器调度方法、装置及终端
CN104866379B (zh) * 2014-02-24 2019-06-14 中兴通讯股份有限公司 一种多核处理器调度方法、装置及终端
CN105009086A (zh) * 2014-03-10 2015-10-28 华为技术有限公司 一种实现处理器切换的方法、计算机和切换装置
CN105009086B (zh) * 2014-03-10 2019-01-18 华为技术有限公司 一种实现处理器切换的方法、计算机和切换装置
CN104375881A (zh) * 2014-10-28 2015-02-25 江苏中科梦兰电子科技有限公司 龙芯处理器的主核热插拔方法
CN104375881B (zh) * 2014-10-28 2017-11-14 江苏中科梦兰电子科技有限公司 龙芯处理器的主核热插拔方法
CN107220166A (zh) * 2016-03-22 2017-09-29 大唐移动通信设备有限公司 一种cpu占用率的统计方法及装置
CN107220166B (zh) * 2016-03-22 2019-09-17 大唐移动通信设备有限公司 一种cpu占用率的统计方法及装置

Similar Documents

Publication Publication Date Title
CN101414268A (zh) 一种在ARM MPCore处理器上管理处理器热插拔的方法
US10429921B2 (en) Datacenter power management optimizations
CN102163072B (zh) 用于节能的基于软件的线程重映射
CN103443769B (zh) 用于异构多核心系统的动态核心选择
CN101154130B (zh) 一种虚拟机系统及其电源管理方法
CN102759984A (zh) 虚拟化服务器集群的电源和性能管理系统
US9383811B2 (en) Processor bridging in heterogeneous computer system
CN102736594B (zh) 一种智能配电终端统一平台模块化设计方法
CN103078955A (zh) 一种云计算平台服务器状态转移装置及方法
CN101510115B (zh) 使用动态编译器控制程序运行时处理器频率的方法
CN106528370A (zh) 一种在虚拟化层实现的虚拟机状态监控
CN102436297A (zh) 一种温度融合控制的存储节能降噪方法
Witkowski et al. Enabling sustainable clouds via environmentally opportunistic computing
CN105528054A (zh) 集群系统综合调度节能方法及装置
CN103092328A (zh) 一种基于磁盘休眠的计算机节能的方法
CN102752374B (zh) 一种用电能效数据的储存访问系统及方法
WO2015067128A1 (zh) 一种堆叠式重复数据删除文件系统
CN102195361B (zh) 一种多核单芯片的配电智能终端的数据采集处理方法
CN106774813A (zh) 一种动态电源管理系统及方法
CN106445076A (zh) 一种虚拟机主机的智能控制方法及智能控制系统
CN102999376A (zh) 一种面向电力多租户的虚拟桌面资源动态调度方法
Huo et al. A Design Method of Dual System Core Board and Its Application in Distribution Network
CN112559420B (zh) 基于双高速总线自主可控的数据通信网关机及通信方法
CN104978006A (zh) 一种多线程模式下的低功耗空闲等待方法
CN203352180U (zh) 一种用户端低压无功补偿装置

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090422