JPS61131142A - Lru mechanism - Google Patents

Lru mechanism

Info

Publication number
JPS61131142A
JPS61131142A JP59253188A JP25318884A JPS61131142A JP S61131142 A JPS61131142 A JP S61131142A JP 59253188 A JP59253188 A JP 59253188A JP 25318884 A JP25318884 A JP 25318884A JP S61131142 A JPS61131142 A JP S61131142A
Authority
JP
Japan
Prior art keywords
page
level
lru
address
pages
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
JP59253188A
Other languages
Japanese (ja)
Inventor
Isao Sasaki
功 佐々木
Toshiaki Kanemura
俊明 金村
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP59253188A priority Critical patent/JPS61131142A/en
Publication of JPS61131142A publication Critical patent/JPS61131142A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To detect surely a page with low operating frequency without detecting an uncertain page by detecting a page of level 0 in searching so as to execute page-out/in of the said page. CONSTITUTION:When a search request takes place, a search controller 12 brings all of parallel data input DI and load terminals LD of an LRU address counter 13 to H level 1, brings U/D terminals to L level 0 to allow the counter 13 to start down-count. At each count of the counter 13, the count is outputted to a page table 3 via an address line 130 to access the table in the order of high- order. Then 2 bits of page-in information are fed to a reference comparator 6 via an bus DB. The comparator 6 is a circuit detecting a minimum value of a reference value in the page table 3 having a tri-state value and every time the count is decremented, a reference bit of each page is fed to the comparator 6.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はコンピュータシステムに係り、特に仮想記憶方
式に従う記憶装置を管理して記憶装置の有効利用をはか
るメモリマネージメントユニット(MMU)のリースト
 リーセントリ ューズドルール(LRU)機構に関す
る。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a computer system, and in particular to a memory management unit (MMU) that manages a storage device according to a virtual storage method to effectively utilize the storage device. (LRU) mechanism.

〔従来の技術〕[Conventional technology]

