JPS6269339A - Address converting buffer system - Google Patents

Address converting buffer system

Info

Publication number
JPS6269339A
JPS6269339A JP60208211A JP20821185A JPS6269339A JP S6269339 A JPS6269339 A JP S6269339A JP 60208211 A JP60208211 A JP 60208211A JP 20821185 A JP20821185 A JP 20821185A JP S6269339 A JPS6269339 A JP S6269339A
Authority
JP
Japan
Prior art keywords
address
tlb
control
logical
register
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
JP60208211A
Other languages
Japanese (ja)
Inventor
Saburo Kaneda
三郎 金田
Kazuaki Murakami
村上 和彰
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP60208211A priority Critical patent/JPS6269339A/en
Publication of JPS6269339A publication Critical patent/JPS6269339A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To shorten an address converting time by improving the using efficiency of the information on an address converting buffer. CONSTITUTION:A TLB control part 32 does not invalidate a TLB 30 when the control is shifted to a virtual computer from a VM monitor. When the TLB 30 performs the address conversion, the logic page address of a register 12 and the VMID of a control register 10 are supplied to the part 32 together with the LPA of a control register 11. Then the part 32 retrieves a VMID part 17 coincident with the VMID, LPA and the logic page address, an LPA part 33 and a valid item 31 having a logic address part 18 through the TLB 30. When the corresponding item 31 is detected, the absolute address part 19 is defined as an absolute page address to set a conversion address to a register 20 as conventional. Thus the address converting time can be reduced.

Description

【発明の詳細な説明】 〔概 要〕 マルチプロセッサ仮想計算機の実行における、アドレス
変換バッファ(TLB)の方式である。仮想計算機がマ
ルチプロセッサの場合に、異なる論理プロセッサの実行
時に生成されたアドレス変換内容を使用しないように制
御する必要がある。そのために、TLBの各項に、その
変換アドレス対発生の原因となった仮想計算機及び論理
プロセッサの各識別情報を保持し、TLBの検索におい
て、この識別情報も参照して変換動作を行うようにする
DETAILED DESCRIPTION OF THE INVENTION [Overview] This is an address translation buffer (TLB) method in the execution of a multiprocessor virtual machine. When a virtual machine is a multiprocessor, it is necessary to control the address translation contents generated during execution by different logical processors so as not to use them. To this end, each item in the TLB holds the identification information of the virtual machine and logical processor that caused the conversion address pair, and when searching the TLB, this identification information is also referenced to perform the conversion operation. do.

この構成により、TLBの不要な無効化を減少して実行
効率を改善できる。
With this configuration, unnecessary invalidation of TLBs can be reduced and execution efficiency can be improved.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機システムの、マルチプロセッサ仮想計
算機の実行における、アドレス変換バッファの方式に関
する。
The present invention relates to an address translation buffer system in the execution of a multiprocessor virtual machine in a computer system.

計算機システムにおいて、別の1以上の仮想的な計算機
システム、いわゆる仮想計算機を稼動する方式はよく知
られている。
In a computer system, a method of operating one or more other virtual computer systems, so-called virtual computers, is well known.

その場合に各仮想計算機は、実計算機システムの仮想計
算機制御プログラム(以下ムこおいてVMモニタという
)の制御下にあり、VMモニタによって制御を渡された
仮想計算機が一1実計算機の中央処理装置(以下におい
て実ブ1コセ・、・すという)で実行される。
In that case, each virtual computer is under the control of the virtual computer control program (hereinafter referred to as VM monitor) of the real computer system, and the virtual computer to which control is transferred by the VM monitor is the central processing unit of the real computer. It is executed by a device (hereinafter referred to as "actual unit...").

仮想計算機の実行によって発生される論理アドレスは、
絶対アドレスに変換して宇記憶装置へのアクセスが行わ
れるが、このアドレス変換処理を高速化するために、各
実プロセッサには公知のアドレス変換バッファ (以下
において且Bという)を設けて、使用した論理アドレス
と絶対アドレスの対を記憶する方式が採られる。
The logical address generated by the execution of a virtual machine is
Access to the storage device is performed by converting the address into an absolute address. In order to speed up this address conversion process, each real processor is provided with a known address conversion buffer (hereinafter referred to as B). A method is adopted in which pairs of logical addresses and absolute addresses are stored.

その場合、論理アドレスは各仮想計算機ごとのローカル
なアドレスであるので、TLBでは仮想計算機の別を識
別することが必要である。
In this case, since the logical address is a local address for each virtual machine, it is necessary to identify the virtual machine using the TLB.

