JP2008046940A - Information processing apparatus - Google Patents

Information processing apparatus Download PDF

Info

Publication number
JP2008046940A
JP2008046940A JP2006222879A JP2006222879A JP2008046940A JP 2008046940 A JP2008046940 A JP 2008046940A JP 2006222879 A JP2006222879 A JP 2006222879A JP 2006222879 A JP2006222879 A JP 2006222879A JP 2008046940 A JP2008046940 A JP 2008046940A
Authority
JP
Japan
Prior art keywords
mode
memory
storage device
power supply
information processing
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
JP2006222879A
Other languages
Japanese (ja)
Inventor
Jun Saito
斎藤準
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2006222879A priority Critical patent/JP2008046940A/en
Publication of JP2008046940A publication Critical patent/JP2008046940A/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

Landscapes

  • Power Sources (AREA)
  • Memory System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To secure free space in a memory module unit and save the power consumption by stopping power supply by the unit of the memory module unit to decrease power consumption by adding a function to control the amount of memory use and a function to control power supply by the unit of the memory module. <P>SOLUTION: An information processing apparatus includes a function which prohibits simultaneous operations of a plurality of applications to control the amount of memory use, a function which stops unnecessary processes and device drivers to swap them out, a function which shares a screen output pixel map, and a function which controls power supply in the memory module unit. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は情報処理装置に搭載された主記憶装置(本明細書ではDRAMを指す。以下メモリと表記)の消費電力を低減するための手法に関するものである。   The present invention relates to a technique for reducing power consumption of a main storage device (referred to as a DRAM in this specification, hereinafter referred to as a memory) mounted in an information processing apparatus.

現在の情報処理装置では、搭載されているメモリを最大限に活用するようOSが設計されている。したがって、情報処理装置が動作している間は搭載されている全メモリがDRAMのリフレッシュ対象となり、リフレッシュ電力を消費することになる。   In current information processing apparatuses, an OS is designed to make maximum use of the installed memory. Therefore, while the information processing apparatus is operating, all the installed memories are refresh targets of the DRAM and consume refresh power.

このリフレッシュ電力を削減する方法として、次のような技術が知られている。1つは、たとえばMS−Windows(登録商標)OSに実装されている休止状態である。   The following techniques are known as methods for reducing the refresh power. One is a dormant state implemented in, for example, an MS-Windows (registered trademark) OS.

休止状態では、PCを一使用しない状況になった場合、メモリの全内容をHDDへ退避し、メモリも含めたシステム全体への給電を停止することにより消費電力を低減している。
しかし、休止状態はその情報処理装置を一旦使わない状態にするが、後で使うときに素早く以前の状態に戻すことが目的であり、休止状態でその情報処理装置を使うことは考慮されていない。
In the hibernation state, when the PC is not used, the entire contents of the memory are saved in the HDD, and the power supply to the entire system including the memory is stopped to reduce the power consumption.
However, in the hibernation state, the information processing device is temporarily not used, but the purpose is to quickly return to the previous state when used later, and the use of the information processing device in the hibernation state is not considered. .

また、特許文献1では、アクセス頻度の低いメモリ上のデータをフラッシュメモリへ退避(スワップアウト)し、メモリの空き領域を増やして、その空き領域のリフレッシュを停止することにより消費電力を低減する技術が開示されている。
しかし、通常DRAMに比べフラッシュメモリの容量は小さく、アクセス速度も遅いため、メモリモジュール単位でスワップアウトする場合、部品数の増加やそれによるコストの増大という問題がある。また、スワップイン、スワップアウトに要する時間のオーバーヘッドも大きいという課題がある。
Japanese Patent Laid-Open No. 2004-133867 discloses a technique for reducing power consumption by saving (swapping out) data on a memory with low access frequency to a flash memory, increasing the free area of the memory, and stopping refreshing of the free area. Is disclosed.
However, since the capacity of the flash memory is smaller and the access speed is slower than that of the normal DRAM, there is a problem that the number of parts and the cost increase due to the swap-out in the memory module unit. In addition, there is a problem that the time overhead required for swap-in and swap-out is large.

また、特許文献2では、メモリコンパクション(メモリのフラグメンテーションを解消する機能)を実行しデータを特定のバンクに集中することにより、バンク単位の空き領域を確保し、バンク単位でリフレッシュを停止して消費電力を低減する技術が開示されている。   Also, in Patent Document 2, memory compaction (function to eliminate memory fragmentation) is executed and data is concentrated in a specific bank to secure an empty area in units of banks, and refresh is stopped in units of banks and consumed. Techniques for reducing power are disclosed.

しかし、通常OSはメモリを最大限に活用しようとするため、単にメモリコンパクションを行うだけでは、大きなメモリ領域を空けられる可能性は小さく、十分な省電力効果を期待することは難しい。また、メモリバンクはメモリインタリーブによるメモリ性能向上に利用されることが多く、メモリバンク単位で空き領域を作るとメモリインタリーブによるメモリ性能の向上は期待できなくなってしまう。   However, since the OS normally attempts to make maximum use of the memory, it is difficult to expect a sufficient power saving effect because it is unlikely that a large memory area will be freed simply by performing memory compaction. In addition, memory banks are often used to improve memory performance by memory interleaving, and if an empty area is created in units of memory banks, improvement in memory performance by memory interleaving cannot be expected.

特開2002−132591号公報JP 2002-132591 A 特開2004−47051号公報JP 2004-47051 A

