JP4241600B2 - Memory management method and information processing apparatus - Google Patents

Memory management method and information processing apparatus Download PDF

Info

Publication number
JP4241600B2
JP4241600B2 JP2004365257A JP2004365257A JP4241600B2 JP 4241600 B2 JP4241600 B2 JP 4241600B2 JP 2004365257 A JP2004365257 A JP 2004365257A JP 2004365257 A JP2004365257 A JP 2004365257A JP 4241600 B2 JP4241600 B2 JP 4241600B2
Authority
JP
Japan
Prior art keywords
memory
amount
information
address
area
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.)
Expired - Fee Related
Application number
JP2004365257A
Other languages
Japanese (ja)
Other versions
JP2005092901A (en
Inventor
秀樹 村山
和雄 堀川
寛 屋代
雅彦 山内
保弘 石井
大介 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2004365257A priority Critical patent/JP4241600B2/en
Publication of JP2005092901A publication Critical patent/JP2005092901A/en
Application granted granted Critical
Publication of JP4241600B2 publication Critical patent/JP4241600B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、動作中に主メモリの増設を可能とする情報処理装置に関する。   The present invention relates to an information processing apparatus capable of adding a main memory during operation.

従来技術においては、メモリの増設をおこなうためには、一度システムを停止してからメモリの増設を行い、システムを再起動することが必要であった。このような技術は、パーソナルコンピュータのマニュアル「日立パーソナルコンピュータ FLOARA1010DL/DM はじめてのあなたに (ハードウエアマニュアル)のP107からP110」(公知例1)に開示されている。本公知例には、パーソナルコンピュータにおいて電源ケーブルを接続しない状態における増設の必要性について述べている。動作中にデバイスを接続するための接続技術が、 Rosch, Winn L.著, 出版社SAMSUNG AMERICA, INC.The Winn L. Rosch Hardware Bible,P347−P356(公知例2)に開示されている。本公知例は、通電中に挿抜することが可能なPCMCIA規格の仕様について述べている。また、動作中にデバイスを接続するための別の接続技術が日経エレクトロニクス1997.6.2号109頁〜112頁(公知例3)に開示されている。本公知例には、通電中に挿抜することが可能なPCIバス規格の仕様について述べている。   In the prior art, in order to increase the memory, it is necessary to stop the system once, expand the memory, and restart the system. Such a technique is disclosed in a personal computer manual “Hitachi Personal Computer FLOARA 1010DL / DM First Time You (Hardware Manual) P107 to P110” (Prior Art 1). This publicly known example describes the necessity of expansion in a state where a power cable is not connected in a personal computer. A connection technique for connecting devices during operation is described by Rosch, Winn L., et al. Written by publisher Samsung America, Inc. The Winn L. Rosch Hardware Bibl, P347-P356 (Known Example 2). This known example describes the specification of the PCMCIA standard that can be inserted and removed during energization. Further, another connection technique for connecting devices during operation is disclosed in Nikkei Electronics 1997.6.2, pages 109 to 112 (Prior Art 3). This known example describes the specifications of the PCI bus standard that can be inserted / removed during energization.

パーソナルコンピュータのマニュアル「日立パーソナルコンピュータ FLOARA1010DL/DM はじめてのあなたに (ハードウエアマニュアル)」Personal computer manual "Hitachi Personal Computer FLOARA1010DL / DM for you first time (hardware manual)" Rosch, Winn L.著、出版社SAMSUNG AMERICA, INC.The Winn L. Rosch Hardware Bible,P347−P356Rosch, Winn L. Written and published by Samsun America, Inc. The Winn L. Rosch Hardware Bible, P347-P356 日経エレクトロニクス1997.6.2号109頁〜112頁Nikkei Electronics 1997.6.2, pages 109-112

上記従来技術においては、メモリを増設する際に電源を停止する必要があるため、メモリ増設の際に、システム停止処理とシステム初期化処理を行うことが必要であった。ワークステーション/サーバにおいて通常使用されているOS(オペレーティングシステム)において、アプリケーションソフトウエアの停止、初期化処理を含めると、システム停止処理及びシステム初期化処理を行うためには、30分から1時間程度の時間が掛かるという問題があった。   In the above prior art, since it is necessary to stop the power supply when adding memory, it is necessary to perform system stop processing and system initialization processing when adding memory. In the OS (operating system) normally used in workstations / servers, including application software stop and initialization processes, it takes 30 minutes to 1 hour to perform system stop and system initialization processes. There was a problem of taking time.

動作中にメモリを増設する手法としては、クラスタシステムがある。クラスタシステムでは、ある特定のサービスを行うための複数の情報処理装置があり、ある情報処理装置が停止している間にも他方がサービスを継続することができる。しかし、この場合には情報処理装置を複数台用意する必要があるという問題がある。   There is a cluster system as a method of adding memory during operation. In a cluster system, there are a plurality of information processing apparatuses for performing a specific service, and the other can continue the service while a certain information processing apparatus is stopped. However, in this case, there is a problem that it is necessary to prepare a plurality of information processing apparatuses.

本発明の目的は、複数台の情報処理装置を用意せずに、動作中にメモリを増設することができるメモリ管理方法を提供することにある。   An object of the present invention is to provide a memory management method capable of adding a memory during operation without preparing a plurality of information processing apparatuses.

本発明の他の目的は、プロセッサに接続されている第1のメモリの管理領域を予約することにより、増設される第2のメモリをプロセッサが利用することができるメモリ管理方法を提供することにある。   Another object of the present invention is to provide a memory management method that allows a processor to use an additional second memory by reserving a management area of the first memory connected to the processor. is there.

本発明の他の目的は、予め設定したメモリ量に応じて、そのメモリ量と実装されているメモリ量との差を増設メモリ量とすることができるメモリ管理方法を提供することにある。   Another object of the present invention is to provide a memory management method capable of setting the difference between the memory amount and the mounted memory amount as an additional memory amount according to a preset memory amount.

上記課題を解決するために、本発明のメモリ管理方法は、第1のメモリと、第1のメモリ内の情報を処理するプロセッサとを有し、電源が投入された状態で第2のメモリを増設することができる情報処理装置において、プロセッサと第1及び第2のメモリの少なくともいずれかとを接続し、プロセッサに接続された第1及び第2のメモリの容量を記憶し、プロセッサと第1及び第2のメモリ各々が接続されているか否かに関する情報を記憶する。   In order to solve the above problems, a memory management method according to the present invention includes a first memory and a processor that processes information in the first memory, and the second memory is stored in a state where the power is turned on. In the information processing apparatus that can be added, the processor is connected to at least one of the first and second memories, the capacity of the first and second memories connected to the processor is stored, and the processor and the first and second memories are stored. Information regarding whether or not each of the second memories is connected is stored.

また、上記課題を解決するために、本発明のメモリ管理方法は、第1のメモリを含む情報処理装置に第2のメモリを増設する場合に、情報処理装置におけるトータルメモリ量を設定し、情報処理装置起動時に、情報処理装置に実装されているメモリの実装メモリ量を算出し、トータルメモリ量に基づいて、メモリ管理領域を第1のメモリに確保し、実装メモリに対する管理情報を設定し、情報処理装置の動作中に行う第2のメモリ増設に応じて、トータルメモリ量と実装メモリ量との差を増設メモリ量として算出し、増設メモリ量に対するメモリ管理情報を第1のメモリに設定する。   In order to solve the above-described problem, the memory management method of the present invention sets a total memory amount in the information processing apparatus when the second memory is added to the information processing apparatus including the first memory, and At the time of processing device startup, the amount of memory mounted on the information processing device is calculated, the memory management area is secured in the first memory based on the total amount of memory, management information for the mounted memory is set, According to the second memory expansion performed during the operation of the information processing apparatus, the difference between the total memory amount and the mounted memory amount is calculated as the additional memory amount, and the memory management information for the additional memory amount is set in the first memory. .

また、上記課題を解決するために、本発明は、電源が投入された状態でメモリを増設することができる情報処理装置であって、第1のメモリと、第1のメモリ内の情報を処理するプロセッサと、情報処理装置におけるトータルメモリ量を設定する設定手段とを備え、プロセッサは、情報処理装置の起動に応じて、情報処理装置に実装されているメモリの実装メモリ量を算出し、トータルメモリ量に基づいて、メモリ管理領域を第1のメモリに確保し、実装メモリに対するメモリ管理情報を第1のメモリに設定し、かつ、情報処理装置の動作中に行う第2のメモリ増設に応じて、トータルメモリ量と実装メモリ量との差を増設メモリ量として算出し、増設メモリ量に対するメモリ管理情報を第1のメモリに設定する構成とする。   In order to solve the above-described problem, the present invention is an information processing apparatus capable of adding a memory while power is turned on, and processes the first memory and information in the first memory. And a setting means for setting a total memory amount in the information processing apparatus, and the processor calculates a mounted memory amount of the memory mounted in the information processing apparatus in response to the activation of the information processing apparatus, Based on the amount of memory, the memory management area is secured in the first memory, the memory management information for the mounted memory is set in the first memory, and the second memory expansion performed during the operation of the information processing apparatus Thus, the difference between the total memory amount and the mounted memory amount is calculated as the additional memory amount, and the memory management information for the additional memory amount is set in the first memory.

本発明により、情報処理装置が動作中にメモリを増設することが可能となる。   According to the present invention, it is possible to add a memory while the information processing apparatus is operating.

以下、本発明の一実施例を図面を参照して詳細に説明する。   Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

まず、図1に本発明による情報処理装置の実施の形態の一つである計算機を示す。   First, FIG. 1 shows a computer which is one embodiment of an information processing apparatus according to the present invention.

図1の計算機は、プロセッサ10と主メモリ20が接続スイッチ50に接続されて構成される。増設主メモリ60は、電源投入時には計算機に接続されておらず、計算機の動作が開始されてから接続スイッチ50に接続される。   The computer shown in FIG. 1 is configured by connecting a processor 10 and a main memory 20 to a connection switch 50. The additional main memory 60 is not connected to the computer when the power is turned on, and is connected to the connection switch 50 after the operation of the computer is started.

プロセッサ10は、例えばCPUである。主メモリ20と増設主メモリ60は、例えばRAMである。接続スイッチ50は、プロセッサ10、主メモリ20、増設主メモリ60を接続するための接続機構であり、例えばTTLやCMOSなどの論理回路によって構成される。接続スイッチ50は、論理的な接続状態を管理する接続管理手段40を有する。接続管理手段40は、プロセッサ10と接続スイッチ50間、主メモリ20と接続スイッチ50間、増設主メモリ60と接続スイッチ50間で、論理的な接続がされているかどうか、つまり信号を授受できる状態かどうかを管理する。   The processor 10 is, for example, a CPU. The main memory 20 and the additional main memory 60 are, for example, RAMs. The connection switch 50 is a connection mechanism for connecting the processor 10, the main memory 20, and the additional main memory 60, and is configured by a logic circuit such as TTL or CMOS, for example. The connection switch 50 includes connection management means 40 that manages a logical connection state. The connection management means 40 determines whether a logical connection is established between the processor 10 and the connection switch 50, between the main memory 20 and the connection switch 50, or between the additional main memory 60 and the connection switch 50, that is, a state in which signals can be exchanged. Manage whether or not.

管理情報41は、接続スイッチの各Port毎に接続状態を管理している。図1では、Port0とPort1が接続状態、即ちプロセッサ10と接続スイッチ50間、主メモリ20と接続スイッチ50間はそれぞれ論理的に接続されており、増設主メモリ60と接続スイッチ50間は論理的に接続されていない状態である。   The management information 41 manages the connection state for each port of the connection switch. In FIG. 1, Port 0 and Port 1 are in a connected state, that is, the processor 10 and the connection switch 50 are logically connected to each other, and the main memory 20 and the connection switch 50 are logically connected. Is not connected to.

接続管理手段40は、例えばTTLやCMOSなどの論理回路であり、管理情報41はRAMに保持されてもよい。   The connection management means 40 is a logic circuit such as TTL or CMOS, for example, and the management information 41 may be held in the RAM.

この計算機において、論理的に接続されていない部分に対しては信号が伝達されない。そのため論理的に接続されていない部分を物理的に接続してもノイズは伝達されない。即ち、ある2つの部分を物理的に接続した状態であっても、論理的な接続を行わない限り、それらの間では信号の授受は行われない。電源投入時に、プロセッサ10と接続スイッチ50間、主メモリ20と接続スイッチ50間については、物理的な接続と論理的な接続が確立された状態となっており、増設主メモリ60は、物理的に接続されていないとする。接続スイッチ50は、動作中に物理的に接続しても論理的には接続していない。物理的に接続したのち、接続時のノイズがなくなるまでの一定時間待ってから、接続管理手段40を更新して論理的に接続することにより、動作中の増設が可能である。   In this computer, no signal is transmitted to portions that are not logically connected. For this reason, noise is not transmitted even if parts that are not logically connected are physically connected. That is, even when two certain parts are physically connected, no signal is exchanged between them unless logical connection is made. When the power is turned on, the physical connection and the logical connection are established between the processor 10 and the connection switch 50, and between the main memory 20 and the connection switch 50. Suppose that it is not connected to. The connection switch 50 is not logically connected even if it is physically connected during operation. After physically connecting, after waiting for a certain period of time until the noise at the time of connection disappears, the connection management means 40 is updated and logically connected to allow expansion during operation.

増設通知手段30は、増設を通知するための手段であり、各増設部分に対応したスイッチなどによって実現できる。図1の場合であれは、Port0、Port1、Port2のおのおのに対して個別のスイッチがあれば、どのポートを論理的に接続するか/非接続にするかを設定することができる。接続管理手段40は増設通知手段30から増設を通知されると、管理情報41を更新して対応する部分が論理的に接続するよう設定する。   The expansion notification means 30 is a means for notifying the expansion, and can be realized by a switch or the like corresponding to each expansion portion. In the case of FIG. 1, if there are individual switches for each of Port0, Port1, and Port2, it is possible to set which port is logically connected / disconnected. When the connection management unit 40 is notified of the addition from the addition notification unit 30, the connection management unit 40 updates the management information 41 so as to logically connect the corresponding portions.

増設通知手段30は、プロセッサ10上で動作するプログラムとキーボードとディスプレイとからなる入出力装置によっても実現することができる。例えば、キーボードから文字列が入力され、プロセッサ10が対応する接続管理手段40の管理情報41を変更することによっても同様の効果が得られる。図1では、増設通知手段30は接続スイッチに設けたが、接続スイッチとは別でも良い。   The extension notification means 30 can also be realized by an input / output device including a program operating on the processor 10, a keyboard, and a display. For example, the same effect can be obtained by inputting a character string from the keyboard and changing the management information 41 of the connection management means 40 corresponding to the processor 10. In FIG. 1, the extension notification means 30 is provided in the connection switch, but may be different from the connection switch.

図2の例では、初期化時にプロセッサ10と接続スイッチ50間、主メモリ20と接続スイッチ50間は論理的に接続される。この段階では、増設主メモリ60は物理的に接続されていない。また、プロセッサ10がアクセスできるメモリの範囲は、主メモリ20内の主メモリ管理情報21に保持される。主メモリ管理情報21の内容は、図2に示すように、利用可能先頭アドレス22と利用可能最終アドレス23とから構成される。利用可能先頭アドレス22は、プロセッサが利用できる先頭アドレスを示し、利用可能最終アドレス23には、プロセッサが利用できる最終アドレスを示す。   In the example of FIG. 2, the processor 10 and the connection switch 50 and the main memory 20 and the connection switch 50 are logically connected at the time of initialization. At this stage, the additional main memory 60 is not physically connected. Further, the range of memory that can be accessed by the processor 10 is held in the main memory management information 21 in the main memory 20. The contents of the main memory management information 21 are composed of an available head address 22 and an available last address 23, as shown in FIG. The available start address 22 indicates the start address that can be used by the processor, and the available end address 23 indicates the last address that can be used by the processor.

次に、情報処理装置の動作中にメモリ増設を行う場合の動作について説明する。まず、図1に示す増設主メモリ60が接続スイッチ50に接続される。この状態では、接続管理手段40によるとPort2が論理的に接続されていないので、増設主メモリ60が接続スイッチ50に物理的に接続されたことにより電気的なノイズが発生してもシステムに影響はない。次に、増設主メモリ60が接続スイッチ50に物理的に接続された後、一定時間経過して電気的に安定な状態になったら、増設通知手段30は、接続管理手段40に増設主メモリ60の増設を通知する。この通知により、接続管理手段40は、管理情報41のPort2を接続状態「on」に設定する。この処理により、接続スイッチ50と増設主メモリ60を接続するPort2は、論理的に接続された状態となる。接続スイッチ50は、各Portごとに接続/非接続を切り替えることが可能であり、増設主メモリ60を挿入するためにPort2を非接続状態にしても、他のPortは接続状態のままにできるので、この間もプロセッサ10は主メモリ20にアクセスできる。   Next, an operation for adding a memory during the operation of the information processing apparatus will be described. First, the additional main memory 60 shown in FIG. 1 is connected to the connection switch 50. In this state, since the port 2 is not logically connected according to the connection management means 40, even if electrical noise occurs due to the physical connection of the additional main memory 60 to the connection switch 50, the system is affected. There is no. Next, after the expansion main memory 60 is physically connected to the connection switch 50, when a certain time has elapsed and the state becomes electrically stable, the expansion notification means 30 sends the connection management means 40 to the expansion main memory 60. Notify the addition of. With this notification, the connection management unit 40 sets Port 2 of the management information 41 to the connection state “on”. By this process, Port 2 that connects the connection switch 50 and the additional main memory 60 is logically connected. The connection switch 50 can switch connection / disconnection for each port, and even if the port 2 is disconnected in order to insert the additional main memory 60, other ports can remain connected. During this time, the processor 10 can access the main memory 20.

次にプロセッサ10は、増設主メモリ60を初期化し、利用可能なメモリ量を検査する。最後に、プロセッサ10が、主メモリ管理情報21に保持されている利用可能最終アドレス23(図2に示す)を、増設により増えたメモリの量だけ追加し、プロセッサから増設主メモリ60を利用することが可能となる。   Next, the processor 10 initializes the additional main memory 60 and checks the amount of available memory. Finally, the processor 10 adds the available last address 23 (shown in FIG. 2) held in the main memory management information 21 by the amount of memory increased by the expansion, and uses the expanded main memory 60 from the processor. It becomes possible.

図3に本発明による情報処理装置の実施の形態である他の計算機を示す。   FIG. 3 shows another computer which is an embodiment of the information processing apparatus according to the present invention.

図3では、プロセッサ10、主メモリ20、バス制御機構70がバス80に接続されて構成される。活線挿抜技術については、例えば公知例2または公知例3に記載の技術を適用することができる。   In FIG. 3, the processor 10, the main memory 20, and the bus control mechanism 70 are connected to a bus 80. For the hot-line insertion / extraction technique, for example, the technique described in known example 2 or known example 3 can be applied.

増設主メモリ60は、電源投入時には接続されておらず、システムの運用が開始された後にバス80に接続される。   The expansion main memory 60 is not connected when the power is turned on, and is connected to the bus 80 after the operation of the system is started.

この構成では、増設主メモリ60をバス80に接続する際に、バス80に電気的なノイズが発生する可能性があるため、バス制御手段70が、そのノイズを回避する必要がある。プロセッサ10、主メモリ20、増設主メモリ60は、バスによって接続される以外は、図1と同一である。バス制御手段70は、バスに接続されている要素間でのバス調停をする機構であり、例えばTTLやCMOSなどの論理回路である。バス制御手段70は、バスに接続されている各要素に対して、バス上の信号を受け付けてよい情報か、受け付けてはいけない情報かを通知することができる。   In this configuration, when the additional main memory 60 is connected to the bus 80, there is a possibility that electrical noise is generated in the bus 80, so the bus control means 70 needs to avoid the noise. The processor 10, the main memory 20, and the additional main memory 60 are the same as those in FIG. 1 except that they are connected by a bus. The bus control means 70 is a mechanism that performs bus arbitration between elements connected to the bus, and is, for example, a logic circuit such as TTL or CMOS. The bus control means 70 can notify each element connected to the bus whether the information on the bus may be accepted or not.

図3に示す計算機にメモリを増設する場合の処理について説明する。まず、増設主メモリ60をバス80に接続する際にバス80に発生するノイズを回避するために、増設通知手段30は、バス制御手段70に増設主メモリ60がバス80に接続されることを通知する。次に、バス制御手段70は、バス80上の情報を受け付けないように、バス80に接続された各要素に通知する。バス制御手段70が接続/非接続を制御することで、バス全体の単位での接続、非接続の切り替えが可能になる。次に、増設主メモリ60がバス80に接続される。増設主メモリ60をバス80に接続したことによるノイズがなくなったと思われる程度に時間が経過したら、増設通知手段30は、バス制御手段70に、バス80上の信号を授受可能になったことを通知する。これにより、バス80に接続されている各要素がノイズの影響を受けることなく、動作中にメモリを増設することができる。   Processing for adding memory to the computer shown in FIG. 3 will be described. First, in order to avoid noise generated in the bus 80 when the expansion main memory 60 is connected to the bus 80, the expansion notification means 30 informs the bus control means 70 that the expansion main memory 60 is connected to the bus 80. Notice. Next, the bus control means 70 notifies each element connected to the bus 80 so as not to accept information on the bus 80. By controlling connection / disconnection by the bus control means 70, connection / disconnection can be switched in units of the entire bus. Next, the expansion main memory 60 is connected to the bus 80. When a time elapses to such an extent that noise due to the connection of the expansion main memory 60 to the bus 80 has disappeared, the expansion notification means 30 can send a signal on the bus 80 to the bus control means 70. Notice. As a result, each element connected to the bus 80 can be expanded during operation without being affected by noise.

次にプロセッサ10は、増設主メモリ60を初期化し、利用可能なメモリ量を検査する。最後に、プロセッサ10は、主メモリ管理情報21に保持されている利用可能最終アドレス23を、増設により増えたメモリの量だけ追加することにより、プロセッサ10が増設主メモリ60を利用することが可能となる。   Next, the processor 10 initializes the additional main memory 60 and checks the amount of available memory. Finally, the processor 10 can use the expanded main memory 60 by adding the available final address 23 held in the main memory management information 21 by the amount of memory increased by the expansion. It becomes.

(実施例1)
図4に本発明による情報処理装置の一実施例である計算機を示す。
(Example 1)
FIG. 4 shows a computer which is an embodiment of an information processing apparatus according to the present invention.

計算機100は、最小構成はプロセッサ110、不揮発性メモリ120、I/O装置130、二次記憶装置140、メモリ−1(200−1),メモリ−2(200−2)、バス制御手段70がシステムバス150に結合されて構成される。ここでは、電源投入時には、メモリ−1(200−1)のみ実装されており、途中から、メモリ−2(200−2)を電源投入後の動作中に接続する例を示すが、電源投入時と電源投入後の動作中に接続するメモリの数に制限はない。以下、各メモリを分けて示す場合は、メモリ−1(200−1),メモリ−2(200−2)と記述するが、装置の構成について示す場合は、メモリ200として記述する。   The computer 100 has a minimum configuration of a processor 110, a nonvolatile memory 120, an I / O device 130, a secondary storage device 140, a memory-1 (200-1), a memory-2 (200-2), and a bus control means 70. It is configured to be coupled to the system bus 150. In this example, only the memory-1 (200-1) is mounted when the power is turned on, and the memory-2 (200-2) is connected from the middle during the operation after the power is turned on. There is no limit to the number of memories that can be connected during operation after power on. Hereinafter, when each memory is shown separately, it will be described as memory-1 (200-1) and memory-2 (200-2), but when it shows the configuration of the device, it will be described as memory 200.

計算機100は、システムの構成によっては、二つ以上のI/O装置130を持つ場合もある。   The computer 100 may have two or more I / O devices 130 depending on the system configuration.

プロセッサ110は、たとえばCPUである。不揮発性メモリ120は、主電源が投入されていない間でも内容が保持されている記憶装置であって、例えばROMまたはバッテリーによって常時通電されているRAMである。このROMは、内容の変更を可能とするために、EEPROM(ElectricallyErasable Programable Read Only Memory)であることが望ましい。不揮発性メモリ120は、Firmware121と構成情報122とからなる。   The processor 110 is a CPU, for example. The nonvolatile memory 120 is a storage device that retains contents even when the main power is not turned on, and is a RAM that is always energized by, for example, a ROM or a battery. This ROM is preferably an EEPROM (Electrically Erasable Programmable Read Only Memory) in order to allow the contents to be changed. The non-volatile memory 120 includes a firmware 121 and configuration information 122.

Firmware121は、システムの初期化処理や基本的な入出力制御を行うためのプログラムから構成される。構成情報122は、システムの構成を示す情報であり、Firmware121を介して参照される。構成情報122は、ある時点で実装されているメモリ量を示す実メモリ量情報123と追加可能なメモリの情報を示す追加可能メモリ情報124を含む。構成情報122は、Firmware121の設定メニューやUtility142によって設定される。この設定の際に、OS141に関連する制約条件等をチェックしてから設定変更をすることが好ましい。 Utility142は、通常プログラムとして実装される。   The Firmware 121 is configured by a program for performing system initialization processing and basic input / output control. The configuration information 122 is information indicating the configuration of the system, and is referred to via the Firmware 121. The configuration information 122 includes real memory amount information 123 indicating the amount of memory installed at a certain point in time, and addable memory information 124 indicating information on the memory that can be added. The configuration information 122 is set by the setting menu of the Firmware 121 or the Utility 142. At the time of this setting, it is preferable to change the setting after checking the constraint conditions related to the OS 141. The Utility 142 is implemented as a normal program.

I/O装置130は、入出力を行うための装置であり、キーボード、ディスプレイ装置、プリンタ、ネットワークなどによって構成される。   The I / O device 130 is a device for performing input / output, and includes a keyboard, a display device, a printer, a network, and the like.

二次記憶装置140は、主電源が投入されていない間でも内容が保持されている記憶装置であって、ハードディスク、CD−ROMなどの光デバイス、MOなどの光磁気ディスク装置又は磁気テープデバイスなどによって構成される。二次記憶装置には、OS141、Utility142、及びデータ143が保持される。   The secondary storage device 140 is a storage device that retains contents even when the main power is not turned on, and includes a hard disk, an optical device such as a CD-ROM, a magneto-optical disk device such as an MO, or a magnetic tape device. Consists of. The secondary storage device holds an OS 141, Utility 142, and data 143.

メモリ200は、メモリバスインタフェース210と記憶機構220から構成される。メモリバスインタフェース210は、記憶機構220の内容をバスを介して入出力するための機構であり、例えばTTLやCMOSなどの論理回路によって構成され、活線挿抜機能を有する。活線挿抜機能は、例えば従来例で引用したPCMCIAで適用している技術を利用することで実現できる。   The memory 200 includes a memory bus interface 210 and a storage mechanism 220. The memory bus interface 210 is a mechanism for inputting / outputting the contents of the storage mechanism 220 via a bus, and is configured by a logic circuit such as TTL or CMOS, for example, and has a hot-swap function. The hot-line insertion / extraction function can be realized, for example, by using a technique applied in PCMCIA cited in the conventional example.

記憶機構220は、例えばRAMである。メモリ−1(200−1)の記憶機構220−1は、OSによって使用されるOS領域240と、ユーザプログラムによって使用されるユーザ領域230を有する。OS領域240は、資源管理情報250を有し、資源管理情報250の中には、主メモリ管理情報21が含まれる。メモリ−2(200−2)は、記憶機構220−2と、ユーザプログラムによって使用されるユーザ領域230−2とを含む。バス制御機構70及び増設通知手段30は、図3にて示したものと同一である。   The storage mechanism 220 is a RAM, for example. The storage mechanism 220-1 of the memory-1 (200-1) has an OS area 240 used by the OS and a user area 230 used by the user program. The OS area 240 has resource management information 250, and the main memory management information 21 is included in the resource management information 250. The memory-2 (200-2) includes a storage mechanism 220-2 and a user area 230-2 used by the user program. The bus control mechanism 70 and the extension notification means 30 are the same as those shown in FIG.

次に図5を用いて、計算機の初期化処理フローについて説明する。   Next, the initialization process flow of the computer will be described with reference to FIG.

まず、ステップ310に示すように、Firmware121が、プロセッサ110を初期化する。次にステップ320に示すようにFirmware121が、メモリ200を初期化する。この初期化処理により、プロセッサ110がメモリ200に対して読み書きが正常にできるようになる。この後、ステップ330に示すように、Firmware121がI/O装置130及び二次記憶装置140の初期化処理を行う。次にステップ340に示すように、Firmware121が二次記憶装置140からOS141を読み出して、メモリ200に書き込む。次にステップ350に示すように、プロセッサ110がFirmware121からOS141に制御を移す。次にステップ360に示すようにOS141がFirmware121を介して、構成情報122を読み出して、資源管理情報250を作成し、初期化処理を完了する。   First, as shown in step 310, the firmware 121 initializes the processor 110. Next, as shown in step 320, the firmware 121 initializes the memory 200. With this initialization process, the processor 110 can normally read from and write to the memory 200. Thereafter, as shown in step 330, the firmware 121 performs initialization processing for the I / O device 130 and the secondary storage device 140. Next, as shown in step 340, the firmware 121 reads the OS 141 from the secondary storage device 140 and writes it in the memory 200. Next, as shown in step 350, the processor 110 transfers control from the Firmware 121 to the OS 141. Next, as shown in step 360, the OS 141 reads the configuration information 122 through the Firmware 121, creates the resource management information 250, and completes the initialization process.

通常動作を行う際に、プログラムは、通常ユーザ領域230にて動作する。OS領域240は、電源投入時に接続されていたメモリ200に確保される。プログラムを起動する際には、通常OS141は、資源管理情報250に保持されている主メモリ管理情報21を参照し、利用可能なメモリ領域を確認してそのプログラムを起動する。起動の際に要求されたメモリ量が利用可能メモリ量よりも大きければ、OS141はプログラムを起動できない。   When performing the normal operation, the program operates in the normal user area 230. The OS area 240 is secured in the memory 200 that was connected when the power was turned on. When starting a program, the normal OS 141 refers to the main memory management information 21 held in the resource management information 250, confirms an available memory area, and starts the program. If the amount of memory requested at the time of activation is larger than the amount of available memory, the OS 141 cannot activate the program.

次に、図6を用いて、メモリ追加処理フローについて説明する。   Next, a memory addition process flow will be described with reference to FIG.

まず、ステップ405に示すように、増設通知手段30は、バス制御手段70にバス150の閉塞を要求する。次にステップ408に示すように、バス制御手段70がバス150を閉塞状態にする。この状態では、各接続要素は、バス150上の電気信号を論理的な信号として取り扱わないので、バス150に対してメモリ200−2を挿入したときの電気的なノイズに対して異常をきたさない状態になる。続いて、ステップ410に示すように、メモリ−2(200−2)をバス150に接続する。ここで、接続が完了して、電気的なノイズがなくなるまで、待つ必要がある場合もある。次に、ステップ415に示すように増設通知手段30を介して、バス制御手段70にバス150の閉塞解除を要求する。次にステップ418に示すようにバス制御手段70がバス150を閉塞状態を解除する。この段階で、システム内の各要素は、バスを介して相互にアクセス可能となる。   First, as shown in step 405, the extension notification unit 30 requests the bus control unit 70 to block the bus 150. Next, as shown in step 408, the bus control means 70 closes the bus 150. In this state, each connection element does not handle the electrical signal on the bus 150 as a logical signal, so that no abnormality is caused to electrical noise when the memory 200-2 is inserted into the bus 150. It becomes a state. Subsequently, as shown in step 410, the memory-2 (200-2) is connected to the bus 150. Here, it may be necessary to wait until the connection is completed and electric noise is eliminated. Next, as shown in step 415, the bus control unit 70 is requested to release the blockage of the bus 150 via the extension notification unit 30. Next, as shown in step 418, the bus control means 70 releases the bus 150 from the closed state. At this stage, the elements in the system are accessible to each other via the bus.

次に、ステップ420に示すように、プロセッサ110がUtility142を起動し、Utility142がFirmware121を起動する。そしてFirmware121が、構成情報122に保持されている追加可能メモリ情報124に基づき、新規追加されたメモリ−2(200−2)を初期化する。   Next, as shown in step 420, the processor 110 activates the Utility 142, and the Utility 142 activates the Firmware 121. Then, the firmware 121 initializes the newly added memory-2 (200-2) based on the addable memory information 124 held in the configuration information 122.

このUtility142の起動は、メモリ−2(200−2)がバス150に接続される際に、図示しないメモリ−2のバスインタフェース部分がプロセッサ110に割り込みを発行して、その割り込みによって起動される方法で実装されてもよいし、一定時間間隔で自動的に動作するパトロールプログラムによって起動されてもよいし、または、ユーザがコマンド投入することによって起動されてもよい。   The utility 142 is activated by a method in which, when the memory-2 (200-2) is connected to the bus 150, a bus interface portion of the memory-2 (not shown) issues an interrupt to the processor 110 and is activated by the interrupt. It may be implemented by a patrol program that automatically operates at a fixed time interval, or may be activated by a user inputting a command.

その後、プロセッサ110は、メモリ−1(200−1)のOS領域240内の実メモリ量情報123内容を、追加されたメモリ量を基に更新する。さらに、プロセッサ110は、Firmware121からUtility142に制御を戻す。次に、ステップ440に示すように、Utility142は、OS141を呼び出し、OS141は、Firmware121を介して、実メモリ量情報123を取得し、主メモリ管理情報21を更新し、メモリ追加処理を完了する。また、上記のメモリ追加処理フローにおいて、プロセッサ110がUtility142を起動する時やFirmware121を呼び出す時に(ステップ420)、プロセッサ110が二次記憶装置140や不揮発性メモリ120にメモリ追加処理を行った変更記録を残す処理を行うことが好ましい。   Thereafter, the processor 110 updates the contents of the real memory amount information 123 in the OS area 240 of the memory-1 (200-1) based on the added memory amount. Further, the processor 110 returns the control from the firmware 121 to the utility 142. Next, as shown in Step 440, the Utility 142 calls the OS 141, and the OS 141 acquires the real memory amount information 123 via the Firmware 121, updates the main memory management information 21, and completes the memory addition process. In the above memory addition processing flow, when the processor 110 activates the Utility 142 or calls the Firmware 121 (step 420), a change record in which the processor 110 performs the memory addition processing on the secondary storage device 140 or the nonvolatile memory 120 is recorded. It is preferable to perform a process of leaving

OS管理下の主メモリ管理情報21にはメモリ追加後の情報が保持されているため(ステップ440)、メモリ追加処理が完了した後に、プログラムを起動する際には、 追加後のメモリをユーザプログラムから利用することができる。主メモリ管理情報21は、図2に示した構造の様に実現できる。   Since the main memory management information 21 under OS management holds the information after the memory addition (step 440), when the program is started after the memory addition processing is completed, the memory after the addition is stored in the user program. Can be used from. The main memory management information 21 can be realized as in the structure shown in FIG.

図4は、計算機内の各要素がバスを介して接続する例を示したが、これは図1のように計算機内の各要素が接続スイッチを介して接続する構成で実現することも可能である。   FIG. 4 shows an example in which each element in the computer is connected via a bus, but this can also be realized by a configuration in which each element in the computer is connected via a connection switch as shown in FIG. is there.

次に、図7を用いて、本発明を仮想記憶システムをサポートする計算機へ適用した場合の例を示す。図7には仮想記憶制御を行う場合の主メモリ管理情報21が示される。仮想記憶制御を行う場合には、図2で示したデータ(利用可能先頭アドレス22と利用可能最終アドレス23)に加えて、アドレス変換不要先頭アドレス24とアドレス変換不要最終アドレス25、論理アドレス物理アドレス変換対26、およびフリーリスト27が主メモリ管理情報21に追加される。これらは、アドレス変換不要な領域を示すためのものである。論理アドレス物理アドレス変換対26は、仮想記憶制御において、論理アドレスを対応する物理アドレスに変換するための情報を保持する。フリーリスト27は、利用可能なメモリ資源を管理するための情報を保持する。仮想記憶制御ソフトウエアに関する技術は、バーニー・グッドハート、ジェームス・コックス著、桜川貴司監訳プレンティスホール出版、UNIX(UNIXは登録商標です)カーネルの魔法System V リリース4のアーキテクチャP80−85(公知例4)に開示されている。本公知例には、仮想記憶を適用するOSの実装方法について述べられている。公知例4に示されているように、仮想記憶では、プロセッサ110が論理アドレス物理アドレス変換対を用いて、仮想アドレスを物理アドレスに変換することが必要である。仮想記憶動作を行うプロセッサ110は、この変換を高速に行うためにTLB(Translation Lookaside Buffer)と呼ばれるハードウエア資源を内蔵している場合が多いが、TLBは通常は主メモリすべてをカバーすることができる容量がないので、ほとんどの論理アドレス物理アドレス変換対情報は、主メモリ上に存在する必要がある。また、アドレス変換情報がプロセッサのTLB内に存在しない場合、プロセッサはアドレス変換情報を主メモリから取得する必要があるが、この処理は通常割込処理として実行される。割込処理内では、同一優先度の割込は待たされるので、アドレス変換対は、更なる割り込みを生成しないで取得できることが必要である。よってアドレス変換対は、アドレス変換不要な領域に保持される。アドレス変換不要な領域は管理方法が異なるため、あらかじめ予約しておくことが必要である。予約が必要な領域は、論理アドレス物理アドレス変換対26や、公知例4に記載されているフリーリストなどの構造体があり、これはOS141の実装によって異なる。ここでは、論理アドレス物理アドレス変換対26とフリーリスト27を保持する領域を予約するOS141についての処理を記述する。予約処理は、図7のアドレス変換不要な領域を示すための情報であるアドレス変換不要先頭アドレス24とアドレス変換不要最終アドレス25の範囲に必要なデータサイズ分だけを追加しておくことによって行われる。   Next, an example in which the present invention is applied to a computer that supports a virtual storage system will be described with reference to FIG. FIG. 7 shows main memory management information 21 when virtual storage control is performed. In the case of performing virtual storage control, in addition to the data shown in FIG. 2 (available head address 22 and available last address 23), an address conversion unnecessary head address 24, an address conversion unnecessary last address 25, a logical address physical address The conversion pair 26 and the free list 27 are added to the main memory management information 21. These are intended to indicate areas that do not require address translation. The logical address / physical address conversion pair 26 holds information for converting a logical address into a corresponding physical address in the virtual storage control. The free list 27 holds information for managing available memory resources. Technology related to virtual memory control software is written by Bernie Goodhart, James Cox, directed by Takashi Sakuragawa, published by Prentice Hall, UNIX (UNIX is a registered trademark) kernel Magic System V release 4 architecture P80-85 (known examples) 4). This known example describes a method for mounting an OS to which virtual memory is applied. As shown in the known example 4, the virtual memory requires the processor 110 to convert a virtual address to a physical address using a logical address / physical address translation pair. The processor 110 that performs the virtual memory operation often includes a hardware resource called TLB (Translation Lookaside Buffer) in order to perform this conversion at high speed, but the TLB usually covers all the main memory. Since there is no capacity available, most logical address physical address translation pair information needs to reside on main memory. If the address translation information does not exist in the processor TLB, the processor needs to acquire the address translation information from the main memory, but this process is normally executed as an interrupt process. Since interrupts with the same priority are awaited in the interrupt process, it is necessary that the address translation pair can be acquired without generating further interrupts. Therefore, the address translation pair is held in an area where no address translation is required. Since areas that do not require address translation have different management methods, it is necessary to reserve them in advance. The area that needs to be reserved includes a logical address / physical address translation pair 26 and a structure such as a free list described in the publicly known example 4, and this differs depending on the OS 141 implementation. Here, a process for the OS 141 for reserving an area for holding the logical address / physical address translation pair 26 and the free list 27 will be described. The reservation processing is performed by adding only the necessary data size to the range of the address conversion unnecessary start address 24 and the address conversion unnecessary final address 25, which are information for indicating the address conversion unnecessary area in FIG. .

