JPS6159556A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPS6159556A JPS6159556A JP59180372A JP18037284A JPS6159556A JP S6159556 A JPS6159556 A JP S6159556A JP 59180372 A JP59180372 A JP 59180372A JP 18037284 A JP18037284 A JP 18037284A JP S6159556 A JPS6159556 A JP S6159556A
- Authority
- JP
- Japan
- Prior art keywords
- conversion buffer
- table conversion
- row
- buffer
- column
- 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
Links
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
コノ発明は、動的アドレス変換機構のテーブル変換バッ
ファを備えた情報処理装置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to an information processing device equipped with a table translation buffer of a dynamic address translation mechanism.
従来、動的アドレス変換機構を備えた情報処理装置に才
6いては、セグメント・テーブル及びベージテーブルを
利用したテーブル変換とは別に、ハツシュ機構を持つテ
ーブル変換バッファによる仮想アドレスから実アドレス
への高速変換が行なわれていることは周知の事実である
。Conventionally, in information processing devices equipped with a dynamic address translation mechanism, in addition to table translation using segment tables and page tables, high-speed conversion from virtual addresses to real addresses is performed using a table translation buffer with a hash mechanism. It is a well-known fact that conversion takes place.
この種の装置としては第1図に示すものがあった。この
第1図に1シいて、(1)は仮想アドレスを入力とし°
Cハツシングするハツシュ機4苫であり、(2)は仮想
アドレス部(2a)、実アドレス部(2b)等から構成
される二ントリ乞持つテーブル変換バッファである。こ
のテーブル変換バッファ(嗟は行数及び列数でその構成
が表現さzしるものであi)、第1図の従来装置におい
ては、n行2列の例が示されている。A device of this type is shown in FIG. In Figure 1, (1) assumes a virtual address as input.
There is a hashing machine 4 for C hashing, and (2) is a table conversion buffer having two entries, which is composed of a virtual address part (2a), a real address part (2b), etc. In the conventional device shown in FIG. 1, this table conversion buffer (the configuration of which is expressed by the number of rows and columns) has n rows and two columns.
次に動作についてj発明する。Next, I will invent the operation.
仮想アドレスiと実アドレスに変換する動的アドレス変
換機構は、高速性を必要とするためテーブル変換バッフ
ァ(2〕を備えている。変換を必要とする仮想アドレス
は、ハツシュ機構(1)によりテーブル変換バッファ(
2)の行数nでハツシングされ、該当する行が決定され
る。欠いで、該当する行の第1列、第二列のエントリの
仮想アドレス部(2a)の仮想アドレスと変換を必要と
する仮想アドレスとが比較され、これらの第1列及び第
二列のいずれかにおいて同一アドレスがあることが検出
されたとぎには、これに対応する実アドレス部(2b)
から所要の実アドレスを取り出す。The dynamic address translation mechanism that converts the virtual address i and the real address requires high speed, so it is equipped with a table translation buffer (2).The virtual address that requires translation is stored in the table by the hash mechanism (1). Conversion buffer (
2) is hashed using the number of rows n, and the corresponding row is determined. The virtual address in the virtual address field (2a) of the entry in the first and second columns of the corresponding row is compared with the virtual address that requires translation, and which of the first and second columns is When it is detected that there is an identical address in the above, the corresponding real address part (2b)
Extract the required real address from .
この比較の際、一致が見出されないときには、図示され
ン′よいセグメント・テーブル及びページ・テーブルを
用いたテーブル変換によって、所要の実アドレスを求め
ることになる。次いで、変換を必要とした仮想アドレス
と実アドレスの組を該当する行の第1列または第二列に
、指定されたアルゴリズムにしたがって登録する。During this comparison, if no match is found, the required real address is determined by table conversion using a segment table and a page table (not shown). Next, the pair of virtual address and real address that required conversion is registered in the first or second column of the corresponding row according to a specified algorithm.
従来のテーブル変換バッフアレま以上のように構成され
ているので、テーブル変換バッファの効率的な利用は、
ハツシュ機構によるハツシング・アルゴリズムの使用の
し方に依存していた。しかしながら、このようなハツシ
ュ機構で採用されているハツシング・アルゴリズムの履
歴データを手軽に得ることかできないという問題があっ
た。The conventional table conversion buffer array is structured as described above, so efficient use of the table conversion buffer is
It depended on how the hashing algorithm was used by the hashing mechanism. However, there is a problem in that it is not possible to easily obtain historical data of the hashing algorithm employed in such a hashing mechanism.
この発明は、従来のこの種の装置におけろ問題点を克服
するためになされたもので、テーブル変換バッファに所
定形式のカラ/りを取りつげることにより、テーブル変
換バッファの各行のアクセス頻度、即ちハツシュ機構に
よるノ1ツシングB歴データを採集することのできる情
報処理装置を提供することを目的としている。This invention was made to overcome the problems in conventional devices of this type, and by incorporating a predetermined format of color into the table conversion buffer, the access frequency of each row of the table conversion buffer can be improved. That is, it is an object of the present invention to provide an information processing device that can collect history data of nosing B using a hashing mechanism.
以下、この発明の一実施例を第2図について説明する。 An embodiment of the present invention will be described below with reference to FIG.
テーブル変換バッファは行数及び列数でその構成を表現
されるものであり、この発明は複数列の場合に有効なも
のであるが、こへでは二列の場合を例にとって説明する
。The configuration of the table conversion buffer is expressed by the number of rows and columns, and although the present invention is effective in the case of multiple columns, the case of two columns will be explained here as an example.
この第2図において、ノ1ツシュ機構(1)及びテーブ
ル変換バッファ(2)の構成は第1図に示した従来のも
のと同様である。そして、仮想アドレスがハツシュ機m
c/)でハツシングされた行番号に対して、エントリ内
の仮想アドレスとの比較を第1列だけについて従来と同
じアルゴリズムにしたかって実行する。(3ンは上記の
ようにハツシングされた行番号に対応する第2列のエン
トリの内容をプラスlするためのカウンタである。In FIG. 2, the configurations of the push mechanism (1) and the table conversion buffer (2) are similar to those of the conventional one shown in FIG. And the virtual address is hashish machine m
For the row number hashed with c/), a comparison with the virtual address in the entry is performed using the same algorithm as before for only the first column. (The 3rd column is a counter for incrementing the contents of the entry in the second column corresponding to the row number hashed as described above.
この発明の実施例のように、テーブル変換バッファが複
数列から構成される場合、には、その中の1列をアキュ
ムレータとして利用することによって、当該テーブル変
換バッファの行毎の使用頻度データを採集することがで
きる。そして、このデータに基づき、ハツシュ機構によ
るハツシング・アルゴリズムの最適化を笑現することが
できる。As in the embodiment of this invention, when a table conversion buffer is composed of multiple columns, one of the columns is used as an accumulator to collect usage frequency data for each row of the table conversion buffer. can do. Based on this data, it is possible to optimize the hashing algorithm using the hashing mechanism.
なお、カウンタを動作させて、所要のデータを採集して
いる状態では、使用されるデープル変換バッファのヒツ
ト率は悪くなるけれども、採集したデータを分析し、ハ
ツシュ機構に対する所定の見直しがなされた後は、当該
テーブル変換バッファの全エントリが極めて有効に利用
できる。この場合には、前記カウンタ(3)は任意のや
り方でハツシュam(1)とテーブル変換バッファ(2
)の第2列との接続から切離されていることになる。Note that while the counter is operating and the required data is being collected, the hit rate of the data conversion buffer used will be poor; however, after the collected data is analyzed and the hash mechanism is reviewed as required In this case, all entries in the table conversion buffer can be used extremely effectively. In this case, the counter (3) can be used in any manner to combine the hash am (1) and the table translation buffer (2).
) is disconnected from the connection with the second column.
なお、上記実施例では、テーブル変換バッファの列数は
2列のものが例示されたゆれども、これに限らず、3列
以上のものでもよい。In the above embodiment, the number of columns in the table conversion buffer is exemplified as two, but it is not limited to this and may be three or more columns.
また、上記実施例ではテーブル変換バッファの場合につ
いて説明したが、高速バッファ・メモリや他のバッファ
であってもよく、上記実施例と同様の効果を奏する。Further, in the above embodiment, the case of a table conversion buffer has been described, but a high speed buffer memory or other buffer may be used, and the same effects as in the above embodiment can be obtained.
以上のように、この発明によれば、プラスlカウンタを
複数列からなるテーブル変換バッファの所定の1列に接
続する構成にしたので、余分な外付ぎの装置が必要なく
、装置が安価にでき、またハツシング履歴データの分析
結果をハツシュ機構のハツシング・アルゴリズムに反映
させることにより情報処理装置の全体的な性能が向上す
る効果がある。As described above, according to the present invention, since the plus l counter is connected to one predetermined column of the table conversion buffer consisting of multiple columns, there is no need for an extra external device, and the device can be made at low cost. Furthermore, by reflecting the analysis results of the hashing history data in the hashing algorithm of the hashing mechanism, there is an effect of improving the overall performance of the information processing device.
第1図は従来のテーブル変換バッファ機構を示す概略図
、第2図はこの発明の一実施例を示す概略図である。
(1)・・ハツシュ機構、(勾・・テーブル変換バッフ
ァ、(コa)・・仮想アドレス部、(2b)・・実アド
レス部、(3)・・プラスlカウンタ。
なお、図中、同一符号は同一、又は相当部分を示す。FIG. 1 is a schematic diagram showing a conventional table conversion buffer mechanism, and FIG. 2 is a schematic diagram showing an embodiment of the present invention. (1)...Hash mechanism, (table conversion buffer, (Core a)...virtual address section, (2b)...real address section, (3)...plus l counter. In addition, in the figure, the same Codes indicate the same or corresponding parts.
Claims (1)
ファと、このテーブル変換バッファに対して仮想アドレ
スを入力としてハッシュするハッシュ機構とを備えた情
報処理装置において、複数列を有する前記テーブル変換
バッファの所定の1列をアキュムレータとして使用し、
前記ハッシュ機構と前記所定の1列との間に計数手段を
設けたことを特徴とする情報処理装置。In an information processing device comprising a table conversion buffer that converts a virtual address into a real address, and a hash mechanism that inputs and hashes the virtual address to the table conversion buffer, a predetermined one of the table conversion buffer having a plurality of columns is provided. Use the column as an accumulator,
An information processing apparatus characterized in that a counting means is provided between the hash mechanism and the predetermined one column.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59180372A JPS6159556A (en) | 1984-08-31 | 1984-08-31 | Information processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59180372A JPS6159556A (en) | 1984-08-31 | 1984-08-31 | Information processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6159556A true JPS6159556A (en) | 1986-03-27 |
Family
ID=16082087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59180372A Pending JPS6159556A (en) | 1984-08-31 | 1984-08-31 | Information processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6159556A (en) |
-
1984
- 1984-08-31 JP JP59180372A patent/JPS6159556A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3640978B2 (en) | Memory address control device using hash address tag in page table | |
JPS6159556A (en) | Information processor | |
JP3190700B2 (en) | Address translator | |
JPH02205953A (en) | Address converter | |
JP2591212B2 (en) | High-speed interrupt processing device | |
JPS60204048A (en) | Virtual storing system | |
JPH03189749A (en) | Address converting device | |
JPS5838877B2 (en) | data processing equipment | |
JPH0277953A (en) | Constitution system for conversion index buffer | |
JPH04256144A (en) | Address conversion mechanism for virtual storage computer system | |
JPS6362012B2 (en) | ||
JPH05151264A (en) | Information retrieving device | |
JPH04156638A (en) | Information processor provided with conversion buffer | |
JPS622338A (en) | Information processor | |
JPH03256148A (en) | Cache memory control device | |
JPH04215150A (en) | Address conversion device | |
JPS59132483A (en) | Address converting device | |
JPH05250261A (en) | Address conversion device | |
JPS6269321A (en) | Process switching system | |
JPH04239917A (en) | Information processor with branch history table | |
JPS63223847A (en) | Address converting device | |
JPH04140861A (en) | Address converting system | |
JPH0648470B2 (en) | Multiple virtual address space controller | |
JPS63282543A (en) | Virtual address conversion system | |
JPS6410360A (en) | Pre-page processing system |