更に、仮想計算機をマルチブロセ・ノサ構成として実行
することが行われるようになって、そのマルチプロセッ
サを構成する、いわゆる論理プロセッサの別を識別する
ことも、TLR制御上必要になってきた。
Furthermore, as virtual machines have come to be executed in a multiprocessor configuration, it has become necessary for TLR control to identify the so-called logical processors that make up the multiprocessor.

(従来の技術〕 第2図は、計算機システムの−・構成例を示すブロック
図である。
(Prior Art) FIG. 2 is a block diagram showing an example of the configuration of a computer system.

複数の実プロセッサ1は、記憶制御装置2を経て主記憶
装置3に接続し、1記1.α装置3にロードされている
プログラムを実行する。
The plurality of real processors 1 are connected to the main storage device 3 via the storage control device 2, and are connected to the main storage device 3 through the storage control device 2. Execute the program loaded into the α device 3.

公知のように、1以上の各仮想計算機は、実計算機シス
テムの管理プログラムであるVMモニタの管理下にあり
、VMモニタが1つの実プロセッサ1を選択して制御を
渡すことにより、実行を開始する。
As is well known, each of one or more virtual machines is under the control of a VM monitor, which is a management program for a real computer system, and the VM monitor selects one real processor 1 and transfers control to start execution. do.

第3図は各実プロセッサ1のアドレス変換機構に関する
構成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of the address translation mechanism of each real processor 1. As shown in FIG.

仮想計算機に制御を渡すとき、VMモニタは実プロセッ
サの制御レジスタ10に仮想計算機識別名(以下におい
てVMIDという)を設定する。
When passing control to a virtual machine, the VM monitor sets a virtual machine identification name (hereinafter referred to as VMID) in the control register 10 of the real processor.

又、制御レジスタ11に、その仮想計算機を構成する論
理プロセッサの、論理プロセッサ識別アドレス(以下に
おいてLPAという)を設定する。
Further, the control register 11 is set with the logical processor identification address (hereinafter referred to as LPA) of the logical processor that constitutes the virtual machine.

仮想計算機の主記憶アクセスのために発生される論理ア
ドレスが、レジスタ12に設定されると、例えばその下
位部分のページ内変位をを除く、論理アドレスの上位部
分(論理ページアドレス)と制御レジスタ10のV?I
IDとをTLB制御部13に入力して、TLB 14に
よるアドレス変換を試みる。
When a logical address generated for main memory access of a virtual machine is set in the register 12, the upper part of the logical address (logical page address) and the control register 10, excluding the intra-page displacement of the lower part, for example. V? I
ID is input to the TLB control unit 13, and address translation by the TLB 14 is attempted.

TLB 14の各項15は公知のように、項の内容の有
効性を示す有効ビット16、VMIDを保持するVMI
D部17、論理ページアドレスを保持する論理アドレス
部18、及びそれに対応する主記憶装置3上のページ領
域のページアドレスを保持する絶対アドレス部19を有
し、TLB制御部13はTLB 14から、V旧1〕及
び論理ページアドレスに一敗するV旧り部17及び論理
アドレス部1日を持つ有効項15を検索する。
As is well known, each term 15 of the TLB 14 has a valid bit 16 that indicates the validity of the content of the term, and a VMI that holds the VMID.
The TLB control unit 13 has a logical address unit 18 that holds a logical page address, and an absolute address unit 19 that holds a page address of a page area on the main storage device 3. V old 1] and a valid term 15 having a V old part 17 and a logical address part 1 day, which have one loss in the logical page address, are searched.

該当する項15があれば、その絶対アドレス部19をレ
ジスタ20の上位部にセットして絶対ページアドレスと
し、レジスタ12のページ内変位を下位につなぐことに
よりアドレス変換が完了する。
If there is a corresponding term 15, the absolute address part 19 is set in the upper part of the register 20 to make it an absolute page address, and the intra-page displacement of the register 12 is connected to the lower part, thereby completing the address conversion.

TLB制御部13の検索の結果、前記の意味で該当する
項が無かった場合には、アドレス変換制御部21を起動
して、主記憶装置3に保持されるアドレス変換テーブル
を使用する公知の方法によってアドレス変換を行う。
As a result of the search by the TLB control unit 13, if there is no corresponding term in the above sense, the address conversion control unit 21 is started and the address conversion table held in the main storage device 3 is used. Address translation is performed by