コンピュータシステムにおいて、多量のメモリを必要と
する場合にはバーチャル・ストレージ(VS)すなわち
仮想記憶を用いたシステムが多く利用されている。″ vSとは実際に存在する実メモリをメモリマネージメン
トユニット(MMU)で管理して実メモリより多量のメ
モリが存在する如く動作する記憶方式であり、当然なが
ら実メモリのメモリ容量以上の補助記憶装置を必要とす
る。v、sは例えば数10にバイトa位(ページ)で分
割されてMMUで管理され、必要な時にページ単位で前
述した補助 ゛記憶装置より読出され実メモリに格納さ
れる(ページイン)。一方、その逆に必要とされないペ
ージの場合には補助記憶装置にページ単位で格納され(
ページアウト)、必要とするページにその実メモリのペ
ージを開は渡す。以上のような方法でメモリを管理する
が、仮想記憶のメモリ容量を更に多くした場合にはペー
ジ数の増大を防止するため、複数のページを1セグメン
トとしてセグメント単位でさらにそれらを管理している
In computer systems that require a large amount of memory, systems using virtual storage (VS), that is, virtual memory, are often used. ``vS is a storage system that operates as if there is a larger amount of memory than the actual memory by managing the actual real memory with a memory management unit (MMU). For example, v and s are divided into tens of bytes (pages) and managed by the MMU, and when necessary, they are read out from the auxiliary storage device described above in page units and stored in real memory ( On the other hand, pages that are not needed are stored in auxiliary storage in page units (page-in).
(page out), opens and passes that real memory page to the page that needs it. Memory is managed using the methods described above, but in order to prevent an increase in the number of pages when the memory capacity of virtual memory is further increased, multiple pages are treated as one segment and they are further managed in segment units. .

前述したvSシステムはさらに場合によっては複数のコ
ンピュータ利用者に対して1対1で対応し、コンピュー
タ利用者が仮想記憶空間を専有している如く動作するシ
ステム(マルチバーチャルストレージ・MVS)として
拡張される場合もある。MVSシステムの場合には前述
したページ以外に個々のユーザに対し仮想記憶を管理す
るため。
In some cases, the vS system described above may be expanded into a system (multi-virtual storage, MVS) that supports multiple computer users on a one-to-one basis and operates as if each computer user had exclusive virtual storage space. In some cases. In the case of the MVS system, in addition to the above-mentioned pages, this is used to manage virtual memory for individual users.

それぞれユーザに対しコンティニラテキストなるものを
設け、コンティニラテキストとセグメントとページで実
メモリと補助記憶装置間のページイン・ページアウトを
管理している。
A continuous text is provided for each user, and page-in and page-out between the real memory and the auxiliary storage device are managed using the continuous text, segments, and pages.

一方、前述のMMUは一般的にLRU法(リースト リ
ーセントリ ューズド ルール)と呼ばれている管理方
法が用いられている。このLRU法とは古いページすな
わち特定期間コンピュータよりアクセスされなかったア
クセス頻度の低いページをページアウトし、必要とされ
るページをページインする方法であり、[時間的に古い
時点でしかアクセスされなかったページは以後において
    1もアクセスされることは少ない」という仮定
を基にしたものである。MMUは前述した実メモリに格
納されているページを管理するLRU部とVSあるいは
MVSのアドレスに対して割り当てた各     ゛ペ
ージを管理するテーブルよりなる。
On the other hand, the above-mentioned MMU generally uses a management method called the LRU method (Least Recently Sent Rule). This LRU method is a method of paging out old pages, i.e. pages that have not been accessed by the computer for a certain period of time, and pages that are infrequently accessed, and page-in necessary pages. This is based on the assumption that a page that has been previously accessed is unlikely to be accessed at all in the future. The MMU consists of the LRU unit that manages the pages stored in the real memory mentioned above and a table that manages each page allocated to a VS or MVS address.

従来、前述したLRU部における古いページの管理に2
値(1ビツト)が用いられていた。換言するならば例え
ばそのアクセス頻度に対応する2値ヲレベルOとレベル
1とするならば、レベル0の時は実メモリに存在するペ
ージが古いページであり、レベル1の時には今後使用さ
れる可能性が高いページ(新しいページ)であるとして
ページテーブルに記憶し、他のページをページインする
必要が生じた時にはレベル0のページをページアウトし
、ページインするページをレベル1としてページテーブ
ルに記憶し、さらに実メモリにそのページを格納してい
た。そしてその新しく格納したページは処理後特定時間
使用されなかった時にはページテーブルに記憶されてい
るレベルを0レベルとしていた。
Conventionally, two methods were used to manage old pages in the LRU section mentioned above.
value (1 bit) was used. In other words, for example, if the binary values corresponding to the access frequency are level O and level 1, when the level is 0, the page existing in the real memory is an old page, and when the level is 1, it is likely that it will be used in the future. is stored in the page table as a high page (new page), and when it becomes necessary to page in another page, the level 0 page is paged out, and the page to be paged in is stored in the page table as level 1. , and then stored the page in real memory. When the newly stored page is not used for a specific period of time after processing, the level stored in the page table is set to 0 level.

前述した新ページをページインする時には、ページテー
ブルを参照し、1蓄光にOレベルを検出したページをペ
ージアウトして新しいページを格納していた。
When a new page is to be paged in as described above, the page table is referred to, and the page where the O level is detected in one phosphorescent period is paged out and the new page is stored.

前述した従来の方法では、0レベルの検出は単にページ
テーブルの順番であり、さらに特定時間アクセスされず
に0レベルとなったページと特定時間よりはるかに長い
間アクセスされなかった0レベルのページとの判別は行
っていないので、場合によっては長い間アクセスされず
に実メモリに残っているページをそのままにして、0レ
ベルとなったばかりのページをページアウトしてしまう
ことがあった。0レベルとなったばかりのページは再度
アクセスされる可能性を有しており、それを再度ページ
インしなければならない場合があった。当然ながら、ペ
ージイン、ページアウトには実メモリから補助記憶装置
に格納する時間、さらには補助記憶装置から実メモリに
格納する時間が必要であり、前述したような場合には多
くの無駄な時間をついやしていた。
In the conventional method described above, the detection of the 0 level is simply the order of the page table, and furthermore, the detection of the 0 level is simply the order of the page table, and the pages that have become 0 level without being accessed for a specific time and the 0 level pages that have not been accessed for a much longer time than the specific time. In some cases, pages that have not been accessed for a long time and remain in real memory may be left as they are, and pages that have just reached level 0 may be paged out. A page that has just reached level 0 has the possibility of being accessed again, and there are cases where it is necessary to page in again. Naturally, page-in and page-out require time to store from real memory to auxiliary storage, and further time to store from auxiliary storage to real memory, which results in a lot of wasted time in the above-mentioned cases. He was taking care of himself.

〔発明の目的〕 本発明は前記問題点を解決するものであり、その目的と
するところは無駄なページアウト、ページインの動作を
少なくシ、コンピュータシステムの実行処理時間を早く
したVS(バーチャルストレージ)システムのメモリマ
ネージメントユニット(MMU)のLRU機構を提供す
ることにある。
[Objective of the Invention] The present invention is intended to solve the above-mentioned problems, and its purpose is to reduce unnecessary page-out and page-in operations, and to speed up the execution processing time of the computer system by using VS (virtual storage). ) To provide an LRU mechanism for the memory management unit (MMU) of the system.

〔発明の構成〕[Structure of the invention]

本発明の特徴とするところは、仮想記憶をページ単位で
管理するメモリマネージメントユニットにおいて、実メ
モリに格納されている複数のページのレベルを記憶する
ページテーブルと、前記テーブルを特定時間単位で管理
してレベルを低下させるLRU手段を有し、前記レベル
は3値以上であることにある。
The present invention is characterized by a memory management unit that manages virtual memory on a page-by-page basis, and a page table that stores the levels of multiple pages stored in real memory, and a memory management unit that manages virtual memory on a page-by-page basis. and LRU means for lowering the level, and the level is three or more values.

(作  用〕 ■SシステムのMMU処理において古いページ。(For production) ■An old page in MMU processing of the S system.

新しいページの管理を行うレベルを複数設け、特定時間
経過後にそのレベルをルベル低下させ。
There are multiple levels for managing new pages, and the levels are lowered after a certain amount of time has passed.

特定時間以内にそのページがアクセスされた時にはルベ
ル上げるレベル管理を行い、実メモリ内に存在しないペ
ージをアクセスする時には実メモリに格納されているペ
ージの最も低いレベルのページをページアウトし、新し
いページを実メモリに格納する。
When that page is accessed within a certain time, the level is increased, and when a page that does not exist in real memory is accessed, the lowest level page stored in real memory is paged out and a new page is created. is stored in real memory.

〔発明の実施例〕[Embodiments of the invention]

以下1図面を用いて本発明の詳細な説明する。 The present invention will be described in detail below using one drawing.

第1図は本発明の実施例のMMUの構成図である。アド
レスバッファ1は図示しないCPUからの論理アドレス
を記憶し、MMUを構成する各回路にコンティニュテキ
スト、セグメントナンバー。
FIG. 1 is a configuration diagram of an MMU according to an embodiment of the present invention. The address buffer 1 stores a logical address from a CPU (not shown), and sends a continue text and a segment number to each circuit making up the MMU.

ページナンバーおよびオフセントの各特定のフィールド
単位で加わる。すなわち、論理アドレス信号はコンティ
ニラテキストが4ビツト、セグメントナンバーが9ビツ
ト、ページナンバーが4ピント、アドレスオフセットが
10ビツトの合計刀ヒントよりなる。コンティニ・ウテ
キストはコンピュータシステムの現在使用中のユーザに
対応して番号付けされたナンバーであり1本発明の実施
例においては″′ティ“ウテキ局がハ・トであるの  
   1で最大16ユーザが同時使用可能である。
Each specific field of page number and offset is added. That is, the logical address signal consists of a total of 4 bits for the continuous text, 9 bits for the segment number, 4 bits for the page number, and 10 bits for the address offset. The continuous text is a number assigned to correspond to the user currently using the computer system.
1 can be used by up to 16 users at the same time.

セグメントナンバーは前述したように例えばユーザ単位
で割り当てられる複数のページの集合である1セグメン
トのナンバーを指示するアドレスである。
As described above, the segment number is an address that indicates the number of one segment, which is a set of a plurality of pages allocated to each user, for example.

コンティニラテキストの4ビツトとセグメントナンバー
の9ビツトの合計13ビツトはアドレスバッファ1より
出力されてセグメントテーブル2のアドレスに加わり、
特定のセグメントテーブル2を指定する。セグメントテ
ーブル2は8にバイトより成るテーブルであり、特定ユ
ーザのセグメントナンバーに対応したページテーブルア
ドレスを記憶しており、指定されたアドレスすなわちコ
ンティニラテキストとセグメントナンバーに対応したペ
ージテーブルアドレスをページテーブル3に与える。前
述した対応とはコンティニラテキストとセグメントナン
バーによって指定されたページ管理データがページテー
ブル3のどの位置に記憶されているかを指示することを
意味する。一方。
A total of 13 bits, 4 bits of continuous text and 9 bits of segment number, are output from address buffer 1 and added to the address of segment table 2.
Specify a specific segment table 2. Segment table 2 is a table consisting of 8 bytes, and stores the page table address corresponding to the segment number of a specific user. Give to 3. The above-mentioned correspondence means to indicate in which position in the page table 3 the page management data specified by the continuous text and the segment number is stored. on the other hand.

本発明の実施例においては1セグメント当り 512ペ
ージが割り当てられており、これらのセグメント内のペ
ージを指定するページナンバーもアドレスバッファより
出力されページテーブルに加わる。
In the embodiment of the present invention, 512 pages are allocated to each segment, and page numbers specifying pages within these segments are also output from the address buffer and added to the page table.

よってページテーブル3にはセグメントテーブル2の内
Sの8ビツトとアドレスバッファ1のページナンバーの
4ビツトとの合計12ビツトがアドレスとして加わり、
アドレスバッファ1内の論理アドレス信号に対応したペ
ージ管理データがページテーブル3より出力される。
Therefore, a total of 12 bits, 8 bits of S in segment table 2 and 4 bits of the page number of address buffer 1, are added to page table 3 as an address.
Page management data corresponding to the logical address signal in address buffer 1 is output from page table 3.

第2図はページテーブル3より出力されるページ管理デ
ータのデータ構成を表すデータ構成図である。vSシス
テムにおいては多数のユーザが。
FIG. 2 is a data configuration diagram showing the data configuration of page management data output from the page table 3. In the vS system, there are many users.

共通して領域を使用したり、多数のユーザより特定のユ
ーザ領域がアクセスされたり等その使用方法は多種にわ
たる。これを管理するのがページ管理データである。 
゛ ビット(b23〜b19)はページ情報である。
There are various ways of using the area, such as using the area in common or accessing a specific user area by many users. Page management data manages this.
The bits (b23 to b19) are page information.

固定ビット(Fix)b23はこのビットが1の時に以
下で述べるアクセス頻度レベルに対応するリファレンス
ビット(REFERENCE A、  B)  b 2
0 。
Fixed bit (Fix) b23 is a reference bit (REFERENCE A, B) that corresponds to the access frequency level described below when this bit is 1.
0.

21を固定とし、その使用状態によって変えないように
するためのビットである。変更ビットb22はリファレ
ンスビット(RHFERENCIE A、  B)ペー
ジバリンドピット(PAGIl+ VALID) b 
19等を変更可能であることを表すビットである。リフ
ァレンスビソト(RHFERENCE A、  B)は
現在テーブルに対応するページの使用頻度状態を表す2
ビツトである。ページバリッド(PAGE! VALI
D)は現在ページテーブルで指定されるメモリのページ
が有効であることを表すビットである。
21 is fixed and does not change depending on the state of use. Change bit b22 is reference bit (RHFERENCIE A, B) page valid pit (PAGIl+VALID) b
This bit indicates that 19 etc. can be changed. Reference bits (RHFERENCE A, B) represent the usage frequency status of the page currently corresponding to the table2.
It's bit. Page Valid (PAGE! VALI
D) is a bit indicating that the memory page currently specified in the page table is valid.

ビット18からビット13のプロテクションデータはユ
ーザあるいはスーパーバイザがリード。
Protection data from bits 18 to 13 are read by the user or supervisor.

ライトさらには実行の可能を表す6ビノトより構成され
る。ユーザリード(USERREAD ) b 13は
ユーザがその領域をリード可能であるか否かを表すビッ
トであり、ユーザライト (USERWRITE)  
b14はユーザからの領域をライト可能であるか否かを
表すビットであり、ユーザエクスキュージョン(USB
REXECUTION) b 15はその領域が実行可
能であるかを表すビ・ノドである。スーパーバイザーリ
ード(SUPERVISORREAD )b 16はそ
の領域がスーパーバイザ例えばシステムプログラムに対
して、リード可能であるか否かを示し、スーパーバイザ
ーライト(SUPERVISORWRITE)  b 
17は。
It is composed of 6 bits representing the possibility of writing and execution. User read (USERREAD) b 13 is a bit indicating whether the user can read the area, and user write (USERWRITE)
b14 is a bit that indicates whether or not the area can be written by the user.
REXECUTION) b 15 is a bit indicating whether the area is executable. Supervisor read (SUPERVISORREAD) b 16 indicates whether the area is readable by a supervisor, for example, a system program, and Supervisor write (SUPERVISORWRITE) b
17 is.

