JPH0481947A - Method and device for controlling buffer storage - Google Patents

Method and device for controlling buffer storage

Info

Publication number
JPH0481947A
JPH0481947A JP2197491A JP19749190A JPH0481947A JP H0481947 A JPH0481947 A JP H0481947A JP 2197491 A JP2197491 A JP 2197491A JP 19749190 A JP19749190 A JP 19749190A JP H0481947 A JPH0481947 A JP H0481947A
Authority
JP
Japan
Prior art keywords
address
storage device
buffer storage
buffer
physical
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
JP2197491A
Other languages
Japanese (ja)
Inventor
Keiichi Yu
恵一 勇
Itsuki Hayashi
林 逸樹
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
Hitachi Chubu Software Ltd
Original Assignee
Hitachi Ltd
Hitachi Chubu Software 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, Hitachi Chubu Software Ltd filed Critical Hitachi Ltd
Priority to JP2197491A priority Critical patent/JPH0481947A/en
Publication of JPH0481947A publication Critical patent/JPH0481947A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To avoid the overhead of an address conversion buffer mechanism by accessing an address array and a buffer storage device by a physical address obtained by the previous address conversion. CONSTITUTION:A buffer storage device (BS) address, and an address array (AA) are constituted of a physical address 27 read out of a displacement field 26 and an address conversion buffer mechanism (TLB) 21. In such a state, the overhead of the TLB 21 is avoided by accessing the AA 22 and the BS 23 by the physical address obtained by the previous address conversion without accessing them by the physical address 27 read out of the TLB 21. In such a way, the overhead of the address conversion buffer mechanism to an access time of a buffer storage device can be avoided.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、仮想記憶システムにおいてページサイズを越
えた容量を有するバッファ記憶装置の制御方法およびそ
のための装置に関し、特にバッファ記憶装置のアクセス
タイムに対するアドレス変換バッファ機構参照のオーバ
ーヘッドを回避可能としたバッファ記憶制御方法および
そのための装置に関する。
Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a method and apparatus for controlling a buffer storage device having a capacity exceeding a page size in a virtual storage system, and in particular to a method for controlling a buffer storage device having a capacity exceeding a page size, and in particular to a method for controlling a buffer storage device having a capacity exceeding a page size. The present invention relates to a buffer storage control method that makes it possible to avoid the overhead of referencing an address translation buffer mechanism, and a device therefor.

[従来の技術] 従来、仮想記憶システムにおいて、バッファ記憶装置の
アクセスを高速化するためには、バッファ記憶装置の参
照アドレスに、論理アドレスの変位フィールド(実アド
レス部)を使用し、アドレス変換バッファ機構と並行動
作させる方法が採用されていた。しかし、この場合には
、バッファ記憶装置の容量が、ページサイズ以下になる
という制限があった。
[Prior Art] Conventionally, in a virtual memory system, in order to speed up access to a buffer storage device, a displacement field (real address part) of a logical address is used as a reference address of the buffer storage device, and an address translation buffer is used. A method was adopted in which it operated in parallel with the mechanism. However, in this case, there is a limitation that the capacity of the buffer storage device is less than the page size.

一方、容量がページサイズを越えるバッファ記憶装置に
対しては、アドレス変換バッファ機構を高速化して、バ
ッファ記憶装置アクセスのオーバーヘッドを減少させる
方法がとられてきた。
On the other hand, for buffer storage devices whose capacity exceeds the page size, methods have been taken to reduce the overhead of accessing the buffer storage device by increasing the speed of the address translation buffer mechanism.

なお、ページサイズを可変にした場合のバッファ記憶装
置の制御方法に関しては、例えば、特公昭60−499
44号公報に開示された技術が知られている。この技術
は、アドレス変換バッファ機構から読み出した物理アド
レスの最上位により、バッファ記憶装置のアドレスを修
飾し、バッファ記憶装置の縮退を回避する方法を示して
いる。
Regarding the control method of the buffer storage device when the page size is made variable, for example, Japanese Patent Publication No. 60-499
A technique disclosed in Japanese Patent No. 44 is known. This technique shows a method of modifying the address of a buffer storage device with the most significant physical address read from an address translation buffer mechanism to avoid degeneration of the buffer storage device.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、バッファ記憶装置の容量がページサイ
ズを越えた場合の、バッファ記憶装置アクセスに対応す
るアドレス変換バッファ機構アクセスのオーバーヘッド
を回避するという点については配慮されておらず、バッ
ファ記憶装置の性能低下を招くという問題を有するもの
であった。
The above-mentioned conventional technology does not take into consideration the point of avoiding the overhead of address translation buffer mechanism access corresponding to the buffer storage device access when the capacity of the buffer storage device exceeds the page size. This had the problem of causing performance deterioration.

