JP2008243049A - Information processor and memory control method therefor - Google Patents

Information processor and memory control method therefor Download PDF

Info

Publication number
JP2008243049A
JP2008243049A JP2007085713A JP2007085713A JP2008243049A JP 2008243049 A JP2008243049 A JP 2008243049A JP 2007085713 A JP2007085713 A JP 2007085713A JP 2007085713 A JP2007085713 A JP 2007085713A JP 2008243049 A JP2008243049 A JP 2008243049A
Authority
JP
Japan
Prior art keywords
memory
units
cpu
information processing
memory unit
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
JP2007085713A
Other languages
Japanese (ja)
Inventor
Tetsuo Hatakeyama
哲夫 畠山
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2007085713A priority Critical patent/JP2008243049A/en
Publication of JP2008243049A publication Critical patent/JP2008243049A/en
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

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor reducing power consumption of a memory device according to an operation condition of a multiprocessor system and efficiently using a plurality of processors of the same configuration in the information processor. <P>SOLUTION: An EC/KBC 21 monitors the number of operating cores 11a-11b built in a CPU 11, and according to the number of operating cores 11a-11b, the main memory 13 is controlled for saving power consumption for each memory configuration unit of the main memory 13. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、例えばマルチコアCPUなどと称される複数の命令処理部(コア)を有するCPUを搭載するパーソナルコンピュータ等の情報処理装置に適用して好適なメモリ制御技術に関する。   The present invention relates to a memory control technique suitable for application to an information processing apparatus such as a personal computer equipped with a CPU having a plurality of instruction processing units (cores) called, for example, a multi-core CPU.

近年、例えばノートブックタイプのパーソナルコンピュータなど、バッテリ駆動が可能で携行容易な情報処理装置が広く普及している。最近では、無線通信環境が整備されてきたことから、この種の情報処理装置を携帯していれば、外出先や移動中でも、最新のデータを取得して作業を行うことが可能となっている。   In recent years, information processing apparatuses that can be driven by a battery and that are easy to carry, such as notebook personal computers, have become widespread. Recently, a wireless communication environment has been established, so if you carry this kind of information processing device, you can get the latest data and work while you are out or on the move. .

この種の情報処理装置は、例えばスクランブル化されて放送されるテレビジョン番組データを受信・視聴する機能など、搭載が期待される機能が高度化する傾向にある。この高機能化に対応するために、この種の情報処理装置に関しては、その処理性能を向上させるための工夫が日々図られている。例えばマルチプロセッサシステムは、複数のプロセッサを搭載することにより、多彩かつ高度な複数の処理を短時間に実行することを可能とするものである。その一方で、この種の情報処理装置は、外出先や移動中に使用されることを前提としているので、バッテリ駆動時の連続稼働可能時間を如何に確保するか、つまり省電力化を如何に図るかが非常に重要な問題である。このようなことから、マルチプロセッサシステムにおいて省電力化を図るための提案もこれまで種々なされている(例えば特許文献1等参照)。この特許文献1の電子計算機は、電源の状況やCPUの負荷等に応じて並列度の制御を行うことにより、処理性能への影響を抑えつつ消費電力の低減を図ることを実現している。
特開平9−138716号公報
This type of information processing apparatus tends to have advanced functions expected to be installed, such as a function of receiving and viewing television program data that is scrambled and broadcast. In order to cope with this increase in functionality, this type of information processing apparatus is devised every day to improve its processing performance. For example, a multiprocessor system is capable of executing a variety of sophisticated processes in a short time by mounting a plurality of processors. On the other hand, this type of information processing device is premised on being used while away from home or moving, so how to ensure continuous operation time when battery is driven, that is, how to save power How to plan is a very important issue. For this reason, various proposals have been made to save power in a multiprocessor system (see, for example, Patent Document 1). The electronic computer disclosed in Patent Document 1 realizes a reduction in power consumption while suppressing the influence on processing performance by controlling the degree of parallelism in accordance with the power supply status, CPU load, and the like.
JP-A-9-138716

ところで、この種の情報処理装置でさらなる省電力化を図るためには、CPUの作業領域となるメモリデバイスの動作を制御することも必要となる。メモリデバイスにおける省電力制御は、一定時間を越えてアクセスが途絶えたら、何らかの省電力動作を開始するというのが一般的である。従って、この従前の省電力制御では、例えば4台のCPUを搭載するマルチプロセッサシステムにおいて、3台のCPUを停止させて1台のCPUのみで動作する省電力モードに移行したとしても、この1台のCPUからのアクセスが継続する限り、メモリデバイスは省電力動作を開始できないことになる。   By the way, in order to achieve further power saving with this type of information processing apparatus, it is also necessary to control the operation of the memory device which is the work area of the CPU. In power saving control in a memory device, it is common to start some kind of power saving operation when access is interrupted after a certain time. Therefore, in this conventional power saving control, even if, for example, in a multiprocessor system equipped with four CPUs, three CPUs are stopped and shifted to a power saving mode in which only one CPU operates, this 1 As long as access from one CPU continues, the memory device cannot start the power saving operation.

