JP2000222285A - Memory power managing device - Google Patents

Memory power managing device

Info

Publication number
JP2000222285A
JP2000222285A JP11021871A JP2187199A JP2000222285A JP 2000222285 A JP2000222285 A JP 2000222285A JP 11021871 A JP11021871 A JP 11021871A JP 2187199 A JP2187199 A JP 2187199A JP 2000222285 A JP2000222285 A JP 2000222285A
Authority
JP
Japan
Prior art keywords
data
memory
segment
power
management
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
JP11021871A
Other languages
Japanese (ja)
Inventor
Yuji Egami
裕士 江上
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11021871A priority Critical patent/JP2000222285A/en
Publication of JP2000222285A publication Critical patent/JP2000222285A/en
Pending legal-status Critical Current

Links

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)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the effect of power saving by precisely controlling power consumption by managing the arrangement of data in a memory from the viewpoint of power consumption. SOLUTION: This device has a memory information managing means 14 for managing the segment information of the memory, a data arrangement managing means 11 for managing the arrangement of data into a memory means and a power managing means 13 for managing the supply of power to the memory and on the basis of segment information from the memory information managing means 14 and the information of data arrangement in the memory from the data arrangement managing means 11, the power managing means 13 instructs the rearrangement of data in the memory to the data arrangement managing means 11 so as to stop the supply of power to the segment, where data are not stored, in the memory after the end of rearrangement of data in the memory.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、パーソナルコンピ
ュータや携帯端末装置で使用されるメモリー(主記憶)
の消費電力を節約することの可能なメモリー電力管理装
置に関する。
The present invention relates to a memory (main memory) used in a personal computer or a portable terminal device.
And a memory power management device capable of saving power consumption.

【0002】[0002]

【従来の技術】近年パーソナルコンピュータ等の情報機
器においては、CPUの性能が向上しまたグラフィカル
ユーザインターフェイスでのユーザ操作が通常になって
きた。また扱うデータに関してもいわゆるテキストデー
タではなく画像データを扱うことが多くなってきてい
る。このため従来と比べるとパーソナルコンピュータに
搭載されるメモリー量が飛躍的に増大している。また一
方このような情報機器は簡単に持ち運び可能な携帯型の
装置として数多く商品化されておりその場合バッテリー
駆動で動作させる必要があるために出来る限り消費電力
を少なくすることが要求されている。
2. Description of the Related Art In information devices such as personal computers in recent years, CPU performance has been improved, and user operations using a graphical user interface have become common. Regarding data to be handled, image data is often handled instead of so-called text data. For this reason, the amount of memory mounted on the personal computer has been dramatically increased as compared with the related art. On the other hand, many of such information devices are commercially available as portable devices that can be easily carried. In such a case, it is necessary to operate on a battery, so that it is required to reduce power consumption as much as possible.

【0003】従来メモリーの消費電力を少なくする技術
は、種々考えらているが、メモリーへの電力供給を管理
することにより消費電力を少なくする方法としては、メ
モリーを複数のユニット単位で管理し使用していないメ
モリーユニットに対する電力供給を停止することにより
省電力を図る方法が知られている。
Conventionally, various techniques for reducing the power consumption of a memory have been conceived. As a method of reducing the power consumption by managing the power supply to the memory, the memory is managed and used in units of a plurality of units. There is known a method of saving power by stopping power supply to a memory unit that has not been operated.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、メモリ
ー内にデータをどのように配置するかと言ったメモリー
内の配置管理に関してはOS(オペレーティングシステ
ム)がメモリーの消費電力とは全く無関係に管理してい
たために、上記従来の方法では、偶然にそのメモリーユ
ニットが使用されていなければその部分のメモリーユニ
ットに対する電力供給は停止され消費電力が少なくなる
こともあるが、そうでない場合も多く必ずしも省電力の
実効が上がっていないのが現実であった。
However, regarding the management of the arrangement in the memory, such as how to arrange data in the memory, the OS (operating system) manages the operation completely independent of the power consumption of the memory. In addition, in the above-described conventional method, if the memory unit is not used by accident, the power supply to that part of the memory unit may be stopped and the power consumption may be reduced. It was a reality that did not rise.

【0005】本発明は、以上の課題を解決するものであ
って、メモリー内のデータ配置を消費電力の観点から管
理することにより、より一層木目細かく消費電力を制御
することを可能とし、節電の効果を向上させることを目
的とする。
SUMMARY OF THE INVENTION The present invention solves the above-mentioned problems. By managing the data arrangement in a memory from the viewpoint of power consumption, it is possible to control power consumption more finely, and to save power. The purpose is to improve the effect.

【0006】[0006]

【課題を解決するための手段】本発明におけるメモリー
電力管理装置は、メモリーのセグメント情報を管理する
メモリー情報管理手段と、前記メモリー手段へのデータ
の配置を管理するデータ配置管理手段と、メモリーへの
電力供給を管理する電力管理手段を有し、前記電力管理
手段は、前記メモリー情報管理手段からのセグメント情
報と前記データ配置管理手段からのメモリー内データ配
置情報に基づき、前記メモリー配置管理手段に対してメ
モリー内データの再配置を指示し、メモリー内データの
再配置終了後メモリー内のデータが格納されていないセ
グメントに対する電力供給を停止するように構成されて
いるものであって、電力管理の観点からメモリーのデー
タ配置を管理し、データが格納されていないセグメント
に対して電力供給を停止することにより省電力の効果が
非常に高い。
According to the present invention, there is provided a memory power management device comprising: a memory information management unit for managing segment information of a memory; a data allocation management unit for managing an arrangement of data in the memory unit; Power management means for managing the power supply, the power management means, based on the segment information from the memory information management means and the in-memory data arrangement information from the data arrangement management means, the memory arrangement management means Instructed to relocate the data in the memory, and after the relocation of the data in the memory, the power supply to the segments in which the data in the memory is not stored is stopped, and the power management Manage memory data layout from the viewpoint and supply power to segments that do not store data The effect of power saving by stopping very high.