本発明は上記事情に鑑みてなされたもので、その目的と
するところは、従来の技術における上述の如き問題を解
消し、バッファ記憶装置をアドレス変換バッファ機構と
並行してアクセスするようにして、バッファ記憶装置の
アクセスタイムに対するアドレス変換バッファ機構のオ
ーバーヘッドを回避可能としたバッファ記憶制御方法お
よびそのための装置を提供することにある。
The present invention has been made in view of the above circumstances, and its purpose is to solve the above-mentioned problems in the conventional technology, and to access the buffer storage device in parallel with the address translation buffer mechanism. It is an object of the present invention to provide a buffer storage control method and a device for the same, which make it possible to avoid the overhead of an address translation buffer mechanism with respect to the access time of a buffer storage device.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の上記目的は、論理アドレスを物理アドレスに変
換するアドレス変換機能および論理アドレスから物理ア
ドレスを連想するアドレス変換バッファ機構と、主記憶
装置のデータの一部を保持するバッファ記憶装置と、前
記主記憶装置と前記バッファ記憶装置の対応を保持する
アドレスアレイを有する仮想記憶システムにおいて、前
回のアドレス変換で得られた物理アドレスの一部を保持
し、該保持された内容と現在のアドレス変換バッファ機
構の内容とを比較し、該比較の結果に基づいて前記アド
レスアレイのヒツト判定およびバッファ記憶装置のアク
セスタイミングを変更することを特徴とするバッファ記
憶制御方法、または、上述の仮想記憶システムにおいて
、前回のアドレス変換で得られた物理アドレスの一部を
保持する手段と、該保持手段に保持された内容と現在の
アドレス変換バッファ機構の内容とを比較する手段と、
該比較手段による比較結果に基づいて前記アドレスアレ
イのヒツト判定およびバッファ記憶装置のアクセスタイ
ミングを変更する手段を設けたことを特徴とするバッフ
ァ記憶制御装置によって達成される。
The above object of the present invention is to provide an address conversion function for converting a logical address into a physical address, an address conversion buffer mechanism for associating a physical address from a logical address, a buffer storage device for holding a part of data in a main storage device, and an address conversion function for converting a logical address into a physical address; In a virtual storage system having an address array that maintains the correspondence between the main storage device and the buffer storage device, a part of the physical address obtained in the previous address translation is retained, and the retained contents and the current address translation buffer are A buffer storage control method, or the above-mentioned virtual storage system, characterized in that the content of the buffer storage is compared with the contents of the memory, and the hit determination of the address array and the access timing of the buffer storage device are changed based on the result of the comparison. means for holding a part of the physical address obtained in the previous address translation; and means for comparing the contents held in the holding means with the contents of the current address translation buffer mechanism;
This is achieved by a buffer storage control device characterized in that it is provided with means for changing the hit determination of the address array and the access timing of the buffer storage device based on the comparison result by the comparison means.

〔作用〕[Effect]

本発明に係るバッファ記憶制御方法、装置においては、
論理アドレスから物理アドレスへの変換自体は、良く知
られた、セグメントフィールドからセグメントテーブル
を、また、セグメントテーブルエントリとページフィー
ルドからページテーブルを検索して、ページテーブルエ
ントリから物理アドレスを求める方法で実施する。ここ
で、アドレス変換バッファ機構は、ページテーブルエン
トリの写しの一部を保持している、論理アドレスから物
理アドレスを読み出す連想メモリであり、前記アドレス
アレイおよびバッファ記憶装置アドレスが、論理アドレ
スの変位フィールドを越えたビット幅に等しい物理アド
レスとアドレス変換バッファ機構の変位フィールドで、
アドレスアレイおよびバッファ記憶装置をアクセスする
In the buffer storage control method and device according to the present invention,
The conversion itself from a logical address to a physical address is performed using the well-known method of searching the segment table from the segment field and the page table from the segment table entry and page field to obtain the physical address from the page table entry. do. Here, the address translation buffer mechanism is an associative memory for reading physical addresses from logical addresses that holds a portion of a copy of a page table entry, and the address array and buffer storage address are the displacement fields of the logical addresses. with the displacement field of the physical address and address translation buffer mechanism equal to the bit width exceeding
Access address arrays and buffer storage.