また、最近では、複数の命令処理部(コア)を有する、マルチコアCPUなどと称される新しいタイプのCPUが開発されるに至っている。これにより、マルチプロセッサシステムが1つのCPUで実現可能となっている。この場合、例えば4つのコア中の1つのコアのみで動作する省電力モードに移行したとしても、外部からは、ハードウェア的に一つのチップであるマルチコアCPUは常時動作中に見えてしまう。従って、特にマルチコアCPUからアクセスされるメモリデバイスに関しては、省電力化のための新たな動作制御の手法が強く望まれる。   Recently, a new type of CPU called a multi-core CPU having a plurality of instruction processing units (cores) has been developed. Thereby, a multiprocessor system can be realized by one CPU. In this case, for example, even if a transition is made to the power saving mode in which only one of the four cores is operated, the multi-core CPU that is one chip in hardware appears to be always in operation from the outside. Therefore, especially for a memory device accessed from a multi-core CPU, a new operation control method for power saving is strongly desired.

この発明は、このような事情を考慮してなされたものであり、マルチプロセッサシステムの稼働状況に応じてメモリデバイスの消費電力を低減することを実現した情報処理装置およびメモリ制御方法を提供することを目的とする。   The present invention has been made in view of such circumstances, and provides an information processing apparatus and a memory control method that can reduce the power consumption of a memory device in accordance with the operating status of a multiprocessor system. With the goal.

この目的を達成するために、本発明の情報処理装置は、複数の命令処理部を有するCPUと、複数のメモリ構成単位からなるメモリデバイスと、前記CPU上での前記複数の命令処理部の稼働数に応じて、前記メモリデバイスの動作制御を前記複数のメモリ構成単位毎に実行するメモリ制御手段と、を具備することを特徴とする。   In order to achieve this object, an information processing apparatus according to the present invention includes a CPU having a plurality of instruction processing units, a memory device including a plurality of memory constituent units, and an operation of the plurality of instruction processing units on the CPU. And memory control means for executing operation control of the memory device for each of the plurality of memory constitutional units according to the number.

また、本発明のメモリ制御方法は、複数の命令処理部を有するCPUと、複数のメモリ構成単位からなるメモリデバイスとを搭載する情報処理装置のメモリ制御方法であって、前記CPU上での前記複数の命令処理部の稼働数に応じて、前記メモリデバイスの動作制御を前記複数のメモリ構成単位毎に実行する、ことを特徴とする。   The memory control method of the present invention is a memory control method for an information processing apparatus including a CPU having a plurality of instruction processing units and a memory device composed of a plurality of memory structural units. The operation control of the memory device is executed for each of the plurality of memory configuration units in accordance with the number of operations of the plurality of instruction processing units.

この発明によれば、マルチプロセッサシステムの稼働状況に応じてメモリデバイスの消費電力を低減することを実現した情報処理装置およびメモリ制御方法を提供できる。   According to the present invention, it is possible to provide an information processing apparatus and a memory control method that can reduce the power consumption of a memory device in accordance with the operating status of a multiprocessor system.

以下、図面を参照して、この発明の一実施形態を説明する。図1には、本実施形態に係る情報処理装置のハードウェア構成例が示されている。この情報処理装置は、例えばバッテリ駆動可能で携行容易なノートブックタイプのパーソナルコンピュータ1として実現されている。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a hardware configuration example of the information processing apparatus according to the present embodiment. This information processing apparatus is realized as, for example, a notebook-type personal computer 1 that can be battery-driven and easily carried.

本コンピュータ1は、図1に示すように、コア(1)11a,コア(2)11b,コア(3)11c,コア(4)11dの4つの命令処理部(実行コア)を内蔵したCPU11を搭載するマルチコアCPU搭載システムである。なお、本実施形態で説明する本発明のメモリ制御手法は、実行コアを2つ内蔵するいわゆるデュアルコアCPUを搭載するデュアルコアCPU搭載システムのほか、4以外の複数の実行コアを内蔵するいずれのタイプのCPUを搭載するマルチコアCPU搭載システムにおいても適用可能である。   As shown in FIG. 1, the computer 1 includes a CPU 11 having four instruction processing units (execution cores) including a core (1) 11a, a core (2) 11b, a core (3) 11c, and a core (4) 11d. This is a multi-core CPU mounted system to be mounted. Note that the memory control method of the present invention described in the present embodiment is not limited to a dual-core CPU-equipped system equipped with a so-called dual-core CPU that incorporates two execution cores. The present invention is also applicable to a multi-core CPU mounting system in which a type of CPU is mounted.

そして、図1に示すように、本コンピュータ1は、このCPU11をはじめとして、ホストコントローラ12、メインメモリ13、表示コントローラ14、表示装置15、表示用メモリ16、I/Oコントローラ17、記憶装置18、電源コントローラ19、クロックジェネレータ20、エンベデッドコントローラ/キーボードコントローラ(EC/KBC)21、キーボード22等を備えている。   As shown in FIG. 1, the computer 1 includes the CPU 11, the host controller 12, the main memory 13, the display controller 14, the display device 15, the display memory 16, the I / O controller 17, and the storage device 18. , A power controller 19, a clock generator 20, an embedded controller / keyboard controller (EC / KBC) 21, a keyboard 22 and the like.