このアドレス変換においては、例えば仮想計算機上の主
記憶についての仮想実ページアドレスが先ず得られ、こ
の仮想実ページアドレスをプレフィクス処理部22で、
プレフィクス処理すると共ζこ実計算機の主記憶装置3
の絶対アドレスへ変換し、その結果がレジスタ20に設
定され、前記と同様の変換アドレスを得る。
In this address conversion, for example, a virtual real page address for the main memory on the virtual machine is first obtained, and the prefix processing unit 22 converts this virtual real page address into
When prefix processing is performed, the main memory of the real computer 3
The result is set in the register 20 to obtain the same converted address as above.

又、TLB制御部13の制御によってTLB 14の1
項に、今のアドレス変換によって得られた絶対ページア
ドレスと、これに対応すべきレジスタ12にある論理ペ
ージアドレスと、制御レジスタ10にあるV旧りとが、
それぞれ1項内の所定部に書き込まれる。
Also, under the control of the TLB control unit 13, 1 of the TLB 14
In the section, the absolute page address obtained by the current address conversion, the logical page address in the register 12 that should correspond to this, and the V old value in the control register 10,
Each is written in a predetermined part within one term.

プレフィクス処理とは公知のように、マルチプロセッサ
構成において主記憶装置3上に各プロセッサ固有のシス
テム制御情報の領域を個別に設け、それぞれのプロセッ
サが自身の領域にアクセスするのには、同一の実アドレ
スによってアクセスできるようにするための機能である
As is well known, prefix processing is a system control information area unique to each processor that is individually provided on the main memory 3 in a multiprocessor configuration, and each processor accesses its own area using the same system control information area. This function allows access using real addresses.

その結果、TLB 14の絶対アドレス部19に保持さ
れる絶対ページアドレスは、一般には仮想計算機のみな
らず、論理プロセッサも特定されて、はじめて妥当性を
有することになる。
As a result, the absolute page address held in the absolute address section 19 of the TLB 14 generally has validity only after not only the virtual machine but also the logical processor has been identified.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

このために従来は、前記のようにVMモニタからある仮
想計算機に制御を渡された場合、仮想計算機の実行を開
始する前に、TLB 14について、制御レジスタ10
で示されるν旧りと一致する内容を持つ項の有効ビット
をリセットして、すべて無効化した後起動する。従って
、少なくとも実行開始初期には、当然TLB 14には
アドレス変換に利用できる有効項が無く、アドレス変換
処理時間が仮想計算機の実行効率を低下する一因になっ
ていた。
For this purpose, conventionally, when control is passed from the VM monitor to a certain virtual machine as described above, before starting execution of the virtual machine, the control register 10 is set for the TLB 14.
It is activated after resetting the valid bits of the terms whose content matches the old value shown by ν and invalidating them all. Therefore, at least at the beginning of execution, the TLB 14 naturally has no valid term that can be used for address translation, and the address translation processing time is a factor in reducing the execution efficiency of the virtual machine.

〔問題点を解決するための手段〕[Means for solving problems]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図は実プロセッサのアドレス変換機構を示し、TLB 
30の各項31には、論理プロセ・7す識別アドレスL
PAを保持するLPA部33が追加される。
The figure shows the address translation mechanism of a real processor, and TLB
30, each item 31 contains the logical process identification address L.
An LPA section 33 that holds PA is added.

TLB制御部32はTLB 30の検索において、VM
ID部17、LPA部33、論理アドレス部18を参照
する。
In searching for the TLB 30, the TLB control unit 32
The ID section 17, LPA section 33, and logical address section 18 are referred to.

〔作 用〕[For production]

従来のようにVMモニタから仮想計算機に制’t7rl
が渡るとき、TLB制御部32はTLB 30の無効化
を行わない。
Control the virtual machine from the VM monitor as before.
TLB controller 32 does not invalidate TLB 30 when TLB 30 passes.

TLB 30によるアドレス変換において、几B制御部
32には、従来と同様のレジスタ12の論理ページアド
レスと制御レジスタ10のVMIDとが入力される他、
制御レジスタ11のLPAが入力される。
In the address conversion by the TLB 30, the logical page address of the register 12 and the VMID of the control register 10 are input to the B control unit 32 as in the conventional case.
LPA of control register 11 is input.

TLB制御部32はTLB 30から、νMIO,LP
A及び論理ページアドレスに一致するVlD部17、L
PA部33及び論理アドレス部18を持つ、有効項31
を検索する。
The TLB control unit 32 receives νMIO,LP from the TLB 30.
A and the VID section 17, L that matches the logical page address
Valid term 31 having a PA section 33 and a logical address section 18
Search for.

該当する項31があれば、その絶対アドレス部19を絶
対ページアドレスとして、従来のようにレジスタ20に
変換アドレスを設定する。
If there is a corresponding term 31, the absolute address field 19 is set as an absolute page address, and a converted address is set in the register 20 as in the conventional manner.

