JPH0236012B2 - - Google Patents

Info

Publication number
JPH0236012B2
JPH0236012B2 JP59272451A JP27245184A JPH0236012B2 JP H0236012 B2 JPH0236012 B2 JP H0236012B2 JP 59272451 A JP59272451 A JP 59272451A JP 27245184 A JP27245184 A JP 27245184A JP H0236012 B2 JPH0236012 B2 JP H0236012B2
Authority
JP
Japan
Prior art keywords
storage
key
segment
address
memory
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.)
Expired - Lifetime
Application number
JP59272451A
Other languages
Japanese (ja)
Other versions
JPS61165156A (en
Inventor
Kunio Nakabayashi
Takashi Chiba
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59272451A priority Critical patent/JPS61165156A/en
Publication of JPS61165156A publication Critical patent/JPS61165156A/en
Publication of JPH0236012B2 publication Critical patent/JPH0236012B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は計算機システムの主記憶装置等に対し
て設けられる記憶キーへのアクセスを制御するた
めの方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a method for controlling access to a storage key provided in a main storage device or the like of a computer system.

計算機システムの主記憶装置等の記憶領域の管
理情報として、記憶領域を通常一定の大きさに分
割した、記憶ブロツクごとに対して記憶キーを設
けることが一般に行われている。
As management information for a storage area such as a main storage device of a computer system, a storage key is generally provided for each storage block in which the storage area is usually divided into fixed sizes.

各記憶キーは公知のように、通常大別して2部
分からなり、第1の部分は対応する記憶ブロツク
に対するアクセスを制御するための情報で、例え
ばキーと読み出し禁止ビツトからなる。
As is well known, each storage key is generally divided into two parts, and the first part contains information for controlling access to the corresponding storage block, for example, a key and a read inhibit bit.

又、記憶キーの第2の部分は、いわゆる仮想記
憶方式を使用する場合等の、記憶ブロツク(いわ
ゆるページ)の置換制御等のための情報で、例え
ば参照ビツトと変更ビツトからなる。
The second part of the storage key is information for controlling the replacement of storage blocks (so-called pages) when using a so-called virtual storage system, and consists of reference bits and change bits, for example.

これらの記憶キー、特にその中の上記第2部分
は、対応記憶領域にアクセスがあるごとに、少な
くとも一方の書き込みを要するので、計算機シス
テムの性能上、比較的高速のアクセスが必要とさ
れる。
Since at least one of these storage keys, particularly the second portion thereof, must be written every time the corresponding storage area is accessed, relatively high-speed access is required in terms of computer system performance.

〔従来の技術〕[Conventional technology]

第2図は計算機システムの構成の一例を示すブ
ロツク図である。
FIG. 2 is a block diagram showing an example of the configuration of a computer system.

システムは記憶制御装置(以下においてMCU
という)11に主記憶装置(MSU)12、中央
処理装置(CPU)13、チヤネル制御装置
(CHP)14等を接続して構成される。
The system is a storage controller (hereinafter referred to as MCU)
11, a main storage unit (MSU) 12, a central processing unit (CPU) 13, a channel control unit (CHP) 14, etc. are connected to the main storage unit (MSU) 11.

MCU11は中央処理装置13、チヤネル制御
装置14等からの主記憶アクセス要求を受け付け
て、指定の主記憶アドレスを後記のように変換し
た、主記憶装置12の1つへのアクセスを制御す
る。
The MCU 11 receives a main memory access request from the central processing unit 13, channel control device 14, etc., and controls access to one of the main memory devices 12 by converting a specified main memory address as described below.

又、指定の主記憶アドレスを使つてキー記憶部
16にアクセスし、キー記憶部16に保持する、
該当記憶ブロツクの参照ビツトを‘1'にし、又書
き込みの場合は変更ビツトも‘1'にする。
Also, access the key storage unit 16 using the specified main memory address and store it in the key storage unit 16.
The reference bit of the corresponding storage block is set to '1', and in the case of writing, the change bit is also set to '1'.

各主記憶装置12は、システムの所要記憶容量
に応じて、構成に融通性を持たせ、又複数の並行
アクセスを可能にする等のために、物理的に分割
した記憶機能の単位で構成し、各単位を記憶セグ
メントと呼び、例えば各8MB(メガバイト)〜
32MB程度の大きさとして、例えば4個までの所
要数の記憶セグメントで1主記憶装置を構成する
ことができる。
Each main storage device 12 is configured with physically divided storage function units in order to provide flexibility in configuration and enable multiple parallel accesses depending on the required storage capacity of the system. , each unit is called a storage segment, for example, each 8MB (megabyte) ~
With a size of approximately 32 MB, one main storage device can be configured with a required number of storage segments, for example up to four.

各記憶セグメントは、それぞれ連続した記憶ア
ドレスを持つが、構成の自由度を高めるために、
各記憶セグメントの先頭記憶アドレスは所要のア
ドレスに設定することができるようにされる。
Each storage segment has consecutive storage addresses, but in order to increase the freedom of configuration,
The starting storage address of each storage segment can be set to a desired address.

このために、MCU11では、例えば第3図に
示すように先頭アドレスレジスタ20−0〜20
−7を設け、それらに各記憶セグメントに割り当
てる先頭記憶アドレスの上位ビツトを記憶してお
く。
For this purpose, in the MCU 11, for example, as shown in FIG.
-7 are provided, and the upper bits of the first storage address assigned to each storage segment are stored therein.

前記のように各装置から出される主記憶アクセ
ス要求を処理する場合に、MCU11では指定の
記憶アドレスを、要すればいわゆるインタリーブ
処理等を行つた後に、レジスタ21にセツトす
る。
When processing main memory access requests issued from each device as described above, the MCU 11 sets a designated memory address in the register 21 after performing so-called interleaving processing, if necessary.

レジスタ21の記憶アドレスの例えば上位4ビ
ツトに一致する先頭記憶アドレスを持つ記憶セグ
メントを、選択回路22がレジスタ20−0〜2
0−7を参照して決定することにより、セグメン
トアドレスをアドレス線23に出力する。
The selection circuit 22 selects a storage segment having a start storage address that matches, for example, the upper 4 bits of the storage address of the register 21, from registers 20-0 to 20-2.
By referring to 0-7 and determining the segment address, the segment address is output to the address line 23.

セグメントアドレスは、その記憶セグメントを
実際に制御するためのアドレスとして、使用され
る。
The segment address is used as an address to actually control the storage segment.

アドレス線23は主記憶装置12の1つと、そ
の中の記憶セグメントの1つを特定し、記憶セグ
メント内のアドレスはレジスタ21の下位ビツト
を出力するアドレス線24によつて指定されるの
で、それらのアドレスを使用して主記憶装置12
に対するアクセス制御を実行することができる。
The address line 23 identifies one of the main memories 12 and one of the storage segments therein, and addresses within the storage segments are designated by the address line 24 which outputs the lower bits of the register 21, so that main memory 12 using the address of
access control can be performed.

一方、キー記憶部16に対するアクセスは、実
際に主記憶装置12にアクセスを実行しない場合
にも必要であり、且つ前記のように比較的高速を
要する。
On the other hand, access to the key storage unit 16 is necessary even when the main storage device 12 is not actually accessed, and requires relatively high speed as described above.

且つ従来は、主記憶装置の記憶容量が比較的小
さかつたので、システムの主記憶装置最大容量に
対応する記憶キーを保持するメモリ25を設け、
例えば中央処理装置13等からのアクセス要求で
指定された記憶アドレスを、そのまゝ使用してア
クセスする構成になつている。
Furthermore, in the past, since the storage capacity of the main storage device was relatively small, a memory 25 was provided to hold a storage key corresponding to the maximum capacity of the main storage device of the system.
For example, the storage address designated by an access request from the central processing unit 13 or the like is directly used for access.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

近年比較的大型の計算機システムの構成とし
て、第4図に一例を示すような構成方式が必要に
なつてきた。
In recent years, as a configuration of a relatively large computer system, a configuration method as shown in FIG. 4 has become necessary.

第4図のシステムにおいては、第2図と同様の
構成の2システムがMCU33で相互に接続され
ている。
In the system of FIG. 4, two systems having the same configuration as that of FIG. 2 are interconnected by an MCU 33.

MCU33は、それぞれに接続す中央処理装置
13及びチヤンネル制御装置14等の主記憶アク
セス要求を、前記MCU11と同様に制御するほ
か、指定の記憶アドレスが相手MCU33に接続
する主記憶装置12に割り当てられている場合に
は、アクセス要求情報を制御線34によつて、相
手MCU33に転送して、そこでアクセスを実行
させる。
The MCU 33 controls main memory access requests from the central processing unit 13, channel control unit 14, etc. connected to each other in the same manner as the MCU 11, and also assigns a specified storage address to the main memory 12 connected to the other MCU 33. If so, the access request information is transferred to the other MCU 33 via the control line 34, and the access is executed there.

このような構成において、MCU33に従来の
方式のキー記憶部35を設けた場合には、次のよ
うな問題が生じる。
In such a configuration, when the MCU 33 is provided with a conventional key storage section 35, the following problem occurs.

(a) 記憶キーを保持するメモリが大量に必要にな
る。
(a) A large amount of memory is required to hold the storage key.

(b) 両MCU33の記憶キーを更新しなければな
らないので、両者間の情報転送や処理の負荷が
大きくなり、又制御が複雑になる。
(b) Since the memory keys of both MCUs 33 must be updated, the load of information transfer and processing between them increases, and control becomes complicated.

〔問題点を解決するための手段〕[Means for solving problems]

前記の問題点は、記憶装置と、記憶制御装置
と、キー記憶部とを有し、該記憶装置は複数の記
憶セグメントによつて構成されて、該記憶制御装
置と接続し、該各記憶セグメントは、複数の記憶
ブロツクからなり、該各記憶ブロツクは所定の大
きさの記憶領域を有し、該キー記憶部は複数のキ
ー群領域からなり、該各キー群領域は、それぞれ
該各記憶セグメントに対応して、当該記憶セグメ
ントの該記憶ブロツクに対応する所定の記憶キー
を保持し、該記憶制御装置は、該キー記憶部にア
クセスする場合に、該記憶セグメントを選択する
信号によつて該キー群領域を選択し、該記憶セグ
メント内の該記憶ブロツクを選択する信号によつ
て、該選択したキー群領域内の該記憶キーを選択
するように構成されている本発明の記憶キー制御
方式によつて解決される。
The above-mentioned problem includes a storage device, a storage control device, and a key storage unit, and the storage device is configured with a plurality of storage segments, and is connected to the storage control device, and each of the storage segments is composed of a plurality of memory blocks, each memory block has a storage area of a predetermined size, and the key storage section is composed of a plurality of key group areas, and each key group area corresponds to each of the memory segments. In response to this, a predetermined storage key corresponding to the storage block of the storage segment is held, and when accessing the key storage section, the storage control device selects the storage segment by a signal for selecting the storage segment. The storage key control method of the present invention is configured to select a key group area and select the storage key in the selected key group area by a signal for selecting the storage block in the storage segment. solved by.

〔作用〕[Effect]

即ち、記憶キーを保持するメモリを、主記憶装
置の記憶セグメント構成に対応させたメモリ構成
とする。
That is, the memory that holds the storage key has a memory configuration that corresponds to the storage segment configuration of the main storage device.

このような構成にすることによつて、記憶キー
(のメモリ)へのアクセスは主記憶と同様にして
決定したセグメントアドレス及びセグメント内ア
ドレスを使つて実行されるようになる。
With this configuration, access to (the memory of) the storage key is performed using segment addresses and intra-segment addresses determined in the same manner as in the main memory.

従つて、又、各MCU33には、それぞれに接
続されている主記憶装置12に実装されている記
憶セグメントに対応する記憶キーのメモリのみを
実装し、1アクセスについては一方のMCU33
のみが記憶キーアクセスを実行すればよい。
Therefore, each MCU 33 is equipped with only the memory of the storage key corresponding to the storage segment installed in the main storage device 12 connected to each MCU 33, and for one access, one MCU 33 is installed.
Only one person needs to perform the storage key access.

〔実施例〕〔Example〕

第1図は本発明の一実施例構成を示すブロツク
図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

図はMCU33の記憶キーアクセスに関連する
部分の構成を示し、第3図と同一の部分には同じ
符号を付す。
The figure shows the configuration of a portion of the MCU 33 related to storage key access, and the same parts as in FIG. 3 are given the same reference numerals.

MCU33ではアクセス要求の指定記憶アドレ
スを処理し、例えばその高位ビツトで自身に接続
する主記憶装置か否かを識別し、自身で処理すべ
きアドレスであればレジスタ21にセツトする。
The MCU 33 processes the designated storage address of the access request, uses its high-order bits to identify whether or not it is the main storage connected to itself, and sets it in the register 21 if the address should be processed by itself.

レジスタ21の記憶アドレスは前記と同様にし
て選択回路22により、セグメントアドレスに変
換してアドレス線23に出力され、アドレス線2
4と共に主記憶装置12のアクセス制御に使われ
る。
The memory address of the register 21 is converted into a segment address by the selection circuit 22 in the same manner as described above, and is output to the address line 23.
4 is used for access control of the main storage device 12.

又、本発明により、アドレス線23のセグメン
トアドレスは、記憶セグメントに対応して設けら
れて、それぞれ記憶キー群を保持する記憶キーメ
モリ40−0〜40−7の1メモリを選択する。
Further, according to the present invention, the segment address of the address line 23 is provided corresponding to the storage segment, and each selects one of the storage key memories 40-0 to 40-7 that holds a storage key group.

選択された記憶キーメモリ40−0〜40−7
の、1メモリ内の1記憶キーのアドレスは、アド
レス線41で指定される。レジスタ21の下位ビ
ツト列によつて決定する。
Selected memory key memory 40-0 to 40-7
The address of one storage key in one memory is specified by an address line 41. It is determined by the lower bit string of register 21.

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

以上の説明から明らかなように本発明によれ
ば、大型の計算機システムにおける記憶キーのメ
モリ容量を縮小し、記憶キーに対するアクセス負
荷を減少するので、計算機システムの経済性及び
性能を改善するという著しい工業的効果がある。
As is clear from the above description, according to the present invention, the memory capacity of a storage key in a large-scale computer system is reduced and the access load to the storage key is reduced, thereby significantly improving the economy and performance of the computer system. It has industrial effects.

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

第1図は本発明一実施例の構成ブロツク図、第
2図は計算機システムの一構成例を示す図、第3
図は従来のMCUの構成例ブロツク図、第4図は
計算機システムの別の構成例を示す図である。図
において 11,33はMCU、12は主記憶装置、13
は中央処理装置、14はチヤネル制御装置、1
6,35はキー記憶部、20−0〜20−7は先
頭アドレスレジスタ、21はレジスタ、22は選
択回路、25,40−0〜40−7は記憶キーメ
モリを示す。
FIG. 1 is a block diagram of the configuration of an embodiment of the present invention, FIG. 2 is a diagram showing an example of the configuration of a computer system, and FIG.
The figure is a block diagram of an example of the configuration of a conventional MCU, and FIG. 4 is a diagram showing another example of the configuration of a computer system. In the figure, 11 and 33 are MCU, 12 is main memory, and 13
is a central processing unit, 14 is a channel control device, 1
6 and 35 are key storage units, 20-0 to 20-7 are start address registers, 21 is a register, 22 is a selection circuit, and 25 and 40-0 to 40-7 are storage key memories.

Claims (1)

【特許請求の範囲】 1 記憶装置と、記憶制御装置と、キー記憶部と
を有し、 該記憶装置は複数の記憶セグメントによつて構
成されて、該記憶制御装置と接続し、 該各記憶セグメントは、複数の記憶ブロツクか
らなり、該各記憶ブロツクは所定の大きさの記憶
領域を有し、 該キー記憶部は複数のキー群領域40−0〜4
0−7からなり、該各キー群領域は、それぞれ該
各記憶セグメントに対応して、当該記憶セグメン
トの該記憶ブロツクに対応する所定の記憶キーを
保持し、 該記憶制御装置は、該キー記憶部にアクセスす
る場合に、該記憶セグメントを選択する信号23
によつて該キー群領域を選択し、該記憶セグメン
ト内の該記憶ブロツクを選択する信号41によつ
て、該選択したキー群領域内の該記憶キーを選択
する20−0〜20−7,21,22ように構成
されていることを特徴とする記憶キー制御方式。
[Scope of Claims] 1. comprises a storage device, a storage control device, and a key storage unit, the storage device is configured by a plurality of storage segments and is connected to the storage control device, and each of the storage devices comprises: The segment consists of a plurality of storage blocks, each of which has a storage area of a predetermined size, and the key storage section has a plurality of key group areas 40-0 to 40-4.
0 to 7, each key group area holds a predetermined storage key corresponding to the storage block of the storage segment, respectively, and the storage control device holds the key storage key corresponding to the storage block of the storage segment. signal 23 for selecting the storage segment when accessing the storage segment;
20-0 to 20-7, which selects the key group area by the signal 41, and selects the storage key in the selected key group area by the signal 41, which selects the storage block in the storage segment; 21. A storage key control system characterized by being configured as follows.
JP59272451A 1984-12-24 1984-12-24 Storage key controlling system Granted JPS61165156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59272451A JPS61165156A (en) 1984-12-24 1984-12-24 Storage key controlling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59272451A JPS61165156A (en) 1984-12-24 1984-12-24 Storage key controlling system

Publications (2)

Publication Number Publication Date
JPS61165156A JPS61165156A (en) 1986-07-25
JPH0236012B2 true JPH0236012B2 (en) 1990-08-15

Family

ID=17514101

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59272451A Granted JPS61165156A (en) 1984-12-24 1984-12-24 Storage key controlling system

Country Status (1)

Country Link
JP (1) JPS61165156A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS583175A (en) * 1981-06-30 1983-01-08 Fujitsu Ltd Virtual storage controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS583175A (en) * 1981-06-30 1983-01-08 Fujitsu Ltd Virtual storage controller

Also Published As

Publication number Publication date
JPS61165156A (en) 1986-07-25

Similar Documents

Publication Publication Date Title
US5530829A (en) Track and record mode caching scheme for a storage system employing a scatter index table with pointer and a track directory
US4386402A (en) Computer with dual vat buffers for accessing a common memory shared by a cache and a processor interrupt stack
JPS6376034A (en) Multiple address space control system
US4318175A (en) Addressing means for random access memory system
JPH04308953A (en) Virtual address computer system
EP0323123B1 (en) A storage control system in a computer system
JPH05197619A (en) Memory control circuit for multi-cpu
US4493030A (en) Plural data processor groups controlling a telecommunications exchange
JPH0540694A (en) Cache memory device
JPH0236012B2 (en)
EP0787326B1 (en) System and method for processing of memory data and communication system comprising such system
GB2221066A (en) Address translation for I/O controller
KR920003845B1 (en) Rom region expansion system for users of pc
JPS5953588B2 (en) Memory interleave control method
JPH037980B2 (en)
GB2099619A (en) Data processing arrangements
JPH05250263A (en) Virtual processor system and nonvolatile storage system
KR900009212Y1 (en) Address control apparatus
JPS6136669B2 (en)
JPH0241772B2 (en)
JPH01140342A (en) Virtual computer system
JPH04182753A (en) Cache memory
JPS6174040A (en) Address expansion method
JPH04205535A (en) Copy on write system
JPH0244445A (en) Data processor