CPU11は、本コンピュータ1内の各部の動作を統合的に管理・制御するためのプロセッサであり、記憶装置18からメインメモリ13にロードされるオペレーティングシステム(OS)や、このOSの制御下で動作する、ユーティリティを含む各種アプリケーションプログラムを実行する。この各種アプリケーションプログラムの中には、後述するメモリ管理ユーティリティプログラム101が含まれている。これらOSやメモリ管理ユーティリティプログラム101を含む種々のアプリケーションプログラムは、予め記憶装置18にインストールされている。   The CPU 11 is a processor for integratedly managing and controlling the operations of each unit in the computer 1, and operates under the control of the operating system (OS) loaded from the storage device 18 to the main memory 13 and this OS. Execute various application programs including utilities. The various application programs include a memory management utility program 101 described later. Various application programs including the OS and the memory management utility program 101 are installed in the storage device 18 in advance.

ホストコントローラ12は、CPU11のローカルバスとI/Oコントローラ17との間を接続するブリッジデバイスである。ホストコントローラ12は、バスを介して表示コントローラ14との通信を実行する機能を有しており、また、メインメモリ13をアクセス制御するメモリコントローラも内蔵されている。   The host controller 12 is a bridge device that connects the local bus of the CPU 11 and the I / O controller 17. The host controller 12 has a function of executing communication with the display controller 14 via a bus, and also includes a memory controller that controls access to the main memory 13.

表示コントローラ14は、本コンピュータ1のディスプレイモニタとして使用される表示装置15を制御する。表示コントローラ14には表示用メモリ16が接続されており、OSや各種アプリケーションプログラムによって表示用メモリ16に書き込まれた画像データから表示装置15に送出すべき表示信号を生成する。   The display controller 14 controls a display device 15 used as a display monitor of the computer 1. A display memory 16 is connected to the display controller 14, and a display signal to be sent to the display device 15 is generated from image data written in the display memory 16 by the OS or various application programs.

I/Oコントローラ17には、記憶装置18を制御するためのコントローラが内蔵されている。また、I/Oコントローラ17は、電源コントローラ19、クロックジェネレータ20、EC/KBC21の制御も行う。   The I / O controller 17 includes a controller for controlling the storage device 18. The I / O controller 17 also controls the power supply controller 19, the clock generator 20, and the EC / KBC 21.

電源コントローラ19は、CPU11およびメインメモリ13の動作電力を供給制御する。また、クロックジェネレータ20は、CPU11およびメインメモリ13の動作クロックを供給制御する。この電源コントローラ19による動作電力の供給制御およびクロックジェネレータ20による動作クロックの供給制御は、I/Oコントローラ17から出力される動作コマンドによって行われる。   The power controller 19 controls the operation power of the CPU 11 and the main memory 13. The clock generator 20 controls supply of operation clocks for the CPU 11 and the main memory 13. The operation power supply control by the power supply controller 19 and the operation clock supply control by the clock generator 20 are performed by operation commands output from the I / O controller 17.

EC/KBC21は、バッテリまたは外部AC電源からの電力を各部に供給制御する電力管理のための組み込みコントローラと、キーボード22を制御するためのキーボードコントローラとが集積された1チップマイクロコンピュータである。そして、このEC/KBC21によって、本コンピュータ1は、メインメモリ13の動作制御がCPU11の動作状況に応じて実行される。以下、この点について詳述する。   The EC / KBC 21 is a one-chip microcomputer in which a built-in controller for power management that controls supply of power from a battery or an external AC power source to each unit and a keyboard controller for controlling the keyboard 22 are integrated. With this EC / KBC 21, the computer 1 executes operation control of the main memory 13 in accordance with the operation status of the CPU 11. Hereinafter, this point will be described in detail.

図2は、本コンピュータ1が搭載するメインメモリ13および当該メインメモリ13をアクセス制御するホストコントローラ12の構成を示す図である。なお、本コンピュータ1では、OSの一機能によって、このメインメモリ13と記憶装置18とによる仮想記憶方式でのメモリ管理が実行されている。   FIG. 2 is a diagram showing the configuration of the main memory 13 installed in the computer 1 and the host controller 12 that controls access to the main memory 13. In the computer 1, memory management is executed by the virtual memory method using the main memory 13 and the storage device 18 by a function of the OS.