ここで、論理アドレス物理アドレス変換対26と各アドレスの管理状況について、図8を用いて詳細に説明する。図8では、図4に示す計算機において、メモリ−1 (200−1)に、アドレス0x0からアドレス0x80000000までの分のメモリが実装されており、メモリ−2(200−2)に、アドレス0x80000000からアドレス 0x100000000までの分のメモリが増設可能として予約されている場合の論理アドレス物理アドレス変換対26と主メモリ内のデータ配置について示している。論理アドレス物理アドレス変換対26は、OS領域240の主メモリ管理情報21の中に存在し、アドレス変換が不要な領域内に保持される。図8に示す例の場合、アドレス変換不要領域は、アドレス0からアドレス0x2000000であり、図7に示したアドレス変換不要先頭アドレス24にはアドレス「0」が、アドレス変換不要最終アドレス25にはアドレス「0x2000000」が設定されている。メモリ増設前には、メモリ−1 (図4の200−1)しか利用できないので、利用可能なメモリの範囲は、アドレス0からアドレス0x80000000であるから、図7に示した利用可能先頭アドレス22にはアドレス「0」が、利用可能最終アドレス23にはアドレス「0x80000000」が設定されている。メモリ増設後には、メモリ−1およびメモリ−2(図4の200−1および200−2)が利用できるので、利用可能なメモリの範囲は、アドレス0からアドレス0x100000000となり、図7に示した利用可能最終アドレス23には、アドレス「0x100000000」が設定される。   The logical address / physical address translation pair 26 and the management status of each address will be described in detail with reference to FIG. 8, in the computer shown in FIG. 4, memories for addresses 0x0 to 0x80000000 are mounted in the memory-1 (200-1), and from the address 0x80000000 to the memory-2 (200-2). This shows the logical address physical address translation pair 26 and the data arrangement in the main memory when the memory up to the address 0x100000000 is reserved for expansion. The logical address / physical address translation pair 26 exists in the main memory management information 21 of the OS area 240 and is held in an area where address translation is unnecessary. In the case of the example shown in FIG. 8, the address conversion unnecessary area is from address 0 to address 0x2000000, the address “0” is the address conversion unnecessary first address 24 shown in FIG. “0x2000000” is set. Since only the memory-1 (200-1 in FIG. 4) can be used before the memory expansion, the range of usable memory is from address 0 to address 0x80000000, so that the available top address 22 shown in FIG. The address “0” is set, and the address “0x80000000” is set to the available final address 23. Since the memory-1 and the memory-2 (200-1 and 200-2 in FIG. 4) can be used after the memory expansion, the range of the usable memory is from the address 0 to the address 0x100000000, which is shown in FIG. An address “0x100000000” is set as the possible final address 23.