ライト可能であるかを示し、さらにスーパーバイザエク
スキュ’i :l 7 (S[IPERVISOREX
ECUTION>b18は実働可能であるかを表すビッ
トである。
Indicates whether it is writable, and also indicates whether the supervisor executor is writeable.
ECUTION>b18 is a bit indicating whether actual operation is possible.

ビットbo−b12はメモリの物理アドレス(PHYS
ICAL ADR)を表すビットであり、ページが存在
する実メモリの上位アドレスを表しており。
Bits bo-b12 are the physical address of the memory (PHYS
ICAL ADR), and represents the upper address of the real memory where the page exists.

アドレスバッファ1の10ビツトよりなるオフセットが
下位アドレスとして付加され23ビツトシステムアドレ
ス(SYSTEM AB )すなわち実メモリの物理ア
ドレスとして実メモリに加わる。
The 10-bit offset of address buffer 1 is added as a lower address and added to the real memory as a 23-bit system address (SYSTEM AB), that is, the physical address of the real memory.

ページバリッドピット(b23)と6ビノトの前述した
プロテクションデータ(b18〜b13)はページヒン
トチェッカ10に加わる。ページヒツトチェッカ10は
これらの加わるビットを判別し1例えばユーザリードの
み可能となっていたページの時にプロテクションデータ
を参照してメモ      1りへのアクセスがエラー
(B[IS ERROR)であることをCPUに出力す
る。さらに、ページバリッドデータをも参照してCPU
に出力する。例えば。
The page valid pit (b23) and the above-mentioned protection data (b18 to b13) of 6 bits are added to the page hint checker 10. The page hit checker 10 determines these added bits and, for example, when the page is readable only by the user, it refers to the protection data and informs the CPU that the access to the memo 1 is an error (B[IS ERROR). Output to. Furthermore, it also refers to the page valid data and
Output to. for example.

そのページが有効でない時にも同様にエラーとして出力
する。
It also outputs an error when the page is not valid.

前述アドレスバッファ1.セグメントテーブル2、ペー
ジテーブル3並びにページビットチェッカ10によって
vSにおける仮想アドレスが実メモリアドレスに変換さ
れ結果的に実メモリのマネージメントが行われる。すな
わち、これらの回路によって図示しないCPUより与え
られる論理アドレスがアドレスバッファに加わり、セグ
メントテーブルとページテーブルを介して実メモリに接
続されているシステムアドレスバスにその物理アドレス
値が加わり実メモリのアドレスがアクセスできる。当然
ながら、これらのアクセスに対してアクセスできない状
態のときにはバスエラーとしてCPUに通知される。
The aforementioned address buffer 1. A virtual address in the vS is converted into a real memory address by the segment table 2, page table 3, and page bit checker 10, and as a result, real memory management is performed. That is, these circuits add the logical address given by the CPU (not shown) to the address buffer, and the physical address value is added to the system address bus connected to the real memory via the segment table and page table, and the address of the real memory is changed. Can be accessed. Naturally, when these accesses are inaccessible, the CPU is notified as a bus error.

以上の動作がMMU部のメモリアクセス動作である。一
方MMU部は単に実メモリのアクセスを管理するだけで
はなく、ページイン、ページアウト等の管理をしなくて
はならない。これを行うのが第1図、LRU回路11で
あり、ページイン。
The above operation is the memory access operation of the MMU section. On the other hand, the MMU section not only manages access to real memory, but also has to manage page-in, page-out, and the like. This is done by the LRU circuit 11 in FIG. 1, which performs page-in.

ページアウトの時のサーチリクエスト(SERCHRQ
)に対する実メモリのページを決定するサーチ動作。
Search request (SERCHRQ) when page out
) search operation that determines the page of real memory for

タイマーによるリファレンスレベルのディクリメント(
低下)並びにCPUからのメモリアクセスによるリファ
レンスレベルのインクリメント(上昇)を行う。
Decrement of reference level by timer (
(lowering) and incrementing (raising) the reference level by memory access from the CPU.

先ずサーチリクエスト(SERCI RQ)について説
明する。サーチリクエストはページイン要求が発生した
時にCPUより I10コマンドとして加わる信号であ
り、LRU部ではページインすべき実アドレスのページ
を検出する動作を行う。
First, the search request (SERCI RQ) will be explained. The search request is a signal added by the CPU as an I10 command when a page-in request occurs, and the LRU unit performs an operation to detect the page of the real address to be page-in.

サーチリクエスト(SERCHRQ)が発生するとハイ
レベル1がサーチコントローラ12に加わる。
When a search request (SERCHRQ) occurs, a high level 1 is applied to the search controller 12.

サーチコントローラ12はこの信号によってLRUアド
レスカウンタ13のパラレルデータ入力DIを全てハイ
レベル1とするとともに○Rゲート14を介してロード
端子をハイレベル1にする。
The search controller 12 uses this signal to set all the parallel data inputs DI of the LRU address counter 13 to high level 1, and also sets the load terminal to high level 1 via the ○R gate 14.

LRUアドレスカウンタ13はロード可能な12ビツト
のアップダウンカウンタであり、サーチコントローラの
=方の出力120がハイレベル1となることによってカ
ウンタの全てのビットが1となる。サーチコントローラ
の他方の出力121はサーチリクエスト(SERCI 
RQ)がハイレベル1となることによって一方の出力と
は逆にローレベルOとなり、カウンタのU/75端子が
ローレベルOとなるのでLRUアドレスカウンタ13は
ダウンカウントを開始する。(このダウンカウントのク
ロックはタイミングジェネレーク15より加わる信号で
ある)。そしてLRUアドレスカウンタ13がダウンカ
ウントするたびにそのカウント値をアドレス線130を
介してページテーブル3に出力し、上位から順にテーブ
ルをアクセスする。
The LRU address counter 13 is a loadable 12-bit up/down counter, and when the = side output 120 of the search controller becomes high level 1, all bits of the counter become 1. The other output 121 of the search controller is a search request (SERCI).
When RQ) becomes high level 1, it becomes low level O, contrary to one output, and the U/75 terminal of the counter becomes low level O, so that the LRU address counter 13 starts counting down. (This down-count clock is a signal added from the timing generator 15). Each time the LRU address counter 13 counts down, the count value is output to the page table 3 via the address line 130, and the table is accessed in order from the top.

そして2 この時すなわちサーチリクエストの状態にお
いてはページイン情報の内の2ビツト(REFE−R[
ENCE A、 B) b 21. 20がLRUデー
タバスLRUDBを介してリファレンスコンパレータ6
に加わる。リファレンスコンパレータ6は3値を有する
リファレンス値の最小値OOすなわちページテーブル3
内のページの中に有するリファレンス値の最小値を検出
する回路である。カウント値が順次ディクリメントされ
るたびにページテーブルの各ページのリファレンスピッ
) (REFERENCEA、B)がリファレンスコン
パレータ6に加わる。
2 At this time, in the search request state, 2 bits (REFE-R[
ENCE A, B) b 21. 20 is connected to the reference comparator 6 via the LRU data bus LRUDB.
join. The reference comparator 6 is the minimum value OO of the reference value having three values, that is, the page table 3.
This circuit detects the minimum value of the reference values in the page. Each time the count value is sequentially decremented, the reference pick (REFERENCEA, B) of each page of the page table is added to the reference comparator 6.

その入力データは第3図に示すように比較回路6−1.
リファレンスデータラッチ6−3とノアゲート6−2に
加わる。比較回路6−1は入力リファレンスと現在リフ
ァレンスデータラッチ6−3に記憶している値と比較す
る。なお、サーチリクエストの実行開始の時には図示し
ない回路によってリファレンスデークラッチ6−3には
レベル2が格納されている。この比較において入力A=
(Ao、A+)が入力B= (Bo、B+)より小(A
<B)すなわちリファレンスデークラッチ6−3に記憶
さているデータより入力したリファレンスデータが小の
時には出力6−11よりハイレベル1が出力される。そ
してその出力はリファレンスデークラッチ6−3のラッ
チ入力に加わって      lいるので、入力してい
るリファレンスデータをリファレンスデークラッチ6−
3に取り込む。
The input data is input to the comparator circuit 6-1 as shown in FIG.
It is added to the reference data latch 6-3 and the NOR gate 6-2. Comparison circuit 6-1 compares the input reference with the value currently stored in reference data latch 6-3. Incidentally, at the time of starting execution of the search request, level 2 is stored in the reference date clutch 6-3 by a circuit not shown. In this comparison, input A=
(Ao, A+) is smaller than input B = (Bo, B+) (A
<B) That is, when the input reference data is smaller than the data stored in the reference data clutch 6-3, a high level 1 is output from the output 6-11. Since the output is added to the latch input of the reference day clutch 6-3, the input reference data is input to the reference day clutch 6-3.
Incorporate into 3.

一方、さらにその比較回路6−1の出力は第1図のペー
ジアドレスラッチ18にも加わり、  LRUアドレス
カウンタ13の出力Doのカウンタ値を取り込む。すな
わち、ページテーブル3の各ページの中で順次出力した
ページのリファレンスデータのうちの現在までのサーチ
での最小値を有するページに対するアドレス値を取り込
む。リファレンスデータが最小値OOの時には比較回路
6−11より1が出力されページアドレスランチ18に
対応するページのアドレス値がランチされるとともにノ
アゲート6−2より1が出力されオアゲート16を介し
てサーチコントローラ12に加わり、それをリセットす
るとともにCPUにサーチエンド(SERCII OR
TIMEREND)であることを出力する。最終的にリ
ファレンスデータがOOでない時にはページテーブル3
内のリファレンスデータの最小値を有するアドレスがペ
ージアドレスランチ18に取り込まれ、さらにLRUア
ドレスカウンタ13がローレベル0となった後にキャリ
Cがオアゲート16を介してサーチコントローラ12を
リセットするとともにサーチエンド(SERCII O
RTIMEREND)であることを出力する。屋上の動
作によッテリファレンスピント(RUFERENCE 
A、  B)の値が最小であるページテーブルアドレス
が検出される。そして先ずCPUはそのページテーブル
アドレスを読出すため、CPUREAD信号180をペ
ージアドレスラッチ18にランチしCPUデータバス(
CPU DB)  181 Aを介してページアドレス
ランチ18の内容を読取る。次に図示しない回路によっ
て同一ページ内のデータを補助記憶装置にページウアウ
トしさらに同一ページにページインすべきデータを格納
する。そして、さらにページテーブル3にページインし
たページのページ管理データをCPUデータバス(CP
U DB)  181Bを介して格納する。
On the other hand, the output of the comparison circuit 6-1 is also applied to the page address latch 18 in FIG. 1, and takes in the counter value of the output Do of the LRU address counter 13. That is, among the pages of the page table 3, the address value for the page having the minimum value in the search up to now among the reference data of the sequentially output pages is fetched. When the reference data is the minimum value OO, the comparison circuit 6-11 outputs 1, and the address value of the page corresponding to the page address launch 18 is launched, and the NOR gate 6-2 outputs 1, which is sent to the search controller via the OR gate 16. 12, resets it and sends the search end (SERCII OR
TIMEREND). Finally, if the reference data is not OO, page table 3
The address having the minimum value of the reference data within is taken into the page address launch 18, and furthermore, after the LRU address counter 13 becomes low level 0, the carry C resets the search controller 12 via the OR gate 16, and the search end ( SERC II O
RTIMEREND). Reference focus (RUFERENCE) by rooftop movement
The page table address with the smallest value of A, B) is detected. First, in order to read the page table address, the CPU launches the CPUREAD signal 180 into the page address latch 18, and the CPU data bus (
CPU DB) 181A reads the contents of the page address launch 18. Next, data in the same page is paged out to the auxiliary storage device by a circuit not shown, and data to be paged in is stored in the same page. Then, the page management data of the page paged into page table 3 is transferred to the CPU data bus (CP
UDB) 181B.

第4図は第1図に示したLRU回路11におけるリード
/ライトコントロール回路9.サーチコントローラ12
.タイマーコントローラ17を詳細に表した回路構成図
である。以下ではノーマルプロセスとタイマープロセス
について第1図、第4図を用いて説明する。タイマプロ
セスとは特定時間経過した場合、現在実メモリ上に存在
する各ページのリファレンス値すなわちレベル値をそれ
ぞれのページに対して強制的にルベル低下させるもので
ある。タイマープロセスがスタートすると、タイミング
ジェネレータ15よりタイミングコントローラ17中の
アンドゲート171の人力150に1が加わる。この信
号はタイマプロセスを実行開始したことを意味する信号
である。サーチコントローラ12のフリップフロップ1
2−1のクロック端子CLにサーチリクエストが入力し
ていない時には反転出力ζは1であり、この出力がタイ
マーコントローラ17のアンドゲート17−1に加わっ
ているので2アンドゲート17−1の出力はハイレベル
1であるので前述したようにタイミングジェネレータ1
5よりワンショ・7ト回路12−2を介して出力された
パルス信号がオアゲート14を介してLRUアドレスカ
ウンタ13のロード端子に加わる。しかし今の場合サー
チリクエストが入力していないのでフリップフロップ1
2−1のクロ7り端子CLはローレベルOであってリセ
ットの状態であるので非反転出力QはローレベルOであ
り、さらにその出力QがLRUアドレスカウンタ13の
データ入力D【に加わっているのでLRUアドレスカウ
ンタ13にはローレベル0  (12bit全て)がロ
ードされる。一方。
FIG. 4 shows the read/write control circuit 9 in the LRU circuit 11 shown in FIG. Search controller 12
.. FIG. 2 is a circuit configuration diagram showing the timer controller 17 in detail. The normal process and timer process will be explained below using FIGS. 1 and 4. The timer process forcibly lowers the reference value, that is, the level value, of each page currently existing on the real memory when a specific period of time has elapsed. When the timer process starts, the timing generator 15 adds 1 to the human power 150 of the AND gate 171 in the timing controller 17 . This signal indicates that the timer process has started executing. Flip-flop 1 of search controller 12
When no search request is input to the clock terminal CL of 2-1, the inverted output ζ is 1, and this output is applied to the AND gate 17-1 of the timer controller 17, so the output of the 2-AND gate 17-1 is Since it is high level 1, the timing generator 1
A pulse signal outputted from 5 through the one-shot/7-shot circuit 12-2 is applied to the load terminal of the LRU address counter 13 via the OR gate 14. However, in this case, there is no search request input, so flip-flop 1
Since the black terminal CL of 2-1 is at low level O and in a reset state, the non-inverted output Q is at low level O, and furthermore, the output Q is added to the data input D of the LRU address counter 13. Therefore, low level 0 (all 12 bits) is loaded into the LRU address counter 13. on the other hand.

フリップフロップ12−1の反転出力ζは前述したよう
にこの時ハイレベル1であるのでU/D =1となって
アンプカウント指定されるので、タイミングジェネレー
タ15より順次加わるクロック151によって順次出力
Doは+1ずつ増加する。
As mentioned above, the inverted output ζ of the flip-flop 12-1 is at high level 1 at this time, so U/D = 1 and the amplifier count is specified. Increase by +1.

LRUアドレスカウンタ13の出力Doはこの時ページ
テーブル3をアクセスし、ページテーブル3はリファレ
ンスデータ(REFERENCIE A、  B) 。
At this time, the output Do of the LRU address counter 13 accesses the page table 3, and the page table 3 contains reference data (REFERENCIIE A, B).

変更ビ・ノドと固定ビットをLRUデータバス(LRU
 DB)に出力する。アンドゲート17−1は前述した
ように1を出力しているので、リードライトコントロー
ル回路9のD入力がハイレベル11となっているフリッ
プフロップはセント状態なので反転出力向がローレベル
O9非反転出力Qがハイレベル1となり、第1図のノー
マルプロセスリードモディファイライト回路4を非動作
、タイマープロセスリードモディファイライト回路5を
動作とする。
The changed bits and fixed bits are connected to the LRU data bus (LRU
DB). Since the AND gate 17-1 outputs 1 as described above, the flip-flop whose D input of the read/write control circuit 9 is at high level 11 is in the cent state, so the inverted output direction is low level O9 non-inverted output Q goes to high level 1, causing the normal process read modify write circuit 4 of FIG. 1 to be inactive and the timer process read modify write circuit 5 to be operational.

タイマープロセスリードモディファイライト回路5は動
作時には変更ビットが1であるときにLRUデータバス
(LRU DB)より入力するリファレンス値すなわち
レベル値を1低下させて(レベルがOの時は°0として
)バッファ回路8を介してLRUデータバス(LRU 
DB)に出力する。この出力データは図示しない回路の
制御でページテーブル3のリファレンス値を入力したデ
ータに書換える。
During operation, the timer process read modify write circuit 5 lowers the reference value, that is, the level value input from the LRU data bus (LRU DB) by 1 when the change bit is 1 (when the level is O, it is set to 0) and buffers it. The LRU data bus (LRU
DB). This output data is rewritten to the data inputted from the reference value of the page table 3 under the control of a circuit not shown.

LRUアドレスカウンタ13は順次インクリメントされ
るのでこの動作もLRUアドレスカウンタ13よりキャ
リーCがリードライトコントロール回路のリセットに加
わるまで同時に順次なされ。
Since the LRU address counter 13 is sequentially incremented, this operation is also performed simultaneously and sequentially until the carry C from the LRU address counter 13 is added to the reset of the read/write control circuit.

その結果ページテーブル3の全てのページのリファレン
ス値はルベル低下した値となる。なお。
As a result, the reference values of all pages in the page table 3 become values with lower levels. In addition.

タイマプロセスの処理の終了はLRUアドレスカウンタ
13のキャリーCが出力されオア回路16を介してCP
UIに加わることによってCPUに伝えられる。この動
作によって特定時間経過したページは全てレベルが低下
する。
At the end of the timer process, the carry C of the LRU address counter 13 is output and sent to the CP via the OR circuit 16.
It is communicated to the CPU by joining the UI. As a result of this operation, the level of all pages that have passed a certain period of time is lowered.

タイマプロセスは特定時間で各ページのレベルを低下さ
せるものであるがその反対にレベルを上げるのが、ノー
マルプロセスである。ノーマルプロセスはページが使用
された時にルベル上げる動作であり、この2つのプロセ
スによって使用頻度が低いか高いかの情報がレベル値と
して表される。タイマプロセスの終了後は、リードライ
トコントロール回路9はリセットされた状態に通常なっ
ており、第4図における回路9の非反転出力QがO1反
転出力互が1であるので、第1図のノーマルプロセスリ
ードモディファイライト回路4に1が加わり動作状態と
なっている。一方、タイマプロセスリードモディファイ
ライト回路5にはOが加わり、非動作状態となっている
。この時アドレスバスよりアドレスバッファ1にアドレ
ス値が格納されセグメントテーブル2並びにページテー
ブル3等を介して実メモリのページがアクセスされると
ノーマルプロセスリードモディファイライト回路4がL
RUデータバス(LRU DB)に出力される変更ビッ
トの1を検出して入力してくるりフアレンスピット (
1?EFERENCE A、  B)の値を」−1する
。なお、変更ビットが0の時あるいはレベル値が2の時
には変更しない。これによってページのレベルは+1さ
れたことになる。
The timer process lowers the level of each page at a specific time, whereas the normal process raises the level. The normal process raises the level when a page is used, and these two processes express information as to whether the usage frequency is low or high as a level value. After the timer process ends, the read/write control circuit 9 is normally in a reset state, and since the non-inverted output Q of the circuit 9 in FIG. 1 is added to the process read modify write circuit 4 and it is in an operating state. On the other hand, O is added to the timer process read modify write circuit 5 and it is in a non-operating state. At this time, when an address value is stored in the address buffer 1 from the address bus and a page of the real memory is accessed via the segment table 2, page table 3, etc., the normal process read modify write circuit 4 goes low.
Detects and inputs the changed bit 1 output to the RU data bus (LRU DB)
1? Decrease the value of EFERENCE A, B) by 1. Note that when the change bit is 0 or the level value is 2, no change is made. This means that the level of the page has been increased by +1.

以上の動作によってページのレベルは時間とともに低下
するが、使用されるすわぢページがアクセスされるたび
に上昇し、結果的にはこのレベルの値は使用頻度を表す
ことになる。なお、第4図において、フリップフロップ
12−1の出力Qに入力123が接続され、出力がオア
ゲート14に接続されているワンショントマルチハイブ
レータ12−2はフリップフロップ12−1の出力Qが
ローレベルOからハイレベル1に変化した時にのみLR
Uアドレスカウンタ13にデータをロードするためのク
ロックを発生する回路である。
As a result of the above operations, the level of a page decreases over time, but increases each time a used page is accessed, and as a result, this level value represents the frequency of use. In FIG. 4, the one-shot multi-hibrator 12-2 whose input 123 is connected to the output Q of the flip-flop 12-1 and whose output is connected to the OR gate 14 has an output Q of the flip-flop 12-1. LR only when changing from low level O to high level 1
This circuit generates a clock for loading data into the U address counter 13.

前述したリファレンスデータビット(REFERENC
EA、B)は2ビツトで3値を表すビットであるが。
The reference data bit (REFERENC) mentioned above
EA, B) are two bits that represent three values.

その表す意味は対応するページがCPUによって使用さ
れる率が高いか低いかである。
Its meaning is whether the corresponding page is used at a high or low rate by the CPU.

第1表はその使用状況とレベル値を表す。Table 1 shows its usage status and level value.

第1表 リファレンスビットはレベルO〜レベル2の3値を有し
、レベルOは特定時間(タイミングジェネレータ15よ
りタイマコントローラ17を介して実行するタイマプロ
セスのインターバル時間)内lにおいて前回のインター
バル並びに今回のインク−パル(後述する今回のタイマ
プロセス中におい″てはプロセス実行中以前)にそのペ
ージがアクセスされていない場合、あるいは前回におい
て1回アクセスされ今回のこのページにおけるタイマプ
ロセス実行がなされた場合を示し、そのページは使用頻
度は非常に少ないページである。レベル1は前回のイン
ターバルは使用されたが今回のこのページのタイマプロ
セス実行以前には使用されなかった場合あるいは前回レ
ベルOであったが今回のインターバル中に1回実行され
た場合を示し。
The reference bits in Table 1 have three values from level O to level 2, and level O is the previous interval and current time within a specific time (interval time of the timer process executed by the timing generator 15 via the timer controller 17). If the page has not been accessed in the ink-pulse (before the process is being executed during the current timer process described later), or if it has been accessed once in the previous time and the timer process is executed on this page this time. , and the page is a page that is used very infrequently. Level 1 indicates that it was used in the previous interval but was not used before the current timer process execution for this page, or it was level O last time. Indicates the case where is executed once during this interval.

そのページは使用頻度は平均的であるページである。レ
ベル2は前回並びに今回のインターバル中で使用された
あるいは今回のインターバル中で複数回使用された場合
であり、このページは使用頻度が非常に高いページであ
る。
The page is a page that is used with average frequency. Level 2 is a page that has been used during the previous and current intervals, or has been used multiple times during the current interval, and is a page that is used very frequently.

これらのレベルは前述したようにタイマプロセス実行以
前あるいは実行後ではそのレベルは異なる。たとえば非
常に使用頻度の高いページであってもタイマプロセス実
行直後においてはレベル1に低下し、平均的なレベルと
なる。また今まで使用されなくても逆にタイマプロセス
実行直後においてCPUがそのページをアクセスした場
合にはレベル1になり、これも同様に平均的なレベルと
なる。すなわち前述したレベル1は使用頻度の高いペー
ジも、さらには非常に使用頻度が低いページも含まれて
いる。すなわち、使用頻度の高い可能性を有するページ
並びに使用頻度の低い可能性を有するページをレベル1
とし、l?1実に使用頻度の高いページをレベル2また
確実に低いページをレベル0として切分けているので、
ページアウトすべきページを確実に検出することができ
る。
As described above, these levels differ before and after the timer process is executed. For example, even if a page is used very frequently, the level drops to level 1 immediately after the timer process is executed, and becomes an average level. Even if the page has never been used, if the CPU accesses the page immediately after executing the timer process, the page becomes level 1, which is also an average level. That is, the above-mentioned level 1 includes both frequently used pages and also pages that are used very infrequently. In other words, pages that are likely to be used frequently and pages that are likely to be used less frequently are classified as level 1.
Toshi, l? 1. Pages that are used with high frequency are classified as level 2, and pages that are definitely used with low frequency are classified as level 0.
A page to be paged out can be reliably detected.

以上述べたが9本発明の実施例においてタイマプロセス
、サーチリクエストによるサーチ等は全てCPUのクロ
ックとは別に動作するものとして説明しているがこれに
限らず例えばCPUがメモリをアクセスしていない時に
動作するようなサイクルスチール的な動作とすることも
可能である。
As described above, in the embodiments of the present invention, the timer process, search by search request, etc. are all explained as operating separately from the CPU clock, but this is not limited to this. For example, when the CPU is not accessing the memory, It is also possible to perform a cycle-stealing operation.

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

本発明の実施例においては、前述したサーチにおいてレ
ベルOのページを検出(レベルOがない時にはレベル1
を検出するがレベル0がないことは非常にまれである)
してそのページのページアウト、ページインを実行する
ので、不確定な(使用頻度が低いか高いか不明)ページ
を検出することなく、確実に使用頻度の低いページを検
出することができる。よって本発明によれば、不要なペ
ージアウト、ページインを実行することが防止でき、コ
ンピュータシステムの実行時間を短縮するLRU機構を
得ることが可能となる。
In the embodiment of the present invention, a level O page is detected in the above-mentioned search (if there is no level O page, a level 1 page is detected).
but it is very rare that there is no level 0)
Since the page is then paged out and paged in, it is possible to reliably detect a page that is used infrequently without detecting an uncertain page (it is unclear whether it is used infrequently or frequently). Therefore, according to the present invention, it is possible to prevent unnecessary page-out and page-in operations, and to obtain an LRU mechanism that shortens the execution time of a computer system.

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