前述の如く、従来の方法では、ここで、必ず、アドレス
変換バッファ機構から読み出された物理アドレスを使用
するため、アドレス変換バッファ機構のアクセスがアド
レスアレイおよびバッファ記憶装置のアクセスのオーバ
ーヘッドとなっていた。これに対して、本発明に係るバ
ッファ記憶制御方法においては、アドレスアレイおよび
バッファ記憶装置を、アドレス変換バッファ機構から読
み出された物理アドレスでアクセスするのではなく、前
回のアドレス変換で得られた物理アドレスでアクセスし
、アドレス変換バッファ機構のオーバーヘッドを回避で
きるようにしたものである。
As mentioned above, in the conventional method, the physical address read from the address translation buffer mechanism is always used here, so the access to the address translation buffer mechanism becomes an overhead of the access to the address array and the buffer storage device. Ta. In contrast, in the buffer storage control method according to the present invention, the address array and the buffer storage device are not accessed using the physical address read from the address translation buffer mechanism, but using the physical address obtained from the previous address translation. This allows access using physical addresses and avoids the overhead of an address translation buffer mechanism.

すなわち、前述の保持手段に保持されている前回のアド
レス変換で得られた物理アドレスの一部と現在のアドレ
ス変換バッファ機構の内容とを比較し、この比較の結果
に基づいて、前記アドレスアレイのヒツト判定およびバ
ッファ記憶装置のアクセスタイミングを変更するように
したことにより、前述の保持されたアドレスと同じ位置
に相当するアドレス変換バッファ機構の内容については
比較器によって値を判定し、また、前記アドレスアレイ
およびバッファ記憶装置のデータを保証するので、誤動
作することがない。
That is, a portion of the physical address obtained in the previous address translation held in the holding means is compared with the contents of the current address translation buffer mechanism, and based on the result of this comparison, the address array is By changing the hit determination and the access timing of the buffer storage device, the comparator determines the value of the contents of the address conversion buffer mechanism corresponding to the same position as the previously held address, and It guarantees the data in the array and buffer storage so that it will not malfunction.

〔実施例〕〔Example〕

以下、本発明の実施例を図面に基づいて詳細に説明する
Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は、論理アドレスと、バッファ記憶装置(以下、
rBSJという)アドレス、アドレスアレイ(以下、r
AAJという)アドレスのビット位置の対応関係を示す
図であり、11は論理アドレスのセグメントフィールド
、12は同ページフィールド、13は同変位フィールド
、14はAA、BSのアドレスフィールドを示している
。なお、アドレスは、ダブルワードバンダリ(4バイト
)となっている。
Figure 2 shows logical addresses and buffer storage (hereinafter referred to as
rBSJ) address, address array (rBSJ) address, address array (rBSJ)
11 is a segment field of a logical address, 12 is a same page field, 13 is a same displacement field, and 14 is an address field of AA and BS. Note that the address is a double word boundary (4 bytes).