【0007】[0007]

【発明の実施の形態】本発明の請求項1に記載のメモリ
ー電力管理装置は、データを記憶するメモリー手段と、
メモリーのセグメント情報を管理するメモリー情報管理
手段と、前記メモリー手段へのデータの配置を管理する
データ配置管理手段と、メモリーへの電力供給を管理す
る電力管理手段を有し、前記電力管理手段は、前記メモ
リー情報管理手段からのセグメント情報と前記データ配
置管理手段からのメモリー内データ配置情報に基づき、
前記メモリー情報管理手段に対してメモリー内データの
再配置を指示し、メモリー内データの再配置終了後メモ
リー内のデータが格納されていないセグメントに対する
電力供給を停止することを特徴とするメモリー電力管理
装置であって、電力管理の観点からメモリー内のデータ
配置を管理し、データの格納されていないセグメントに
は電力供給を停止することにより高い省電力の効果を有
するものである。
DETAILED DESCRIPTION OF THE INVENTION A memory power management device according to claim 1 of the present invention comprises: a memory means for storing data;
A memory information management unit that manages segment information of a memory; a data arrangement management unit that manages arrangement of data in the memory unit; and a power management unit that manages power supply to the memory. Based on the segment information from the memory information management means and the in-memory data arrangement information from the data arrangement management means,
Memory power management instructing the memory information management means to relocate data in the memory, and stopping power supply to a segment in which data in the memory is not stored after the relocation of the data in the memory is completed. The device has a high power saving effect by managing data arrangement in a memory from the viewpoint of power management and stopping power supply to a segment in which data is not stored.

【0008】また本発明の請求項2に記載のメモリー電
力管理装置は、請求項1に記載のメモリー電力管理装置
において、メモリーに配置するデータの属性を管理する
データ属性管理手段を有し、電力管理手段は前記データ
属性管理手段の情報に基づいてデータ配置管理手段に対
してデータの再配置を指示することを特徴とするメモリ
ー電力管理装置であって、データの属性によってメモリ
ーのデータ配置を行なうことにより、より効率的な電力
管理を行うことが可能になるという効果を有する。
According to a second aspect of the present invention, there is provided a memory power management apparatus according to the first aspect, further comprising a data attribute management unit for managing an attribute of data to be arranged in the memory, The management means is a memory power management device for instructing the data arrangement management means to relocate data based on the information of the data attribute management means, and performs the data arrangement of the memory according to the attribute of the data. This has an effect that more efficient power management can be performed.

【0009】また本発明の請求項3に記載のメモリー電
力管理装置は、請求項2に記載のメモリー電力管理装置
において、メモリー属性管理手段で管理するデータの種
類は、少なくともプログラムデータと、ワークデータの
2種類のデータからなることを特徴とするメモリー電力
管理装置であって、データの種類別にデータを管理する
ことによりワークデータの格納されたメモリーセグメン
トに対しては、電圧を下げる等の方法により消費電力を
落とすことが可能となる。
According to a third aspect of the present invention, in the memory power management apparatus according to the second aspect, the types of data managed by the memory attribute management means are at least program data and work data. A memory power management device characterized by comprising two types of data, wherein data is managed for each type of data, and a voltage is applied to a memory segment in which work data is stored by lowering a voltage or the like. Power consumption can be reduced.

【0010】また本発明の請求項4に記載のメモリー電
力管理装置は、請求項1または請求項2に記載のメモリ
ー電力管理装置において、メモリー内の各セグメントへ
のデータのアクセスを監視するメモリーアクセス監視手
段を有し、電力管理手段は、前記メモリーアクセス監視
手段から特定のセグメントに対するアクセスが所定時間
内との報告を受け、メモリー配置手段に対して前記特定
のセグメントのデータをHDD等の外部記憶手段に退避
するよう指示し、退避終了後退避したセグメントに対す
る電力供給を停止することを特徴とするメモリー電力管
理装置であって、ロードされたデータであってもアクセ
スが所定時間でなければ外部記憶手段にデータを一時退
避しそのセグメントに対する電力供給を停止するのでさ
らに省電力の効果を高めることが可能となる。
According to a fourth aspect of the present invention, there is provided a memory power management device according to the first or second aspect, wherein the memory access monitoring unit monitors data access to each segment in the memory. The power management means receives a report from the memory access monitoring means that access to a specific segment is within a predetermined time, and stores the data of the specific segment in an external storage such as an HDD to a memory allocating means. Means for instructing the device to save, and stopping the power supply to the saved segment after the saving is completed. Saves data temporarily and stops power supply to that segment, further saving power It can be enhanced to become.

【0011】また本発明の請求項5に記載のメモリー電
力管理装置は、請求項1または請求項2に記載のメモリ
ー電力管理装置において、複数のタスクが同時に動作可
能なマルチタスク動作手段と、前記複数のタスクのどの
タスクが現在動作中かを判別する動作タスク判別手段
と、前記タスクで使用されるデータがメモリーのどのセ
グメントに配置されているかを監視するタスク別データ
配置監視手段を有し、電力管理手段は、前記動作タスク
判別手段で動作中と判別されたタスクのデータが配置さ
れているセグメント情報を前記タスク別データ配置監視
手段から取得し動作中のタスクが配置されているセグメ
ント以外のセグメントのデータをHDD等の外部記憶手
段に退避するようメモリー配置手段に指示し、退避終了
後退避したセグメントに対する電力供給を停止すること
を特徴とするメモリー電力管理装置であって、現在動作
中のタスクに関するデータが格納されているセグメント
以外のセグメントにロードされたデータを外部記憶装置
に一時退避しその部分の電力供給を停止するのでさらに
省電力の効果を高めることが可能となる。
According to a fifth aspect of the present invention, there is provided the memory power management device according to the first or second aspect, wherein the multi-task operation means capable of simultaneously operating a plurality of tasks; An operation task determining means for determining which task of the plurality of tasks is currently operating, and a task-specific data placement monitoring means for monitoring which segment of the memory is used for data used in the task, The power management unit acquires segment information in which the data of the task determined to be operating by the operation task determining unit is arranged from the task-specific data arrangement monitoring unit and obtains segment information other than the segment in which the operating task is arranged. Instructs the memory allocating means to save the segment data to external storage means such as an HDD, and saves the segment after the saving is completed. A memory power management device characterized by stopping power supply to a device, and temporarily saves data loaded in a segment other than a segment in which data relating to a currently operating task is stored in an external storage device and stores the data in a part thereof. Since the power supply is stopped, the effect of power saving can be further enhanced.