例えば、ユーザが交通機関で移動中にバッテリー駆動のPCを使う場合を考えると、ワープロを使用した文章の作成、ゲーム、ビュアーを使用した動画の視聴、等が考えられるが、このような使い方では、ひとつのアプリケーション(以下アプリと表記)をある程度長い時間続けて使っており、この性質を利用して消費電力を削減することが考えられる。   For example, when a user uses a battery-powered PC while traveling on a transportation system, writing a word using a word processor, playing a game, watching a video using a viewer, etc. can be considered. One application (hereinafter referred to as an application) has been used for a long time, and it is possible to reduce power consumption by using this property.

他のケースでもユーザがPCを使う場合に、同時に複数のアプリを起動しておくことはあっても、短い間隔で複数のアプリを切り替えながら使うことは少なく、一定の時間は1つのアプリしか使わないことが多いという性質がある。   In other cases, when a user uses a PC, even if multiple applications are activated at the same time, it is rare to switch between multiple applications at short intervals, and only one application is used for a certain period of time. There is a nature that there is often no.

そこで本発明が解決しようとする課題は、この性質を利用し、ユーザの使い勝手を下げることなくメモリリフレッシュによる消費電力の低減を図ることにある。   Therefore, a problem to be solved by the present invention is to use this property to reduce power consumption by memory refresh without reducing user-friendliness.

現行の情報処理装置におけるメモリへの給電は、メモリモジュール共用の電源回路から直接なされており、かつ、スイッチがメモリモジュールごとに設置されていないため、メモリモジュールごとの給電制御が不可能である。そこで、メモリモジュール毎に独立に電源を供給し、OSからの制御で個別に給電を制御できるようにスイッチを設ける。   The power supply to the memory in the current information processing apparatus is directly performed from the power supply circuit shared by the memory module, and a switch is not installed for each memory module, so power supply control for each memory module is impossible. Therefore, a switch is provided so that power can be independently supplied to each memory module and power supply can be individually controlled by control from the OS.

