JPS6342303B2 - - Google Patents

Info

Publication number
JPS6342303B2
JPS6342303B2 JP55046671A JP4667180A JPS6342303B2 JP S6342303 B2 JPS6342303 B2 JP S6342303B2 JP 55046671 A JP55046671 A JP 55046671A JP 4667180 A JP4667180 A JP 4667180A JP S6342303 B2 JPS6342303 B2 JP S6342303B2
Authority
JP
Japan
Prior art keywords
data
memory
bus
circuit
main 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
Application number
JP55046671A
Other languages
Japanese (ja)
Other versions
JPS56143071A (en
Inventor
Kenji Oomori
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP4667180A priority Critical patent/JPS56143071A/en
Publication of JPS56143071A publication Critical patent/JPS56143071A/en
Publication of JPS6342303B2 publication Critical patent/JPS6342303B2/ja
Granted 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)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】 この発明は、マルチバス構成のマルチプロセツ
サシステムに於けるバス結合システムに関するも
のである。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bus coupling system in a multiprocessor system having a multibus configuration.

マルチバス構成のマルチプロセツサシステムの
欠点は、各プロセツサで共有されるメインメモリ
へのアクセス頻度が高い場合には、バス又はメモ
リ競合のためシステムの性能が著しく低下するこ
とにある。一つの実験例に依れば、プロセツサ台
数10台のマルチプロセツサシステムに於いて、メ
インメモリを使用している割合、又はバスを占有
している割合が他からの干渉を受けないとき1/3
程度であるプログラムをそれぞれのプロセツサに
与えて実行させると、スループツトは、単一プロ
セツサシステムに対して3倍強としかならない。
A disadvantage of a multiprocessor system with a multibus configuration is that when the main memory shared by each processor is frequently accessed, the performance of the system is significantly degraded due to bus or memory contention. According to one experimental example, in a multiprocessor system with 10 processors, the percentage of main memory usage or bus occupancy is 1/1 when there is no interference from other processors. 3
If a certain program is given to each processor for execution, the throughput is only a little more than three times that of a single processor system.

そのために、マルチバス構成のマルチプロセツ
サシステムに於いては、各プロセツサ毎にローカ
ルメモリを設けている。これは、頻繁に利用され
るデータ、プログラム等は、ローカルメモリに実
装し、メインメモリへのアクセス頻度を低下させ
ることを狙つたものであるが、実際には効率的な
分配法を見つけることが困難であるため実用に供
されていない。
For this purpose, in a multiprocessor system with a multibus configuration, a local memory is provided for each processor. This is intended to reduce the frequency of access to main memory by implementing frequently used data and programs in local memory, but in reality it is difficult to find an efficient distribution method. It has not been put to practical use because it is difficult.

本発明の目的は、従来の欠点を解決するため、
ソフトウエアの援助なしに、ハードウエア機能の
みによつて、メインメモリへのアクセスを減少さ
せるバス結合システムを提供することである。
The purpose of the present invention is to overcome the drawbacks of the prior art.
It is an object of the present invention to provide a bus-coupled system that reduces access to main memory solely by hardware functions without the aid of software.

本発明のバス結合システムによれば、バス結合
装置内のメモリに記憶されているデータについ
て、他方のバス上でメモリライト要求が発生しそ
れが成功したか否かを監視する監視回路と、書込
みデータを取込み、成功した場合にはバス結合装
置内のメモリにある以前のデータを、書込みデー
タによつて置きかえる置換回路で構成される更新
器をバス結合装置に備えているバス結合システム
が得られる。
According to the bus coupling system of the present invention, for data stored in the memory in the bus coupling device, a memory write request is generated on the other bus and monitors whether or not the request is successful. A bus coupling system is obtained in which the bus coupling device is provided with an updater consisting of a replacement circuit that takes in data and, if successful, replaces the previous data in the memory in the bus coupling device with the written data. .

次に本発明について図面を用いて詳細に説明す
る。
Next, the present invention will be explained in detail using the drawings.