【0012】以下、本発明の実施の形態について、図面
を用いて説明する。
An embodiment of the present invention will be described below with reference to the drawings.

【0013】(第1の実施の形態)図1は、本発明の一
実施の形態に係るメモリー電力管理装置の構成図であ
る。
FIG. 1 is a configuration diagram of a memory power management device according to an embodiment of the present invention.

【0014】図1において、11はデータ配置管理手
段、12はメモリー(主記憶)、13は電力管理手段、
14はメモリー情報管理手段、15はHDD(ハードデ
ィスク)、16はCPU(中央演算装置)である。
In FIG. 1, 11 is a data arrangement management means, 12 is a memory (main memory), 13 is a power management means,
14 is a memory information management means, 15 is an HDD (hard disk), and 16 is a CPU (Central Processing Unit).

【0015】データ配置管理手段11は、CPU16や
HDD15からメモリー12とのデータの読み書きやメ
モリー12のデータの配置を制御しており、また電力管
理手段13にメモリー12のデータ配置に関する情報を
教え、電力管理手段13からの指示によりデータの再配
置を行う。
The data arrangement management means 11 controls reading and writing of data from and to the memory 12 from the CPU 16 and the HDD 15 and the arrangement of data in the memory 12. Data is rearranged according to an instruction from the power management unit 13.

【0016】メモリー情報管理手段14は、メモリー1
2の全メモリーサイズや、電源の制御を独立して管理で
きるメモリーサイズ(以下この管理対象をメモリーセグ
メント又は単にセグメントと言う)をメモリー12から
取得し保持している。
The memory information management means 14 includes a memory 1
2 and a memory size capable of independently controlling power supply control (hereinafter, this management target is referred to as a memory segment or simply a segment) is acquired from the memory 12 and held.

【0017】電力管理手段13は、メモリー情報管理手
段14のセグメント情報とデータ配置管理手段11から
のメモリー12のデータ配置情報をもとに、メモリー1
2内のデータの再配置をデータ配置管理手段11に指示
したり、メモリー12の特定のセグメントの電源供給を
停止したりする。
The power management means 13 stores the memory 1 based on the segment information of the memory information management means 14 and the data arrangement information of the memory 12 from the data arrangement management means 11.
It instructs the data arrangement management means 11 to relocate the data in the section 2 and stops the power supply to a specific segment of the memory 12.

【0018】以下、本実施の形態におけるメモリー電力
管理装置の動作について、図1と図5から図9を用いて
説明する。
Hereinafter, the operation of the memory power management apparatus according to the present embodiment will be described with reference to FIG. 1 and FIGS.

【0019】図5は、メモリー12のメモリーサイズ情
報のデータ構造図であり、51はメモリーサイズ、52
はセグメントサイズである。このデータは、メモリー情
報管理手段14がメモリー12から取得して格納するも
のであって図5の例では、メモリーサイズ51に128
(MB)が、セグメントサイズ52には32(MB)が
それぞれ格納されている。セグメントサイズとは、電源
供給を単独で制御することが可能な最小単位であり、こ
の例では、32MB単位で電源を制御(オン・オフ)で
きることを意味し、全メモリーサイズが128MBの本
例では4個のセグメントが存在する。
FIG. 5 is a diagram showing the data structure of the memory size information of the memory 12;
Is the segment size. This data is acquired by the memory information management means 14 from the memory 12 and stored. In the example of FIG.
(MB) and 32 (MB) are stored in the segment size 52, respectively. The segment size is a minimum unit capable of controlling power supply independently. In this example, it means that the power supply can be controlled (on / off) in units of 32 MB. In this example, the total memory size is 128 MB. There are four segments.

【0020】図6は、メモリー12のデータ配置を管理
するためのテーブルの構造図であって、61はデータ管
理番号、62は配置セグメント番号、63はデータサイ
ズ(MB単位)、64はデータ種類、65はタスク番号
である。データ管理番号61は、メモリー12上でデー
タを管理するための番号であって、メモリー12のデー
タ配置はこのデータ単位で管理される。以下この管理対
象となるデータのことを管理データと言う。配置セグメ
ント番号62は、管理データがメモリー12上のどのセ
グメントに配置されているかを示すものである。なおセ
グメント番号はメモリー上でアドレスの小さい方から順
番に付けられているものとする。データサイズ63は、
管理データのサイズを示す。データ種類64は、“C
S”・“DS”の2種類のデータからなり、管理データ
がプログラム等の実行データである場合は、“CS”、
それ以外のデータであるときは“DS”という記号が付
けられる。またタスク番号65は、管理データがどのタ
スクで使用されるものであるかを示すものである。図6
では、データ管理番号61には、今8個のデータがメモ
リー12上にロードされており、それぞれのデータ管理
番号61に対応して、配置セグメント番号62・データ
サイズ63・データ種類64・タスク番号65が格納さ
れている。例えば、データ管理番号61に“1”が格納
されているデータについて見ると、対応するデータとし
て“1”・“16”・“CS”・“1”が格納されてい
る。これの意味するところは、データ管理番号61が
“1”の管理データは、セグメント番号“1”のメモリ
ー上にロードされ、データサイズは“16MB”、デー
タの種類は“CS”(実行プログラム)、タスク番号は
“1”であるということである。同様に他の7個の管理
データに対しても、対応するデータが格納されているこ
とが分かる。
FIG. 6 is a structural diagram of a table for managing the data arrangement in the memory 12, wherein 61 is a data management number, 62 is an arrangement segment number, 63 is a data size (in MB), and 64 is a data type. , 65 are task numbers. The data management number 61 is a number for managing data on the memory 12, and the data arrangement of the memory 12 is managed on a data unit basis. Hereinafter, the data to be managed is referred to as management data. The allocation segment number 62 indicates which segment in the memory 12 the management data is allocated. It is assumed that the segment numbers are assigned in order from the smallest address on the memory. The data size 63 is
Indicates the size of management data. The data type 64 is “C
S "and" DS ". When the management data is execution data such as a program," CS ",
If it is other data, the symbol "DS" is attached. The task number 65 indicates which task the management data is used for. FIG.
In the data management number 61, eight data are now loaded on the memory 12, and corresponding to each data management number 61, an arrangement segment number 62, a data size 63, a data type 64, a task number 65 are stored. For example, looking at data in which “1” is stored in the data management number 61, “1”, “16”, “CS”, and “1” are stored as corresponding data. This means that the management data with the data management number 61 of “1” is loaded on the memory of the segment number “1”, the data size is “16 MB”, and the data type is “CS” (execution program). , The task number is “1”. Similarly, it can be seen that corresponding data is stored for the other seven management data.