以上により、TLBに保持する情報の利用効率が改善さ
れ、アドレス変換処理時間を短縮するので、仮想計算機
の性能を改善することができる。
As described above, the efficiency of using the information held in the TLB is improved and the address translation processing time is shortened, so that the performance of the virtual machine can be improved.

〔実施例〕〔Example〕

第1図において、TLB制御部32は、以下に述べる他
は従来のTLB制御部13と同様の制御を実行する。
In FIG. 1, the TLB control unit 32 executes the same control as the conventional TLB control unit 13 except as described below.

TLB 30の各項31は、従来のTLB 14と同様
の、有効ビット16、VMID部17、論理アドレス部
18、絶対アドレス部19の他に、LPA部33を有す
る。
Each term 31 of the TLB 30 has an LPA section 33 in addition to a valid bit 16, a VMID section 17, a logical address section 18, and an absolute address section 19, similar to the conventional TLB 14.

TLB 30による・アドレス変換において、TLB制
御部32には、従来と同様のレジスタ12の論理ページ
アドレスと制御レジスタ10のVMIDとが入力される
他、制御レジスタ11のLPAが入力される。
In the address conversion by the TLB 30, the TLB control unit 32 receives not only the logical page address of the register 12 and the VMID of the control register 10 as in the past, but also the LPA of the control register 11.

TLB制御部32はTLB 30から、VMID、 L
PA及び論理ページアドレスに一致するV旧り部17、
LPA部33及び論理アドレス部18を持つ、存効項3
1を検索すし、該当する項31があれば、その絶対アド
レス部19を絶対ページアドレスとして、従来のように
レジスタ20に変換アドレスを設定する。
The TLB control unit 32 receives the VMID, L from the TLB 30.
V obsolete portion 17 that matches the PA and logical page address;
Effective term 3 having LPA section 33 and logical address section 18
1, and if there is a corresponding term 31, the absolute address field 19 is set as the absolute page address, and the converted address is set in the register 20 as in the conventional method.

TLB 30;t−検索して、該当する内容の項が無か
った場合には、アドレス変換制御部21によってアドレ
ス変換が実行され、プレフィクス処理部22の出力とし
て絶対アドレスが得られた場合には、TLB制御部32
がTLB 30の1項に変換アドレス対の書込みを行う
TLB 30; t- If there is no term with the corresponding content after searching, address translation is executed by the address translation control unit 21, and if an absolute address is obtained as the output of the prefix processing unit 22, , TLB control unit 32
writes a translated address pair to one term of TLB 30.

その場合にTLB制御部32は従来と同様に、現にアド
レス変換によって得られた絶対ページアドレスと、これ
に対応すべきレジスタ12にある論理ページアドレスと
、制御レジスタIOにあるV旧0とを書き込み、同時に
制御レジスタ11のLPAをLPA部33に書き込む。
In that case, the TLB control unit 32 writes the absolute page address actually obtained by address conversion, the logical page address in the register 12 that should correspond to this, and the V old 0 in the control register IO, as in the past. , simultaneously writes the LPA of the control register 11 into the LPA section 33.

以上により検索中に論理プロセッサの別が識別されるの
で、従来、同一の仮想計算機の異なる論理プロセッサの
実行時に生成されたアドレス変換対を消去する目的で、
VMモニタから仮想計算機に;h制御が渡るとき行って
いた、TLB 0)無効化処理は不要になる。
As described above, different logical processors are identified during the search, so conventionally, for the purpose of erasing address translation pairs generated when different logical processors of the same virtual machine are executed,
The TLB 0) invalidation process that was performed when control was passed from the VM monitor to the virtual machine is no longer necessary.

その結果、TLB 30の無効化が減少して、TLB 
30に保持されていた利用可能な変換情報がぞのま\利
用できる機会が増加するので、TLB情報の利用効率改
善により、アドレス変換処理時間の短縮が得られる。
As a result, TLB 30 invalidations are reduced and TLB
Since there is an increased chance that the usable translation information held in 30 can be used immediately, the address translation processing time can be shortened by improving the efficiency of using TLB information.