増設予定の記憶機構−2(220−2)の分について予め予約領域を保持することが必要である。ここで、予約領域は、電源投入時に存在する記憶機構内部になければならないため、記憶機構−1(220−1)の中に保持される必要がある。   It is necessary to hold a reserved area in advance for the storage mechanism-2 (220-2) to be added. Here, the reserved area must be stored in the storage mechanism-1 (220-1) because it must be in the storage mechanism that exists when the power is turned on.

また、領域を予約することにより、本来予約をしなければ利用できたユーザ領域のサイズが減少するので、計算機が、領域予約サイズを決定するための指針を提供することが望ましい。以下、その領域予約のためのUtility142の動作について説明する。   In addition, by reserving an area, the size of a user area that can be used without a reservation is reduced. Therefore, it is desirable that a computer provides a guideline for determining an area reservation size. Hereinafter, the operation of the utility 142 for the area reservation will be described.

図9を用いてに領域予約処理フローを説明する。 Utility142がこの領域予約処理を行う。まず、ステップ510に示すように、 Utility142は、予約する仮想記憶容量に対して必要となる主メモリ占有メモリ量を算出する。この算出処理は、OS141のソースプログラムを調査して計算するか、OS141が通知するためのインタフェースとなるシステムコールを提供することによって行うことできる。この処理は、OS141の内部構造を調査してユーティリティを作成することによって実現できる。PA−RISCの論理アドレス物理アドレス変換対252の情報については、Gerry Kane著、Prentice Hall出版PA−RISC 2.0 ARCHITECTURE、P3−9〜P3−16(公知例5)に開示されている。公知例5では、仮想記憶を実現するために必要なハードウエアやソフトウエア資源について述べている。公知例5に示されているように、図7に示した論理アドレス物理アドレス変換対252の情報は、1ページ(例えば4キロバイト)当たり32byteで構成できる。ただし、このサイズは、OS141の実装に依存して変化するので、PA−RISC 2.0であれば必ず1ページ当たり、32byteとなるとは限らない。また、前述のフリーリストについては、上記アドレス変換対情報を示すアドレスとして実装すれば、1ページ当たり8byteというように決定できる。フリーリストについても、そのサイズはOS141の実装に依存して異なり得る。Utility142は、その他の必要に資源についても 、対応するOS141の実装にしたがってメモリ量を算出することができる。   The area reservation processing flow will be described with reference to FIG. The Utility 142 performs this area reservation process. First, as shown in step 510, the Utility 142 calculates the main memory occupation memory amount required for the reserved virtual storage capacity. This calculation process can be performed by investigating and calculating the source program of the OS 141 or by providing a system call serving as an interface for the OS 141 to notify. This process can be realized by examining the internal structure of the OS 141 and creating a utility. Information on the PA-RISC logical address / physical address translation pair 252 is disclosed in Gerry Kane, Prentice Hall publication PA-RISC 2.0 ARCHITECTURE, P3-9 to P3-16 (public example 5). Known Example 5 describes hardware and software resources necessary for realizing virtual memory. As shown in the known example 5, the information of the logical address / physical address translation pair 252 shown in FIG. 7 can be composed of 32 bytes per page (for example, 4 kilobytes). However, since this size changes depending on the implementation of the OS 141, if it is PA-RISC 2.0, it is not always 32 bytes per page. Further, the above free list can be determined as 8 bytes per page if it is implemented as an address indicating the address translation pair information. The size of the free list can also vary depending on the OS 141 implementation. The Utility 142 can calculate the amount of memory for other necessary resources in accordance with the implementation of the corresponding OS 141.