また、第3図は、前述のアドレス変換バッファ機構(以
下、[TLBJという)と、AAおよびBSの関係を示
す図であり、21はTLB122はAA。
Further, FIG. 3 is a diagram showing the relationship between the above-mentioned address translation buffer mechanism (hereinafter referred to as [TLBJ), AA and BS, where 21 indicates TLB 122 is AA.

23はBSを示しており、24は論理アドレス、25は
TLBの参照アドレス、26は変位フィールドである。
23 indicates a BS, 24 a logical address, 25 a TLB reference address, and 26 a displacement field.

27はTLBから読み出された物理アドレスの一部で、
AA、BSアドレスは、上述の変位フィールド26とT
LB21から読み出された物理アドレス27で構成され
る。
27 is part of the physical address read from TLB,
The AA, BS address is the displacement field 26 and T
It is composed of the physical address 27 read from the LB21.

論理アドレスを物理アドレスに変換するには、良く知ら
れた、セグメントフィールド11がらセグメントテーブ
ルを、セグメントテーブルエントリとページフィールド
からページテーブルを検索して、ページテーブルエント
リから物理アドレスを求める方法で実施する。TLB2
1は、ページテーブルエントリの写しの一部を保持して
いる、論理アドレス24から物理アドレス27を読み出
す連想メモリであり、前述のAA、BSアドレス14が
、論理アドレスの変位フィールド13を越えたビット幅
に等しい物理アドレス27とTLBの変位フィールド2
6で、AA22.B523をアクセスする。
To convert a logical address to a physical address, use the well-known method of searching the segment table from the segment field 11, searching the page table from the segment table entry and page field, and finding the physical address from the page table entry. . TLB2
Reference numeral 1 denotes an associative memory for reading out the physical address 27 from the logical address 24, which holds a part of the copy of the page table entry. Physical address 27 equal to width and displacement field 2 of TLB
6, AA22. Access B523.

前述の如く、従来の方法では、ここで、必ず、TLB2
1から読み出された物理アドレス27を使用するため、
TLB21のアクセスがAA22. B523のアクセ
スのオーバーヘッドとなっていた。これに対して、本発
明に係るバッファ記憶制御方法においては、AA22.
B523を、TLB21から読み出された物理アドレス
27でアクセスするのではなく、前回のアドレス変換で
得られた物理アドレスでアクセスし、TLB21のオー
バーヘッドを回避できるようにしたものである。
As mentioned above, in the conventional method, TLB2 is always
In order to use the physical address 27 read from 1,
TLB21 access is AA22. This was an overhead for B523 access. On the other hand, in the buffer storage control method according to the present invention, AA22.
B523 is not accessed using the physical address 27 read from the TLB 21, but accessed using the physical address obtained in the previous address conversion, thereby making it possible to avoid the overhead of the TLB 21.

第4図は、本発明の一実施例を示す構成図である。図に
おいて、3Iは前述のTLB、32はAA、33はBS
、34はアドレス変換実施後、得られた物理アドレスを
格納するレジスタ、35は上述のAA32、B533の
アドレスに使用する物理アドレスを格納するレジスタ、
36.37.38は比較器(CP)、39は上述のB5
33のデータのフェッチタイミングおよび物理アドレス
のマルチプレクサ41のセレクト信号51を与えるタイ
ミング制御回路、42はセレクタ、43はNANDゲー
ト、44はドライバ、52は論理アドレス入力、53は
BSフェッチタイミング信号、59は読み出しBSデー
タを示している。なお、各信号線の脇の数字は、アドレ
スラインのビット数を示している。
FIG. 4 is a configuration diagram showing an embodiment of the present invention. In the figure, 3I is the aforementioned TLB, 32 is AA, and 33 is BS.
, 34 is a register that stores the obtained physical address after address conversion, 35 is a register that stores the physical address used for the addresses of AA32 and B533 mentioned above,
36.37.38 is a comparator (CP), 39 is the above-mentioned B5
33, a timing control circuit that provides data fetch timing and a select signal 51 for the physical address multiplexer 41; 42, a selector; 43, a NAND gate; 44, a driver; 52, a logical address input; 53, a BS fetch timing signal; It shows read BS data. Note that the number beside each signal line indicates the number of bits of the address line.

以下、第4図および第1図に示したタイミング制御回路
39の動作フローに基づいて、本実施例の動作を説明す
る。なお、第1図中のPARは、上述のAA32.B5
33のアドレスに使用する物理アドレスを格納するレジ
スタ35を指している。
The operation of this embodiment will be described below based on the operation flow of the timing control circuit 39 shown in FIGS. 4 and 1. Note that PAR in FIG. 1 is the above-mentioned AA32. B5
33 is the register 35 that stores the physical address used for the address.

論理空間へのアクセス要求により、論理アドレス52か
らTLB31が参照され、同時に、論理アドレス52の
変位フィールド47および上記レジスタ35の物理アド
レスにより、AA32.B533がアクセスを開始する
。ここで、レジスタ35には、前回のアクセスでAA3
2.B533で使用した上位アドレス58が格納され、
マルチプレクサ41は、レジスタ35の出力ライン50
を選択している。
In response to an access request to the logical space, the TLB 31 is referenced from the logical address 52, and at the same time, the AA32. B533 starts accessing. Here, register 35 contains AA3 in the previous access.
2. The upper address 58 used in B533 is stored,
Multiplexer 41 connects output line 50 of register 35 to
is selected.

AA32.B533に入力されている14本のアドレス
は、物理アドレスの下位に相当し、B533は、2”X
4バイト(32ビツト)=64にバイト容量を持ってい
る。一方、AA32は、14本のアドレスのうち、最下
位の2本を除いた12本のアドレスを使用し、2”=4
にエントリの深さを持っている。すなわち、AA32の
12ビツトの出力データは、物理アドレスの上位に相当
し、メモリをB533のアドレスに対応する14本+A
A32の12本の計26本で。
AA32. The 14 addresses input to B533 correspond to the lower physical addresses, and B533 is 2”
It has a byte capacity of 4 bytes (32 bits) = 64. On the other hand, AA32 uses 12 of the 14 addresses, excluding the lowest two, and 2"=4
has an entry depth of . In other words, the 12-bit output data of AA32 corresponds to the upper part of the physical address, and the memory is divided into 14 lines + A corresponding to the address of B533.
A total of 26 pieces, including 12 pieces of A32.

アドレッシングしている。また、AA32の1つのエン
トリで、B533のデータ4エントリを指していること
になる。なお、前述のAA32の更新は、B533のブ
ロック転送時に実行される。
Addressing. Also, one entry in AA32 points to four data entries in B533. Note that the above-mentioned update of AA32 is executed at the time of block transfer of B533.

さて、TLB31から読み出された、TLBのディレク
トリデータ48は、比較器36によって論理アドレス4
9と比較され、比較結果はライン54によってタイミン
グ制御回路39に報告される。同時に、T L B31
のデータ部から読み出された物理アドレス45のレジス
タ35に対応する物理アドレス62と、レジスタ35の
データが比較器37によって比較されて、結果がライン
55によってタイミング制御回路39に報告される。
Now, the TLB directory data 48 read from the TLB 31 is processed by the comparator 36 at logical address 4.
9 and the comparison result is reported to timing control circuit 39 via line 54. At the same time, T L B31
A comparator 37 compares the physical address 62 corresponding to the register 35 of the physical address 45 read from the data portion of the register 35 with the data in the register 35, and the result is reported to the timing control circuit 39 via a line 55.

タイミング制御回路39は、予め定められたタイミング
で、ライン54と55の比較結果を判定し、第1図に示
す如き処理を行う。
The timing control circuit 39 determines the comparison result between lines 54 and 55 at a predetermined timing, and performs the processing shown in FIG. 1.

(1)ライン54に出力される比較結果が「一致」で、
かつ、ライン55に出力される比較結果が「一致」であ
る場合(ステップ71)には、マルチプレクサ41はラ
イン50の選択を保持し、ライン61によってNAND
ゲート43の入力を1”にする。一方、AA32から読
み出されたデータ57は、比較器38によって物理アド
レス40と比較され(ステップ72)、これらが一致し
ていれば、NANDゲート43のもう〜方の入力を“l
”にする。これらにより、NANDゲート43はオンと
なり、ライン56によってドライバ44が開き、BSデ
ータ59がバス上に送出される。
(1) The comparison result output on line 54 is "match",
If the comparison result output on line 55 is "match" (step 71), multiplexer 41 retains the selection on line 50 and outputs NAND on line 61.
The input of the gate 43 is set to 1". On the other hand, the data 57 read from the AA 32 is compared with the physical address 40 by the comparator 38 (step 72), and if they match, the input of the NAND gate 43 is set to 1". The input of ~ is “l”
These turn on NAND gate 43, opening driver 44 via line 56 and sending BS data 59 onto the bus.

そして、タイミング制御回路39から送出されるBSフ
ェッチタイミング信号53で、最適の時間でデータをフ
ェッチすることになる(ステップ73)。もし、比較器
38が不一致であれば(ステップ72)、従来と同様に
して、BSのブロック転送が実施される(ステップ74
)。
Then, data is fetched at the optimum time using the BS fetch timing signal 53 sent from the timing control circuit 39 (step 73). If the comparator 38 does not match (step 72), block transfer of the BS is performed in the same manner as before (step 74).
).

(2)ライン54に出力される比較結果が[一致Jで、
かつ、ライン55に出力される比較結果が「不一致」で
ある場合(ステップ7])には、ライン51によりマル
チプレクサ41をTLB32のデータに切り換え、AA
32.B533を再アクセスしくステップ76)、AA
32のデータと物理アドレス4oの比較結果が一致して
いれば(ステップ72)、NANDゲート43によって
ドライバ44が開き、BSデータがバスに送出され、タ
イミング制御回路39によってBSフェッチングタイミ
ング信号53を、一定時間遅らせてデ−タをフェッチす
る(ステップ73)。同時に、レジスタ35の値をもラ
イン58によって更新する。
(2) The comparison result output on line 54 is [match J,
If the comparison result outputted to line 55 is "non-coincidence" (step 7), the multiplexer 41 is switched to the data of TLB 32 by line 51, and the AA
32. Re-access B533 (step 76), AA
If the comparison result between the data at 32 and the physical address 4o matches (step 72), the NAND gate 43 opens the driver 44, the BS data is sent to the bus, and the timing control circuit 39 outputs the BS fetching timing signal 53. , the data is fetched after a certain time delay (step 73). At the same time, the value of register 35 is also updated via line 58.

(3)ライン54に出力される比較結果が「不一致」で
ある場合(ステップ71)には、アドレス変換を実施し
くステップ75)、得られた物理アドレスをレジスタ3
4に格納し、T L B11に書き込むと同時に、マル
チプレクサ41をライン45に切り換え、AA32゜B
533をアクセスし、レジスタ35を更新する。
(3) If the comparison result output to the line 54 is "not a match" (step 71), address conversion is performed (step 75), and the obtained physical address is stored in the register 3.
4 and write to TLB11, the multiplexer 41 is switched to line 45, and AA32°B
533 and updates the register 35.