第1図は本発明の実施例の回路構成図、第2図はページ
テーブルのビット構成を表すビット構成図、第3図はリ
ファレンス回路の詳細な回路図。 第4図はタイマーコントローラ、サーチコントローラの
詳細な回路図である。 1・・・アドレスバッファ、    2・・・セグメン
トテーブル、    3・・・ページテーブル、   
 4・・・ノーマルプロセスリードモディファイライト
回路、    5・・・タイマプロセスリードモディフ
ァイライト回路、    6・・・リファレンスコンパ
レータ、    7,8・・・バッファ回路、    
9・・・リードライトコントロール回路、    10
・・・ベージヒ・7トチエノカ回路、    11・・
・LRU回路。 12・・・サーチコントローラ、    13・・・L
RUアドレスカウンタ、     14.16・・・オ
アゲート、     15・・・タイミングジェネレー
タ、    17・・・タイマコントローラ、    
1日・・・ページアドレスランチ。 6−1・・・比較回路、    6−2・・・ノアゲー
ト、     6−3・・・リファレンスランチ。 12−1・・・フリップフロップ。 12−2・・・ワンショットマルチバイブレーク17−
1・・・アンドゲート 特許 出願人   カシオ計算機株式会社b乃□b+s
 baa −bu3b+2b。 REFA REFB NT