次にステップ520に示すように、Utility142は、現状実装メモリサイズと上記の計算値から、予約可能上限値を決定する。各OS毎に必要最小メモリサイズが規定されている。OS141が正常に動作するためには、実装メモリ量から増設メモリ分のPage構造体分のメモリ量を差し引いた値が、必要最小メモリ量以上あることが必要である。したがって、現在の実装メモリ量から増設メモリ分のPage構造体分のメモリ量を差し引いた値が最小メモリ量となるような増設メモリ量の値と、システムの最大実装可能メモリ量から現在の実装メモリ量を差し引いた値とを比較し、小さい方を追加可能メモリ情報124に設定可能な最大値とし、値0を追加可能メモリ情報124に設定可能な最小値とする。ここで、Page構造体とは、ページを管理するためのデータ領域であり、本願発明においては、図7の論理アドレス物理アドレス変換対26とフリーリスト27に相当する。   Next, as shown in step 520, the Utility 142 determines a reservation possible upper limit value from the current mounted memory size and the calculated value. The required minimum memory size is defined for each OS. In order for the OS 141 to operate normally, it is necessary that a value obtained by subtracting the amount of memory for the page structure for the additional memory from the amount of installed memory is greater than the necessary minimum amount of memory. Therefore, the value of the additional memory amount that the value obtained by subtracting the memory amount of the Page structure for the additional memory from the current mounting memory amount becomes the minimum memory amount, and the current mounting memory from the maximum mountable memory amount of the system The value obtained by subtracting the amount is compared, and the smaller value is set as the maximum value that can be set in the addable memory information 124, and the value 0 is set as the minimum value that can be set in the addable memory information 124. Here, the Page structure is a data area for managing pages, and corresponds to the logical address / physical address translation pair 26 and the free list 27 in FIG.