第5図(a)は、上記(1)のライン54に出力される
比較結果が「一致」で、かつ、ライン55に出力される
比較結果が「一致ノである場合のタイミングを示す図で
ある。この図中の記号PARはレジスタ35を指してお
り、rPARヒツト」は比較器37の出力55の信号を
、rTLBヒツト」は比較器36の出力54の信号を、
FAAヒツト」は比較器38の出力を、それぞれ、指し
ている。
FIG. 5(a) is a diagram showing the timing when the comparison result output to line 54 in (1) above is "match" and the comparison result output to line 55 is "match". The symbol PAR in this figure refers to the register 35, ``rPAR hit'' is the signal of the output 55 of the comparator 37, ``rTLB hit'' is the signal of the output 54 of the comparator 36,
"FAA hit" respectively refer to the output of comparator 38.

第5図(a)では、論理アドレスが確定した後、1クロ
ツクの間にPARヒツト、TLBヒツトが確定し、とも
にヒツトしていれば、次のクロックまでにAAヒツトが
確定し、もし、ヒツトしていれば、2クロツクでBSデ
ータをBSフェッチトリガでフェッチする。
In FIG. 5(a), after the logical address is determined, the PAR hit and TLB hit are determined within one clock, and if both are hits, the AA hit is determined by the next clock. If so, the BS data is fetched using the BS fetch trigger in two clocks.