【0021】図7は、メモリー12の各セグメントに対
する電力供給を管理するためのテーブルの構造図であっ
て、71はセグメント番号であり、そのセグメント番号
に対応して、72は電源のON/OFF、73はデータ
の有無、74は空きサイズが格納されている。図7の例
では、例えばセグメント番号71に“1”が格納されて
いるデータについて見ると、“ON”・“有”・“0”
がそれぞれ格納されている。これの意味するところは、
セグメント番号“1”の電源はONであり、データは存
在し、残りの空きサイズは“0”MBであることが分か
る。他の3個のセグメントに対しても対応するデータが
それぞれ格納されている。
FIG. 7 is a structural diagram of a table for managing power supply to each segment of the memory 12, where 71 is a segment number, and 72 is a power ON / OFF corresponding to the segment number. , 73 store the presence or absence of data, and 74 store the free size. In the example of FIG. 7, for example, when looking at data in which “1” is stored in the segment number 71, “ON”, “Yes”, “0”
Are respectively stored. This means that
It can be seen that the power of the segment number “1” is ON, data exists, and the remaining free size is “0” MB. Corresponding data is stored for each of the other three segments.

【0022】今、メモリー12上のデータの配置および
電源制御の状態が上記で説明した内容である場合、電力
管理手段13は、以下の手順で電源制御を行う。
If the arrangement of data on the memory 12 and the state of power control are as described above, the power management means 13 performs power control according to the following procedure.

【0023】(ステップ1)空きサイズのあるセグメン
トを探す。
(Step 1) Search for a segment having an empty size.

【0024】本例の場合は、セグメント“2”に12M
Bの空き容量があることが分かる。
In the case of this example, 12M is added to the segment "2".
It can be seen that there is a free space of B.

【0025】(ステップ2)データが格納されたセグメ
ントであってかつ格納されているデータサイズがステッ
プ1以下の容量のセグメントを探す。
(Step 2) A search is made for a segment in which data is stored and whose stored data size is equal to or smaller than Step 1.

【0026】本例の場合は、セグメント“3”のデータ
サイズが12MBであるのでセグメント“3”が該当す
る。
In the case of this example, since the data size of the segment "3" is 12 MB, the segment "3" corresponds.

【0027】(ステップ3)ステップ2で検索したセグ
メントのデータをステップ1で検索したセグメントの空
き領域に移動する。
(Step 3) The data of the segment searched in step 2 is moved to a free area of the segment searched in step 1.

【0028】本例の場合は、セグメント“3”のデータ
をセグメント“2”の空き領域に移動する。
In the case of this example, the data of the segment "3" is moved to the free area of the segment "2".

【0029】以上のステップ1からステップ3の動作を
該当するセグメントがなくなるまで実行する。
The operations of steps 1 to 3 are executed until there is no corresponding segment.

【0030】(ステップ4)データが無くなったセグメ
ントに対する電源供給を停止する。
(Step 4) Power supply to the segment for which data has been lost is stopped.

【0031】本例の場合は、セグメント“3”に対する
電源供給を停止する。
In the case of this example, the power supply to the segment "3" is stopped.

【0032】図8と図9はそれぞれ、以上の動作が終了
しメモリー12上のデータの再配置とそれに伴う電源供
給の停止を完了したときの、メモリー内データ配置管理
テーブルのデータ構造図とメモリーセグメント電源供給
管理テーブルのデータ構造図である。
FIGS. 8 and 9 show the data structure of the data arrangement management table in the memory and the memory when the above operation is completed and the rearrangement of the data in the memory 12 and the stop of the power supply are completed. It is a data structure figure of a segment power supply management table.

【0033】以上説明したように本第1の実施の形態の
メモリー電力管理装置によれば、メモリー内のデータ配
置を消費電力の観点から管理する構成としたので、木目
細かく消費電力を制御することが可能となり節電に対す
る効果が大きい。
As described above, according to the memory power management device of the first embodiment, since the data arrangement in the memory is managed from the viewpoint of power consumption, the power consumption can be controlled finely. And the effect on power saving is great.