次にステップ530に示すように、 Utility142は、ユーザに上記範囲内で選択させて、設定するべき値を更に設定した値を決定する。設定した値をUtility142が参照できるように、その設定した値を二次記憶装置140にもファイルとして書き込んでおくことが好ましい。   Next, as shown in step 530, the Utility 142 causes the user to select within the above range, and determines a value that further sets a value to be set. It is preferable to write the set value to the secondary storage device 140 as a file so that the utility 142 can refer to the set value.

最後にステップ540に示すように、 Utility142は、ステップ530にて決定された値を追加可能メモリ情報124に設定する。この設定時のインタフェースを図10に示す。図10に示すように、I/O装置130には、追加可能メモリ最大サイズおよび追加可能メモリ最小サイズ表示1010と、推奨追加メモリサイズ表示1020と設定追加メモリサイズ入力1030とが表示される。ここで、設定追加メモリサイズ入力1030からの入力を、例えばカーソルキーの上下によって追加可能メモリ最大サイズおよび追加可能メモリ最小サイズ表示の範囲のみで変化するように動作し、リターンキー入力にて決定するようなインタフェースにて実装すれば、設定追加メモリサイズ入力1030からの入力が異常値となることがない。   Finally, as shown in step 540, the utility 142 sets the value determined in step 530 in the addable memory information 124. The interface at the time of this setting is shown in FIG. As shown in FIG. 10, the I / O device 130 displays a maximum addable memory size and minimum addable memory size display 1010, a recommended additional memory size display 1020, and a set additional memory size input 1030. Here, the input from the setting additional memory size input 1030 operates so as to change only in the range of the maximum addable memory size and the minimum addable memory size display by, for example, up and down the cursor key, and is determined by the return key input. If implemented by such an interface, the input from the setting additional memory size input 1030 does not become an abnormal value.

また、実装メモリ量やプロセッサ数などのシステム構成や、システムの用途に応じて、追加可能メモリの推奨値をユーザに提供することが望ましい。例えば、追加可能メモリ情報124に設定可能な最大値の2分に1を追加可能メモリの推奨値とする。   In addition, it is desirable to provide the recommended value of the addable memory to the user according to the system configuration such as the amount of installed memory and the number of processors and the use of the system. For example, 1 is set as the recommended value of the addable memory for every two minutes of the maximum value that can be set in the addable memory information 124.