また、第5図(b)は、上記(2)のライン54に出力
される比較結果が1一致」で、かつ、ライン55に出力
される比較結果が「不一致」である場合のタイミングを
示す図である。ここでは、PARミスヒツトが確定後、
AA32.B533のアドレスを再送出し、AAヒツト
、BSフェッチトリガのタイミングを1クロック遅らせ
ている。
Further, FIG. 5(b) shows the timing when the comparison result outputted to line 54 in the above (2) is "1 match" and the comparison result outputted to line 55 is "no match". It is a diagram. Here, after the PAR mishit is confirmed,
AA32. The address of B533 is retransmitted, and the timing of AA hit and BS fetch trigger is delayed by one clock.

上記実施例によれば、アドレスアレイおよびバッファ記
憶装置を、アドレス変換バッファ機構から読み出された
物理アドレスでアクセスするのではなく、前回のアドレ
ス変換で得られた物理アドレスでアクセスするようにし
たの習、アドレス変換バッファ機構のオーバーヘッドを
回避できるという効果が得られるものである。
According to the above embodiment, the address array and buffer storage device are accessed not by the physical address read from the address translation buffer mechanism, but by the physical address obtained by the previous address translation. In addition, the overhead of the address translation buffer mechanism can be avoided.

なお、上記実施例は本発明の一例を示すものであり、本
発明はこれに限定されるべきものではないことは言うま
でもない。
It should be noted that the above-mentioned example shows an example of the present invention, and it goes without saying that the present invention should not be limited thereto.

〔発明の効果〕〔Effect of the invention〕

以上、詳細に説明した如く、本発明によれば、論理アド
レスを物理アドレスに変換するアドレス変換機能および
論理アドレスから物理アドレスを連想するアドレス変換
バッファ機構と、主記憶装置のデータの一部を保持する
バッファ記憶装置と、前記主記憶装置と前記バッファ記
憶装置の対応を保持するアドレスアレイを有する仮想記
憶システムにおいて、前回のアドレス変換で得られた物
理アドレスの一部を保持し、該保持された内容と現在の
アドレス変換バッファ機構の内容とを比較し、該比較の
結果に基づいて前記アドレスアレイのヒツト判定および
バッファ記憶装置のアクセスタイミングを変更するよう
にしたので、バッファ記憶装置のアクセスタイムに対す
るアドレス変換バッファ機構のオーバーヘッドを回避可
能としたバッファ記憶制御方法およびそのための装置を
実現できるという顕著な効果を奏するものである。
As described in detail above, according to the present invention, the present invention includes an address translation function that translates a logical address into a physical address, an address translation buffer mechanism that associates a physical address from a logical address, and a part of data stored in the main memory. In a virtual storage system having a buffer storage device that stores the data, and an address array that stores the correspondence between the main storage device and the buffer storage device, a part of the physical address obtained in the previous address conversion is stored, and the stored address array is stored. The contents are compared with the contents of the current address translation buffer mechanism, and the hit judgment of the address array and the access timing of the buffer storage device are changed based on the result of the comparison, so that the access time of the buffer storage device is changed. This has the remarkable effect that it is possible to realize a buffer storage control method and a device therefor that can avoid the overhead of the address translation buffer mechanism.

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