【0034】(第2の実施の形態)図2は、本発明の第
2の実施の形態に係るメモリー電力管理装置の構成図で
ある。図2において、11から16までは図1と同様で
あるので説明は省略する。21はデータ属性管理手段で
あり、第1の実施の形態で説明したデータ種類64を管
理するためのものである。本実施の形態では、管理デー
タのデータ属性に着目し、同一のデータ属性の属する管
理データをできる限りまとめた形でメモリー12上のセ
グメントに配置し、常にメモリー12上に置いておく必
要のないデータ属性をもつデータが格納されたセグメン
ト上のデータをHDD15等の外部記憶装置に待避する
ことにより、そのセグメントの電源供給を停止して、よ
り一層省電力の効果を上げる構成としたものである。以
下図面を用いて本実施の形態の動作について説明する。
(Second Embodiment) FIG. 2 is a configuration diagram of a memory power management device according to a second embodiment of the present invention. In FIG. 2, steps 11 to 16 are the same as those in FIG. Reference numeral 21 denotes a data attribute management unit for managing the data type 64 described in the first embodiment. In the present embodiment, attention is paid to the data attribute of the management data, and the management data to which the same data attribute belongs is arranged in a segment on the memory 12 as much as possible, and it is not necessary to always keep the management data on the memory 12. By saving the data on the segment storing the data having the data attribute in an external storage device such as the HDD 15, the power supply to the segment is stopped and the power saving effect is further improved. . The operation of the present embodiment will be described below with reference to the drawings.

【0035】今、メモリー内データ配置管理テーブルが
図6、メモリーセグメント電源供給管理テーブルが図7
のように構成されているとする。電力管理手段13は、
データ種類64をデータ配置管理手段11に対してでき
る限り同一のデータ属性をもつ管理データをまとめた形
でメモリー12上のセグメントに配置するように指示す
る。データ配置管理手段11はこれを受けてデータ属性
管理手段21に対してデータ属性に応じたデータ配置を
行うべく指示する。データ属性管理手段21はこれを受
けてデータ配置変更を行う。図6の例では、“CS”の
データ属性を持つ管理データは、データ管理番号
“1”、“3”、“6”であり、これらのデータサイズ
は合わせて24MBであるので、まとめて第1セグメン
トに配置される。“DS”のデータ属性を持つ管理デー
タは、データ管理番号“2”、“4”、“5”、
“7”、“8”であり、これらのデータサイズは合わせ
て40MBであるので、データ管理番号の小さい順番に
第2、第3のセグメントに配置される。図10と図11
がそれぞれ以上の配置が完了した状態のメモリー内デー
タ配置管理テーブル、メモリーセグメント電源供給管理
テーブルである。なお図11においては、この状態の時
は、セグメント番号71が、“2”、“3”に対応する
電源ON/OFF72の値はまだ“ON”、“ON”で
あり、空きサイズ74の値は“4”、“20”である。
以上の再配置が完了すると、次に“DS”の属性を持つ
セグメントのデータは、HDDに待避する。待避された
データは、図14のように管理されこの管理データに対
するアクセス要求があったときは再び主記憶上にロード
される。図14において141は、HDD退避データ番
号であり、HDDに退避したデータの管理番号である。
61から65は図6と同様であるので説明は省略する。
例えばHDDへのデータの退避後データ管理番号61が
“4”のデータに対するアクセス要求があったときは、
図61のテーブルを検索し、HDD退避データ番号14
1が“2”のデータをメモリー12上に完再びロードす
る。電力管理手段13は、退避完了後、待避したセグメ
ントに対する電源供給を停止する。図11においては、
待避完了後セグメント“2”、“3”に対する電源供給
が停止されていることが分かる(フラグ“OFF”)。
FIG. 6 shows a data arrangement management table in the memory, and FIG. 7 shows a memory segment power supply management table.
It is assumed that it is configured as follows. The power management means 13
The data type 64 is instructed to the data arrangement management means 11 to arrange the management data having the same data attribute as much as possible in the segment on the memory 12 in a combined form. In response to this, the data arrangement management unit 11 instructs the data attribute management unit 21 to perform data arrangement according to the data attribute. The data attribute management means 21 receives this and changes the data arrangement. In the example of FIG. 6, the management data having the data attribute of “CS” are the data management numbers “1”, “3”, and “6”, and their data size is 24 MB in total. It is arranged in one segment. Management data having a data attribute of “DS” includes data management numbers “2”, “4”, “5”,
Since they are "7" and "8" and their data size is 40 MB in total, they are arranged in the second and third segments in ascending order of the data management number. 10 and 11
Are an in-memory data arrangement management table and a memory segment power supply management table in a state where the above arrangement is completed. In this case, in FIG. 11, in this state, the values of the power supply ON / OFF 72 corresponding to the segment numbers 71 of “2” and “3” are still “ON” and “ON”, and the value of the empty size 74 is Are "4" and "20".
When the above rearrangement is completed, the data of the segment having the attribute “DS” is saved in the HDD. The saved data is managed as shown in FIG. 14, and when there is an access request for the management data, it is loaded again on the main memory. In FIG. 14, reference numeral 141 denotes an HDD saved data number, which is a management number of data saved in the HDD.
61 to 65 are the same as those in FIG.
For example, when there is an access request to the data whose data management number 61 is “4” after the data is saved to the HDD,
The table in FIG. 61 is searched, and the HDD save data number 14
The data in which 1 is “2” is completely loaded onto the memory 12 again. After the evacuation is completed, the power management unit 13 stops supplying power to the evacuated segment. In FIG.
It can be seen that the power supply to the segments “2” and “3” is stopped after the completion of the saving (flag “OFF”).

【0036】以上説明したように本第2の実施の形態の
メモリー電力管理装置によれば、メモリー内のデータ配
置をデータの属性に着目して管理する構成としたので、
更に木目細かく消費電力を制御することが可能となり節
電に対する効果が大きい。
As described above, according to the memory power management apparatus of the second embodiment, the arrangement of data in the memory is managed by focusing on the attribute of data.
Further, the power consumption can be controlled finely, and the effect on power saving is great.

【0037】(第3の実施の形態)本実施の形態は、管
理データの動作フラグタスクを用いて動作中のタスク以
外の管理データをできる限りHDD15等の外部記憶装
置に待避することにより、その部分のセグメントに対す
る電源供給を停止して省電力の効果を上げる構成とした
ものである。以下図面を用いて本実施の形態の構成およ
び動作について説明する。
(Third Embodiment) In this embodiment, the management data other than the running task is saved as much as possible in an external storage device such as the HDD 15 by using the operation flag task of the management data. In this configuration, power supply to the segments is stopped to improve the power saving effect. Hereinafter, the configuration and operation of the present embodiment will be described with reference to the drawings.