次に、仮想記憶を行う計算機の場合の初期化処理を説明する。基本的な処理フローは、図5にて説明した処理と同様であるが、ステップ360において、OS141が資源管理情報を作成する際に、アドレス変換不要領域内に、増設可能領域分の論理アドレス物理アドレス変換対26や、フリーリスト27のためのデータ領域の割り当て処理を行う。その際に、利用不可能な範囲については、OS141は、Firmware121を介して構成情報122内の実メモリ情報123と追加可能情報124を取得する。この追加可能情報124に保持された情報によって示されるメモリ分については、通常のOSの初期化後に、公知例4に示されるPage構造体のページロックを用いて、リソースを予約し、かつフリーリスト27に登録しない状態とすることにより、OSがデータ領域割り当てを行う制御管理外とすることができるため、追加可能となるメモリに関する情報分の資源を予約し通常は該当領域メモリが利用されない状態とすることができる。ここで、リソースの予約とは、追加可能メモリ用のPage構造体をアドレス変換不要な領域に置くために、アドレス変換不要先頭アドレス24とアドレス変換不要最終アドレス25の間の数を、追加可能メモリ用のPage構造体分のメモリ量だけ増やすことを意味する。   Next, initialization processing in the case of a computer that performs virtual storage will be described. The basic processing flow is the same as the processing described with reference to FIG. 5, but when the OS 141 creates resource management information in step 360, logical address physical for the expandable area is included in the address conversion unnecessary area. Data area allocation processing for the address translation pair 26 and the free list 27 is performed. At this time, for the unusable range, the OS 141 acquires the real memory information 123 and the addable information 124 in the configuration information 122 via the Firmware 121. For the memory indicated by the information held in the addable information 124, after normal OS initialization, the page structure of the page structure shown in the well-known example 4 is used to reserve resources, and the free list Since the OS can be excluded from the control management in which the data area allocation is performed by not registering in 27, resources for information relating to the memory that can be added are reserved and the corresponding area memory is not normally used. can do. Here, the resource reservation means that the number between the address translation-unnecessary start address 24 and the address translation-unnecessary final address 25 is added to the addable memory in order to place the page structure for the addable memory in an area where address translation is unnecessary This means that the amount of memory corresponding to the page structure for use is increased.

次に、仮想記憶を行う計算機の場合のメモリ追加処理について示す。基本的な処理フローは、図6にて説明した処理と同様であるが、ステップ440にてUtility142からのOSコールによって、上述のように公知例4に示されるPage構造体のページロックを用いて、リソースを予約し、かつフリーリスト27に登録しない状態とすることにより、OSがデータ領域割り当てを行う制御管理外とする扱いを解除し、主メモリ管理情報21を更新する。このステップにより、通常のメモリが存在する場合と同じ状態とすることで、システムを再初期化することなく利用可能とすることができる。   Next, a memory addition process in the case of a computer that performs virtual storage will be described. The basic processing flow is the same as the processing described in FIG. 6, but using the page lock of the page structure shown in the known example 4 as described above by the OS call from the utility 142 in step 440. By reserving the resource and not registering it in the free list 27, the OS removes the handling of the data area allocation outside the control management and updates the main memory management information 21. This step makes it possible to use the system without reinitializing the system by setting the same state as in the case where a normal memory exists.

(実施例2)
実施例2では、メモリ200の故障を検知する機能と故障部位を閉塞する機能を持ち、減少した正常動作メモリ量がOSブートのための必要最小メモリ量(図9の説明で解説した必要最小メモリ量)以上あればブートする計算機を考える。この計算機でメモリ追加機能を使用することにより、Utility142が、追加可能メモリのための管理領域を確保してしまうと、正常動作メモリ量が不足して計算機がブートしない場合が考えられる。
(Example 2)
In the second embodiment, there is a function of detecting a failure of the memory 200 and a function of closing the failure part, and the reduced normal operation memory amount is the minimum required memory amount for OS boot (the minimum required memory described in the explanation of FIG. 9). If it is more than the amount), think about a computer to boot. If the utility 142 secures a management area for an addable memory by using the memory addition function in this computer, there may be a case where the normal operation memory amount is insufficient and the computer does not boot.

そこで、本実施例では、追加可能メモリ量設定時の正常動作メモリ量が、ブート時の正常動作メモリ量に満たない場合には、追加可能メモリ量設定自体を無効なものとして扱い、追加可能メモリ量を0としてブートする。   Therefore, in this embodiment, when the normal operation memory amount at the time of setting the addable memory amount is less than the normal operation memory amount at the time of booting, the addable memory amount setting itself is treated as invalid, and the addable memory Boot with amount 0.

以下、本実施例について詳細に説明する。   Hereinafter, this embodiment will be described in detail.

図11は実施例1における図4の不揮発性メモリ120に相当する。本実施例では、不揮発性メモリ120に、設定時の正常動作メモリ量情報125が追加されている。この設定時の正常動作メモリ量情報125には、ユーザが追加可能メモリ情報124に追加可能メモリ量を設定したときの正常動作メモリ量を保持する。   FIG. 11 corresponds to the nonvolatile memory 120 of FIG. 4 in the first embodiment. In this embodiment, normal operation memory amount information 125 at the time of setting is added to the nonvolatile memory 120. The normal operation memory amount information 125 at the time of setting holds the normal operation memory amount when the user sets the addable memory amount in the addable memory information 124.

図12は領域予約処理フローを示しており、実施例1における図9のフローに、設定時の正常動作メモリ量情報125の設定を行うステップ550を追加したフローチャートである。ステップ550では、設定時の正常動作メモリ量情報125に、現在の正常動作メモリ量を設定する。   FIG. 12 shows an area reservation processing flow, and is a flowchart in which step 550 for setting the normal operation memory amount information 125 at the time of setting is added to the flow of FIG. 9 in the first embodiment. In step 550, the current normal operation memory amount is set in the normal operation memory amount information 125 at the time of setting.

図13は計算機の初期化処理フローを示しており、実施例1における図5のフローに、ステップ320のメモリ初期化処理の後にステップ325を追加したフローチャートとなっている。ステップ325では、Firmware121が追加可能メモリ情報124を設定する。   FIG. 13 shows the initialization process flow of the computer, which is a flowchart in which step 325 is added after the memory initialization process of step 320 to the flow of FIG. 5 in the first embodiment. In step 325, the firmware 121 sets the addable memory information 124.

図14は、図13におけるステップ325の追加可能メモリ情報124設定処理を詳細に示すフローチャートである。まずステップ610で、 Firmware121が、設定時の正常動作メモリ量情報125とブート時の正常動作メモリ量とを比較する。値が異なる場合にはステップ620へ進む。値が等しい場合には、処理を終了する。ステップ620では、追加可能メモリ情報124に値0を設定する。   FIG. 14 is a flowchart showing in detail the addable memory information 124 setting process in step 325 in FIG. First, in step 610, the firmware 121 compares the normal operation memory amount information 125 at the time of setting with the normal operation memory amount at the time of booting. If the values are different, the process proceeds to step 620. If the values are equal, the process ends. In step 620, the value 0 is set in the addable memory information 124.

計算機のその他の部分とのインタフェースは追加可能メモリ情報124である。よって、計算機のその他の部分は実施例1と同一である。   The interface with other parts of the computer is addable memory information 124. Therefore, the other parts of the computer are the same as those in the first embodiment.

(実施例3)
実施例3では、メモリ200の故障を検知する機能と故障部位を閉塞する機能を持ち、減少した正常動作メモリ量がOSブートのための必要最小メモリ量(図9の説明で解説した必要最小メモリ量)以上あればブートする計算機を考える。
(Example 3)
In the third embodiment, there is a function of detecting a failure of the memory 200 and a function of closing the failure part, and the reduced normal operation memory amount is the minimum required memory amount for OS boot (the minimum required memory explained in the explanation of FIG. 9). If it is more than the amount), think about a computer to boot.

本実施例では、Utility142が、ブート時に追加可能メモリ量を算出する。この際、(1)正常動作メモリ量から追加可能メモリ用の管理領域を減じた残りのメモリ量が必要最小メモリサイズを下回らない範囲において、(2){合計メモリ量−正常動作メモリ量}以下で可能な限り大きな値を追加可能メモリ量に設定する。   In this embodiment, the Utility 142 calculates the amount of memory that can be added at the time of booting. At this time, within the range where (1) the remaining memory amount obtained by subtracting the management area for the addable memory from the normal operation memory amount does not fall below the required minimum memory size, (2) {total memory amount−normal operation memory amount} or less To set the maximum possible memory size.

正常動作メモリ量から追加可能メモリ用の管理領域を減じた残りのメモリ量が必要最小メモリサイズを下回らないための条件は、必要最小メモリサイズとメモリページサイズと1ページあたりの管理領域の大きさから求めることが可能である。   The conditions for the remaining memory amount, which is obtained by subtracting the management area for the addable memory from the normal operation memory amount, not to fall below the required minimum memory size, are the required minimum memory size, memory page size, and management area size per page. It is possible to obtain from

以下に、実施例3を詳細に説明する。   Hereinafter, Example 3 will be described in detail.

例として、合計メモリ量として8ギガバイトが要求される場合を説明する。   As an example, a case will be described where 8 gigabytes is required as the total memory amount.

また、正常動作メモリ量から追加可能メモリ用の管理領域を減じた残りのメモリ量が必要最小メモリサイズを下回らないための条件を次の2条件とする。すなわち、第1の条件は、ブート時に正常動作メモリ量がxページ以上(ただしxは整数で、1ページは4キロバイト)である場合のみ、メモリ追加機能の利用を許すという制約である。また、第2の条件は、追加可能メモリの大きさはブート時の正常動作メモリ量の最大y倍以下(ただしyは浮動小数点数)という制約である。この2条件は(式1)正常動作メモリ量≧xページと(式2)追加可能メモリ量≦y×正常動作メモリ量と記述できる。   Further, the following two conditions are set so that the remaining memory amount obtained by subtracting the management area for the addable memory from the normal operation memory amount does not fall below the necessary minimum memory size. That is, the first condition is a restriction that the memory addition function is allowed to be used only when the normal operation memory amount is x pages or more (where x is an integer and one page is 4 kilobytes) at the time of booting. The second condition is a restriction that the size of the addable memory is not more than y times the normal operation memory amount at the time of booting (where y is a floating point number). These two conditions can be described as (Equation 1) normal operation memory amount ≧ x pages and (Equation 2) additional memory amount ≦ y × normal operation memory amount.