第1図は本発明の一実施例を示すバッファ記憶制御装置
のタイミング制御回路の動作フローチャート、第2図は
論理アドレスとBSアドレス、AAアドレスのビット位
置の対応関係を示す図、第3図はTLBとAAおよびB
Sの関係を示す図、第4図は実施例の全体構成を示す図
、第5図は動作を説明するためのタイミングチャートで
ある。 21.31 : T、LB、 22,32: AA、 
23,33: B S、 24゜52=論理アドレス、
34,35:物理アドレス格納レジスタ(PAR)、3
6,37,38 :比較器(CP)、39゜タイミング
制御回路、41:マルチプレクサ、42:セレクタ、4
3:NANDゲート、44:ドライバ、51:セレクト
信号、52:論理アドレス入力、53:BSフェッチタ
イミング信号、59:読み出しBSデータ。 第 図 第 図 第 図 第 図(その1) (a) BSフェッチトリガ
FIG. 1 is an operation flowchart of a timing control circuit of a buffer storage control device showing an embodiment of the present invention, FIG. 2 is a diagram showing the correspondence between bit positions of logical addresses, BS addresses, and AA addresses, and FIG. TLB and AA and B
FIG. 4 is a diagram showing the overall configuration of the embodiment, and FIG. 5 is a timing chart for explaining the operation. 21.31: T, LB, 22,32: AA,
23, 33: BS, 24°52=logical address,
34, 35: Physical address storage register (PAR), 3
6, 37, 38: Comparator (CP), 39° timing control circuit, 41: Multiplexer, 42: Selector, 4
3: NAND gate, 44: driver, 51: select signal, 52: logical address input, 53: BS fetch timing signal, 59: read BS data. Figure Figure Figure Figure Figure (Part 1) (a) BS fetch trigger

Claims (1)

【特許請求の範囲】 1、論理アドレスを物理アドレスに変換するアドレス変
換機能および論理アドレスから物理アドレスを連想する
アドレス変換バッファ機構と、主記憶装置のデータの一
部を保持するバッファ記憶装置と、前記主記憶装置と前
記バッファ記憶装置の対応を保持するアドレスアレイを
有する仮想記憶システムにおいて、前回のアドレス変換
で得られた物理アドレスの一部を保持し、該保持された
内容と現在のアドレス変換バッファ機構の内容とを比較
し、該比較の結果に基づいて前記アドレスアレイのヒッ
ト判定およびバッファ記憶装置のアクセスタイミングを
変更することを特徴とするバッファ記憶制御方法。 2、前記アドレスアレイおよびバッファ記憶装置のアク
セスに、前記保持されたアドレスを使用すると同時に、
前記保持されたアドレスとこれに対応する前記アドレス
変換バッファ機構の内容との比較結果が一致しており、
かつ、前記アドレス変換バッファ機構に物理アドレスが
存在していれば、最適な時間で前記アドレスアレイおよ
びバッファ記憶装置のデータ処理を実行することを特徴
とする請求項1記載のバッファ記憶制御方法。 3、前記保持されたアドレスとこれに対応する前記アド
レス変換バッファ機構の内容との比較の結果が不一致で
、かつ、前記アドレス変換バッファ機構に物理アドレス
が存在していれば、前記保持されたアドレスをそれに対
応する前記アドレス変換バッファ機構の内容に切り換え
、アドレスアレイおよびバッファ記憶装置のデータの処
理タイミングを一定時間遅らせることを特徴とする請求
項1または2記載のバッファ記憶制御方法。 4、論理アドレスを物理アドレスに変換するアドレス変
換機能および論理アドレスから物理アドレスを連想する
アドレス変換バッファ機構と、主記憶装置のデータの一
部を保持するバッファ記憶装置と、前記主記憶装置と前
記バッファ記憶装置の対応を保持するアドレスアレイを
有する仮想記憶システムにおいて、前回のアドレス変換
で得られた物理アドレスの一部を保持する手段と、該保
持手段に保持された内容と現在のアドレス変換バッファ
機構の内容とを比較する手段と、該比較手段による比較
結果に基づいて前記アドレスアレイのヒット判定および
バッファ記憶装置のアクセスタイミングを変更する手段
を設けたことを特徴とするバッファ記憶制御装置。
[Scope of Claims] 1. An address conversion function that converts a logical address into a physical address, an address conversion buffer mechanism that associates a physical address from a logical address, and a buffer storage device that holds a part of data in a main storage device; In a virtual storage system having an address array that maintains the correspondence between the main storage device and the buffer storage device, a part of the physical address obtained in the previous address conversion is held, and the held content and the current address conversion are 1. A buffer storage control method, comprising comparing the contents of a buffer mechanism and changing the hit determination of the address array and the access timing of the buffer storage device based on the result of the comparison. 2. simultaneously using the retained address to access the address array and buffer storage;
A comparison result between the held address and the corresponding contents of the address translation buffer mechanism matches;
2. The buffer storage control method according to claim 1, further comprising executing data processing in the address array and buffer storage device at an optimal time if a physical address exists in the address translation buffer mechanism. 3. If the result of the comparison between the held address and the corresponding contents of the address translation buffer mechanism is a mismatch, and a physical address exists in the address translation buffer mechanism, the held address 3. The buffer storage control method according to claim 1, further comprising switching the contents of the address translation buffer mechanism to the corresponding contents of the address translation buffer mechanism, and delaying the processing timing of data in the address array and the buffer storage device by a certain period of time. 4. An address conversion function that converts a logical address into a physical address, an address conversion buffer mechanism that associates a physical address from a logical address, a buffer storage device that holds a part of data in a main storage device, and the main storage device and the In a virtual storage system having an address array that retains correspondence between buffer storage devices, means for retaining a part of physical addresses obtained in the previous address translation, and the contents retained in the retaining means and the current address translation buffer. 1. A buffer storage control device, comprising: means for comparing the contents of the memory with the contents of the memory; and means for changing the hit determination of the address array and the access timing of the buffer storage device based on the comparison result by the comparison means.
JP2197491A 1990-07-24 1990-07-24 Method and device for controlling buffer storage Pending JPH0481947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2197491A JPH0481947A (en) 1990-07-24 1990-07-24 Method and device for controlling buffer storage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2197491A JPH0481947A (en) 1990-07-24 1990-07-24 Method and device for controlling buffer storage