【0038】図4は、本発明の第3の実施の形態に係る
メモリー電力管理装置の構成図である。図4において、
11から16までは図1と同様であるので説明は省略す
る。41はタスク別データ配置監視手段であり、42は
動作タスク判別手段である。また図12は、本実施の形
態で使用されるメモリー内データ配置管理テーブルであ
り、図6、図8のデータ構造と比較して、動作タスクフ
ラグ66を追加した構造となっている。動作タスクフラ
グ66は、管理データを使用するタスクが動作中のタス
クであるときは“1”が格納され、そうでないときは
“0”が格納されるものであり、動作タスク判別手段4
2にて管理される。タスク別データ配置監視手段41
は、動作タスクフラグ66を監視し動作していないタス
クで使用されている管理データがセグメントにロードさ
れていることを電力管理装置に報告するものである。ま
た、図13は本実施の形態で使用されるメモリーセグメ
ント電源供給管理テーブルの構造図である。図12、図
13の各データは、最初の状態として第1の実施の形態
で説明した図8、図9と同様のデータ配置を想定してい
る。この時図12において、動作タスクフラグ66に
“1”が格納されている管理データは、データ管理番号
“1”と“2”のみであり、それ以外の管理データは動
作中のタスクで使用されていないことを示している。タ
スク別データ配置監視手段41は、電力管理手段13に
対してこのことを報告する。電力管理手段13はこれに
対応してデータ配置管理手段11に対して動作タスクフ
ラグ66に“1”が含まれていないセグメント上のデー
タをHDD15等の外部記憶装置にすべて待避するよう
に指示する。データ配置管理手段11はこれに対応して
データをHDD15に待避する。待避完了後、電力管理
手段13は、データのすべて待避されたセグメントに対
する電源供給を停止する。図13においては、“→”の
左側がデータ待避前の状態であり右側がデータ待避後の
状態である。本例では、セグメント番号“2”の電源が
“ON”から“OFF”に変化し、最終的に電源が“O
N”の状態であるのはセグメント番号“1”の部分のみ
であることが分かる。
FIG. 4 is a configuration diagram of a memory power management device according to a third embodiment of the present invention. In FIG.
11 to 16 are the same as those in FIG. 41 is a task-specific data arrangement monitoring unit, and 42 is an operation task determining unit. FIG. 12 shows an in-memory data arrangement management table used in the present embodiment, which has a structure in which an operation task flag 66 is added as compared with the data structure shown in FIGS. The operation task flag 66 stores “1” when the task using the management data is a running task, and stores “0” when it is not.
It is managed in 2. Task-specific data arrangement monitoring means 41
Monitors the operation task flag 66 and reports to the power management apparatus that the management data used by the inactive task has been loaded into the segment. FIG. 13 is a structural diagram of a memory segment power supply management table used in the present embodiment. Each data in FIGS. 12 and 13 assumes the same data arrangement as FIGS. 8 and 9 described in the first embodiment as an initial state. At this time, in FIG. 12, the management data in which “1” is stored in the operation task flag 66 is only the data management numbers “1” and “2”, and the other management data is used by the running task. Not indicate. The task-specific data arrangement monitoring means 41 reports this to the power management means 13. In response to this, the power management unit 13 instructs the data allocation management unit 11 to save all data on the segment in which the operation task flag 66 does not include “1” to the external storage device such as the HDD 15. . The data arrangement management means 11 saves the data in the HDD 15 correspondingly. After the saving is completed, the power management unit 13 stops the power supply to all the saved segments of the data. In FIG. 13, the left side of “→” indicates a state before data saving, and the right side thereof indicates a state after data saving. In this example, the power supply of the segment number “2” changes from “ON” to “OFF”, and finally the power supply becomes “O”.
It can be seen that the state of "N" is only the part of the segment number "1".

【0039】以上説明したように本第3の実施の形態の
メモリー電力管理装置によれば、メモリー内の動作中の
タスクが格納されているセグメントのみに電源供給を行
う構成としたので、更に木目細かく消費電力を制御する
ことが可能となり節電に対する効果が大きい。また本実
施の形態ではタスク別データ配置監視手段41はタスク
別のデータを監視するのみであったが、第2の実施の形
態でデータの属性に応じてデータの再配置を行ったのと
同様の手法で、タスク別にデータを再配置する手段を加
えると一層省電力の効果が高まる。
As described above, according to the memory power management apparatus of the third embodiment, power is supplied only to the segment in the memory where the active task is stored. Power consumption can be controlled finely, and the effect on power saving is great. In the present embodiment, the task-specific data arrangement monitoring means 41 only monitors task-specific data, but is similar to the second embodiment in which data is rearranged according to data attributes. By adding a means for rearranging data for each task in the above method, the effect of power saving is further enhanced.

【0040】以上第1から第3の実施の形態を用いて本
発明のメモリー電力管理装置について説明したが、本発
明は以上の実施の形態に限定されることなく、メモリー
内のデータ配置を省電力の観点から再配置あるいは監視
する構成に対して及ぶものであり、例えば図3で示すよ
うにメモリーアクセス監視手段31を用いてメモリーの
アクセスが一定時間でないセグメントのデータをHDD
15等に待避してそのセグメントに対する電源供給を停
止する等の方法も本発明に含まれるものである。
Although the memory power management device of the present invention has been described with reference to the first to third embodiments, the present invention is not limited to the above embodiment, and the data arrangement in the memory can be omitted. The present invention extends to a configuration in which rearrangement or monitoring is performed from the viewpoint of power. For example, as shown in FIG.
The present invention also includes a method of stopping the power supply to the segment while evacuating to 15 or the like.

【0041】[0041]