図2に示すように、メインメモリ13は、メモリユニット(A)13a,メモリユニット(B)13b,メモリユニット(C)13c,メモリユニット(D)13dの4つのメモリ構成単位からなっている。各メモリユニット13a〜13dは、8バイト単位でアクセス処理され、また、各メモリユニット13a〜13dは、ホストコントローラ12の制御の下、電源オン状態または電源オフ状態のいずれかの状態を持ち、かつ、電源オン状態時においては、さらに、通常のクロックが供給された状態または低速化されたクロックが供給された状態のいずれかの状態を持つ。ここでは、前者を状態を通常動作状態、後者を省電力動作状態と称する。もし、省電力動作状態にあるメモリユニットへのアクセスが発生すると、ホストコントローラ12は、当該メモリユニットのクロックを通常速度に戻し(即ち、一旦、通常動作状態に復帰させ)、そのアクセスの終了後、一定時間を越えて当該メモリユニットへのアクセスが途絶えたら、クロックを再度低速化させる。元来より通常動作状態のメモリユニットへのアクセスが一定時間を越えて途絶えたとしても、ホストコントローラ12は、当該メモリユニットのクロックを低速化させることは行わない。   As shown in FIG. 2, the main memory 13 is composed of four memory constituent units: a memory unit (A) 13a, a memory unit (B) 13b, a memory unit (C) 13c, and a memory unit (D) 13d. Each of the memory units 13a to 13d is accessed in units of 8 bytes, and each of the memory units 13a to 13d has either a power-on state or a power-off state under the control of the host controller 12, and In the power-on state, the state further includes either a state where a normal clock is supplied or a state where a slowed clock is supplied. Here, the former is referred to as a normal operation state, and the latter is referred to as a power saving operation state. If an access to the memory unit in the power saving operation state occurs, the host controller 12 returns the clock of the memory unit to the normal speed (that is, once returns to the normal operation state), and after the access is completed. If access to the memory unit is interrupted after a certain time, the clock is slowed down again. Even if the access to the memory unit in the normal operation state is interrupted for a certain time from the beginning, the host controller 12 does not reduce the clock of the memory unit.

一方、ホストコントローラ12は、データの書き込みまたはデータの読み出しをCPU11から要求されると、16バイト単位で、いずれのメモリユニットへアクセスして当該データの書き込みまたはデータの読み出しを処理するかを制御する。ホストコントローラ12は、メモリユニット(A)13aまたはメモリユニット(C)13cと、メモリユニット(B)13bまたはメモリユニット(D)13dとについて、独立してアクセスすることができる。例えばメモリユニット(A)13aとメモリユニット(B)13bとに対しては、同時にアクセスすることが可能である。   On the other hand, when the CPU 11 requests data writing or data reading, the host controller 12 controls which memory unit is accessed to process the data writing or data reading in units of 16 bytes. . The host controller 12 can independently access the memory unit (A) 13a or the memory unit (C) 13c and the memory unit (B) 13b or the memory unit (D) 13d. For example, the memory unit (A) 13a and the memory unit (B) 13b can be accessed simultaneously.

また、ホストコントローラ12は、各メモリユニット13a〜13dの状態を個別に通常動作状態および省電力状態間で移行させるべく制御し、また、メモリユニット(A)13a,メモリユニット(C)13cまたはメモリユニット(B)13b,メモリユニット(D)13dの2系統で、電源オンおよび電源オフすべく制御する。即ち、ホストコントローラ12は、電源コントローラ19に動作コマンドを投入するためのI/Oコントローラ17への指示を、メモリユニット(A)13a,メモリユニット(C)13cまたはメモリユニット(B)13b,メモリユニット(D)13dの単位で行い、クロックジェネレータ20に動作コマンドを投入するためのI/Oコントローラ17への指示を、各メモリユニット13a〜13d毎の個別単位で行うことができる。   In addition, the host controller 12 controls the state of each of the memory units 13a to 13d individually so as to shift between the normal operation state and the power saving state, and the memory unit (A) 13a, the memory unit (C) 13c, or the memory Control is performed to turn on and off the power in two systems of the unit (B) 13b and the memory unit (D) 13d. That is, the host controller 12 sends an instruction to the I / O controller 17 for inputting an operation command to the power supply controller 19 according to the memory unit (A) 13a, the memory unit (C) 13c or the memory unit (B) 13b, An instruction to the I / O controller 17 for inputting an operation command to the clock generator 20 can be made in units of the unit (D) 13d in individual units for each of the memory units 13a to 13d.

さらに、(前述のように、本コンピュータ1では、仮想記憶方式でのメモリ管理が実行されているが、)ホストコントローラ12は、メインメモリ空間をどのように各メモリユニット13a〜13d上に配置するかを制御することができる。そのために、ホストコントローラ12は、メインメモリ空間配置制御部121を有している。   Further, the host controller 12 arranges the main memory space on each of the memory units 13a to 13d (although as described above, memory management is performed in the virtual storage system in the computer 1). Can be controlled. For this purpose, the host controller 12 has a main memory space arrangement control unit 121.

そして、このような構成をもつメインメモリ13について、EC/KBC21は、CPU11上でのコア11a〜11dの稼働数に応じて、以下の制御を実行する。メモリ管理ユーティリティプログラム101は、コア11a〜11dの稼働数に対応させて実施したいメモリ制御の内容をユーザが任意に設定するためのインタフェースを提供するソフトウェアであり、その内容は、設定情報としてEC/KBC21に保持される。即ち、以下に説明する制御内容は、ある時点での設定情報に基づく一例であり、本願発明のメモリ制御手法は、これに限定されるものではない。   For the main memory 13 having such a configuration, the EC / KBC 21 executes the following control according to the number of operating cores 11a to 11d on the CPU 11. The memory management utility program 101 is software that provides an interface for the user to arbitrarily set the contents of memory control to be executed in correspondence with the number of operating cores 11a to 11d. Held in the KBC 21. That is, the control content described below is an example based on setting information at a certain point in time, and the memory control method of the present invention is not limited to this.