図15は実施例1における図4の不揮発性メモリ120に相当する。本実施例では、不揮発性メモリ120に、合計メモリ量126、最低正常動作メモリ量制限127、追加可能メモリ量と正常動作メモリ量との最大比制限128が追加されている。 Utility142は、合計メモリ量126に、正常動作メモリ量と追加可能メモリ量の和の値を記憶する。本実施例では、その和の値は4キロバイトのページ数で指定する32ビット整数の記憶領域である。最低正常動作メモリ量制限127には、 Utility142が、メモリ追加機能の利用のために最低限必要な正常動作メモリ量を指定する。本実施例では4キロバイトのページ数で指定する32ビット整数の記憶領域である。追加可能メモリ量と正常動作メモリ量との最大比制限128には、 Utility142が、追加可能メモリ量/正常動作メモリ量の最大比を指定する。本実施例では、追加可能メモリ量と正常動作メモリ量との最大比制限128は、32ビット浮動小数点数を格納する領域である。本実施例においては、追加可能メモリ情報124はユーザが直接指定できない。   FIG. 15 corresponds to the nonvolatile memory 120 of FIG. 4 in the first embodiment. In this embodiment, a total memory amount 126, a minimum normal operation memory amount limit 127, and a maximum ratio limit 128 between the addable memory amount and the normal operation memory amount are added to the nonvolatile memory 120. The Utility 142 stores the sum of the normal operation memory amount and the addable memory amount in the total memory amount 126. In this embodiment, the sum value is a 32-bit integer storage area specified by the number of pages of 4 kilobytes. In the minimum normal operation memory amount limit 127, the Utility 142 designates the minimum normal operation memory amount necessary for using the memory addition function. In this embodiment, it is a 32-bit integer storage area designated by the number of pages of 4 kilobytes. For the maximum ratio limit 128 between the addable memory amount and the normal operation memory amount, the Utility 142 designates the maximum ratio of the addable memory amount / normal operation memory amount. In this embodiment, the maximum ratio limit 128 between the addable memory amount and the normal operation memory amount is an area for storing a 32-bit floating point number. In this embodiment, the addable memory information 124 cannot be directly specified by the user.

図16は、構成情報ユーザ指定処理のフローチャートを示す。まず、ステップ710に示すように、Utility142が、ユーザか要求した合計メモリ量を、不揮発性メモリ120内の対応する領域(合計メモリ量情報126)に格納する。例えばユーザが合計メモリ量として8ギガバイト分を要求した場合には、Utility142が、2メガページを表す値0x200000を、合計メモリ量情報126に格納する。次に、ステップ720に示すように、Utility142が、ユーザが指定した、メモリ追加を許すために最低限必要な正常動作メモリ量を、不揮発性メモリ120内の対応する領域(最低正常動作メモリ量制限127)に格納する。例えばユーザが最低現必要な正常動作メモリ量として1ギガバイトを指定する場合には、256キロページを表す値0x40000を最低正常動作メモリ量制限127に格納する。最後に、ステップ730に示すように、Utility142は、ユーザが指定した、追加可能メモリ量/正常動作メモリ量の最大比を、不揮発性メモリ120内の対応する領域(追加メモリ量と正常動作メモリ量との最大比128)に格納する。例えばユーザが最大比として4.0を指定する場合には、値4.0を追加メモリ量と正常動作メモリ量との最大比128に格納する。   FIG. 16 shows a flowchart of the configuration information user designation process. First, as shown in step 710, the utility 142 stores the total memory amount requested by the user in a corresponding area (total memory amount information 126) in the nonvolatile memory 120. For example, when the user requests 8 GB as the total memory amount, the Utility 142 stores a value 0x200000 representing 2 megapages in the total memory amount information 126. Next, as shown in step 720, the utility 142 specifies the minimum amount of normal operation memory required by the user to allow the addition of memory to the corresponding area in the nonvolatile memory 120 (minimum normal operation memory amount limit). 127). For example, when the user designates 1 gigabyte as the minimum required amount of normal operation memory, the value 0x40000 representing 256 kilopages is stored in the minimum normal operation memory amount limit 127. Finally, as shown in step 730, the Utility 142 sets the maximum ratio of the addable memory amount / normal operation memory amount specified by the user to the corresponding area in the nonvolatile memory 120 (additional memory amount and normal operation memory amount). And the maximum ratio 128). For example, when the user specifies 4.0 as the maximum ratio, the value 4.0 is stored in the maximum ratio 128 between the additional memory amount and the normal operation memory amount.

図16に示す構成情報ユーザ指定処理では、図9の領域予約処理とは異なり、ユーザは追加可能メモリ情報124を直接指定できない。その代わりにユーザは、合計メモリ量126、すなわち正常動作メモリ量と追加可能メモリ量の和の値を直接指定する。   In the configuration information user designation process shown in FIG. 16, unlike the area reservation process in FIG. 9, the user cannot directly designate the addable memory information 124. Instead, the user directly specifies the total memory amount 126, that is, the sum of the normal operation memory amount and the addable memory amount.

計算機の初期化処理は、実施例2と同様、図13の初期化フローに従って行われる。ステップ325ではFirmware121が追加可能メモリ情報124を設定する。   The computer initialization processing is performed according to the initialization flow of FIG. 13 as in the second embodiment. In step 325, the firmware 121 sets the addable memory information 124.

図17は、実施例2における図13のステップ325の追加可能メモリ情報124設定処理を示すフローチャートである。まずステップ810で、Firmware121は、領域127に格納されている最低正常動作メモリ量と、ブート時の正常動作メモリ量とを比較する。ブート時の正常動作メモリ量のほうが小さい場合には、ステップ840へ進む。上述の例のように最低正常動作メモリ量として256キロページ(1ギガバイト)を指定していた場合には、Firmware121は式1が満たされるか否かを判定することになり、ブート時の正常動作メモリ量が1ギガバイト未満の場合にはステップ840へ進む。正常動作メモリ量が最低正常動作メモリ量以上の場合には、ステップ820へ進む。ステップ820では、Firmware121は、{合計メモリ量−ブート時の正常動作メモリ量}/ブート時の正常動作メモリ量が最大比以下か否かを判定し、これが最大比以下でなければステップ850に進み、最大比以下ならばステップ830に進む。合計メモリ量は、図15における合計メモリ量情報126に格納されている値が使用され、最大比は、図15における追加メモリ量と正常動作メモリ量との最大比制限128に格納されている値が使用される。上述の例のように、最大比に4.0を指定していた場合には、Firmware121は式2が満たされるか否か、すなわち{合計メモリ量−ブート時の正常動作メモリ量}/ブート時の正常動作メモリ量が4.0以下かどうかを判定することになる。最低正常動作メモリ量制限および最大比制限の両方が満たされた場合のみ、ステップ830に到達する。このステップでは、Firmware121は、追加可能メモリ情報124に{合計メモリ量−ブート時の正常動作メモリ量}を格納し、追加可能メモリ情報設定処理を終了する。最低正常動作メモリ量制限が満たされなかった場合に、ステップ840に到達する。このステップでは、Firmware121は、追加可能メモリ情報124に0を格納し、追加可能メモリ情報設定処理を終了する。つまり、Firmware121は、追加されるメモリのための主メモリ管理情報21を確保することができないと判断し、メモリ追加を禁止する。最低正常動作メモリ量制限は満たされるものの、最大比制限が満たされなかった場合に、ステップ850に到達する。このステップでは、Firmware121は、最大比制限が満たされるように、追加可能メモリ量を小さくする。具体的には、Firmware121は{ブート時の正常動作メモリ量×最大比}を追加可能メモリ情報124に設定し、終了する。上述の例のように、追加可能メモリ量と正常動作メモリ量との最大比制限128に4.0を格納していた場合には、Firmware121は、追加可能メモリ情報124に、正常動作メモリ量の4.0倍の値を格納する。   FIG. 17 is a flowchart illustrating the addable memory information 124 setting process in step 325 of FIG. 13 in the second embodiment. First, in step 810, the firmware 121 compares the minimum normal operation memory amount stored in the area 127 with the normal operation memory amount at the time of booting. If the normal operation memory amount at the time of booting is smaller, the process proceeds to step 840. When 256 kilopages (1 gigabyte) is specified as the minimum normal operation memory amount as in the above example, Firmware 121 determines whether Formula 1 is satisfied, and normal operation at boot time If the amount of memory is less than 1 gigabyte, the process proceeds to step 840. If the normal operation memory amount is equal to or greater than the minimum normal operation memory amount, the process proceeds to step 820. In step 820, the firmware 121 determines whether {total memory amount−normal operation memory amount at boot} / normal operation memory amount at boot time is less than or equal to the maximum ratio, and if this is not less than the maximum ratio, the process proceeds to step 850. If it is less than the maximum ratio, the process proceeds to step 830. As the total memory amount, the value stored in the total memory amount information 126 in FIG. 15 is used, and the maximum ratio is the value stored in the maximum ratio limit 128 between the additional memory amount and the normal operation memory amount in FIG. Is used. When 4.0 is specified as the maximum ratio as in the above example, Firmware 121 indicates whether Formula 2 is satisfied, that is, {total memory amount−normal operation memory amount at boot} / boot time It is determined whether the normal operation memory amount is 4.0 or less. Step 830 is reached only if both the minimum normal operating memory amount limit and the maximum ratio limit are met. In this step, the firmware 121 stores {total memory amount−normal operation memory amount at boot time} in the addable memory information 124 and ends the addable memory information setting process. If the minimum normal operation memory amount limit is not satisfied, step 840 is reached. In this step, the firmware 121 stores 0 in the addable memory information 124 and ends the addable memory information setting process. That is, the firmware 121 determines that the main memory management information 21 for the added memory cannot be secured, and prohibits the memory addition. Step 850 is reached when the minimum normal operation memory amount limit is satisfied but the maximum ratio limit is not satisfied. In this step, Firmware 121 reduces the amount of memory that can be added so that the maximum ratio limit is satisfied. Specifically, the firmware 121 sets {normal operation memory amount at boot × maximum ratio} in the addable memory information 124, and the process ends. If 4.0 is stored in the maximum ratio limit 128 between the addable memory amount and the normal operation memory amount as in the above example, the Firmware 121 stores the normal operation memory amount in the addable memory information 124. Stores 4.0 times the value.