また、単一のアプリしか使っていない場合、他のアプリをスワップアウトすることにより必要なメモリ領域を削減し、メモリコンパクションによって使われていないメモリを集め、メモリモジュール単位に給電を抑止するモード(以下単一アプリモードと表記)をOSに設ける。   In addition, when only a single application is used, a mode that reduces the memory area required by swapping out other applications, collects unused memory by memory compaction, and suppresses power supply in units of memory modules ( (Hereinafter referred to as single application mode) is provided in the OS.

単一アプリモードへの遷移時、アプリの動作とは関係のないライブラリやデバイスドライバ(以下ドライバと表記)を自動的にメモリからスワップアウトすることにより、空き領域を確保する。   Free space is secured by automatically swapping out libraries and device drivers (hereinafter referred to as “drivers”) that are not related to the operation of the app from the memory when transitioning to the single app mode.

単一アプリモードで動作させるアプリに関連しておりスワップアウトせずにメモリ上に残すことが望ましいライブラリやドライバを判別するために、アプリのインストール時にそのアプリに関連するライブラリやドライバを記述したテーブルを作成し、単一アプリモードに遷移するときにこのテーブルを参照してスワップアウトしないライブラリやドライバを決定する。   A table that describes the libraries and drivers related to the app when it is installed in order to determine the libraries and drivers that are related to the app running in single app mode and that should be left in memory without swapping out. And refer to this table when transitioning to single app mode to determine which libraries and drivers should not be swapped out.

マルチウィンドウシステムを採用しているOSでは、OSを含むさまざまなプロセスに対し、画面出力用ピクセルマップをメモリに割り当てている。図2のように、アプリの画面とOSのメイン画面を同時に表示する場合、重複して見えない部分の画面情報も保持しているため、メモリを無駄使いしている。一方、アプリを全画面表示すれば、他のアプリが使用しているピクセルマップは不要となるため、メモリの無駄使いがなくなる。
また、あるアプリが全画面表示している間は、OSのメイン画面もスワップアウトすることができる。
In an OS adopting a multi-window system, a pixel map for screen output is assigned to a memory for various processes including the OS. As shown in FIG. 2, when the application screen and the OS main screen are displayed at the same time, the screen information of the portion that cannot be seen in duplicate is also held, so that the memory is wasted. On the other hand, if the application is displayed on the full screen, the pixel map used by another application becomes unnecessary, so that the memory is not wasted.
Further, while a certain application is displayed on the full screen, the main screen of the OS can be swapped out.

メモリの消費電力をメモリモジュール単位で低減することができる。   The power consumption of the memory can be reduced for each memory module.

本発明をもっとも有効に活用できる1つの例として、複数のメモリモジュールおよびバッテリーを搭載したノートブック型パソコンを実施例に本発明を詳細に説明する。   As one example in which the present invention can be most effectively used, the present invention will be described in detail with reference to a notebook personal computer equipped with a plurality of memory modules and batteries.

なお、実施例1〜2において、本発明の省電力機能が実行中である状態を「単一アプリモード」と表記し、本発明に特有の単一アプリモードを実現するために電源供給やOSを制御する機構を「省電力制御プロセス」と表記する。   In the first and second embodiments, the state in which the power saving function of the present invention is being executed is referred to as a “single application mode”, and power supply and OS are implemented in order to realize a single application mode unique to the present invention. The mechanism for controlling the power is denoted as “power saving control process”.

また、複数のアプリを同時に実行可能な通常の動作状態を「通常動作モード」と表記する。通常動作モードから単一アプリモードへ遷移することを「単一アプリモードへの移行」と表記する。同様に、単一アプリモードから通常動作モードへ遷移することを「単一アプリモードからの復帰」と表記する。   In addition, a normal operation state in which a plurality of applications can be executed simultaneously is referred to as “normal operation mode”. Transition from the normal operation mode to the single application mode is referred to as “transition to the single application mode”. Similarly, transition from the single application mode to the normal operation mode is referred to as “return from single application mode”.

本発明をパソコンへ適用する例を示す。実施例1で想定するパソコンは、電源投入直後、ユーザがパソコンを操作可能な状態になった時点において、搭載されるメモリの全容量が使用可能、かつ接続される全デバイスが有効となるもの、である。
以下、単一アプリモードへの移行、および単一アプリモード実行中のアプリの動作、および単一アプリモードからの復帰、を実施する例を説明する。
An example in which the present invention is applied to a personal computer will be described. The personal computer assumed in the first embodiment is a computer in which the entire capacity of the installed memory can be used and all the connected devices are effective immediately after the power is turned on, when the user is ready to operate the personal computer. It is.
Hereinafter, an example in which the transition to the single application mode, the operation of the application during execution of the single application mode, and the return from the single application mode will be described.

図1に示すように本発明に大きく関与するハードウェアは、電源装置、制御装置、メモリ、演算装置、外部記憶装置の5つである。   As shown in FIG. 1, the hardware greatly involved in the present invention is a power supply device, a control device, a memory, an arithmetic device, and an external storage device.

電源装置は、コンセントからパソコンの電源を給電するための主電源装置0011、および、主電源装置0011からの給電が停止した際にパソコンの電源を得るための補助電源であるバッテリー0012で構成される。   The power supply device includes a main power supply device 0011 for supplying power to the personal computer from an outlet, and a battery 0012 that is an auxiliary power source for obtaining power for the personal computer when the power supply from the main power supply device 0011 is stopped. .

制御装置は、メモリを制御するためのMCU0021、および、補助記憶装置を制御するためのコントローラ0022で構成される。   The control device includes an MCU 0021 for controlling the memory and a controller 0022 for controlling the auxiliary storage device.

MCU0021は、通常、ノースブリッジの機能の一部として実装される。また、コントローラ0022は、通常、サウスブリッジの機能の一部として実装される。   The MCU 0021 is usually implemented as part of the North Bridge function. The controller 0022 is usually mounted as a part of the function of the south bridge.

現行のパソコンでは、メモリの給電は電源回路から直接なされる。しかし、図1におけるメモリへの給電は省電力制御プロセスの指示に従いMCU0021が制御する。
MCU0021内部にはメモリモジュール別の給電制御スイッチを設ける。更に、MCUとメモリモジュールとを接続する電源ライン00311、00321もメモリモジュール毎に設ける。
In current personal computers, power is supplied to the memory directly from the power supply circuit. However, the power supply to the memory in FIG. 1 is controlled by the MCU 0021 in accordance with the instruction of the power saving control process.
Inside the MCU 0021, a power supply control switch for each memory module is provided. Furthermore, power supply lines 00311 and 00321 for connecting the MCU and the memory module are also provided for each memory module.

MCU0021内部にメモリへの給電を制御する機能を持たせず、電源回路とメモリモジュールを接続する回路の途中にスイッチを配置し、制御してもよい。
また、電源ラインをメモリモジュール毎に設けずに、それぞれのメモリモジュール内部にスイッチを設け、個別に制御してもよい。
The MCU 0021 may not be provided with a function of controlling power supply to the memory, and may be controlled by arranging a switch in the middle of a circuit connecting the power supply circuit and the memory module.
Alternatively, a power line may not be provided for each memory module, but a switch may be provided inside each memory module and controlled individually.

メモリはメモリモジュール0031、0032で構成される。図1におけるメモリは2個の独立したメモリモジュールとして表記されているが、メモリの実装形態はメモリモジュールである必要はなく、マザーボードに直付けにしても良い。   The memory is composed of memory modules 0031 and 0032. Although the memory in FIG. 1 is represented as two independent memory modules, the memory mounting form does not have to be a memory module, and may be directly attached to the motherboard.

演算装置は、プロセスを処理するためのCPU0041で構成される。   The arithmetic unit is composed of a CPU 0041 for processing the process.

外部記憶装置は、メモリへロードされる前の段階でプログラムやデータをファイルとして保存している装置で、実施例3ではHDD0051で構成される。
外部記憶装置は給電が停止されても、そこに保持されているプログラムやデータは消えない。外部記憶装置はフラッシュメモリ、FDDであってもよい。
The external storage device is a device that stores programs and data as files before being loaded into the memory. In the third embodiment, the external storage device includes the HDD0051.
Even if power supply to the external storage device is stopped, the programs and data stored in the external storage device are not deleted. The external storage device may be a flash memory or FDD.

次に、通常動作モード実行時のメモリマップの状態を説明する。図2はOS(0101)およびワープロソフト(0102)とメーラ(0103)の2種類のアプリが動作している状態の画面を示している。図3は、メモリがどのソフトに割り当てられているかを示すメモリマップの状態遷移を示している。ここで、図2に対応する初期状態のメモリマップが図3の「St0」に示されている。OSの画面0101はピクセルマップ「p0」を使用して画面出力されている。同様に、ワープロソフトは「p1」、メーラは「p2」を使用して画面出力されている。   Next, the state of the memory map when the normal operation mode is executed will be described. FIG. 2 shows a screen in a state where two types of applications of OS (0101), word processor software (0102), and mailer (0103) are operating. FIG. 3 shows the state transition of the memory map indicating to which software the memory is allocated. Here, the memory map of the initial state corresponding to FIG. 2 is shown by “St0” in FIG. The OS screen 0101 is output using the pixel map “p0”. Similarly, the word processor software uses “p1” and the mailer uses “p2” for screen output.

次に、通常動作モードから単一アプリモードへ遷移する例のメモリマップの状態遷移について説明する。例えばMCU0021への電源の供給元が、主電源装置0011からバッテリー0012に変更されたという条件で単一アプリモードへ移行する場合、この電源供給元が変更されたことが、省電力制御プロセスに通知され、省電力制御プロセスの指示に従って本実施例のパソコンは単一アプリモードへ移行する。   Next, the state transition of the memory map in an example of transition from the normal operation mode to the single application mode will be described. For example, when the power supply source to the MCU 0021 shifts to the single application mode on the condition that the main power supply unit 0011 is changed to the battery 0012, the power saving control process is notified that the power supply source has been changed. Then, according to the instruction of the power saving control process, the personal computer of this embodiment shifts to the single application mode.

単一アプリモードへ移行する条件としては、単一アプリの一定時間以上の連続操作、ユーザによるショートカットキーの押下、ユーザによるコマンド入力、ユーザが指定したアプリの起動などでも良いし、これらの組合せによって単一アプリモードへ移行するようにしても良い。   The conditions for shifting to the single app mode may include continuous operation of a single app for a certain period of time, pressing a shortcut key by the user, inputting a command by the user, starting an app specified by the user, or a combination of these. You may make it transfer to single application mode.

例えばユーザが指定したアプリの起動で移行する例では、ユーザが予め特定のアプリを省電力制御プロセスへ登録し、アプリの起動と連動して単一アプリモードへ移行するようにしても良い。さらに、このアプリ登録を自動化する手法の例として、一定時間、単独で動作したアプリを自動的に登録するようにしても良い。   For example, in an example in which a transition is made by activation of an application designated by the user, the user may register a specific application in the power saving control process in advance, and transition to the single application mode in conjunction with the activation of the application. Furthermore, as an example of a method for automating the application registration, an application that has been operated independently for a certain period of time may be automatically registered.

また、複数のアプリが同時に動作している状態から単一アプリモードへ移行する場合、継続操作するアプリをユーザに選択させて単一アプリモードへ移行するようにしても良い。例えば、図4に示すようにタスクバーに表示されたアプリへカーソルを合わせた上でのユーザのキー操作(例:マウス左右キー同時押下)により単一アプリモードへ移行しても良い。   Further, when shifting to a single application mode from a state in which a plurality of applications are operating simultaneously, the user may select an application to be continuously operated and shift to the single application mode. For example, as shown in FIG. 4, the user may move to the single application mode by a user key operation (for example, simultaneous pressing of the left and right keys of the mouse) after placing the cursor on the application displayed on the task bar.

省電力制御プロセスが単一アプリモードへの移行の条件を検知すると、ユーザに対し、単一アプリモードへ移行するかどうかを確認する図5に示すような画面を表示する。この確認画面により、ごく短時間の補助電源駆動(例:事務所から会議室への移動)を予定する場合、通常動作モードから単一アプリモードへの状態遷移をしないことを選択できるようになる。なお、本確認画面の表示はスキップしても良い。   When the power saving control process detects a condition for shifting to the single application mode, a screen as shown in FIG. 5 for confirming whether to shift to the single application mode is displayed to the user. This confirmation screen allows you to choose not to transition from the normal operation mode to the single app mode when you plan to drive the auxiliary power supply for a very short time (eg, move from the office to the conference room). . Note that the display of this confirmation screen may be skipped.

単一アプリモードに移行する場合、継続実行されるプロセス以外のプロセスは終了させるか休止させることによって、メモリの使用量を減少させる(以降パージすると呼ぶ)。ここで、プロセスの休止とはそのプロセスにかかわるメモリを必要に応じメモリに戻せるようHDDに退避すると共に、そのプロセスにCPU割り当てを行わない状態にすることを言う(メモリスワップの一種として本明細ではスワップアウトと呼ぶ)。
継続実行されるプロセスがアプリである場合、OSが利用していたメモリでアプリの実行に関係のないメモリをスワップアウトすることでメモリの使用量を減少させる。
図3の「St0」から「St1」への遷移では、継続実行されるプロセスとしてOS(0101)が選択され、ワープロソフト(0102)とメーラ(0103)の2種類のアプリがパージされ、空き領域が増加していることを示している。
When shifting to the single application mode, the memory usage is reduced (hereinafter referred to as purging) by terminating or pausing processes other than the process that is continuously executed. Here, suspending a process means saving the memory related to the process to the HDD so that the memory can be returned to the memory as needed, and setting the process so that the CPU is not assigned (in this specification as a kind of memory swap). This is called swap-out).
When the continuously executed process is an application, the memory usage is reduced by swapping out the memory used by the OS that is not related to the execution of the application.
In the transition from “St0” to “St1” in FIG. 3, OS (0101) is selected as the process to be continuously executed, and two types of applications of word processor software (0102) and mailer (0103) are purged, and free space Indicates an increase.