なお、コア11a〜コア11dの稼働数は、例えばバッテリ駆動時におけるバッテリ残量やCPU11の負荷等に応じて別途制御されるものであり、その制御結果がEC/KBC21に通知されるようになっている。   Note that the number of operating cores 11a to 11d is separately controlled according to, for example, the remaining battery level when the battery is driven, the load on the CPU 11, and the like, and the control result is notified to the EC / KBC 21. ing.

(1)稼働コア数が4または3になった場合
稼働コア数が4または3になった場合、EC/KBC21は、すべてのメモリユニット13a〜13dを電源オン状態、通常動作状態とするよう、ホストコントローラ12に指示を与える。また、この時、EC/KBC21は、メインメモリ空間が、図3(A)に示すように配置されるよう、ホストコントローラ12に指示を与える。即ち、各メモリユニット13a〜13dを128バイト単位で均等に割り当てるように指示する。
(1) When the number of active cores is 4 or 3 When the number of active cores is 4 or 3, the EC / KBC 21 sets all the memory units 13a to 13d to the power-on state and the normal operation state. An instruction is given to the host controller 12. At this time, the EC / KBC 21 gives an instruction to the host controller 12 so that the main memory space is arranged as shown in FIG. That is, it is instructed to allocate the memory units 13a to 13d evenly in units of 128 bytes.

そして、ホストコントローラ12は、メインメモリ13へのデータの書き込みやデータの読み出しを、16バイト単位で、メモリユニット(A)13aとメモリユニット(B)13b、またはメモリユニット(C)13cとメモリユニット(D)13dに同時にアクセスして処理する。   Then, the host controller 12 writes data to or reads data from the main memory 13 in units of 16 bytes in units of the memory unit (A) 13a and the memory unit (B) 13b or the memory unit (C) 13c and the memory unit. (D) Access and process 13d simultaneously.

(2)稼働コア数が2になった場合
稼働コア数が2になると、EC/KBC21は、メモリユニット(A)13a,メモリユニット(B)13bについては、電源オン状態、通常動作状態とし、また、メモリユニット(C)13c,メモリユニット(D)13dについては、電源オン状態、省電力動作状態とするよう、ホストコントローラ12に指示を与える。また、この時、EC/KBC21は、メインメモリ空間が、図3(B)に示すように配置されるよう、ホストコントローラ12に指示を与える。即ち、メモリユニット(A)13a,メモリユニット(B)13bと、メモリユニット(C)13c,メモリユニット(D)13dとに分け、かつ、通常動作状態にあるメモリユニット(A)13a,メモリユニット(B)13bを優先して割り当てるように指示する。より具体的には、新たに実メモリ領域をメインメモリ空間に割り当てる場合、メモリユニット(A)13a,メモリユニット(B)13bから優先して確保させる。
(2) When the number of operating cores is 2 When the number of operating cores is 2, the EC / KBC 21 sets the power on state and the normal operating state for the memory unit (A) 13a and the memory unit (B) 13b, In addition, for the memory unit (C) 13c and the memory unit (D) 13d, an instruction is given to the host controller 12 to set the power-on state and the power-saving operation state. At this time, the EC / KBC 21 instructs the host controller 12 so that the main memory space is arranged as shown in FIG. That is, the memory unit (A) 13a, the memory unit (B) 13b, the memory unit (C) 13c, and the memory unit (D) 13d are divided into the normal operation state. (B) It is instructed to preferentially assign 13b. More specifically, when a real memory area is newly allocated to the main memory space, the real memory area is secured with priority from the memory unit (A) 13a and the memory unit (B) 13b.

そして、ホストコントローラ12は、メインメモリ13へのデータの書き込みやデータの読み出しを、16バイト単位で、メモリユニット(A)13aとメモリユニット(B)13b、またはメモリユニット(C)13cとメモリユニット(D)に同時にアクセスして処理する。   Then, the host controller 12 writes data to or reads data from the main memory 13 in units of 16 bytes in units of the memory unit (A) 13a and the memory unit (B) 13b or the memory unit (C) 13c and the memory unit. Access and process (D) simultaneously.

(3)稼働コア数が1になった場合
稼働コア数が1になると、EC/KBC21は、メインメモリ空間に割り当てられる実メモリ領域の確保先を、メモリユニット(A)13a,メモリユニット(B)13bのみとして、メインメモリ空間が、図3(C)に示すよう、ホストコントローラ12に指示を与える。即ち、メモリユニット(A)13aとメモリユニット(C)とに分け、かつ、メモリユニット(A)13aを優先して割り当てるように指示する。
(3) When the number of active cores becomes 1 When the number of active cores becomes 1, the EC / KBC 21 determines the allocation destination of the real memory area allocated to the main memory space as the memory unit (A) 13a, the memory unit (B ) 13b only, the main memory space gives an instruction to the host controller 12 as shown in FIG. That is, it is divided into the memory unit (A) 13a and the memory unit (C), and the memory unit (A) 13a is assigned with priority.