Publications (1)

Publication Number Publication Date
JPH0481947A true JPH0481947A (en) 1992-03-16

Family

ID=16375355

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2197491A Pending JPH0481947A (en) 1990-07-24 1990-07-24 Method and device for controlling buffer storage

Country Status (1)

Country Link
JP (1) JPH0481947A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122710A (en) * 1998-02-17 2000-09-19 International Business Machines Corporation Dynamic word line driver for cache
US11649420B2 (en) 2017-06-12 2023-05-16 Mitsubishi Chemical Corporation Water-soluble film, chemical agent package, and method of producing water-soluble film

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122710A (en) * 1998-02-17 2000-09-19 International Business Machines Corporation Dynamic word line driver for cache
US11649420B2 (en) 2017-06-12 2023-05-16 Mitsubishi Chemical Corporation Water-soluble film, chemical agent package, and method of producing water-soluble film

Similar Documents

Publication Publication Date Title
JP3936378B2 (en) Address translation device
JP2646854B2 (en) Microprocessor
US6205530B1 (en) Address translation unit supporting variable page sizes
US5282274A (en) Translation of multiple virtual pages upon a TLB miss
JP3802061B2 (en) Parallel access micro-TLB to increase address translation speed
US4322815A (en) Hierarchical data storage system
JP3666689B2 (en) Virtual address translation method
US5210842A (en) Data processor having instruction varied set associative cache boundary accessing
JPH0756815A (en) Cache operating method and cache
JP3449487B2 (en) Conversion index buffer mechanism
US6718439B1 (en) Cache memory and method of operation
US5860145A (en) Address translation device storage last address translation in register separate from TLB
US5991848A (en) Computing system accessible to a split line on border of two pages within one cycle
US6385696B1 (en) Embedded cache with way size bigger than page size
JPH0481947A (en) Method and device for controlling buffer storage
US20040006679A1 (en) Address translation apparatus, address translation method, and two-layer address translation apparatus
US4424564A (en) Data processing system providing dual storage of reference bits
JPH0540694A (en) Cache memory device
US6674441B1 (en) Method and apparatus for improving performance of an accelerated graphics port (AGP) device
US5704056A (en) Cache-data transfer system
JPS623354A (en) Cache memory access system
JP2650789B2 (en) Cache memory device
JPH04357542A (en) Address converter
JPH0512124A (en) Buffer storage control system
JPH06139146A (en) Cache memory