さらに、単一アプリモードで実行するアプリの操作には関係のない自動処理プロセスを自動的にメモリモジュール0031、0032からパージし、メモリの使用量を減少させる。自動処理プロセスのパージ処理も、終了またはHDD0051へのスワップアウトのどちらでも良い。なお、パージする自動処理プロセス、パージしない自動処理プロセスの選択は、ユーザに選択可能にすることが望ましい。   Furthermore, an automatic processing process unrelated to the operation of the application executed in the single application mode is automatically purged from the memory modules 0031 and 0032 to reduce the memory usage. The purge process of the automatic process may be either terminated or swapped out to the HDD0051. It is desirable that the user can select the automatic processing process to be purged and the automatic processing process not to be purged.

図3の「St1」から「St2」への遷移では、アンチウイルスのためのプロセス「対ウイルス」、およびネットワーク管理のためのプロセス「N管理」がパージされ、空き領域が増加していることを示している。パージする自動処理プロセスとしてはセキュリティーソフト、デバイスユーティリティーソフトなどが考えられる。   In the transition from “St1” to “St2” in FIG. 3, the process “anti-virus” for the anti-virus and the process “N management” for the network management are purged, and the free space is increased. Show. As the automatic processing process to be purged, security software, device utility software, etc. can be considered.