第1図は本発明のバス結合システムの一実施例
を示すブロツク図である。
FIG. 1 is a block diagram showing one embodiment of the bus coupling system of the present invention.

メインメモリからのデータの読出しは次の様に
行われる。プロセツサ1,2は、バス結合装置
3,4に対して所要のアドレスを送出することに
よりデータを要求する。もし、このデータがバス
結合装置3,4に記憶されているならば、要求さ
れたデータは、バス結合装置3,4よりプロセツ
サ1,2へ戻される。もしこのデータがバス結合
装置3,4に記憶されていなければ、バス結合装
置3,4は、これに続くメモリアクセスが以後バ
ス結合装置から行なわれるようにするために要求
のあつたメモリアドレスを含む複数転の連続した
アドレスのデータ群をメインメモリ5に要求す
る。そして、メインメモリ5より送られてきたデ
ータ群を、バス結合装置3,4は自身のメモリの
ある領域へ書込むとともに、所要のデータのプロ
セツサ1,2へ送り出す。
Data is read from the main memory as follows. Processors 1 and 2 request data by sending required addresses to bus coupling devices 3 and 4. If this data is stored in the bus coupling devices 3, 4, the requested data is returned from the bus coupling devices 3, 4 to the processors 1, 2. If this data is not stored in the bus coupling device 3, 4, the bus coupling device 3, 4 stores the requested memory address in order to ensure that subsequent memory accesses are subsequently made from the bus coupling device. A request is made to the main memory 5 for a data group of consecutive addresses including multiple rotations. Then, the bus coupling devices 3 and 4 write the data group sent from the main memory 5 into a certain area of their own memory, and send out the required data to the processors 1 and 2.

メインメモリ5へのデータの書込みは次のよう
に行われる。プロセツサ1,2が発生したアドレ
スとデータは、バス結合装置3,4を通過しメイ
ンメモリ5へ送られる。しかし、この時、メイン
メモリ5上に接続されている各バス結合装置3,
4は、アクセスされている所要のアドレスに対す
るデータを自身のメモリの内に記憶している場合
にはそのデータを一旦取込む。そして、メインメ
モリへのデータの書込みが成功した場合には、自
身のデータを新しいデータで書きかえる。
Data is written to the main memory 5 as follows. Addresses and data generated by processors 1 and 2 pass through bus coupling devices 3 and 4 and are sent to main memory 5. However, at this time, each bus coupling device 3 connected to the main memory 5,
4, if the data corresponding to the required address being accessed is stored in its own memory, the data is taken in once. If the writing of data to the main memory is successful, it rewrites its own data with new data.

第2図を用いて連想器10の詳細な説明を行
う。第2図に於いて、プロセツサ1は、メインメ
モリ5に対して、メモリ読込み命令を送出する。
この命令は、バス6を介して判定回路11へ送ら
れる。判定回路11に於いては、所要のデータが
メモリ30に記憶されているかを判定する。所要
のデータがある場合には、読出し回路12に対し
てデータを要求する。所要のデータがない場合に
は、書込み回路13に対して、メインメモリ5よ
りの所要データの読込みを要求する。
The associator 10 will be explained in detail using FIG. In FIG. 2, processor 1 sends a memory read command to main memory 5. In FIG.
This command is sent to the determination circuit 11 via the bus 6. The determination circuit 11 determines whether the required data is stored in the memory 30. If the required data is available, the data is requested from the readout circuit 12. If the required data is not present, the write circuit 13 is requested to read the required data from the main memory 5.

メモリ30よりのデータ読出しを要求された読
出し回路12は所要データのアドレスをメモリ3
0に与えることによつて、メモリ30よりデータ
を得、それを判定回路11へ戻す。
The read circuit 12, which is requested to read data from the memory 30, reads the address of the required data from the memory 3.
0, data is obtained from the memory 30 and returned to the determination circuit 11.

