JPS58218092A - Information processor - Google Patents
Information processorInfo
- Publication number
- JPS58218092A JPS58218092A JP57101916A JP10191682A JPS58218092A JP S58218092 A JPS58218092 A JP S58218092A JP 57101916 A JP57101916 A JP 57101916A JP 10191682 A JP10191682 A JP 10191682A JP S58218092 A JPS58218092 A JP S58218092A
- Authority
- JP
- Japan
- Prior art keywords
- bit
- address
- reference bit
- register
- access
- 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.)
- Granted
Links
- 230000010365 information processing Effects 0.000 claims description 9
- 238000000034 method Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
Landscapes
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
【発明の詳細な説明】
発明の属する技術分野
本発明は仮想記憶方式におけるページング動作を改良し
た情報処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to an information processing apparatus with improved paging operation in a virtual storage system.
従来技術
仮想記憶方式を採用した従来の情報処理装置においては
、主記憶装置やその他の記憶装置に参照ビットを設け、
これら記憶装置をアクセスしたときに参照ビットを“1
″にしてアクセスされたことを表示している。Conventional technology In a conventional information processing device that employs a virtual memory method, a reference bit is provided in the main memory or other storage devices, and
When accessing these storage devices, the reference bit is set to “1”.
” to indicate that it was accessed.
したがって、前記参照ビットは主記憶装置お上記憶装置
へのアクセス増加により性能が低下する。Therefore, the performance of the reference bit deteriorates due to increased access to the main memory and the upper memory.
また、参照ビットが別の記憶装置に存在する場合には、
参照ビットの更新を高速に行なわせる必要があるため高
価なメモリを使用しなければならないという欠点がある
。Also, if the reference bit resides in another storage device,
This method has the disadvantage that expensive memory must be used because the reference bits must be updated at high speed.
他の方式として、高速バッファメモリに参照ビットが存
在する場合には、該エリアに対応する参照ビット更新を
やめ、主記憶装置から高速バッファメモリにデータをロ
ードするときのみ参照ビットを更新する方式がある。こ
の方式では、高速バッファメモリへのデータのロード稜
に参照ヒツトクリア命令が該エリアに対して出されると
、該当参照ビットは“0”になる、。しかし、該エリア
は高速バッファメモリに登録されているため該エリアの
参照に対して、参照ビットの更新はなされず主記憶参照
状況が正しく参照ビットに反映されずページングのオー
バヘッド□が増大する。Another method is to stop updating the reference bits corresponding to the area if there are reference bits in the high-speed buffer memory, and update the reference bits only when loading data from the main memory to the high-speed buffer memory. be. In this method, when a reference hit clear command is issued to the area at the edge of loading data into the high-speed buffer memory, the corresponding reference bit becomes "0". However, since the area is registered in the high-speed buffer memory, the reference bits are not updated when the area is referenced, and the main memory reference status is not correctly reflected in the reference bits, resulting in an increase in paging overhead.
発明の目的 □−□
本発明の目的は上述の欠点を除去するよ、うにした情報
処理装置を提供することにある。OBJECTS OF THE INVENTION □-□ An object of the present invention is to provide an information processing device that eliminates the above-mentioned drawbacks.
発明の構成
本発明の装置は、複数のページに記憶領域を分けた構成
を有する主記憶装置のページ記憶領域対応に参照ビット
を有する情報処理装置において、予め定めたページ記憶
領域のそれぞれに対応して用意されたエントリを複数持
ちこれらエントリのそれぞれと対応して前記参照ビット
をアクセスするためのアドレスおよびこれらのアドレス
のそれぞれが有効か無効かを示す有効性表示ビットを記
憶する参照ビットアクセスアドレスアレイを設けたこと
を特徴とする。Configuring the Invention The device of the present invention is an information processing device having reference bits corresponding to page storage areas of a main storage device having a configuration in which the storage area is divided into a plurality of pages. a reference bit access address array that has a plurality of entries prepared for each entry and stores addresses for accessing the reference bits corresponding to each of these entries and a validity indicating bit indicating whether each of these addresses is valid or invalid; It is characterized by having the following.
発明の実施例 次に本発明について図面を参照して詳細に説明する。Examples of the invention Next, the present invention will be explained in detail with reference to the drawings.
第1図を参照すると、本発明の一実施例は中央処理装置
1.要求光の装置4.および主記憶装置5に接続され、
高速バッファメモリ制御部2.主′ 1・
記憶アクセスアドレスレジスタ3.主記憶アクセスアド
レススタック6、選択回路7.アドレスアレイ索引アド
レスレジスタ99選択回路10.参照ビットアクセスア
ドレスアレイ8.比較回路11゜参照ビット更新要求フ
リップフロップ12.レジスタ13.フリップフロップ
15.および参照ビット管理部14から構成されている
。前記高速バッファメモリ制御部2の詳細は1980年
情報処理学会から発行された刊行物「情報処理」のVO
L。Referring to FIG. 1, one embodiment of the present invention includes a central processing unit 1. Request light device 4. and connected to the main storage device 5,
High-speed buffer memory control unit 2. Main' 1. Memory access address register 3. Main memory access address stack 6, selection circuit 7. Address array index address register 99 selection circuit 10. Reference bit access address array8. Comparison circuit 11° Reference bit update request flip-flop 12. Register 13. Flip-flop15. and a reference bit management section 14. Details of the high-speed buffer memory control unit 2 can be found in the VO of the publication "Information Processing" published by the Information Processing Society of Japan in 1980.
L.
21翫4の第332頁から第340画に「キャッシュメ
モリ」と題して発表された論文を参照できる。You can refer to the paper published under the title "Cache Memory" on pages 332 to 340 of page 21 of page 4.
次にこの実施例の動作を詳細に説明する。Next, the operation of this embodiment will be explained in detail.
中央処理装置1からの主記憶アクセスアドレスは高速バ
ッファメモリ制御部2および主記憶アクセスアドレスレ
ジスタ3に与えられる。高速バッファメモリでヒツトし
た場合は、要求元4ヘデータが返送され、ミスヒツトし
た場合は主記憶装置5にブロックロードの要求が出され
る。The main memory access address from the central processing unit 1 is given to the high speed buffer memory control section 2 and the main memory access address register 3. If there is a hit in the high-speed buffer memory, the data is returned to the request source 4, and if there is a miss, a block load request is issued to the main storage device 5.
主記憶アクセスアドレスレジスタ3へは、主記憶のペー
ジング単位アドレス(2にバイトあるいは4にバイトア
ドレス)がセットされ、主記憶アクセスアドレススタッ
ク6にスタックされる。選択回路75主記憶アクセスア
ドレスレジスタ3と主記憶アドレススタック6とからの
アドレスを選択する回路で、前記主記憶アドレススタッ
ク6が空のときのみ前記主記憶アドレスレジスタ3から
のアドレスがバイパスされて参照ビットアクセスアドレ
スアレイ8を索引するためのアドレスアレイ索引アドレ
スレジスタ9にセットされる。前記参照ビットアクセス
アドレスアレイ8は、セットアンシアティプ方式のアド
レスアレイで構成されておシ、アドレスアレイ索引アド
レスレジスタ9の下位ビットで前記参照ビットアクセス
アレイ8 。A main memory paging unit address (byte address 2 or byte address 4) is set in the main memory access address register 3 and stacked on the main memory access address stack 6. Selection circuit 75 A circuit that selects addresses from the main memory access address register 3 and the main memory address stack 6. Only when the main memory address stack 6 is empty, the address from the main memory address register 3 is bypassed and referenced. Set in address array index address register 9 for indexing bit access address array 8. The reference bit access address array 8 is composed of a set-unchanged address array, and the lower bits of the address array index address register 9 are used as the reference bit access array 8 .
を選択回路10を通してアドレスする。参照ビットアク
セスアドレスアレイ8は複数のエントリを持ち、それぞ
れのエントリは参照ページアドレスの上位ビットと、該
ページ参照アドレスが有効か否かを表示するフラグビッ
トを有する。is addressed through the selection circuit 10. The reference bit access address array 8 has a plurality of entries, and each entry has the upper bits of the reference page address and a flag bit indicating whether or not the page reference address is valid.
はじめに既に参照筒の主記憶ページに対するアクセスの
場合を説明する。上述の説明のように主記憶アクセスペ
ージアドレスは、主記憶アクセスレジスタ3または主記
憶アクセスアドレススタック6のいずれから選択回路7
を通してアドレスアレイ索引アドレスレジスタ9のセッ
トされる。核アドレスレジスタ9の下位ビットが選択回
路1゜を通して参照ビットアクセスアドレスアレイ8を
アドレスする。該アドレスアレイから続出されたエント
リ内有効表示フラグが“1”でかつ前記アドレスアレイ
索引アドレスレジスタ9の上位ビットとエントリ内ペー
ジアドレス上位ビットとの比較が比較回路11で行なわ
れる。一致が検出されルト参照ビット更新要求フリップ
フロップ12が“0#にされ、参照ビット更新要求は発
生しない。First, the case of accessing the main memory page of the reference cylinder will be explained. As described above, the main memory access page address is selected by the selection circuit 7 from either the main memory access register 3 or the main memory access address stack 6.
The address array index address register 9 is set through the address array index address register 9. The lower bits of the core address register 9 address the reference bit access address array 8 through the selection circuit 1°. The intra-entry valid display flag successively output from the address array is "1", and a comparison circuit 11 compares the upper bits of the address array index address register 9 with the upper bits of the intra-entry page address. When a match is detected, the reference bit update request flip-flop 12 is set to "0#" and no reference bit update request is generated.
次に新規参照の主記憶ページに対するアクセスの場合を
説明する。参照ビットアクセスアドレスアレイ8が索引
されるまでの動作は上述の場合と同様で、アドレスされ
た該アドレスアレイかう読出されたエントリ内有効表示
フラグが“0”が、ま′″″1“f47“″′ロン:引
7ド″″スタ9の上位ビットと二/ 内ベージアドレ
ス上位ビットとの比較の結果不一致の場合は参照ビット
更新要求フリップフロップ12が“1#にされ、同時に
参照ビット更新ページアドレスがレジスタ13にセット
され参照ビット管理部14に送出される。その後前記レ
ジスター3の新規参照の主記憶ページアドレスを前記参
照ビットアクセスアドレスアレイ8に登録するためレジ
スター3の下位ビットを選択回路10でアドレスしてレ
ジスター3の上位ビットの内容を有効表示フラグを“1
”にして書込み後続の同一ページアクセスに備える。Next, the case of accessing the main memory page for new reference will be explained. The operation until the reference bit access address array 8 is indexed is the same as in the above case, and the valid display flag in the read entry in the addressed address array is "0" but is not "1"f47". If the result of the comparison between the high-order bits of the star 9 and the high-order bits of the internal page address does not match, the reference bit update request flip-flop 12 is set to "1#" and at the same time the reference bit update page is set to "1#". The address is set in the register 13 and sent to the reference bit management section 14. After that, in order to register the new reference main memory page address of the register 3 in the reference bit access address array 8, the lower bit of the register 3 is addressed by the selection circuit 10, and the contents of the upper bit of the register 3 are set to the valid display flag. 1
” to prepare for subsequent access to the same page.
次に参照ビットクリア命令の実行について説明する。参
照ビットアクセスアドレスアレイ8の索引は上記2例と
同じであるが、参照ビットクリア命令の場合は、それぞ
れのアドレスレジスタ3゜6.7.9および13にクリ
アアドレスであるフラグビットを持ちまわシ通常の参照
とは異なることを示すクリアフラグビットが“1”にな
っている。前記参照ビットナクセスアドレスアレイ8の
索引結果有効なべ−j′rドレへか登録されている:、
・。Next, the execution of the reference bit clear instruction will be explained. The index of the reference bit access address array 8 is the same as in the above two examples, but in the case of a reference bit clear instruction, each address register 3.6, 7.9 and 13 has a flag bit that is a clear address. The clear flag bit indicating that this is different from normal reference is set to "1". The index result of the reference bit access address array 8 is registered in a valid database:
・.
とフリップフロップ1゛′5がセットされ、上記新規主
記憶ページ登録と同様のパスでアドレスアレイ8をアド
レスし、前記フリップフロップ15により該アドレスア
レイ8のエントリをクリア(有効表示フラグビットのリ
セット)を指示して該エントリを無効化するとともに、
参照ビット管理部14に参照ビットクリア要求を出す。and flip-flop 1''5 are set, the address array 8 is addressed through the same path as for registering a new main memory page, and the entry in the address array 8 is cleared by the flip-flop 15 (resetting the valid display flag bit). Instruct to invalidate the entry, and
A reference bit clear request is issued to the reference bit management unit 14.
なお、本発明の実施例では参照ビットアクセスアドレス
アレイにルベルのセットアノシアティブ方式をとってい
るが、同様にしてレベルを増加させたり、フルアンチイ
ブ方式をとったりする方法も考えられ、これらの場合を
含む実施例も本発明の本質に反するものではない。In the embodiment of the present invention, Lebel's set anonymous method is used for the reference bit access address array, but it is also possible to similarly increase the level or use a full anti-event method. The included examples do not contradict the essence of the present invention.
発明の効果
本発明には仮想記憶方式のベージングに重要な役割をも
つ参照ビットを正しく反映させ、かつ参照/更新ビット
へのアクセス負荷を軽減させるという効果がある。Effects of the Invention The present invention has the effect of correctly reflecting the reference bits that play an important role in paging in a virtual storage system and reducing the load of accessing the reference/update bits.
第1図は本発明の一実施例を示すブロック図である。
図において、1・・・・・・中央処理装置、2・・・・
・・高速バッファメモリ制御部、3・・・・・・主記憶
アクセスアドレスレジスタ、4・・団・要求元、5・・
川・主記憶装置、6・・・・・・主記憶アクセスアドレ
ススタック、7゜10・・・・・・選択回路、8・旧・
・−照ピットアク七スアレイ、9・・・・・・アドレス
アレイ索引アドレスレジスタ、11・・・・・・孔板器
、12・旧・・参照ビット更新要求フリップフロップ、
13・・・・・・参照ビット更新/クリアページアドレ
スレジスタ、14・・・・・・参照ビット管理部、15
・・・・・・参照ビットクリア要求フリップフロップ。FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, 1... central processing unit, 2...
...High-speed buffer memory control unit, 3... Main memory access address register, 4... Group/request source, 5...
Main memory device, 6...Main memory access address stack, 7゜10...Selection circuit, 8.Old...
・-Target pit access 7th array, 9... Address array index address register, 11... Hole plate, 12. Old... Reference bit update request flip-flop,
13... Reference bit update/clear page address register, 14... Reference bit management section, 15
...Reference bit clear request flip-flop.
Claims (1)
憶装置のページ記憶領域対応に参照ビットを有する情報
処理装置において、 予め定めたページ記憶領域のそれぞれに対応して用意さ
れたエントリを複数持ちこれらエントリのそれぞれと対
応して前記参照ビットをアークセスするためのアドレス
およびこれらのアドレスのそれぞれが有効が無効かを示
す有効性表示ビットを記憶する参照ビットアクセスアド
レスアレイを設けたことを特徴とする情報処理装置。 2、参照ビットをリセットするための命令実行に前記参
照ビットのリセットを指示しかつ外部から与えられた参
照ビットアクセス用アドレスと前記参照ビットアクセス
アト、レスアレイに記憶されたアドレスとの一致がとら
れた前記エントリに記憶されている有効性表示ビットを
無効表示するようにしたことtl−特徴とする特許請求
の範囲第1項記載の情報処理装置。[Claims] 1. In an information processing device having a reference bit corresponding to a page storage area of a main storage device having a configuration in which the storage area is divided into a plurality of pages, A reference bit access address array having a plurality of prepared entries and storing an address for accessing the reference bit corresponding to each of these entries and a validity indicating bit indicating whether each of these addresses is valid or invalid. An information processing device characterized by: 2. Instructing the execution of an instruction to reset the reference bit to reset the reference bit, and matching the reference bit access address given from the outside with the address stored in the reference bit access address array. 2. The information processing apparatus according to claim 1, wherein a validity indicating bit stored in said entry is displayed as invalid.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57101916A JPS58218092A (en) | 1982-06-14 | 1982-06-14 | Information processor |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP57101916A JPS58218092A (en) | 1982-06-14 | 1982-06-14 | Information processor |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58218092A true JPS58218092A (en) | 1983-12-19 |
| JPS6150348B2 JPS6150348B2 (en) | 1986-11-04 |
Family
ID=14313228
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP57101916A Granted JPS58218092A (en) | 1982-06-14 | 1982-06-14 | Information processor |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58218092A (en) |
-
1982
- 1982-06-14 JP JP57101916A patent/JPS58218092A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6150348B2 (en) | 1986-11-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0052370B1 (en) | A virtual storage data processing system | |
| US4985829A (en) | Cache hierarchy design for use in a memory management unit | |
| US5230045A (en) | Multiple address space system including address translator for receiving virtual addresses from bus and providing real addresses on the bus | |
| EP0215544B1 (en) | Virtual memory address fetching | |
| CA1226372A (en) | Address translation control system | |
| JP3666689B2 (en) | Virtual address translation method | |
| JP2603476B2 (en) | Data retrieval method | |
| CA2057494A1 (en) | Translation lookaside buffer | |
| US10606762B2 (en) | Sharing virtual and real translations in a virtual cache | |
| US6427162B1 (en) | Separate code and data contexts: an architectural approach to virtual text sharing | |
| JP2818415B2 (en) | Buffer storage device | |
| US5226132A (en) | Multiple virtual addressing using/comparing translation pairs of addresses comprising a space address and an origin address (sto) while using space registers as storage devices for a data processing system | |
| US5479629A (en) | Method and apparatus for translation request buffer and requestor table for minimizing the number of accesses to the same address | |
| JPH0754484B2 (en) | Storage controller of computer system having a plurality of processors | |
| EP2273374B1 (en) | Automatically using superpages for stack memory allocation | |
| US4648033A (en) | Look-aside buffer LRU marker controller | |
| JPS58218092A (en) | Information processor | |
| EP0170525B1 (en) | Cache hierarchy design for use in a memory management unit | |
| JPS644214B2 (en) | ||
| JP3262182B2 (en) | Cache memory system and microprocessor device | |
| JPS623354A (en) | Cache memory access system | |
| US7181587B1 (en) | Mapping an arbitrary number of contiguous memory pages at an arbitrary alignment | |
| GB2037466A (en) | Computer with cache memory | |
| JPS6150349B2 (en) | ||
| JPS5922315B2 (en) | Buffer memory control method |