さらに、継続実行するプロセスに不要なデバイスドライバをメモリモジュール0031、0032からパージする。図3の「St2」から「St3」への遷移では、音響デバイスドライバ「D0」、およびTVチューナドライバ「D3」がメモリモジュール0031からパージされたことを示めしている。   Further, the device drivers unnecessary for the continuously executing process are purged from the memory modules 0031 and 0032. The transition from “St2” to “St3” in FIG. 3 indicates that the acoustic device driver “D0” and the TV tuner driver “D3” have been purged from the memory module 0031.

ここで、各プロセスに必要なデバイスドライバは、図6に示すようにプロセスとドライバの関連を示すリンクテーブルとしてHDD0051に保存している。説明を簡単にするため、本実施例では動画再生ソフトには音響デバイスとマウスのドライバ、ワープロソフトにはキーボードとマウスのドライバ、TV鑑賞ソフトでは音響デバイス、マウス、TVチューナのドライバ、DVD再生ソフトでは音響デバイスとマウスのドライバが必要なものとして関連付けられている。図6では省略されているがOS実行中に必要なドライバはキーボードとマウスであると仮定している。   Here, the device drivers necessary for each process are stored in the HDD 0051 as a link table indicating the relationship between the processes and the drivers as shown in FIG. For the sake of simplicity, in this embodiment, an audio device and a mouse driver are used for video playback software, a keyboard and mouse driver is used for word processing software, an audio device, a mouse and TV tuner driver, and a DVD playback software are used for TV viewing software. So, an acoustic device and a mouse driver are associated as necessary. Although omitted in FIG. 6, it is assumed that the drivers required during OS execution are a keyboard and a mouse.

これらのパージ処理の後、メモリコンパクションを実行し、使用していないメモリモジュールがあれば、このメモリモジュールへの給電を停止する。図3の「St3」から「St4」への遷移では、メモリモジュール0031、0032に散在する未使用領域をメモリモジュール0032へ集約した結果、メモリモジュール0032を使用する必要がなくなったため、メモリモジュール0032への給電を停止し、OSの使用可能な最大メモリ量の値を変更する。   After these purge processes, memory compaction is executed, and if there is any unused memory module, power supply to this memory module is stopped. In the transition from “St3” to “St4” in FIG. 3, since unused areas scattered in the memory modules 0031 and 0032 are aggregated in the memory module 0032, it is no longer necessary to use the memory module 0032. Is stopped, and the value of the maximum amount of memory that can be used by the OS is changed.

次に、単一アプリモードでOSの実行中にユーザがDVD再生ソフトを起動させる場合のメモリマップの状態遷移について説明する。単一アプリモードでは、OSは実行中のアプリ以外を終了するか、スワップアウトし実行しない状態にしている。実行中のアプリを終了しOS実行状態にするか、明示的に次のアプリを起動しない限り、実行中のアプリ以外のアプリは実行されない。明示的に次のアプリを起動した場合、実行中のアプリを終了またはスワップアウトした後、起動したアプリの実行が開始される。   Next, the state transition of the memory map when the user activates the DVD playback software while the OS is running in the single application mode will be described. In the single application mode, the OS terminates applications other than the currently executed application, or swaps out and does not execute. Unless an application being executed is terminated and the OS is in an OS execution state or the next application is explicitly activated, no application other than the application being executed is executed. When the next application is explicitly started, the execution of the started application is started after the running application is terminated or swapped out.

ユーザがアプリを起動すると、OSはリンクテーブル0211を参照し、そのアプリに関連付けられていないデバイスドライバをパージした後(St5)、そのアプリのプログラム本体、ライブラリ、必要なデバイスドライバ等をHDD0051からロードし(St6)、そのアプリを起動する。   When the user activates the application, the OS refers to the link table 0211, purges the device driver not associated with the application (St5), and loads the program main body, library, necessary device driver, etc. of the application from the HDD0051. (St6), the application is activated.