メインメモリ5よりのデータ読出しを要求され
た書込み回路13は、要求のあつたメモリアドレ
スを含む複数個の連続したアドレスのデータ群
を、バス7を介してメインメモリ5へ要求する。
書込み回路13はメインメモリ5より戻されてき
たデータ群を、メモリ30に送りその書込みを依
頼するとともに、所要のデータを判定回路11に
戻す。
The write circuit 13 requested to read data from the main memory 5 requests the main memory 5 via the bus 7 for a data group of a plurality of consecutive addresses including the requested memory address.
The write circuit 13 sends the data group returned from the main memory 5 to the memory 30 and requests its writing, and returns the required data to the determination circuit 11.

所要のデータを受けた判定回路11は、そのデ
ータをバス6を介してプロセツサ1へ送る。
Upon receiving the required data, the determination circuit 11 sends the data to the processor 1 via the bus 6.

判定回路11は、メモリ30に記憶されている
データのメインメモリ上でのアドレスを記憶する
アドレス記憶部と、プロセツサ1から送られてき
たアドレスとアドレス記憶部に記憶されているア
ドレスと一致するものがあるか否かを比較する比
較部と、比較の結果、該当するものがあるときは
メモリ30からのデータ読出しを読出し回路12
に対して要求する要求部と、読出し回路12、又
は、書込み回路13からのデータをバス6に送出
するための送出部と、比較の結果、該当するもの
がないときは、書込み回路13に対してメインメ
モリ5からメモリ30へのデータ群の転送を依頼
する依頼部と、書込み回路13からのデータを受
けたとおりメモリ30に記憶されたデータ群のア
ドレスをアドレス記憶部に登録する登録部とで構
成され、前記動作を行う。
The determination circuit 11 includes an address storage section that stores the address on the main memory of the data stored in the memory 30, and a circuit that matches the address sent from the processor 1 with the address stored in the address storage section. a comparison unit that compares whether or not there is a corresponding one, and a readout circuit 12 that reads data from the memory 30 if there is a corresponding one as a result of the comparison.
and a sending unit for sending data from the read circuit 12 or the write circuit 13 to the bus 6. If there is no matching data as a result of comparison, the data is sent to the write circuit 13. a request unit that requests the transfer of a data group from the main memory 5 to the memory 30, and a registration unit that registers the address of the data group stored in the memory 30 as received from the write circuit 13 in the address storage unit. and performs the above operations.

書込み回路13は、判定回路11からの要求を
受付ける受付け部と要求のあつたメモリアドレス
を含む複数個の連続したアドレスのデータ群をメ
インメモリ5に対して要求する要求部と、読込ん
だデータ群をメモリ30へ書込む書込み部と、プ
ロセツサ1から要求のあつたデータを判定回路1
1へ送出する送出部とで構成され、前記動作を行
う。
The write circuit 13 includes a reception section that receives a request from the determination circuit 11, a request section that requests a data group of a plurality of consecutive addresses including the requested memory address from the main memory 5, and a request section that receives the read data. a writing section that writes the group to the memory 30, and a judgment circuit 1 that processes the data requested from the processor 1.
1, and performs the above operations.

第3図を用いて更新器20の詳細な説明を行
う。第3図に於いて、メインメモリ5へのメモリ
書込み要求がバス7に生じたとする。このとき、
監視回路21は、そのアドレスに対するデータが
メモリ30に記憶されているか否かを判定する。
もし、そうであるならば、置換回路22に対して
そのデータを取込むように指示する。置換回路2
2は、データを取り込みバス上にメインメモリへ
の書込みが成功したという信号が発生したとき、
メモリ30内のデータを新しいデータで置きかえ
る。
A detailed explanation of the updater 20 will be given using FIG. 3. In FIG. 3, it is assumed that a memory write request to the main memory 5 occurs on the bus 7. At this time,
The monitoring circuit 21 determines whether data for that address is stored in the memory 30.
If so, the replacement circuit 22 is instructed to take in that data. Replacement circuit 2
2, when data is captured and a signal indicating that writing to the main memory has been successfully generated is generated on the bus.
Replace the data in the memory 30 with new data.

監視回路21は、メインメモリ書込み時のバス
7上のアドレスと判定回路11のアドレス記憶部
に記憶されているアドレスと一致するものがある
か否かを比較する比較部と、一致するものがある
ときは、バス上のデータで置換えることを置換回
路22に要求する要求部とで構成され、前記動作
を行う。
The monitoring circuit 21 includes a comparison section that compares whether or not an address on the bus 7 at the time of main memory writing matches an address stored in the address storage section of the determination circuit 11, and there is a matching section. At the time, the request section requests the replacement circuit 22 to replace the data with the data on the bus, and performs the above operation.

置換回路22は、監視回路21から要求のあつ
たとき、バス7上のデータを取込む取込み部と、
バス7上でのメインメモリ書込み成功か否かを監
視する監視部と、監視部で成功を検出したときに
メモリ30内の古いデータを取込み部で取込んだ
新しいデータで置きかえる置換部とで構成され、
前記動作を行う。
The replacement circuit 22 includes an acquisition section that takes in data on the bus 7 when requested by the monitoring circuit 21;
Consists of a monitoring section that monitors whether writing to the main memory on the bus 7 is successful or not, and a replacement section that replaces old data in the memory 30 with new data imported by the importing section when success is detected by the monitoring section. is,
Perform the above operation.

第4図を用いてメモリ30の詳細な説明を行
う。第4図に於いて、連想器10よりデータ群が
メモリ回路30へ送られてきたとする。このと
き、選択回路31は、メモリ回路33の中に使用
されていないメモリセルがあるか否かを調べもし
ある場合には、その中の一つのメモリセルを選び
だす。もしそのようなものがない場合にはFIFO
回路32に選択を依頼する。依頼を受けたFIFO
回路32はもつとも古く書込まれたメモリセルを
選びだす。メモリセルが選び出されると、メモリ
回路33はそのメモリセル内にデータ群を書込
む。
The memory 30 will be explained in detail using FIG. 4. In FIG. 4, it is assumed that a data group is sent from the associator 10 to the memory circuit 30. At this time, the selection circuit 31 checks whether there are any unused memory cells in the memory circuit 33, and if so, selects one of them. If there is no such thing then FIFO
The circuit 32 is asked to make a selection. FIFO requested
The circuit 32 selects the memory cells that have been written to the oldest. Once a memory cell is selected, memory circuit 33 writes a group of data into that memory cell.

選択回路31は、各メモリセルが使用か否かの
状態を示す記憶部と、明示部より使用可能なメモ
リセルがあるか否かを示す判定部と、使用可能な
メモリセルがある場合にはそのメモリセルを選び
だし、今選びだされたメモリセルを使用の状態に
する選択部と、使用可能なメモリセルがない場合
には強制的なメモリセルの選択をFIFO回路32
に依頼する依頼部で構成され前記動作を行う。
The selection circuit 31 includes a storage section that indicates whether each memory cell is used or not, a determination section that indicates whether or not there is a memory cell that can be used from an explicit section, and a determination section that indicates whether or not there is a memory cell that can be used. A selection section that selects the memory cell and puts the currently selected memory cell into use, and a FIFO circuit 32 that forcibly selects a memory cell when there is no usable memory cell.
The system is comprised of a requesting section that makes requests to perform the above-mentioned operations.

以上述べた様に、本発明のバス結合システム
は、メインメモリ上でのデータの変更をバス結合
システム内のデータにも及ぶため、メインメモリ
へのアクセス回数を減少させ、システム性能の向
上に寄与する。
As described above, the bus-coupled system of the present invention extends changes to data on the main memory to data in the bus-coupled system, thereby reducing the number of accesses to the main memory and contributing to improved system performance. do.

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

第1図はバス結合システムの概略図、第2図は
連想器のブロツク図、第3図は更新器のブロツク
図、第4図はメモリのブロツク図である。図中 1,2……プロセツサ、3,4……バス結合装
置、5……メインメモリ、6,7……バス、10
……連想器、20……更新器、30……メモリを
示す。
FIG. 1 is a schematic diagram of the bus coupling system, FIG. 2 is a block diagram of the associator, FIG. 3 is a block diagram of the updater, and FIG. 4 is a block diagram of the memory. In the figure 1, 2... Processor, 3, 4... Bus coupling device, 5... Main memory, 6, 7... Bus, 10
. . . associator, 20 . . . updater, 30 . . . memory.