FIG. 1 is a circuit configuration diagram of an embodiment of the present invention, FIG. 2 is a bit configuration diagram showing the bit configuration of a page table, and FIG. 3 is a detailed circuit diagram of a reference circuit. FIG. 4 is a detailed circuit diagram of the timer controller and search controller. 1...Address buffer, 2...Segment table, 3...Page table,
4... Normal process read modify write circuit, 5... Timer process read modify write circuit, 6... Reference comparator, 7, 8... Buffer circuit,
9... Read/write control circuit, 10
...Besighi 7 Tochienoka circuit, 11...
・LRU circuit. 12...Search controller, 13...L
RU address counter, 14.16...OR gate, 15...timing generator, 17...timer controller,
1st...Page Address Lunch. 6-1... Comparison circuit, 6-2... Noah gate, 6-3... Reference launch. 12-1...Flip-flop. 12-2...One shot multi-bye break 17-
1...ANDGATE patent Applicant: Casio Computer Co., Ltd.bno□b+s
baa-bu3b+2b. REFA REFB NT

Claims (6)

【特許請求の範囲】[Claims] (1)仮想記憶をページ単位で管理するメモリマネージ
メントユニットにおいて、実メモリに格納されている複
数のページの使用頻度に対応するレベルを記憶するペー
ジテーブルと、前記テーブルを特定時間単位で管理して
レベルを変化させるLRU手段を有し、前記レベルは3
値以上であることを特徴としたLRU機構。
(1) In a memory management unit that manages virtual memory on a page-by-page basis, there is a page table that stores levels corresponding to the frequency of use of multiple pages stored in real memory, and a page table that manages the table on a specific time basis. has an LRU means for changing the level, and the level is 3.
LRU mechanism characterized by being greater than or equal to the value.
(2)前記レベルは3値であることを特徴とした特許請
求の範囲第1項記載のLRU機構。
(2) The LRU mechanism according to claim 1, wherein the level is ternary.
(3)前記LRU手段は前記ページテーブルの内容の中
で最も低いレベルを検出する手段を有することを特徴と
する特許請求の範囲第1項記載のLRU機構。
(3) The LRU mechanism according to claim 1, wherein the LRU means includes means for detecting the lowest level among the contents of the page table.
(4)前記LRU手段は特定時間経過後前記ページテー
ブルに記憶されているレベルを低下させることを特徴と
した特許請求の範囲第1項記載のLRU機構。
(4) The LRU mechanism according to claim 1, wherein the LRU means lowers the level stored in the page table after a specific period of time has elapsed.
(5)前記LRU手段はページインされたページに対応
するページテーブル内容のレベルを上昇させることを特
徴とした特許請求の範囲第1項記載のLRU機構。
(5) The LRU mechanism according to claim 1, wherein the LRU means raises the level of the page table contents corresponding to the page that has been paged in.
(6)前記LRU手段はタイマとカウンタを含むことを
特徴とした特許請求の範囲第1項記載のLRU機構。
(6) The LRU mechanism according to claim 1, wherein the LRU means includes a timer and a counter.
JP59253188A 1984-11-30 1984-11-30 Lru mechanism Pending JPS61131142A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59253188A JPS61131142A (en) 1984-11-30 1984-11-30 Lru mechanism

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59253188A JPS61131142A (en) 1984-11-30 1984-11-30 Lru mechanism

Publications (1)

Publication Number Publication Date
JPS61131142A true JPS61131142A (en) 1986-06-18

Family

ID=17247768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59253188A Pending JPS61131142A (en) 1984-11-30 1984-11-30 Lru mechanism

Country Status (1)

Country Link
JP (1) JPS61131142A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013132370A1 (en) * 2012-03-05 2013-09-12 International Business Machines Corporation Adaptive cache promotions in a two level caching system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013132370A1 (en) * 2012-03-05 2013-09-12 International Business Machines Corporation Adaptive cache promotions in a two level caching system
GB2514501A (en) * 2012-03-05 2014-11-26 Ibm Adaptive cache promotions in a two level caching System
US8930624B2 (en) 2012-03-05 2015-01-06 International Business Machines Corporation Adaptive cache promotions in a two level caching system
US8935479B2 (en) 2012-03-05 2015-01-13 International Business Machines Corporation Adaptive cache promotions in a two level caching system
GB2514501B (en) * 2012-03-05 2015-03-25 Ibm Adaptive cache promotions in a two level caching System

Similar Documents

Publication Publication Date Title
US6012106A (en) Prefetch management for DMA read transactions depending upon past history of actual transfer lengths
EP0077453B1 (en) Storage subsystems with arrangements for limiting data occupancy in caches thereof
EP0288649B1 (en) Memory control subsystem
EP0452990A2 (en) Cache system adopting an LRU system
US7647470B2 (en) Memory device and controlling method for elongating the life of nonvolatile memory
US7080220B2 (en) Page replacement with a re-reference indicator
US6748494B1 (en) Device for controlling access to units of a storage device
EP0114944B1 (en) Method and apparatus for controlling a single physical cache memory to provide multiple virtual caches
JPH0115903B2 (en)
JPS61131142A (en) Lru mechanism
US8812782B2 (en) Memory management system and memory management method
CA1116756A (en) Cache memory command circuit
JPS6154547A (en) Data processing system with 3-level hierarchical memory
JPS61131145A (en) Lru mechanism
JPS6336538B2 (en)
JPS61131143A (en) Lru mechanism
JPS61131144A (en) Lru mechanism
JPH05258585A (en) Filing device
JPH05225062A (en) Disk cache device
JPH0291744A (en) Cache memory system
JPH07152650A (en) Cache control unit
JPS625727Y2 (en)
JPH01205250A (en) Method for controlling cache memory
JPH0449442A (en) Memory block control unit
JPH06243045A (en) Cache memory