ホストコントローラ12は、この指示を受けると、メモリユニット(B)13b,メモリユニット(D)の実メモリ領域が割り当てられているメインメモリ空間上のエントリにメモリユニット(A)13a,メモリユニット(C)13cの実メモリ領域を割り当て直すべく再配置を実行すると共に、新たに実メモリ領域をメインメモリ空間に割り当てる場合には、メモリユニット(A)13aを優先的に、メモリユニット(A)13a,メモリユニット(C)13bのみから確保する。   When the host controller 12 receives this instruction, the memory unit (A) 13a and the memory unit (C) are entered in the main memory space to which the real memory areas of the memory unit (B) 13b and the memory unit (D) are allocated. ) When performing reallocation to reallocate the real memory area of 13c and newly allocating the real memory area to the main memory space, the memory unit (A) 13a is preferentially assigned to the memory unit (A) 13a, Secured only from the memory unit (C) 13b.

また、この際、EC/KBC21は、メモリユニット(A)13aについては、電源オン状態、通常動作状態とし、メモリユニット(C)13cについては、電源オン状態、省電力動作状態とするよう、ホストコントローラ12に指示を与える。さらに、EC/KBC21は、未使用となったメモリユニット(B)13b,メモリユニット(D)13dを電源オフ状態とするよう、ホストコントローラ12に指示を与える。   At this time, the EC / KBC 21 sets the host so that the memory unit (A) 13a is in the power-on state and the normal operation state, and the memory unit (C) 13c is in the power-on state and the power-saving operation state. An instruction is given to the controller 12. Further, the EC / KBC 21 instructs the host controller 12 to turn off the unused memory unit (B) 13b and memory unit (D) 13d.

そして、ホストコントローラ12は、メインメモリ13へのデータの書き込みやデータの読み出しを、8バイト単位で2回ずつ、メモリユニット(A)13aまたはメモリユニット(C)に単独でアクセスして処理する。   Then, the host controller 12 processes the data writing to the main memory 13 and the data reading by accessing the memory unit (A) 13a or the memory unit (C) independently in units of 8 bytes twice.

このように、本コンピュータ1では、CPU11上でのコア11a〜11dの稼働数に応じて、省電力化のためのメインメモリ13の動作制御が適宜に実行される。   As described above, in the computer 1, operation control of the main memory 13 for power saving is appropriately executed according to the number of operating cores 11 a to 11 d on the CPU 11.

図4は、本コンピュータ1で実行されるマルチコアCPUのコア稼働数に応じたメモリ制御の手順を示すフローチャートである。   FIG. 4 is a flowchart showing a memory control procedure according to the number of core operations of the multi-core CPU executed by the computer 1.

EC/KBC21は、CPU11上でのコア11a〜11dの稼働数が3または4になると(ステップA1のYES)、まず、メインメモリ13のメモリユニット13a〜13dすべてを電源オン状態、通常動作状態に設定するよう、ホストコントローラ12に指示を与える(ステップA2)。そして、EC/KBC21は、メインメモリ空間がメモリユニット13a〜13dに均等に配置されるよう、ホストコントローラ12に指示を与える(ステップA3)。   When the number of operating cores 11a to 11d on the CPU 11 reaches 3 or 4 (YES in step A1), the EC / KBC 21 first sets all the memory units 13a to 13d of the main memory 13 to the power-on state and the normal operation state. An instruction is given to the host controller 12 to set (step A2). Then, the EC / KBC 21 gives an instruction to the host controller 12 so that the main memory space is evenly arranged in the memory units 13a to 13d (step A3).

また、CPU11上でのコア11a〜11dの稼働数が2になると(ステップA1のNO,ステップA4のYES)、EC/KBC21は、メインメモリ13のメモリユニット(A)13a,メモリユニット(B)13bは電源オン状態、通常動作状態に設定し、一方、メモリユニット(C)13c,メモリユニット(D)13dは電源オン状態、省電力状態に設定するよう、ホストコントローラ12に指示を与える(ステップA5,ステップA6)。そして、EC/KBC21は、メインメモリ空間がメモリユニット(A)13a,メモリユニット(B)13bに優先的に配置されるよう、ホストコントローラ12に指示を与える(ステップA7)。   Further, when the number of operating cores 11a to 11d on the CPU 11 becomes 2 (NO in step A1, YES in step A4), the EC / KBC 21 stores the memory unit (A) 13a and the memory unit (B) of the main memory 13. 13b is set to the power-on state and the normal operation state, while the memory controller (C) 13c and the memory unit (D) 13d are instructed to set the power-on state and the power-saving state to the host controller 12 (step A5, step A6). Then, the EC / KBC 21 gives an instruction to the host controller 12 so that the main memory space is preferentially arranged in the memory unit (A) 13a and the memory unit (B) 13b (step A7).