Claims (1)

【特許請求の範囲】[Claims] 1 マルチバス構成のマルチプロセツサシステム
に於けるバス結合装置に於いて、バス結合装置内
のメモリに記憶されているデータについて、メイ
ンメモリが結合されているバス上でメモリライト
要求が発生しそれが成功したか否かを監視する監
視回路と、書込みデータを取込み、成功した場合
にはバス結合装置内のメモリにある以前のデータ
を、書込みデータによつて置きかえる置換回路で
構成される更新器を備えていることを特徴とする
バス結合システム。
1. In a bus coupling device in a multiprocessor system with a multi-bus configuration, a memory write request occurs on the bus to which the main memory is coupled for data stored in the memory in the bus coupling device. An updater consisting of a monitoring circuit that monitors whether or not the data has been successfully written, and a replacement circuit that takes in the written data and, if successful, replaces the previous data in the memory in the bus coupling device with the written data. A bus coupling system characterized by comprising:
JP4667180A 1980-04-09 1980-04-09 Bus coupling system Granted JPS56143071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4667180A JPS56143071A (en) 1980-04-09 1980-04-09 Bus coupling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4667180A JPS56143071A (en) 1980-04-09 1980-04-09 Bus coupling system

Publications (2)

Publication Number Publication Date
JPS56143071A JPS56143071A (en) 1981-11-07
JPS6342303B2 true JPS6342303B2 (en) 1988-08-23

Family

ID=12753816

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4667180A Granted JPS56143071A (en) 1980-04-09 1980-04-09 Bus coupling system

Country Status (1)

Country Link
JP (1) JPS56143071A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5173852A (en) * 1974-12-23 1976-06-26 Fujitsu Ltd Batsufua memoriojusurudeetashorishisutemu

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5173852A (en) * 1974-12-23 1976-06-26 Fujitsu Ltd Batsufua memoriojusurudeetashorishisutemu

Also Published As

Publication number Publication date
JPS56143071A (en) 1981-11-07

Similar Documents

Publication Publication Date Title
US6088770A (en) Shared memory multiprocessor performing cache coherency
EP0422656B1 (en) Information processing system
EP0458516B1 (en) Memory access bus arrangement
US4698746A (en) Multiprocessor communication method and apparatus
JP3687990B2 (en) Memory access mechanism
CA2271536C (en) Non-uniform memory access (numa) data processing system that buffers potential third node transactions to decrease communication latency
EP0301354A2 (en) Cache consistency protocol for multiprocessor system
US5029074A (en) Bus adapter unit for digital processing system
US5778437A (en) Invalidation bus optimization for multiprocessors using directory-based cache coherence protocols in which an address of a line to be modified is placed on the invalidation bus simultaneously with sending a modify request to the directory
US6073225A (en) Method and apparatus for monitoring bus transactions based on cycle type and memory address range
US6026472A (en) Method and apparatus for determining memory page access information in a non-uniform memory access computer system
JPH0950400A (en) Multiprocessor system
EP0512685B1 (en) Quadrature bus protocol for carrying out transactions in a computer system
JPH07152647A (en) Shared memory multiprocessor
Leijten et al. PROPHID: a data-driven multi-processor architecture for high-performance DSP
KR940009702B1 (en) Data transmission apparatus
JPS6342303B2 (en)
JPS6319903B2 (en)
JPH0511337B2 (en)
Lucci et al. Reflective-memory multiprocessor
JPH09269934A (en) Data matching method and transmitting system for common memory
CN117389483B (en) Memory management method and device, electronic equipment and readable storage medium
JP2971119B2 (en) High-speed data transfer method in multiple processor system
JPH04195576A (en) Cache memory system
JPH0750466B2 (en) Parallel computer cache memory control system