(発明の効果〕 以上の説明から明らかなように、本発明によれば、マル
チプロセッサ構成の仮想A1算機を稼動する計算機シス
テムにおいて、アドレス変換バッファ(TI、B)の情
報の利用効率が改善されるので、アドレス変換時間を短
縮して、仮想計算機の性能を向上するという著しい工業
的効果がある。
(Effects of the Invention) As is clear from the above description, according to the present invention, in a computer system running a virtual A1 computer with a multiprocessor configuration, the efficiency of using information in address translation buffers (TI, B) is improved. Therefore, there is a significant industrial effect of shortening the address translation time and improving the performance of the virtual machine.

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

第1図は本発明の実施例構成ブロック図、第2図は計算
機システムの一構成例ブロック図、第3図は従来の一構
成例ブロック図 である。 口1において、 lは実ブロセソザ、  2は記jfJ制御装置、3は主
記憶装置、   10.11は制御レジスタ、12.2
0はレジスタ、  13.32はTLB制御部、14.
30はアドレス変換バッファ(T1.B)15.31は
Tl2O項、  16は有効ピント、17はVMID部
、      18は論理アドレス部、19は絶対アド
レス部、 21はアドレス変換制御部、 22はプレフィクス処理部、 33ば1、PA部 本発明のJ島雄帽η成ブロック図 第1図 計算機システムの一措成例ブロック図 第2図 従来の一構成例ブロック図 第3図
FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is a block diagram of a computer system, and FIG. 3 is a block diagram of a conventional configuration. In port 1, l is a real processor, 2 is a control device, 3 is a main memory, 10.11 is a control register, 12.2
0 is a register, 13.32 is a TLB control unit, 14.
30 is the address translation buffer (T1.B) 15. 31 is the Tl2O term, 16 is the effective pinpoint, 17 is the VMID section, 18 is the logical address section, 19 is the absolute address section, 21 is the address translation control section, 22 is the prefix Processing section, 33ba1, PA section Fig. 1 Block diagram of an example of a computer system Fig. 2 Block diagram of an example of a conventional configuration Fig. 3

Claims (1)

【特許請求の範囲】 アドレス変換バッファを有する実プロセッサにより、複
数の論理プロセッサからなるマルチプロセッサ構成の仮
想計算機を稼動する計算機システムにおいて、 該アドレス変換バッファ(30)に保持する各論理アド
レス(18)と絶対アドレス(19)のアドレス対ごと
に対応して、該論理アドレスに対するアクセス要求を発
生した、上記仮想計算機及び上記論理プロセッサを識別
する情報(17、33)を保持するように構成されてい
ることを特徴とするアドレス変換バッファ方式。
[Scope of Claims] In a computer system in which a virtual machine having a multiprocessor configuration consisting of a plurality of logical processors is operated by a real processor having an address translation buffer, each logical address (18) held in the address translation buffer (30) is provided. and an absolute address (19), and is configured to hold information (17, 33) identifying the virtual machine and the logical processor that have issued an access request to the logical address. An address translation buffer method characterized by:
JP60208211A 1985-09-20 1985-09-20 Address converting buffer system Pending JPS6269339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60208211A JPS6269339A (en) 1985-09-20 1985-09-20 Address converting buffer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60208211A JPS6269339A (en) 1985-09-20 1985-09-20 Address converting buffer system

Publications (1)

Publication Number Publication Date
JPS6269339A true JPS6269339A (en) 1987-03-30

Family

ID=16552510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60208211A Pending JPS6269339A (en) 1985-09-20 1985-09-20 Address converting buffer system

Country Status (1)

Country Link
JP (1) JPS6269339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5412504B2 (en) * 2009-02-17 2014-02-12 パナソニック株式会社 Multi-thread processor and digital television system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5412504B2 (en) * 2009-02-17 2014-02-12 パナソニック株式会社 Multi-thread processor and digital television system

Similar Documents

Publication Publication Date Title
CA1134052A (en) Address control system for software simulation
US4816991A (en) Virtual machine system with address translation buffer for holding host and plural guest entries
JP2510605B2 (en) Virtual computer system
JPH0348541B2 (en)
JPH03108042A (en) Multiple virtual space address system and computer system
JPH0137773B2 (en)
EP0145960B1 (en) Selective guest system purge control
US5341484A (en) Virtual machine system having an extended storage
JPS6269339A (en) Address converting buffer system
US5471599A (en) Partitioning of virtual addressing memory
JPS61160160A (en) Addressing control device of virtual computer
JPH0552539B2 (en)
JP2845754B2 (en) Multiprocessor system
JPS62117046A (en) Prefix control system
JP3645671B2 (en) Processor device having instruction buffer
JPS6269338A (en) Control system for address converting buffer
JPS6152505B2 (en)
JPH01229334A (en) Virtual computer system
JPH03110648A (en) Data processing system
JPS63286944A (en) Nullification system for address translation buffer
JPH02101552A (en) Address conversion buffer processing system
JPS60134360A (en) Information processing device
JPS63253449A (en) Virtual computer system
JPS6010336B2 (en) Address comparison method
JPH0766352B2 (en) Virtual computer system