さらに、CPU11上でのコア11a〜11dの稼働数が1になると(ステップA4のNO,ステップA8のYES)、EC/KBC21は、メインメモリ13のメモリユニット(A)13aは電源オン状態、通常動作状態に設定し、メモリユニット(C)13cは電源オン状態、省電力状態に設定するよう、ホストコントローラ12に指示を与える(ステップA10,ステップA11)。また、この時、EC/KBC21は、メモリユニット(B)13b,メモリユニット(D)13dは電源オフ状態に設定するよう、ホストコントローラ12に指示を与える(ステップA11)。そして、EC/KBC21は、メインメモリ空間がメモリユニット(A)13aに優先的に配置されるよう、ホストコントローラ12に指示を与える(ステップA12)。   Further, when the operating number of the cores 11a to 11d on the CPU 11 becomes 1 (NO in step A4, YES in step A8), the EC / KBC 21 is in a state in which the memory unit (A) 13a of the main memory 13 is in the power-on state. In the operation state, the memory unit (C) 13c gives an instruction to the host controller 12 to set the power on state and the power saving state (step A10, step A11). At this time, the EC / KBC 21 instructs the host controller 12 to set the memory unit (B) 13b and the memory unit (D) 13d to the power-off state (step A11). Then, the EC / KBC 21 gives an instruction to the host controller 12 so that the main memory space is preferentially arranged in the memory unit (A) 13a (step A12).

以上のように、本コンピュータ1によれば、マルチプロセッサシステムの稼働状況に応じてメモリデバイスの消費電力を低減することが実現される。   As described above, according to the computer 1, it is possible to reduce the power consumption of the memory device in accordance with the operation status of the multiprocessor system.

なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合わせにより、種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。さらに、異なる実施形態にわたる構成要素を適宜組み合わせてもよい。   Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. In addition, various inventions can be formed by appropriately combining a plurality of components disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, constituent elements over different embodiments may be appropriately combined.

この発明の一実施形態に係る情報処理装置(パーソナルコンピュータ)のハードウェア構成例を示す図The figure which shows the hardware structural example of the information processing apparatus (personal computer) which concerns on one Embodiment of this invention 同実施形態のコンピュータが搭載するメインメモリおよび当該メインメモリをアクセス制御するホストコントローラの構成を示す図2 is a diagram illustrating a configuration of a main memory installed in the computer of the embodiment and a host controller that controls access to the main memory. FIG. 同実施形態のコンピュータにおけるメインメモリ空間の割り当て原理を説明するための図The figure for demonstrating the allocation principle of the main memory space in the computer of the embodiment 同実施形態のコンピュータで実行されるマルチコアCPUのコア稼働数に応じたメモリ制御の手順を示すフローチャートThe flowchart which shows the procedure of the memory control according to the number of core operation | movement of the multi-core CPU performed with the computer of the embodiment

符号の説明Explanation of symbols

1…情報処理装置(コンピュータ)、11…CPU、11a〜11d…コア、12…ホストコントローラ、13…メインメモリ、13a〜13d…メモリユニット、14…表示コントローラ、15…表示装置、16…表示用メモリ、17…I/Oコントローラ、18…記憶装置、19…電源コントローラ、20…クロックジェネレータ、21…エンベデッドコントローラ/キーボードコントローラ(EC/KBC)、22…キーボード、101…メモリ管理ユーティリティプログラム、121…メインメモリ空間配置制御部。   DESCRIPTION OF SYMBOLS 1 ... Information processing apparatus (computer), 11 ... CPU, 11a-11d ... Core, 12 ... Host controller, 13 ... Main memory, 13a-13d ... Memory unit, 14 ... Display controller, 15 ... Display device, 16 ... For display Memory, 17 ... I / O controller, 18 ... Storage device, 19 ... Power controller, 20 ... Clock generator, 21 ... Embedded controller / keyboard controller (EC / KBC), 22 ... Keyboard, 101 ... Memory management utility program, 121 ... Main memory space allocation control unit.

Claims (7)

複数の命令処理部を有するCPUと、
複数のメモリ構成単位からなるメモリデバイスと、
前記CPU上での前記複数の命令処理部の稼働数に応じて、前記メモリデバイスの動作制御を前記複数のメモリ構成単位毎に実行するメモリ制御手段と、
を具備することを特徴とする情報処理装置。
A CPU having a plurality of instruction processing units;
A memory device comprising a plurality of memory building units;
Memory control means for performing operation control of the memory device for each of the plurality of memory configuration units according to the number of operations of the plurality of instruction processing units on the CPU;
An information processing apparatus comprising:
前記CPU上での前記複数の命令処理部の稼働数に応じて前記メモリ制御手段に実行させる前記メモリデバイスの動作制御内容を設定する設定手段をさらに具備することを特徴とする請求項1記載の情報処理装置。   2. The apparatus according to claim 1, further comprising setting means for setting operation control contents of the memory device to be executed by the memory control means in accordance with the number of operating the plurality of instruction processing units on the CPU. Information processing device. 前記メモリデバイスに対する動作用電力の供給制御を前記複数のメモリ構成単位毎に実行する電力供給手段を具備し、
前記メモリ制御手段は、前記電力供給手段を介して、前記複数のメモリ構成単位それぞれを電源オンまたは電源オフすることを特徴とする請求項1記載の情報処理装置。
Power supply means for executing power supply control for operating the memory device for each of the plurality of memory configuration units;
The information processing apparatus according to claim 1, wherein the memory control unit powers on or off each of the plurality of memory structural units via the power supply unit.
前記メモリデバイスに対する動作用クロックの供給制御を前記複数のメモリ構成単位毎に実行するクロック供給手段を具備し、
前記メモリ制御手段は、前記クロック供給手段を介して、前記複数のメモリ構成単位それぞれのクロック周波数を切り替えることを特徴とする請求項1記載の情報処理装置。
A clock supply means for executing operation clock supply control for the memory device for each of the plurality of memory constituent units;
2. The information processing apparatus according to claim 1, wherein the memory control unit switches a clock frequency of each of the plurality of memory structural units via the clock supply unit.
電源オフするメモリ構成単位上のデータを電源オン状態が維持される他のメモリ構成単位に再配置する手段を含むことを特徴とする請求項3記載の情報処理装置。   4. The information processing apparatus according to claim 3, further comprising means for rearranging data on a memory structural unit to be powered off to another memory structural unit in which a power-on state is maintained. クロックが低速化されたメモリ構成単位よりも通常のクロックで動作するメモリ構成単位を優先してデータを配置するように制御する手段を含むことを特徴とする請求項4記載の情報処理装置。   5. The information processing apparatus according to claim 4, further comprising means for controlling the data to be arranged with priority given to a memory unit that operates with a normal clock over a memory unit with a reduced clock speed. 複数の命令処理部を有するCPUと、複数のメモリ構成単位からなるメモリデバイスとを搭載する情報処理装置のメモリ制御方法であって、
前記CPU上での前記複数の命令処理部の稼働数に応じて、前記メモリデバイスの動作制御を前記複数のメモリ構成単位毎に実行する、
ことを特徴とするメモリ制御方法。
A memory control method for an information processing apparatus including a CPU having a plurality of instruction processing units and a memory device composed of a plurality of memory constituent units,
The operation control of the memory device is executed for each of the plurality of memory configuration units according to the number of operations of the plurality of instruction processing units on the CPU.
And a memory control method.
JP2007085713A 2007-03-28 2007-03-28 Information processor and memory control method therefor Pending JP2008243049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007085713A JP2008243049A (en) 2007-03-28 2007-03-28 Information processor and memory control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007085713A JP2008243049A (en) 2007-03-28 2007-03-28 Information processor and memory control method therefor