計算機のその他の部分とのインタフェースは追加可能メモリ情報124である。よって、計算機のその他の部分は第1の実施の形態と同一である。   The interface with other parts of the computer is addable memory information 124. Therefore, the other parts of the computer are the same as those in the first embodiment.

第3の実施例では(式1)および(式2)を、追加可能メモリ量と正常動作メモリ量とが満たすべき条件式として説明したが、本特許は別の条件式を使用する場合にも適用可能である。
以上のように、動作中にメモリを増設し、かつ増設したメモリを利用することが可能な情報処理装置を提供することができる。さらに、プロセッサに接続されている第1のメモリの管理領域を予約することにより、増設される第2のメモリをプロセッサが利用することができるメモリ管理方法を提供することができる。さらに、予め設定したメモリ量に応じて、そのメモリ量と実装されているメモリ量との差を増設メモリ量とすることができるメモリ管理方法を提供することができる。
In the third embodiment, (Equation 1) and (Equation 2) have been described as conditional expressions that should be satisfied by the amount of memory that can be added and the amount of normal operation memory. However, in this patent, even when another conditional expression is used, Applicable.
As described above, it is possible to provide an information processing apparatus capable of adding a memory during operation and using the added memory. Furthermore, it is possible to provide a memory management method in which the processor can use the additional second memory by reserving the management area of the first memory connected to the processor. Furthermore, it is possible to provide a memory management method capable of setting the difference between the memory amount and the mounted memory amount as the additional memory amount in accordance with a preset memory amount.

本発明の一実施例である計算機システムの構成図。The block diagram of the computer system which is one Example of this invention. 本発明の一実施例である計算機システムの構成図。The block diagram of the computer system which is one Example of this invention. 本発明の他の実施例である計算機システムの概略構成図。The schematic block diagram of the computer system which is the other Example of this invention. 本発明の他の実施例である計算機の構成図。The block diagram of the computer which is the other Example of this invention. 図4に示す計算機が行う初期化処理のフローチャート。The flowchart of the initialization process which the computer shown in FIG. 4 performs. 図4に示す計算機が行うメモリ追加処理のフローチャート。The flowchart of the memory addition process which the computer shown in FIG. 4 performs. 図4に示す計算機の主メモリ管理情報の構成図。The block diagram of the main memory management information of the computer shown in FIG. 図4に示す計算機に仮想アドレス制御を適用した際のデータ構造図。FIG. 5 is a data structure diagram when virtual address control is applied to the computer shown in FIG. 4. 図4に示す計算機が行う領域予約処理のフローチャート。The flowchart of the area reservation process which the computer shown in FIG. 4 performs. 図4に示す計算機におけるユーザインタフェースを示す画面イメージ。The screen image which shows the user interface in the computer shown in FIG. 第2の実施例における図4に示す計算機の不揮発性メモリの構成図。The block diagram of the non-volatile memory of the computer shown in FIG. 4 in a 2nd Example. 第2の実施例における図4に示す計算機が行う領域予約処理のフローチャート。The flowchart of the area reservation process which the computer shown in FIG. 4 in a 2nd Example performs. 第2の実施例における図4に示す計算機が行う初期化処理のフローチャート。The flowchart of the initialization process which the computer shown in FIG. 4 in a 2nd Example performs. 第2の実施例における図4に示す計算機が行う初期化処理中の追加可能メモリ量情報設定のフローチャート。FIG. 6 is a flowchart of setting information on the amount of memory that can be added during initialization processing performed by the computer shown in FIG. 4 in the second embodiment. 第3の実施例における図4に示す計算機の不揮発性メモリの構成図。The block diagram of the non-volatile memory of the computer shown in FIG. 4 in a 3rd Example. 第3の実施例における図4に示す計算機が行う構成情報ユーザ指定処理のフローチャート。The flowchart of the structure information user designation | designated process which the computer shown in FIG. 4 in a 3rd Example performs. 第3の実施例における図4に示す計算機が行う初期化処理中の追加可能メモリ量情報設定のフローチャート。10 is a flowchart for setting information on the amount of memory that can be added during initialization processing performed by the computer shown in FIG. 4 in the third embodiment.

符号の説明Explanation of symbols

10:プロセッサ、20:主メモリ、21:主メモリ管理情報、30:増設通知手段、40:接続管理手段、50:接続スイッチ、60:増設主メモリ、70:バス制御手段、80:バス、120:不揮発性メモリ、121:Firmware、122:構成情報、123:実メモリ情報、124:追加可能メモリ情報、140:二次記憶装置、141:OS、142:Utility、143:データ、200:メモリ、210:メモリバスインタフェース、220:記憶機構、230:ユーザ領域、240:OS領域、250:資源管理情報
10: processor, 20: main memory, 21: main memory management information, 30: expansion notification means, 40: connection management means, 50: connection switch, 60: expansion main memory, 70: bus control means, 80: bus, 120 : Non-volatile memory, 121: Firmware, 122: Configuration information, 123: Real memory information, 124: Addable memory information, 140: Secondary storage device, 141: OS, 142: Utility, 143: Data, 200: Memory, 210: Memory bus interface, 220: Storage mechanism, 230: User area, 240: OS area, 250: Resource management information

Claims (1)

メモリの一部を活栓挿入可能な仮想記憶制御のコンピュータシステムにおけるメモリ管理方法であって、コンピュータシステムの初期化処理において、実装されている第1のメモリと活栓挿入可能な第2のメモリに関する容量情報をプロセッサが不揮発性メモリから取得する第1のステップと、前記容量情報を用いて前記第2のメモリに対する論理アドレス物理アドレス変換テーブルの少なくとも一部を格納するための領域を前記第1のメモリのアドレス変換不要領域に割り当てると共に当該領域が利用されない状態とする第2のステップと、メモリ追加処理において、コンピュータシステムのバスを閉塞状態にして前記第2のメモリを接続する第3のステップと、バスの閉塞状態を解除して前記領域を利用可能状態とする第4のステップと、を有することを特徴とするメモリ管理方法。 A memory management method in a virtual storage control computer system in which a part of the memory can be inserted, and a capacity relating to the first memory mounted and the second memory in which the stopcock can be inserted in the initialization process of the computer system A first step for a processor to acquire information from a non-volatile memory, and an area for storing at least a part of a logical address physical address conversion table for the second memory using the capacity information; A second step of allocating the address conversion unnecessary area and making the area unusable, and a third step of connecting the second memory by closing the computer system bus in the memory addition process, A fourth step of releasing the blockage state of the bus and making the area usable; Memory management method characterized in that it comprises a.
JP2004365257A 1998-01-09 2004-12-17 Memory management method and information processing apparatus Expired - Fee Related JP4241600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004365257A JP4241600B2 (en) 1998-01-09 2004-12-17 Memory management method and information processing apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP279698 1998-01-09
JP2004365257A JP4241600B2 (en) 1998-01-09 2004-12-17 Memory management method and information processing apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP36901998A Division JP3649011B2 (en) 1998-01-09 1998-12-25 Computer system

Publications (2)

Publication Number Publication Date
JP2005092901A JP2005092901A (en) 2005-04-07
JP4241600B2 true JP4241600B2 (en) 2009-03-18

Family

ID=34466447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004365257A Expired - Fee Related JP4241600B2 (en) 1998-01-09 2004-12-17 Memory management method and information processing apparatus

Country Status (1)

Country Link
JP (1) JP4241600B2 (en)

Also Published As

Publication number Publication date
JP2005092901A (en) 2005-04-07

Similar Documents

Publication Publication Date Title
US5920893A (en) Storage control and computer system using the same
CN100555257C (en) The memory controller of the dma operation between the processing page replicative phase and method
KR100242484B1 (en) Apparatus and method for optimizing performance of cache memory
EP1723535B1 (en) Method and apparatus for supporting delayed transactions of multi-function pci devices in pci bridges
US7814352B2 (en) Selective connection of a memory to either a gateway card or information processor based on the power mode
US6338107B1 (en) Method and system for providing hot plug of adapter cards in an expanded slot environment
JP2001318874A (en) System for replacing device driver during system operation and method for the same and computer program product
JP3649011B2 (en) Computer system
JPH1021089A (en) Emulation for delay exception on digital computer with corresponding strict exception mechanism
JPH09218849A (en) Device bridging method and device therefor
US7886088B2 (en) Device address locking to facilitate optimum usage of the industry standard IIC bus
JP3090452B2 (en) Apparatus for controlling activation of a logical system in a data processing system provided with logical processor equipment
US6237057B1 (en) Method and system for PCI slot expansion via electrical isolation
US6195723B1 (en) Method and system for providing peer-to-peer control in an expanded slot environment using a bridge as an agent for controlling peripheral device
JP4241600B2 (en) Memory management method and information processing apparatus
US6539472B1 (en) Reboot control unit and reboot control method
TW448361B (en) Data switching system and method using bandwidth management unit to reduce data traffic
US20080043734A1 (en) Data processing system, data processing apparatus, and data processing method
US7430687B2 (en) Building-up of multi-processor of computer nodes
JP3348420B2 (en) Information processing device with memory copy function
JP2002082833A (en) High speed data writing system using nonvolatile cache memory
JP3364751B2 (en) Data transfer system
JP2848370B2 (en) Communication line monitoring device
JP2001027920A (en) Bus bridge circuit and its power management method
JPH08115292A (en) Interface board and instruction processor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051117

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060421

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080919

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080924

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081121

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081209

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081222

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees