JPS5883377A - Buffer memory control system - Google Patents

Buffer memory control system

Info

Publication number
JPS5883377A
JPS5883377A JP56179373A JP17937381A JPS5883377A JP S5883377 A JPS5883377 A JP S5883377A JP 56179373 A JP56179373 A JP 56179373A JP 17937381 A JP17937381 A JP 17937381A JP S5883377 A JPS5883377 A JP S5883377A
Authority
JP
Japan
Prior art keywords
segment
storage area
buffer memory
segments
main storage
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
JP56179373A
Other languages
Japanese (ja)
Inventor
Yasuyuki Obara
小原 康幸
Masami Takada
正美 高田
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
Fuji Electric Manufacturing 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 Fuji Electric Co Ltd, Fuji Facom Corp, Fuji Electric Manufacturing Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP56179373A priority Critical patent/JPS5883377A/en
Publication of JPS5883377A publication Critical patent/JPS5883377A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PURPOSE:To increase the hit rate to a program and to optimize main storage area allocation dynamically by measuring the use frequency and hit rate of every segment, and altering the allocation of a main storage area according to the measured results. CONSTITUTION:An address register 1 is equipped with a block number specification part 11 stored with keys for retrieving whether a reference block resides in a buffer memory 6 or not, a set number specification part 12, and an in-block relative address specification part 13. Then, the storage area in a main storage device 7 is divided into segments, and the storage area in the main storage device 7 are allocated to the respective segments; and a CPU measures reference frequencies and hit rates corresponding to the segments, and the allocation of the storage area of the main storage 7 to the segments is altered dynamically according to the measured results, the kind of the program, or the both.

Description

【発明の詳細な説明】 この発明は、記憶領域を複数のセグメントに分割するこ
とによルヒット率の向上を図ったバッファメモリ制御方
式に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a buffer memory control method that improves the rehit rate by dividing a storage area into a plurality of segments.

計算機の処理速度の向上を′図る対策の一つとして、中
央処理装置の演算制御部と主記憶装置の中間に高速のバ
ッファメモリを設置する方式が慣用され元いる。演算装
置から参照されたデータが主記憶上のメモリに存在する
とき、該メモリを含んでいる主記憶装置上の所定サイズ
の記憶領域(ブロックへページ等)の内容がバッファメ
モリに転送、格納され、以後この内容がパシファメモリ
内に存在する限夛、高速のバッファメモリからデータの
参照が行なわれ、バッファメモリ上に空き領域がなくな
ると、主記憶装置からブロック等の入替えが行われる。
As one of the measures to improve the processing speed of a computer, it has become common practice to install a high-speed buffer memory between the arithmetic control section of the central processing unit and the main storage device. When data referenced by the arithmetic unit exists in the memory on the main memory, the contents of a storage area of a predetermined size (pages to blocks, etc.) on the main memory containing the memory are transferred and stored in the buffer memory. Thereafter, as long as this content exists in the Pacifier memory, data is referenced from the high-speed buffer memory, and when there is no free space on the buffer memory, blocks etc. are replaced from the main memory.

このブロック入替え管理をいがに行うかくよって、参照
されたページがバッファメモリ上に存在する確率(ヒツ
ト率)が決定されるが、従来、プログラムの性質等に応
じてLRU (L@ast Rec@ntly Use
d )方式やFIFO(First InFirst 
Out )方式などが用いられている。
The probability (hit rate) that a referenced page exists on the buffer memory is determined by managing this block replacement. Conventionally, LRU (L@ast Rec@ ntly Use
d) method and FIFO (First In First
Out ) method is used.

バッフアメそり方式状、実行しようとするプログラムが
使用(参照)する主記憶上の領域に局所性があ)、プロ
グラム上のある区間を実行する際には離散した多数O領
域をそれほど使用(参照)しないという前提に立ってい
る。しかしながら、ある種のプログラム例えば計算機制
御システムに組込まれるプログラム等については、次の
ような理由からこの局所性が保証されずヒツト率が低下
する。まず第1に、リアルタイム機能を実現するうえで
、実行しようとするプログラムから離れた領域に、置か
れている制御プログラムのサービスルーチンを呼出す頻
度が高いこと。第2に:、高い応答性を実現する上で、
プロセス入出力やマンマシン・インタフェースの基本処
理を行なうサブルーチン群の多くは、実行しているプロ
グラムから離れた領域に置かれる主記憶常駐ルーチンと
なってシシ、これらは高頻度で呼出されること。第3に
応答性を維持するために、データファイルの一部が主記
憶上に常駐しているが、このデータファイルはプログラ
ムから離れた領域に存在するだけでなく、一般には、一
つのプログラムから複数のデータファイルがランダムに
参照゛されることKある。
In the buffer system, the area on the main memory used (referenced) by the program to be executed has locality, and when executing a certain section of the program, a large number of discrete areas are used (referenced). It is based on the assumption that it will not. However, for some types of programs, such as programs incorporated into computer control systems, this locality is not guaranteed and the hit rate decreases for the following reasons. First, in realizing real-time functions, the service routine of a control program located in an area separate from the program to be executed is frequently called. Second: In achieving high responsiveness,
Many of the subroutines that perform basic process input/output and man-machine interface processing are main memory resident routines located in an area separate from the executing program, and are called frequently. Third, in order to maintain responsiveness, a portion of the data file resides in main memory, but this data file not only resides in an area separate from the program, but is generally There are times when multiple data files are randomly referenced.

このように局所性がそれほど保証されていない計算機制
御システムのプログラム等については、従来のパツ、フ
ァメモリ制御システムによるヒツト率の向上がそれほど
期待できない。
As described above, for programs of computer control systems where locality is not so guaranteed, the hit rate cannot be expected to be improved much by the conventional patch/file memory control system.

本発明は上述した従来の問題点Kllみてなされ九もの
であ夛、その目的祉局所性がそれほど保証されていない
プログラムについてもヒツト率を向上させることができ
るバッフアメそり制御方式を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned conventional problems, and an object of the present invention is to provide a buffer error control method that can improve the hit rate even for programs whose locality is not so guaranteed. .

上述した本発明の目的社、バッファメモリ上の記憶領域
を複数のセグメントに分割し、該セグメント対応に主記
憶装置上の記憶領域を割当て、該セグメント対応に参照
頻度又状ヒツト率を計測し、跋計測結果もしくはプログ
ラムの種類又はこれらO双方に応じて前記令セグメント
に対する主記憶上O記憶領域の割当てを動的に変更する
本発明の制御方式によって実現される。
The purpose of the present invention as described above is to divide a storage area on a buffer memory into a plurality of segments, allocate a storage area on a main storage device to each segment, measure the reference frequency or hit rate for each segment, This is realized by the control method of the present invention, which dynamically changes the allocation of the O storage area in the main memory to the above-mentioned instruction segment according to the performance measurement result, the type of program, or both.

以下本発明の詳細を実施例によって説明する。The details of the present invention will be explained below with reference to Examples.

本発明の一実施例を適用するバッファメモリシステム、
の構成の一例を第1WAK示す。同図の構成は、主記憶
装置とバッファメモリのマツピング方式としてセットア
ソシアティブ方式を採用する場合を例示している。1は
中央処理装置の演算制御WAKよって参照された主記憶
アドレスを保持するアドレスレジスタ、露はセグメント
番号変換部、3は比較器、4はバッファメモリ・インデ
ックスアレイ、5はカウンタ、6はバッファメモリ、7
は主記憶装置である。バッフアメモリ6辻等サイズの4
個のセグメント6−1〜6−4に分割されておシ、これ
に対応してインデックスアレイ4とカウンタ6も対応の
4個のセグメント4−1〜4−4 、5−1〜5−4に
分割されている。
A buffer memory system applying an embodiment of the present invention,
An example of the configuration of the first WAK is shown below. The configuration in the figure exemplifies a case where a set associative method is adopted as a mapping method between the main storage device and the buffer memory. 1 is an address register that holds the main memory address referenced by the arithmetic control WAK of the central processing unit, 2 is a segment number converter, 3 is a comparator, 4 is a buffer memory index array, 5 is a counter, and 6 is a buffer memory ,7
is the main memory. Buffer memory 6, etc. size 4
The index array 4 and counter 6 are divided into four segments 4-1 to 4-4, 5-1 to 5-4. It is divided into.

主記憶アドレス(論理アドレスでも物理アドレスでもよ
い。)を格納するアドレスレジスタ1社、例示している
セットアソシアティブ方式に対応して、参照ブロックが
バッファメモリ6上に存在するか否かを検索する大めの
キーとなるブロック番号を格納するブロック番号指定部
11、セット番号を格納するセット番号指定部ν及びブ
ロック内相対アドレスを格納するブロック内相対アドレ
ス指定部nから構成されている。ブロック番号指定部1
1の先頭から数ビット杜セグメント指定レジスタを指定
するためのものであ多、その内容に応じてセグメント番
号変換部2内のセグメント指定レジスタ21,22.2
3・・・・・・・・・11nC)いずれか1つが選択さ
れる。このセグメント指定レジスタ21〜2nは、本発
明方式に従って分割される主記憶装置フ上の領域対応に
設けられてお夛、各レジスタ21〜2nの内容状上記分
割領域に@当てられるバッファメモリ6、従2てそのイ
ンデックスアレイ4C)4個のセグメント番号のill
格納されている。各レジスタ21〜!鳳O内容は、矢印
茨で示すように、プログラムによって読み書き可能とな
っている。アドレスレジスタ1内のブロック番号指定部
Uの先頭におかれたレジスタ指定ビットによってセグメ
ント指定レジスタ21〜!nのうちいずれか1つが指定
されると、そのレジスタ内に格納されているセグメント
番号を有するインデックスアレイ4のセグメントの1つ
が指定される。このよ5Kして指定されたセグメントは
、同時にアドレスレジスタl内のセット番号指定TEA
Kよって指定されたセット(列)内にブロックグループ
(行)の数だけ存在するブロック番号格納部41のそれ
ぞれから、これら格納部対応に設けられている比較器3
にグセ4ツク番号を転送する。
One address register company stores a main memory address (which may be a logical address or a physical address), and one company uses a register company to search whether a reference block exists on the buffer memory 6, corresponding to the illustrated set associative method. The block number designating part 11 stores a block number serving as a second key, a set number designation part ν stores a set number, and an intra-block relative address designation part n stores an intra-block relative address. Block number specification section 1
This is used to specify the segment specification register for several bits from the beginning of 1, and the segment specification registers 21, 22.2 in the segment number converter 2 depending on the contents.
3...11nC) Any one is selected. The segment designation registers 21 to 2n are provided corresponding to the areas on the main memory that are divided according to the method of the present invention. Second, its index array 4C) ill of four segment numbers
Stored. Each register 21~! The contents of Otori O can be read and written by the program, as shown by the arrow thorns. Segment designation register 21~! according to the register designation bit placed at the beginning of block number designation section U in address register 1! When any one of n is specified, one of the segments of index array 4 whose segment number is stored in that register is specified. The segment designated as 5K in this way is simultaneously assigned the set number designated TEA in the address register l.
From each of the block number storage sections 41 that exist in the set (column) designated by K, the number of block groups (rows) is equal to the number of comparators 3 provided corresponding to these storage sections.
Transfer the fake 4-tsuku number to.

良だし第1図では図示の筒路上、illの比較器3だけ
を例示している。一方プロックグループ対応に設けられ
ている比較器3に唸、アドレスレジス月内のブロック番
号指定暑殊ら主記憶アドレス(のブロック番号が並列に
供給され、上記インデックスアレイ4の内容と比較され
、中央処理装置の演算制御部で参照されている主記憶ア
ドレスの内容がバッファメモリ6上に存在するか否かが
調べられる。
In FIG. 1, only the ill comparator 3 is illustrated on the illustrated tube. On the other hand, the comparator 3 provided corresponding to the block group is supplied with the block number specified in the address register month and the main memory address (block number) in parallel, and compared with the contents of the index array 4, It is checked whether the contents of the main memory address referenced by the arithmetic control unit of the processing device exist on the buffer memory 6 or not.

この結果一致するブロック番号格納部41の存在なって
おシ、8かつ各セグメント内の配列も同一となっている
丸め、インデックスアレイ4内のブロック番号格納部4
1 K対応するバッファメモリ6内の参照ブロック61
の位置が一義的に決定され、さらにアドレスレジスタ1
内のブロック内相対アドレス指定1fIS13の内容に
基づいて参照メモリ領域成に対するアクセスが可能とな
る。この場合、バッファメモリ6の各セグメント対応に
設けられているカウンタ5内のアクセス回数カウンタ脇
とヒララント加算される。
As a result, there is a matching block number storage section 41, and the block number storage section 4 in the rounding and index array 4 is 8 and the arrangement within each segment is the same.
1 K corresponding reference block 61 in buffer memory 6
The location of address register 1 is determined uniquely, and address register 1
Access to the reference memory area configuration becomes possible based on the contents of the intra-block relative addressing 1fIS13. In this case, the access number counter in the counter 5 provided for each segment of the buffer memory 6 is incremented.

比較器3による比較一致が存在しなければ、参照された
主記憶アドレスの内容がバッファメモリ6上に存在しな
いことが判明する。この場合、前述したLRU方式やF
IFO方式その他の適宜なブロック入替管理方式に従っ
て、バッファメモリ6上の同一セグメント、同一セット
のブロック・グループ中から入替えるべきブリックを決
定し、主記憶装置T中の参照されているブロック、例え
ばブロックnがバッファメモリ6に転送され、その主記
憶アドレスのブリック番号がインデックスアレイ4内に
書込まれる。これと相前後してこのセグメントに対応す
るカウンタ5のアクセス回数カウンタ&Oカウ>’)値
が1カウント加算されるが、ヒツト回数カウンタ郭Oカ
ウント値は現状の値にとどまるのでにツF率の低下が記
録される。カウンタ5内付された矢印51は、このカウ
ンタの内容がプログ2ムによ)読み書きできることを示
している。
If there is no comparison by the comparator 3, it is found that the contents of the referenced main memory address do not exist on the buffer memory 6. In this case, the above-mentioned LRU method or F
According to the IFO method or other appropriate block replacement management method, the brick to be replaced is determined from among the blocks/groups of the same segment and the same set on the buffer memory 6, and the referenced block in the main storage device T, e.g. n is transferred to the buffer memory 6, and the brick number of the main memory address is written into the index array 4. At the same time, the access count counter &O count >') value of counter 5 corresponding to this segment is added by 1 count, but since the hit count counter O count value remains at its current value, the TS F rate is The decline is recorded. An arrow 51 inside the counter 5 indicates that the contents of this counter can be read and written by the program 2.

第2図は第1図示のセグメント番号変換部2内のセグメ
ント指定レジスタ21 、22 、23・・・・・・2
nの内容とインデックスアレイ4の4個のセグメント4
−1゜4−2 、4−3及び4−4との対応関係を図示
したものである。実線の矢印は、セグメント指定レジス
タ21 、22及びn中にはセグメント4−1の番号が
書込まれており、またセグメント指定レジスタス中には
セグメント4−2の番号が書込まれてお夕、以下同様に
して各セグメント指定レジスタ中にはセグメント4−1
〜4−4のいずれか1つの番号が書込まれていることを
例示している。前述したように、セグメント指定レジス
タ21〜2nはそれぞれ主記憶上の分割され九メモリ領
域に対応して設けられている。第1図において、図示を
省略した中央処理装置はセグメント対応に設けられてい
るアクセス回数カウンタ52及びヒツト回数カウンタ郭
のカウント値をプログラムにより読取ってセグメントご
とのヒツト率を算出する。仮にセグメント4−1のヒツ
ト率がセグメント4−2のヒツト率よ〕屯相轟程度低゛
い値となっていると1は、矢印20によって例えばセグ
メント指定レジスタnの内容を書替え、図中の矢印で例
示するようにこのレジスタに対応する主記憶上の分割領
域をバッファメモリ6、従ってそOインデックスアレイ
4のセグメント4−1からセグメント4−1!に%収容
替えを行う。このような収容替えを、アクセス回数カウ
ンタ52の内容に応じて行うこともできる。アプリケー
ションシステムの設計時には、主記憶のレイアウトとプ
ログラムの動きから主を憶上の分割領域を適宜なバッフ
ァメモリのセグメントに割当てかつその変更を行うこと
ができる。
FIG. 2 shows segment designation registers 21, 22, 23, . . . 2 in the segment number converter 2 shown in FIG.
Contents of n and 4 segments 4 of index array 4
-1°4-2, 4-3 and 4-4 are illustrated. The solid arrow indicates that the number of segment 4-1 is written in the segment specification registers 21, 22, and n, and the number of segment 4-2 is written in the segment specification register. Similarly, segment 4-1 is stored in each segment specification register.
It is illustrated that any one number from 4-4 to 4-4 is written. As described above, the segment designation registers 21 to 2n are provided corresponding to nine divided memory areas on the main memory, respectively. In FIG. 1, a central processing unit (not shown) calculates the hit rate for each segment by reading the count values of the access counter 52 and the hit counter provided for each segment using a program. If the hit rate of segment 4-1 is lower than the hit rate of segment 4-2, 1 rewrites the contents of segment designation register n using arrow 20, as shown in the figure. As illustrated by the arrow, the divided area on the main memory corresponding to this register is divided into the buffer memory 6, and therefore from segment 4-1 to segment 4-1! of the index array 4. Perform % accommodation replacement. Such re-accommodation can also be performed according to the contents of the access count counter 52. When designing an application system, it is possible to allocate and change the main memory divided areas to appropriate buffer memory segments based on the layout of the main memory and the movement of the program.

以上マツピング方式としてセットアツシアテイプ方弐′
を採用する場合にりいて本発明の詳細な説明したが、本
発明はこれに限定されるものではなく、七〇他の適宜な
マツピング方式を採用することができる。tたセグメン
トが41!Iの場合を例示したがこれを2以上の適宜な
数とすることができる。宴らにセグメνFのサイズがす
べて同一である場合を例示したが、本発明はこれに限定
されるもOではなく、一般に異るサイズのセグメント 
□を用いることもできる。またセグメントの割当て及び
その変換を中央処理装置で行う場合を例示したが、これ
【バッファメモリ管理装置で行う方式%式% 以上詳細に説明したようくい本発明の方式はバッファメ
モリ上の記憶領域を複数のセグメントに分割し、このセ
グメント対応に主記憶装置上の記憶領域を割当てる構成
であるから、従来方式におけるヒツト率の経時変動を平
滑化しつつその時間平均値の向上を図ることができる。
The above mapping method is set atssia tape method 2′
Although the present invention has been described in detail with reference to the case in which the mapping method is adopted, the present invention is not limited thereto, and any other suitable mapping method may be adopted. There are 41 segments! Although the case of I has been illustrated, this can be set to an appropriate number of 2 or more. Although the case in which the size of the segment νF is all the same has been illustrated, the present invention is not limited to this, but is not limited to O, but generally segments of different sizes.
□ can also be used. In addition, although we have given an example of a case in which segment allocation and conversion are performed by the central processing unit, this [method performed by a buffer memory management device% formula%% formula%] As explained in detail above, the method of the present invention allocates the storage area on the buffer memory. Since the system is divided into a plurality of segments and a storage area on the main storage device is allocated to each segment, it is possible to smooth out the temporal fluctuations in the hit rate in the conventional method and improve the time average value thereof.

すなわちセグメン)K分割・しない従来方式においては
、プログラムのある区間の実行が開始されると相応の局
所性のため対応の主記憶領域近傍のブロックがバッファ
メモリ内に多数入替えられヒツト率が漸次増大する。こ
の様な状態におい°てプログラムの実行が離れた。J+
の区間に移ると、その区間対応の主記憶領域近傍のブロ
ックがバッファメモリ内に入替えられるまでの間ヒツト
率が大幅に減少する。
In other words, in the conventional method that does not perform K-division (segment), when execution of a certain section of the program starts, many blocks near the corresponding main storage area are replaced in the buffer memory due to the corresponding locality, and the hit rate gradually increases. do. In this situation, the program stopped running. J+
When moving to an interval, the hit rate decreases significantly until the blocks near the main storage area corresponding to that interval are replaced in the buffer memory.

このように従来方式では、プログラム上の区間が変更さ
れるたびにヒツト率が大幅に増減し、と(K区間の変更
が頻繁であれば区部変更後のヒツト率の向上をみないう
ちに新たな区間変更に伴って再び低いヒツト率に落込ん
でしまう。
In this way, in the conventional method, the hit rate increases or decreases significantly every time the section on the program is changed, and (if the K section is changed frequently, the hit rate will increase or decrease before you see an improvement in the hit rate after changing the section). With the new section change, the hit rate drops again to a low level.

これに対して上述した本発明の構成によれば、各区間に
@轟てられているバッファメモリの容量が実質上減少す
るため各区間内でのヒツト率の向上こそある程度制限さ
れるが、ある区間が実行されている間に4常時他の区間
対応の主記憶領域がバッファメモリ内に保持されている
ので、従来例Oように区間変更直後にヒツト率が大幅に
落込むことがない、この改善効果は区間変更が頻繁にな
るほど顕著になる。要するに本発明によれば上述のよう
に従来例K>けるヒツト率の経時変動を平滑化しつりそ
の時間平均値の向上を図ることができる。
On the other hand, according to the configuration of the present invention described above, since the capacity of the buffer memory stored in each section is substantially reduced, the improvement in the hit rate within each section is limited to some extent. While a section is being executed, the main storage area corresponding to another section is always held in the buffer memory, so the hit rate does not drop significantly immediately after changing the section as in the conventional example O. The improvement effect becomes more noticeable as the section changes become more frequent. In short, according to the present invention, as described above, it is possible to smooth out the temporal fluctuations in the hit rate of the conventional example K and improve the time average value thereof.

ま九上述した本発明の構成によれば分割したセグメント
対応に、すなわち分割した主記憶上の領域対応に必要に
応じて異種の最適入替え管理方式(リプレースメント・
アルゴリズム)を適用できる利点もある。
According to the above-described configuration of the present invention, different types of optimal replacement management methods (replacement management methods) are used as needed to correspond to divided segments, that is, to correspond to divided areas on the main memory.
There is also the advantage that algorithms can be applied.

ま九本発明方式はセグメントごとく使用頻度やヒツト率
を実測し、この実測結果もしくはプログラムの種類又は
これらの双方に応じて各セグメントに対する主記憶領域
の割当てを柔軟に変更する構成であるから、ヒツト率の
向上を目的とする主記憶領域割当ての最適化を動的に行
うことができるという利点がある。
(9) The method of the present invention is configured to actually measure the usage frequency and hit rate for each segment, and flexibly change the allocation of the main storage area to each segment according to the actual measurement results, the type of program, or both. This has the advantage that it is possible to dynamically optimize main storage area allocation for the purpose of improving efficiency.

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

第1図は本発明の方式が適用されるシステムの構成の一
例を示すブロック図、第2図はセグメント対応の主記憶
領域の割当て及qその変更動作を説明するためのブロッ
ク図である。 1・・・主記憶アドレスを格納するアドレスレジスタ、
2・・・セグメント番号変換部、3・・・比較器、4・
・・バッファメモリ・インデックスアレイ、5・・・カ
ウンタ、6・・・バッファメモリ、7・・・主記憶装置
。 特許出願人 富士電機製造株式会社 (外1名)代理人
弁理士 玉 蟲 久 五 部(外3名)第1図
FIG. 1 is a block diagram showing an example of the configuration of a system to which the method of the present invention is applied, and FIG. 2 is a block diagram for explaining the operation of allocating and changing main storage areas corresponding to segments. 1...address register that stores the main memory address;
2... Segment number converter, 3... Comparator, 4...
... Buffer memory index array, 5... Counter, 6... Buffer memory, 7... Main memory. Patent applicant Fuji Electric Manufacturing Co., Ltd. (1 other person) Representative patent attorney Hisashi Tamamushi (3 others) Figure 1

Claims (1)

【特許請求の範囲】[Claims] バッファメモリ上の記憶領域を複数のセグメントに分割
し、該セグメント対応に主記憶装置上の記憶領域を割当
て、該セグメント対応に参照頻度又はヒツト率を計測し
、該計測結果もしくはプログラムの種類又はこれらの双
方に応じて前記各セグメントに対する主記憶装置上の記
憶領域の割当てを変更することを特徴と′するバッファ
メモリ制御方式。
Divide the storage area on the buffer memory into a plurality of segments, allocate the storage area on the main storage device for each segment, measure the reference frequency or hit rate for each segment, and measure the measurement results or the type of program or these. 1. A buffer memory control method characterized in that allocation of a storage area on a main storage device to each segment is changed according to both of the above.
JP56179373A 1981-11-09 1981-11-09 Buffer memory control system Pending JPS5883377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56179373A JPS5883377A (en) 1981-11-09 1981-11-09 Buffer memory control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56179373A JPS5883377A (en) 1981-11-09 1981-11-09 Buffer memory control system

Publications (1)

Publication Number Publication Date
JPS5883377A true JPS5883377A (en) 1983-05-19

Family

ID=16064714

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56179373A Pending JPS5883377A (en) 1981-11-09 1981-11-09 Buffer memory control system

Country Status (1)

Country Link
JP (1) JPS5883377A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6014360A (en) * 1983-07-04 1985-01-24 Fujitsu Ltd Disk cache controller
JPH01290051A (en) * 1988-05-18 1989-11-21 Nec Corp Data processor with cache memory
EP0359923A2 (en) * 1988-09-15 1990-03-28 International Business Machines Corporation Multiuser dynamic cache
WO1995009393A1 (en) * 1993-09-27 1995-04-06 Apple Computer, Inc. Apparatus and method for emulation routine instruction issue
US5574887A (en) * 1993-09-20 1996-11-12 Apple Computer, Inc. Apparatus and method for emulation routine pointer prefetch
US5668969A (en) * 1993-09-20 1997-09-16 Apple Computer, Inc. Address selective emulation routine pointer address mapping system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6014360A (en) * 1983-07-04 1985-01-24 Fujitsu Ltd Disk cache controller
JPH01290051A (en) * 1988-05-18 1989-11-21 Nec Corp Data processor with cache memory
EP0359923A2 (en) * 1988-09-15 1990-03-28 International Business Machines Corporation Multiuser dynamic cache
US5574887A (en) * 1993-09-20 1996-11-12 Apple Computer, Inc. Apparatus and method for emulation routine pointer prefetch
US5668969A (en) * 1993-09-20 1997-09-16 Apple Computer, Inc. Address selective emulation routine pointer address mapping system
WO1995009393A1 (en) * 1993-09-27 1995-04-06 Apple Computer, Inc. Apparatus and method for emulation routine instruction issue

Similar Documents

Publication Publication Date Title
US11048442B2 (en) Scalable in-memory object storage system using hybrid memory devices
US4607346A (en) Apparatus and method for placing data on a partitioned direct access storage device
US5109336A (en) Unified working storage management
US5784699A (en) Dynamic memory allocation in a computer using a bit map index
US6640290B1 (en) Easily coalesced, sub-allocating, hierarchical, multi-bit bitmap-based memory manager
US5784698A (en) Dynamic memory allocation that enalbes efficient use of buffer pool memory segments
US6493800B1 (en) Method and system for dynamically partitioning a shared cache
US6119214A (en) Method for allocation of address space in a virtual memory system
US6609176B1 (en) Disk control system and data rearrangement method
US7831624B2 (en) Skip list with address related table structure
JP2858795B2 (en) Real memory allocation method
US20070156997A1 (en) Memory allocation
US20060218347A1 (en) Memory card
CN110658990A (en) Data storage system with improved preparation time
JPS62293355A (en) Data protection mechanism
JPH0326419B2 (en)
JP3727887B2 (en) Shared register file control method in multi-thread processor
US6754788B2 (en) Apparatus, method and computer program product for privatizing operating system data
US10049035B1 (en) Stream memory management unit (SMMU)
US5829018A (en) Apparatus and method for writing data from a cache to a storage device
US20040039875A1 (en) Disk array device and virtual volume management method in disk array device
JPS5883377A (en) Buffer memory control system
CA2415018C (en) Adaptive parallel data clustering when loading a data structure containing data clustered along one or more dimensions
US7096341B1 (en) System and method for reference count regeneration
US7752405B2 (en) Data recording apparatus, program product, and data recording method