ここで、DVD再生ソフト用のピクセルマップがメモリモジュールにないのは、単一アプリモードではアプリを全画面表示モードでのみ実行することで、OS用のピクセルマップをアプリに割り当てることを可能にしているためである。これにより、ピクセルマップ領域が1つで済むため、メモリの使用量が抑制される。   Here, the pixel map for DVD playback software is not in the memory module because the pixel map for OS can be assigned to the app by executing the app only in the full screen display mode in the single app mode. Because it is. Thereby, since only one pixel map area is required, the amount of memory used is suppressed.

メモリモジュール0032への給電を停止した状態にあるとき、実行中のアプリがメモリモジュール0031のメモリ容量より多くのメモリを必要とすると、メモリスワップが頻発することになる。省電力制御プロセスは単位時間当たりのメモリスワップ回数などを監視し一定値を超えた場合、メモリモジュール0032への給電を再開し、メモリモジュールの初期化などを行い、OSの使用可能な最大メモリ量の値を変更することで使用するメモリ量を増やす。あるいはメモリスワップ回数が一定値を超えた場合は通常動作モードに復帰するようにしても良い。メモリスワップの頻度でなく、単純にメモリ使用量が一定の量を超過したときにメモリ量を増やすようにしても良い。   When the power supply to the memory module 0032 is stopped, if the application being executed requires more memory than the memory capacity of the memory module 0031, memory swaps frequently occur. The power saving control process monitors the number of memory swaps per unit time, and if it exceeds a certain value, it resumes power supply to the memory module 0032, initializes the memory module, etc., and the maximum amount of memory that can be used by the OS Increase the amount of memory used by changing the value of. Alternatively, when the number of memory swaps exceeds a certain value, the normal operation mode may be restored. Instead of the frequency of memory swap, the amount of memory may be simply increased when the memory usage exceeds a certain amount.

次に単一アプリモードから通常動作モードへ遷移する例のメモリマップの状態遷移について説明する。   Next, the state transition of the memory map in an example of transition from the single application mode to the normal operation mode will be described.

単一アプリモードからの復帰の条件としてはMCU0021へ供給される電源の供給元が、バッテリー0012から主電源装置0011に変更されたとき、とする。あるいは、上述の必要メモリ量の増加やユーザによるショートカットキーの押下、ユーザによるコマンド入力、ユーザが指定したソフトウェアの起動であってもよい。   As a condition for returning from the single application mode, it is assumed that the supply source of the power supplied to the MCU 0021 is changed from the battery 0012 to the main power supply unit 0011. Alternatively, the above-described increase in the required memory amount, pressing of a shortcut key by the user, command input by the user, or activation of software designated by the user may be used.

給電を停止したメモリモジュール0032を、MS−Windows(登録商標)の休止状態からの復帰、と同一の要領で初期化する。次にパソコンに接続されている全デバイスを有効にすると共にスワップアウトしていたアプリや自動処理プロセスをスワップインした後、通常動作モードに復帰する(St7)。   The memory module 0032 whose power supply has been stopped is initialized in the same manner as the return from the hibernation state of MS-Windows (registered trademark). Next, all devices connected to the personal computer are validated, and the swapped out apps and automatic processing processes are swapped in, and then the normal operation mode is restored (St7).

実施例1では従来のパソコンの操作性を損なわないよう、通常動作モードをベースに単一アプリモードに遷移、復帰する実施例について示した。しかし、通常は1つのアプリしか動作しないような利用法をしている場合には、単一アプリモードを通常状態とし、複数アプリを同時に動作させるときにだけ通常動作モードにする方が、消費電力を削減するために望ましい。実施例2で示すパソコンは、電源投入直後、ユーザがパソコンを操作可能な状態になった時点において、使用可能なメモリ領域が任意のメモリモジュール単位で制限され、かつ最低限のデバイスが有効となるもの、である。
実施例2では主電源装置0011から電源を供給された状態でパソコンが起動しても、初期状態が単一アプリモードとなる。
In the first embodiment, an embodiment is described in which a transition is made to the single application mode based on the normal operation mode and the operation returns so as not to impair the operability of the conventional personal computer. However, if the usage is such that only one app normally operates, it is more efficient to set the single app mode to the normal state and to the normal operation mode only when operating multiple apps simultaneously. Desirable to reduce. In the personal computer shown in the second embodiment, immediately after the power is turned on, the usable memory area is limited in an arbitrary memory module unit and the minimum device is effective when the user becomes ready to operate the personal computer. Things.
In the second embodiment, even if the personal computer is activated with power supplied from the main power supply device 0011, the initial state is the single application mode.

PDA、ポケットPCなど、AC電源駆動よりもバッテリー駆動が主となる情報処理装置では、実施例2のように起動時は制限されたメモリで立ち上がり、必要に応じて利用可能なメモリ量を増やすようにしても使用上問題はなく、消費電力の削減の観点からはむしろ望ましい。   In an information processing apparatus such as a PDA or a pocket PC that is driven by battery rather than AC power supply, it starts up with limited memory at the time of startup as in the second embodiment, and increases the amount of available memory as necessary. However, there is no problem in use, which is rather desirable from the viewpoint of reducing power consumption.

アプリが起動されると、リンクテーブル0211を参照し、アプリの動作に必要なデバイスのみを有効にする。アプリを終了する場合、プログラム本体、およびライブラリ、およびデバイスドライバをメモリからパージし、起動直後の状態に戻す。   When the application is activated, the link table 0211 is referred to, and only the devices necessary for the operation of the application are validated. When the application is terminated, the program main body, the library, and the device driver are purged from the memory and returned to the state immediately after starting.