Publications (1)

Publication Number Publication Date
JP2008243049A true JP2008243049A (en) 2008-10-09

Family

ID=39914274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007085713A Pending JP2008243049A (en) 2007-03-28 2007-03-28 Information processor and memory control method therefor

Country Status (1)

Country Link
JP (1) JP2008243049A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048550A (en) * 2009-08-26 2011-03-10 Nec Corp Method and program for memory relocation control of computer, and computer system
JP2017016427A (en) * 2015-07-01 2017-01-19 株式会社東芝 Processor system, memory control circuit, and memory system
JP6130949B1 (en) * 2016-03-17 2017-05-17 株式会社東芝 Memory system and processor system
JP2018041257A (en) * 2016-09-07 2018-03-15 シャープ株式会社 Memory control device, electronic device, memory control method, and control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011048550A (en) * 2009-08-26 2011-03-10 Nec Corp Method and program for memory relocation control of computer, and computer system
US8381003B2 (en) 2009-08-26 2013-02-19 Nec Corporation Memory relocation in computer for power saving
JP2017016427A (en) * 2015-07-01 2017-01-19 株式会社東芝 Processor system, memory control circuit, and memory system
JP6130949B1 (en) * 2016-03-17 2017-05-17 株式会社東芝 Memory system and processor system
JP2017167960A (en) * 2016-03-17 2017-09-21 株式会社東芝 Memory system and processor system
JP2018041257A (en) * 2016-09-07 2018-03-15 シャープ株式会社 Memory control device, electronic device, memory control method, and control program

Similar Documents

Publication Publication Date Title
US10310588B2 (en) Forcing core low power states in a processor
TWI630476B (en) Processor,machine-readable medium and system for performing dynamic power control of platform devices
US8112648B2 (en) Enhanced control of CPU parking and thread rescheduling for maximizing the benefits of low-power state
Jang et al. Energy reduction in consolidated servers through memory-aware virtual machine scheduling
JP2024024042A (en) Systems, equipment, and methods for optimal throttling of processors
JP2015064676A (en) Information processing device, semiconductor device, information processing method, and program
US9256271B2 (en) Predictive power management based on user category
JP2008257578A (en) Information processor, scheduler, and schedule control method of information processor
JP2007249660A (en) Information processor and method of controlling system state
JP5095682B2 (en) Information processing apparatus, power control method for information processing apparatus, and computer-executable program
TW201011524A (en) Method and controller for power management
WO2011155047A1 (en) Multi-core processor system, method of power control, and power control program
JP2008243049A (en) Information processor and memory control method therefor
US10860083B2 (en) System, apparatus and method for collective power control of multiple intellectual property agents and a shared power rail
JP2011013775A (en) Information-processing device, method for controlling information-processing device, and program
JP2009070389A (en) Controller for processor
JP3961669B2 (en) Computer system and data transfer control method
JP5894044B2 (en) Method and portable computer for storing data in a hybrid disk drive
JP2012058930A (en) Image forming apparatus, and energy conservation management method and energy conservation management program
JP2011013836A (en) Memory arrangement management device and microprocessor
JP2008165318A (en) Computer system
JP4703757B2 (en) Information processing device
JP4691180B2 (en) Information processing device
KR20090104768A (en) Platform power management based on latency guidance
JP2003345474A (en) Computer system and data transfer control method