【発明の効果】以上詳細に説明したように本発明のメモ
リー電力管理装置によれば、メモリー内のデータ配置を
消費電力の観点から管理する構成としたので、木目細か
くメモリーの消費電力を制御することが可能となりメモ
リーの節電に対する効果が大きい。
As described above in detail, according to the memory power management apparatus of the present invention, the arrangement of data in the memory is managed from the viewpoint of power consumption, so that the power consumption of the memory is controlled finely. This has the effect of saving memory power.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るメモリー電力
管理装置の構成図
FIG. 1 is a configuration diagram of a memory power management device according to a first embodiment of the present invention.

【図2】本発明の第2の実施の形態に係るメモリー電力
管理装置の構成図
FIG. 2 is a configuration diagram of a memory power management device according to a second embodiment of the present invention.

【図3】本発明のメモリー電力管理装置の一構成図FIG. 3 is a configuration diagram of a memory power management device of the present invention.

【図4】本発明の第3の実施の形態に係るメモリー電力
管理装置の構成図
FIG. 4 is a configuration diagram of a memory power management device according to a third embodiment of the present invention.

【図5】メモリーサイズ情報のデータ構造図FIG. 5 is a data structure diagram of memory size information;

【図6】第1の実施の形態に係るメモリー内データ配置
管理テーブルのデータ構造図
FIG. 6 is a data structure diagram of an in-memory data arrangement management table according to the first embodiment;

【図7】第1の実施の形態に係るメモリーセグメント電
源供給管理テーブルのデータ構造図
FIG. 7 is a data structure diagram of a memory segment power supply management table according to the first embodiment;

【図8】第1の実施の形態に係るメモリー内データの再
配置完了後のメモリー内データ配置管理テーブルのデー
タ構造図
FIG. 8 is a data structure diagram of an in-memory data arrangement management table after relocation of in-memory data according to the first embodiment is completed.

【図9】第1の実施の形態に係るメモリー内データの再
配置完了後のメモリーセグメント電源供給管理テーブル
のデータ構造図
FIG. 9 is a data structure diagram of a memory segment power supply management table after the relocation of data in the memory according to the first embodiment is completed.

【図10】第2の実施の形態に係るメモリー内データの
再配置完了後のメモリー内データ配置管理テーブルのデ
ータ構造図
FIG. 10 is a data structure diagram of an in-memory data arrangement management table after relocation of in-memory data according to the second embodiment;

【図11】第2の実施の形態に係るメモリー内データの
再配置完了後のメモリーセグメント電源供給管理テーブ
ルのデータ構造図
FIG. 11 is a data structure diagram of a memory segment power supply management table after completion of relocation of data in a memory according to the second embodiment;

【図12】第3の実施の形態に係るメモリー内データの
再配置完了後のメモリー内データ配置管理テーブルのデ
ータ構造図
FIG. 12 is a data structure diagram of an in-memory data arrangement management table after relocation of in-memory data according to the third embodiment;

【図13】第3の実施の形態に係るメモリー内データの
再配置完了後のメモリーセグメント電源供給管理テーブ
ルのデータ構造図
FIG. 13 is a data structure diagram of a memory segment power supply management table after completion of relocation of data in a memory according to the third embodiment;

【図14】外部記憶装置に待避した管理データの管理テ
ーブルのデータ構造図
FIG. 14 is a data structure diagram of a management table of management data saved in an external storage device;

【符号の説明】[Explanation of symbols]

11 データ配置管理手段 12 メモリー 13 電力管理手段 14 メモリー情報管理手段 21 データ属性管理手段 31 メモリーアクセス監視手段 41 タスク別データ配置監視手段 42 動作タスク判別手段 DESCRIPTION OF SYMBOLS 11 Data allocation management means 12 Memory 13 Power management means 14 Memory information management means 21 Data attribute management means 31 Memory access monitoring means 41 Task-specific data allocation monitoring means 42 Operation task determination means

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】データを記憶するメモリー手段と、メモリ
ーのセグメント情報を管理するメモリー情報管理手段
と、前記メモリー手段へのデータの配置を管理するデー
タ配置管理手段と、メモリーへの電力供給を管理する電
力管理手段を有し、前記電力管理手段は、前記メモリー
情報管理手段からのセグメント情報と前記データ配置管
理手段からのメモリー内データ配置情報に基づき、前記
メモリー配置管理手段に対してメモリー内データの再配
置を指示し、メモリー内データの再配置終了後メモリー
内のデータが格納されていないセグメントに対する電力
供給を停止することを特徴とするメモリー電力管理装
置。
1. Memory means for storing data, memory information management means for managing segment information of a memory, data arrangement management means for managing the arrangement of data in the memory means, and management of power supply to the memory Power management means, and the power management means, based on segment information from the memory information management means and in-memory data placement information from the data placement management means, A memory power management device for instructing relocation of data in a memory, and stopping power supply to a segment in which data in the memory is not stored after the relocation of the data in the memory is completed.
【請求項2】メモリーに配置するデータの属性を管理す
るデータ属性管理手段を有し、電力管理手段は前記デー
タ属性管理手段の情報に基づいてデータ配置管理手段に
対してデータの再配置を指示することを特徴とする請求
項1に記載のメモリー電力管理装置。
2. A data attribute management means for managing an attribute of data to be arranged in a memory, wherein the power management means instructs the data arrangement management means to relocate data based on information of the data attribute management means. The memory power management device of claim 1, wherein
【請求項3】メモリー属性管理手段で管理するデータの
種類は、少なくともプログラムデータと、ワークデータ
の2種類のデータからなることを特徴とする請求項2に
記載のメモリー電力管理装置。
3. The memory power management device according to claim 2, wherein the types of data managed by the memory attribute management means include at least two types of data: program data and work data.
【請求項4】メモリー内の各セグメントへのデータのア
クセスを監視するメモリーアクセス監視手段を有し、電
力管理手段は、前記メモリーアクセス監視手段から特定
のセグメントに対するアクセスが所定時間内との報告を
受け、メモリー配置手段に対して前記特定のセグメント
のデータをHDD等の外部記憶手段に退避するよう指示
し、退避終了後退避したセグメントに対する電力供給を
停止することを特徴とする請求項1または請求項2に記
載のメモリー電力管理装置。
4. A memory access monitoring means for monitoring data access to each segment in the memory, wherein the power management means reports from the memory access monitoring means that access to a specific segment is within a predetermined time. And instructing the memory arranging means to save the data of the specific segment to an external storage means such as an HDD, and stopping power supply to the evacuated segment after completion of the saving. Item 3. The memory power management device according to Item 2.
【請求項5】複数のタスクが同時に動作可能なマルチタ
スク動作手段と、前記複数のタスクのどのタスクが現在
動作中かを判別する動作タスク判別手段と、前記タスク
で使用されるデータがメモリーのどのセグメントに配置
されているかを監視するタスク別データ配置監視手段を
有し、電力管理手段は、前記動作タスク判別手段で動作
中と判別されたタスクのデータが配置されているセグメ
ント情報を前記タスク別データ配置監視手段から取得し
動作中のタスクが配置されているセグメント以外のセグ
メントのデータをHDD等の外部記憶手段に退避するよ
うメモリー配置手段に指示し、退避終了後退避したセグ
メントに対する電力供給を停止することを特徴とする請
求項1または請求項2に記載のメモリー電力管理装置。
5. Multi-task operation means capable of simultaneously operating a plurality of tasks, operation task determination means for determining which of the plurality of tasks is currently operating, and data used in the tasks are stored in a memory. A task-specific data arrangement monitoring means for monitoring which segment is assigned to the power management means, wherein the power management means stores segment information in which data of the task determined to be operating by the operation task determination means is assigned to the task; Instructs the memory allocating unit to save the data of the segment other than the segment where the running task is obtained from the separate data allocation monitoring unit to the external storage unit such as the HDD, and supplies power to the evacuated segment after the saving is completed. The memory power management device according to claim 1, wherein the memory power management device stops the operation.
JP11021871A 1999-01-29 1999-01-29 Memory power managing device Pending JP2000222285A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11021871A JP2000222285A (en) 1999-01-29 1999-01-29 Memory power managing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11021871A JP2000222285A (en) 1999-01-29 1999-01-29 Memory power managing device