一方、メモリスワップの頻度が高いときや、メモリ使用量が一定の量を超過したときにメモリ量を増やす。   On the other hand, the memory amount is increased when the frequency of memory swap is high or when the memory usage exceeds a certain amount.

ユーザが複数のアプリを起動した場合、一旦通常動作モードに遷移し、一定時間アクセスのなかったアプリは自動的にスワップアウトし、単一アプリモードに遷移するようにすれば、ユーザにモードの違いを感じさせることなく、単一アプリモードと通常動作モードをシームレスに遷移することができる。   When the user starts multiple apps, once the mode is changed to the normal operation mode, apps that have not been accessed for a certain period of time are automatically swapped out and changed to the single app mode. It is possible to seamlessly transition between the single application mode and the normal operation mode without making the user feel.

実施例のパソコンのハードウェア構成例である。It is a hardware structural example of the personal computer of an Example. 通常動作モードにおいてOSとアプリのウィンドウが表示されている画面の例である。It is an example of the screen in which the window of OS and an application is displayed in normal operation mode. メモリマップの状態遷移の例である。It is an example of the state transition of a memory map. 継続操作するアプリの選択画面の例である。It is an example of the selection screen of the application to continue operation. 単一アプリモードへの移行可否をユーザに確認する画面の例である。It is an example of the screen which confirms with a user whether transfer to single application mode is possible. アプリの動作に必要なデバイスを関連付けるテーブルの例である。It is an example of the table which associates the device required for operation | movement of an application.

符号の説明Explanation of symbols

0011:主電源装置
0012:バッテリー(補助電源装置)
0021:MCU(主記憶制御装置)
0022:コントローラ(補助記憶制御装置)
0031:メモリモジュール(主記憶装置1)
0032:メモリモジュール(主記憶装置2)
00300:メモリモジュール共用データバス
00311:メモリモジュール0031用電源ライン
00321:メモリモジュール0032用電源ライン
0041:CPU(演算装置)
0051:HDD(外部記憶装置)
0101:OSのメイン画面
0102:ワープロソフトの画面
0103:メーラの画面
0211:リンクテーブル
0011: Main power supply 0012: Battery (auxiliary power supply)
0021: MCU (main memory control unit)
0022: Controller (auxiliary storage control device)
0031: Memory module (main storage device 1)
0032: Memory module (main storage device 2)
00300: Memory module shared data bus 00311: Power line for memory module 0031 1: Power line for memory module 0032: CPU (arithmetic unit)
0051: HDD (external storage device)
0101: OS main screen 0102: Word processor software screen 0103: Mailer screen 0211: Link table

Claims (8)

揮発性メモリを主記憶装置とする情報処理装置において、使用可能な主記憶装置の使用量を制限するモードを設け、そのモードでは未使用状態の主記憶装置への給電を停止することにより消費電力を低減することを特徴とする情報処理装置。   In an information processing device using a volatile memory as a main storage device, a mode for limiting the amount of usable main storage device is provided. In this mode, power consumption is stopped by stopping power supply to an unused main storage device. Information processing apparatus characterized by reducing 請求項1に記載された主記憶装置の使用量を制限するモードであり、そのモードに入る時に、ユーザからのアクセスが一定時間ないアプリケーションを2次記憶装置にスワップアウトすることにより主記憶装置の使用量を削減するモードを有することを特徴とする情報処理装置。   A mode for restricting the amount of use of the main storage device according to claim 1, and when entering the mode, by swapping out an application that has not been accessed by a user for a certain period of time to a secondary storage device, An information processing apparatus having a mode for reducing usage. 請求項2に記載された主記憶装置の使用量を制限するモードにおいて、スワップアウトしないアプリケーションに必要なライブラリやドライバなどもスワップアウトしないことを特徴とする情報処理装置。   3. An information processing apparatus according to claim 2, wherein in the mode for restricting the use amount of the main storage device according to claim 2, libraries and drivers necessary for an application not to be swapped out are not swapped out. 請求項3に記載されたスワップアウトしないアプリケーションとそれに関連してスワップアウトしないライブラリやドライバなどの関連を示す関連テーブルを、アプリケーションのインストール時に作成し、主記憶装置の使用量を制限するモードに遷移するときにこの関連テーブルを参照し、スワップアウトするプロセスを決定することを特徴とする情報処理装置。   The related table indicating the relationship between the non-swap-out application described in claim 3 and the library or driver related to the non-swap-out is created at the time of installation of the application, and the mode is changed to the mode for limiting the use amount of the main storage device. An information processing apparatus characterized by determining a process to be swapped out by referring to the related table when performing the process. 請求項1に記載された主記憶装置の使用量を制限するモードにおいて、このモードに遷移するときにはスワップアウトしないアプリケーションを単一とし、そのアプリケーションの画面表示を全画面表示として、OSのピクセルマップもスワップアウトの対象とすることを特徴とする情報処理装置。   In the mode for limiting the use amount of the main storage device according to claim 1, a single application is not swapped out when transitioning to this mode, the screen display of the application is set as a full screen display, and the pixel map of the OS is also set. An information processing apparatus characterized by being swapped out. 請求項1に記載された主記憶装置の使用量を制限するモードへ移行において、電源供給元が主電源装置から補助電源装置へ変更された場合、または、ユーザによる操作対象が一定時間単一アプリケーションである場合、または、ユーザによる主記憶装置の使用量を制限するモードへ移行指示、または、ユーザが指定した特定のアプリケーションの起動、のときに状態遷移することを特徴とする情報処理装置。   In the transition to the mode for limiting the usage amount of the main storage device according to claim 1, when the power supply source is changed from the main power supply device to the auxiliary power supply device, or the operation target by the user is a single application for a certain period of time. Or an information processing apparatus that changes state when an instruction to shift to a mode for restricting the amount of use of the main storage device by the user or a specific application specified by the user is started. 請求項1に記載された主記憶装置の使用量を制限するモードからの復帰において、電力の供給元が補助電源装置から主電源装置へ変更された場合、または、ユーザによる特定の操作を示す信号、または、ユーザが指定した特定のアプリケーションの起動、のときに状態遷移することを特徴とする情報処理装置。   The signal indicating a specific operation by the user when the power supply source is changed from the auxiliary power supply to the main power supply in the return from the mode for limiting the usage amount of the main storage device according to claim 1 Or an information processing apparatus that makes a state transition when a specific application specified by a user is started. 複数の揮発性メモリを主記憶装置とする情報処理装置において、それぞれの揮発性メモリごとに給電を制御するためのスイッチを有することを特徴とする情報処理装置。
An information processing apparatus having a plurality of volatile memories as a main storage device, the information processing apparatus having a switch for controlling power feeding for each volatile memory.
JP2006222879A 2006-08-18 2006-08-18 Information processing apparatus Pending JP2008046940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006222879A JP2008046940A (en) 2006-08-18 2006-08-18 Information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006222879A JP2008046940A (en) 2006-08-18 2006-08-18 Information processing apparatus