Publications (1)

Publication Number Publication Date
JP2000222285A true JP2000222285A (en) 2000-08-11

Family

ID=12067206

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11021871A Pending JP2000222285A (en) 1999-01-29 1999-01-29 Memory power managing device

Country Status (1)

Country Link
JP (1) JP2000222285A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007518149A (en) * 2003-09-30 2007-07-05 フリースケール セミコンダクター インコーポレイテッド Integrated circuit power management and method therefor for reducing leakage current in circuit arrays
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2011053930A (en) * 2009-09-02 2011-03-17 Fujitsu Ltd Information processing apparatus, program and method for controlling power supply of memory
JP2011123612A (en) * 2009-12-09 2011-06-23 Sanyo Electric Co Ltd Memory control apparatus
JP2012515989A (en) * 2009-01-23 2012-07-12 マイクロン テクノロジー, インク. Memory device power management device and method
JP2012212472A (en) * 2006-07-26 2012-11-01 Semiconductor Energy Lab Co Ltd Program and semiconductor device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007518149A (en) * 2003-09-30 2007-07-05 フリースケール セミコンダクター インコーポレイテッド Integrated circuit power management and method therefor for reducing leakage current in circuit arrays
JP2012212472A (en) * 2006-07-26 2012-11-01 Semiconductor Energy Lab Co Ltd Program and semiconductor device
JP2010191951A (en) * 2009-01-20 2010-09-02 Ricoh Co Ltd Electronic device, power saving control method for the same, and program
JP2012515989A (en) * 2009-01-23 2012-07-12 マイクロン テクノロジー, インク. Memory device power management device and method
US9105323B2 (en) 2009-01-23 2015-08-11 Micron Technology, Inc. Memory device power managers and methods
US9583157B2 (en) 2009-01-23 2017-02-28 Micron Technology, Inc. Memory device power managers and methods
JP2011053930A (en) * 2009-09-02 2011-03-17 Fujitsu Ltd Information processing apparatus, program and method for controlling power supply of memory
JP2011123612A (en) * 2009-12-09 2011-06-23 Sanyo Electric Co Ltd Memory control apparatus

Similar Documents

Publication Publication Date Title
US8086877B2 (en) Storage device and control method for the same
JP4281421B2 (en) Information processing system, control method therefor, and computer program
US7454639B2 (en) Various apparatuses and methods for reduced power states in system memory
US7870405B2 (en) Method of controlling power consumption of a memory according to mapping
US8972696B2 (en) Pagefile reservations
US9417794B2 (en) Including performance-related hints in requests to composite memory
US8056081B2 (en) Controlling memory usage in systems having limited physical memory
US6948033B2 (en) Control method of the cache hierarchy
US7739463B2 (en) Storage system and method for acquisition and utilization of snapshots
US20060075185A1 (en) Method for caching data and power conservation in an information handling system
US20080082752A1 (en) Method and apparatus for saving power for a computing system by providing instant-on resuming from a hibernation state
US10268592B2 (en) System, method and computer-readable medium for dynamically mapping a non-volatile memory store
US20110093651A1 (en) Data storage apparatus and controlling method of the data storage apparatus
JP5130169B2 (en) Method for allocating physical volume area to virtualized volume and storage device
JP2005196793A (en) Method, system and product for reserving memory
JP2000222285A (en) Memory power managing device
JP2007286975A (en) Computing system, storage system, and volume allocation method
JP2008243049A (en) Information processor and memory control method therefor
JP2003288243A (en) Controlling method for storage device system, storage device, management device, and program
US10846023B2 (en) Storage device and storage area management method for reducing garbage collection processing
US7536518B2 (en) Scalable disc array unit, and management method and management program for a scalable disc array unit
JP2017068805A (en) Information processing apparatus, processor, and information processing method
JP2010055287A (en) Storage system with power-saving function
JP2017068804A (en) Information processing apparatus, access controller, and information processing method
JP5382471B2 (en) Power control method, computer system, and program