Publications (1)

Publication Number Publication Date
JP2008046940A true JP2008046940A (en) 2008-02-28

Family

ID=39180617

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006222879A Pending JP2008046940A (en) 2006-08-18 2006-08-18 Information processing apparatus

Country Status (1)

Country Link
JP (1) JP2008046940A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045338A (en) * 2011-08-25 2013-03-04 Fujitsu Mobile Communications Ltd Terminal and memory control method in terminal
JP2014526731A (en) * 2011-09-09 2014-10-06 マイクロソフト コーポレーション Startup pattern management
US9736050B2 (en) 2011-09-09 2017-08-15 Microsoft Technology Licensing, Llc Keep alive management
US9939876B2 (en) 2011-09-09 2018-04-10 Microsoft Technology Licensing, Llc Operating system management of network interface devices
CN108398988A (en) * 2018-04-25 2018-08-14 武汉轻工大学 Wearable smartwatch
CN108418974A (en) * 2018-04-25 2018-08-17 武汉轻工大学 Information processing equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013045338A (en) * 2011-08-25 2013-03-04 Fujitsu Mobile Communications Ltd Terminal and memory control method in terminal
JP2014526731A (en) * 2011-09-09 2014-10-06 マイクロソフト コーポレーション Startup pattern management
US9294379B2 (en) 2011-09-09 2016-03-22 Microsoft Technology Licensing, Llc Wake pattern management
US9596153B2 (en) 2011-09-09 2017-03-14 Microsoft Technology Licensing, Llc Wake pattern management
US9736050B2 (en) 2011-09-09 2017-08-15 Microsoft Technology Licensing, Llc Keep alive management
US9939876B2 (en) 2011-09-09 2018-04-10 Microsoft Technology Licensing, Llc Operating system management of network interface devices
CN108398988A (en) * 2018-04-25 2018-08-14 武汉轻工大学 Wearable smartwatch
CN108418974A (en) * 2018-04-25 2018-08-17 武汉轻工大学 Information processing equipment
CN108398988B (en) * 2018-04-25 2024-04-09 武汉轻工大学 Wearable intelligent watch

Similar Documents

Publication Publication Date Title
US8959369B2 (en) Hardware automatic performance state transitions in system on processor sleep and wake events
US8769256B2 (en) Fast switching between multiple operating systems using standby state
US8826055B2 (en) Computer system and control method thereof
JP4376897B2 (en) Memory controller considering processor power state
US8479031B2 (en) System switching unit having a switch to switch on/off a channel for data interaction between a first system and the bus interface of a second system according to the operation state of the second system
US8468373B2 (en) Modifying performance parameters in multiple circuits according to a performance state table upon receiving a request to change a performance state
JP4175838B2 (en) Information processing apparatus with standby mode, standby mode start method and standby mode cancel method
US20060085794A1 (en) Information processing system, information processing method, and program
JP5385347B2 (en) Method and computer for enlarging free memory in main memory
JP2008046940A (en) Information processing apparatus
JP2009289193A (en) Information processing apparatus
US8185763B2 (en) Method of and apparatus for informing user about setting state of wake-on-LAN function
JP5783348B2 (en) Control device, control program, and image forming apparatus
JP2008243049A (en) Information processor and memory control method therefor
JP2009258925A (en) Computer system and memory management method of computer system
JP2008165318A (en) Computer system
JP2011013836A (en) Memory arrangement management device and microprocessor
JP2000222285A (en) Memory power managing device
US20070136650A1 (en) Low power multimedia playing method for portable computer
JP2008027354A (en) Information processing apparatus and information processing apparatus boot method
CN113268135A (en) Low-power-consumption standby method and device
TWI405077B (en) Power-saving computer system, graphics processing module, and the power saving method thereof
JP2007164250A (en) Access control circuit and information processor
TW201401046A (en) Memory managing method
KR20110021182A (en) Computer system and control method thereof