[go: up one dir, main page]

JPH04151721A - High speed data transferring system for plural processor system - Google Patents

High speed data transferring system for plural processor system

Info

Publication number
JPH04151721A
JPH04151721A JP2275197A JP27519790A JPH04151721A JP H04151721 A JPH04151721 A JP H04151721A JP 2275197 A JP2275197 A JP 2275197A JP 27519790 A JP27519790 A JP 27519790A JP H04151721 A JPH04151721 A JP H04151721A
Authority
JP
Japan
Prior art keywords
processor
data
page
external
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2275197A
Other languages
Japanese (ja)
Other versions
JP2971119B2 (en
Inventor
Keiya Eto
江藤 圭也
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 JP2275197A priority Critical patent/JP2971119B2/en
Publication of JPH04151721A publication Critical patent/JPH04151721A/en
Application granted granted Critical
Publication of JP2971119B2 publication Critical patent/JP2971119B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Memory System Of A Hierarchy Structure (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 (概  要〕 実メモリを共用せず、外部記憶装置を共有する複数プロ
セッサシステムにおける高速データ転送方式に関し、 外部記憶装置にページアウトされているデータ領域を送
信側のユーザ空間にページインすることなく受信側のユ
ーザ空間に送信し、また受信ユーザ空間側では実処理上
必要なデータのみを受信できるようにすることを目的と
し、 外部記憶装置を共有し、通信路によって結合された複数
のプロセッサからなるシステムにおいて、該複数の各プ
ロセッサが、該各プロセッサのシステムプログラムによ
って管理され、該各プロセッサの実メモリ内のデータ領
域にある送信データを、該外部記憶装置へのページアウ
トの前に一時的に格納するための一時データ領域と、該
システムプログラムによって管理され、1つ以上の各仮
想記憶領域に対応して、送信データが前記外部記憶装置
上にあるか他プロセッサのシステムプログラムが管理す
る前記一時データ領域にあるかを区別して送信データを
管理するための仮想メモリ管理情報とを備え、送信プロ
セッサ側ですでに前記外部記憶装置にページアウトされ
ている送信データの送信空間へのページインを行うこと
なく、受信プロセッサ側で必要とするデータのみを受信
するように構成する。
[Detailed Description of the Invention] (Summary) Regarding a high-speed data transfer method in a multi-processor system that does not share real memory but shares an external storage device, the data area that has been paged out to the external storage device can be transferred to a sending user. The purpose is to send data to the receiving user's space without page-in to the space, and to enable the receiving user's space to receive only the data necessary for actual processing. In a system consisting of a plurality of coupled processors, each of the plurality of processors is managed by the system program of each of the processors, and transmits data stored in a data area in the real memory of each of the processors to the external storage device. A temporary data area for temporary storage before page-out, and one or more virtual storage areas managed by the system program to determine whether the data to be sent is on the external storage device or another processor. virtual memory management information for managing the transmitted data by distinguishing whether it is in the temporary data area managed by the system program of To configure a receiving processor to receive only necessary data without page-in to a transmission space.

〔産業上の利用分野〕[Industrial application field]

本発明は複数のプロセッサから成るシステムにおけるデ
ータの転送方式に係り、さらに詳しくは実メモリを共用
せず、外部記憶装置を共有する複数プロセッサシステム
における高速データ転送方式に関する。
The present invention relates to a data transfer method in a system consisting of a plurality of processors, and more particularly to a high-speed data transfer method in a multi-processor system that does not share real memory but shares an external storage device.

[従来の技術と発明が解決しようとする課題]第7図は
複数のプロセッサから成るシステムにおけるデータ転送
方式の従来例である。同図においてプロセッサ1a、l
b、  ・・・、Inは通信路2によって相互に接続さ
れ、各プロセ・ノサIa。
[Prior Art and Problems to be Solved by the Invention] FIG. 7 shows a conventional example of a data transfer system in a system consisting of a plurality of processors. In the figure, processors 1a, l
b, . . . , In are interconnected by a communication path 2, and each processor Ia.

lb、  ・・・、1nにはそれぞれシステムプログラ
ム3a、3b、  ・・・、3nが存在する。
System programs 3a, 3b, . . . , 3n exist in lb, . . . , 1n, respectively.

第7図において、プロセッサ】a内のユーザ空間4aが
持っているデータをプロセッサlb内のユーザ空間4b
に送信する場合を考える。ここでユーザ空間4aから送
信されるデータは、ユーザ空間4bへの送信後にはプロ
セッサla側では必要なくなるものとする。プロセッサ
1aと1bは共同で用いることができる実メモリを持っ
ていないために、ユーザ空間4a内のデータ領域5の内
容をユーザ空間4b内のバッファ6に送信するためには
、システムプログラム3aがシステムプログラムによっ
て管理される通信路2を使用してデータ転送を行うこと
になる。
In FIG. 7, data held in user space 4a in processor 1b is transferred to user space 4b in processor lb.
Consider the case of sending to. Here, it is assumed that the data transmitted from the user space 4a is no longer needed on the processor la side after being transmitted to the user space 4b. Since the processors 1a and 1b do not have real memory that can be used jointly, the system program 3a must use the system Data transfer will be performed using the communication channel 2 managed by the program.

第7図のような従来例では、例えばユーザ空間4a内の
データ領域がページアウトされて各プロセッサにそれぞ
れ対応して設けられている外部記憶装置に格納されてい
る場合には、データの送信後送信空間4aにおいてはそ
のデータは不要となるにもかかわらず、通信路2にデー
タを流すためにユーザ空間4aのデータ領域5に送信デ
ータを1度ページインする必要があるという問題点があ
る。
In the conventional example shown in FIG. 7, for example, if the data area in the user space 4a is paged out and stored in an external storage device provided corresponding to each processor, Although the data is no longer needed in the transmission space 4a, there is a problem in that it is necessary to page the transmission data once into the data area 5 of the user space 4a in order to send the data to the communication channel 2.

また受信ユーザ空間4b内で送信データの全てが必ずし
も必要でない場合にも、送信ユーザ空間4a側では4b
側でどのデータを必要とするかを判断できないために、
全てのデータを送信する必要があるという問題点もある
Furthermore, even if all of the transmitted data is not necessarily required in the receiving user space 4b, the transmitting user space 4a side
Because we are unable to determine what data we need,
Another problem is that all data needs to be transmitted.

本発明は、外部記憶装置にページアウトされているデー
タ領域を送信側のユーザ空間にページインすることなく
受信側のユーザ空間に送信し、また受信ユーザ空間側で
は実処理上必要なデータのみを受信できるようにするこ
とを目的とする。
The present invention transmits a data area that has been paged out in an external storage device to the receiving side's user space without page-in to the sending side's user space, and also transmits only the data necessary for actual processing on the receiving side's user space. The purpose is to enable reception.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理プロンク図である。同図は外部記
憶装置7を共有し、通信路2によって相互に結合された
複数のプロセッサ1a、lb。
FIG. 1 is a Pronk diagram of the principle of the present invention. In the figure, a plurality of processors 1a and 1b share an external storage device 7 and are interconnected by a communication path 2.

・・から成るシステムにおける高速データ転送方式の原
理ブロック図である。
It is a principle block diagram of a high-speed data transfer method in a system consisting of...

第1図において、複数の各プロセッサ1a、1b、・・
・内の一時データ領域8a、8b、  ・・・は例えば
バッファであり、各プロセッサla。
In FIG. 1, each of a plurality of processors 1a, 1b,...
Temporary data areas 8a, 8b, . . . are buffers, for example, and each processor la.

lb、  ・・・のシステムプログラムによって管理さ
れ、各プロセッサの実メモリ内のデータ領域にある送信
データを外部記憶装置7へのページアウトの前に一時的
に格納するものである。また仮想メモリ管理情報9a、
9b、  ・・・は、各プロセッサ1a、lb、  ・
・・のそれぞれのシステムプログラムによって管理され
、それぞれのプロセッサにおける1つ以上の各仮想記憶
領域に対応して、送信データが外部記憶装置7上にある
か、システム内で他のプロセッサのシステムプログラム
が管理する一時データ領域にあるかを区別して、送信デ
ータを管理するためのものである。
It is managed by the system program of lb, . Also, virtual memory management information 9a,
9b, . . . represent each processor 1a, lb, .
..., and corresponding to one or more virtual storage areas in each processor, whether the transmission data is on the external storage device 7 or if the system program of another processor in the system This is for managing transmission data by distinguishing whether it is in the managed temporary data area.

[作   用〕 本発明においては、送信プロセッサ側ですでに外部記憶
装置7にページアウトされている送信データの送信空間
へのページインを行うことなく、受信プロセッサ側で必
要とされるデータのみが送信される。
[Function] In the present invention, only the data required on the receiving processor side is sent without page-in of the sending data that has already been paged out to the external storage device 7 into the sending space on the sending processor side. Sent.

すなわち、送信データが外部記憶装置7上にある場合に
は、その外部ページが外部記憶装置上でどこにあるかを
示す外部ページ管理情報が受信側プロセッサに送信され
、受信プロセッサ側では受信バッファ領域に対応する仮
想メモリ管理情報として送信された外部ページ管理情報
が書き込まれ、受信側のプロセッサで実処理上の必要に
よって受信バッファ領域にアクセスしてページフォルト
が発生した時に、外部ページ管理情報の内容によって外
部記憶装置7からのデータのページインが行われる。
That is, when the transmission data is on the external storage device 7, external page management information indicating where the external page is located on the external storage device is sent to the receiving processor, and the receiving processor side stores the external page in the receiving buffer area. The external page management information sent as the corresponding virtual memory management information is written, and when the receiving processor accesses the receive buffer area due to actual processing needs and a page fault occurs, the external page management information is written according to the contents of the external page management information. Data is paged in from the external storage device 7.

また送信プロセッサ側で送信データが外部記憶装置上の
外部ページにない時には、実メモリ上の送信データが一
時データ領域8a、8b、  ・・・に移され、そのデ
ータ領域の内容の外部記憶装置7への強制ページアウト
がスケジュールされ、その後送信側プロセッサの識別子
と一時データ領域の仮想アドレスとが受信側プロセッサ
に送信される。
Furthermore, when the transmission data is not in the external page on the external storage device on the transmission processor side, the transmission data on the real memory is moved to the temporary data area 8a, 8b, . . . and the contents of the data area are stored in the external storage device 7. A forced pageout to is scheduled, after which the sending processor's identifier and the virtual address of the temporary data area are sent to the receiving processor.

受信プロセッサ側では仮想メモリ管理情報として送信さ
れたこプロセッサ識別子と仮想アドレスとが書き込まれ
、受信バッファ領域へのアクセスによりページフォルト
が発生した時にその仮想メモリ管理情報の内容によって
送信側プロセッサにデータ送信が要求され、送信プロセ
ッサ側からその仮想アドレスを基にして送信データがペ
ージアウトされた外部記憶装置7の外部ページを示す外
部ページ管理情報が送信され、受信プロセッサ側でその
外部ページ管理情報の内容によって外部記憶装置7から
のページイン処理が行われる。
On the receiving processor side, the processor identifier and virtual address sent as virtual memory management information are written, and when a page fault occurs due to access to the receiving buffer area, data transmission to the sending processor is performed depending on the contents of the virtual memory management information. Upon request, the sending processor side sends external page management information indicating the external page of the external storage device 7 to which the sending data has been paged out based on the virtual address, and the receiving processor side sends external page management information based on the contents of the external page management information. Page-in processing from the external storage device 7 is performed.

以上のように、本発明によれば送信空間側でページアウ
トされているデータ領域をページインせずにデータを送
信することができ、また受信空間側では実処理上必要な
データのみを受信することが可能になる。
As described above, according to the present invention, data can be transmitted without paging in the data area that has been paged out on the sending space side, and only data necessary for actual processing can be received on the receiving space side. becomes possible.

[実  施  例] 第2図は本発明のデータ転送方式の基本概念の説明図で
ある。同図を用いて本発明におけるデータ転送方式の仕
組みを説明する。
[Embodiment] FIG. 2 is an explanatory diagram of the basic concept of the data transfer method of the present invention. The mechanism of the data transfer method according to the present invention will be explained using the figure.

本発明においては、データ転送の処理■として、複数の
プロセッサが外部記憶装置を共用可能とするために、シ
ステムを構成するプロセッサの識別子を基にして仮想メ
モリ管理情報の初期化が行われる。この初期化は、例え
ば各プロセッサが外部記憶装置のどのスロットを使用す
るかなどを示すものである。次に処理■として、送信プ
ロセッサ側における送信データ領域に対して有効な外部
ページが外部記憶装置上に存在する場合には、その外部
ページを示す外部ページ管理情報が受信側に送信される
In the present invention, as the data transfer process (2), virtual memory management information is initialized based on the identifiers of the processors making up the system in order to enable a plurality of processors to share the external storage device. This initialization indicates, for example, which slot of the external storage device each processor uses. Next, as process (2), if an external page valid for the transmission data area on the sending processor side exists on the external storage device, external page management information indicating the external page is sent to the receiving side.

これに対して送信データが格納されている実メモリに対
する有効な外部ページが存在しない場合には、処理■と
してCPUの近くにある実メモリ上の送信データがシス
テムプログラムによって管理されるページアウト可能な
一時データ領域に移される。すなわち送信データが実メ
モリから一時データ領域用のバッファへと移される。
On the other hand, if there is no valid external page for the real memory in which the transmitted data is stored, the process is as follows: The transmitted data on the real memory near the CPU is managed by the system program and can be paged out. Moved to temporary data area. That is, the transmission data is moved from the real memory to the buffer for the temporary data area.

その後一時データ領域の内容の外部記憶装置への強制ペ
ージアウトがスケジュールされ、送信側プロセッサの識
別子と一時データ領域の仮想アドレスとが受信側に送信
される。続いて処理■として、実メモリ上の送信データ
領域に対応する外部ページに関する情報が送信側の仮想
メモリ管理情報から消され、送信側における処理は一応
終了する。
A forced pageout of the contents of the temporary data area to external storage is then scheduled, and the identifier of the sending processor and the virtual address of the temporary data area are sent to the receiving side. Subsequently, in process (2), information regarding the external page corresponding to the transmission data area on the real memory is deleted from the virtual memory management information on the transmission side, and the processing on the transmission side is temporarily terminated.

第2図(a)は送信側における外部ページ棄却方式の説
明図である。送信側のシステムプログラムIO内には仮
想メモリ管理情報11が保持されているが、外部記憶装
置13内に送信データ領域12に対して有効な外部ペー
ジ14が存在する場合には、前述の処理■で外部ページ
管理情報が含まれる仮想メモリ管理情報11が受信側に
送信され、処理■で送信データ領域12に対応する外部
ページ14に関する情報が仮想メモリ管理情報から消さ
れる。
FIG. 2(a) is an explanatory diagram of an external page rejection method on the sending side. Virtual memory management information 11 is held in the system program IO on the sending side, but if there is an external page 14 valid for the sending data area 12 in the external storage device 13, the above-mentioned process The virtual memory management information 11 including the external page management information is transmitted to the receiving side in step (2), and the information regarding the external page 14 corresponding to the transmission data area 12 is deleted from the virtual memory management information in step (2).

第2図(b)は送信データ領域12に対して有効な外部
ページが存在しない場合の送信データの一時データ領域
への移動の説明図である。前述の処理■において送信デ
ータ領域12のデータの一時データ領域15への移動が
行われ、その後その内容の外部記憶装置13上の外部ペ
ージ14への強制ページアウトがスケジュールされる。
FIG. 2(b) is an explanatory diagram of the movement of transmission data to the temporary data area when there is no valid external page for the transmission data area 12. In the above-mentioned process (2), the data in the transmission data area 12 is moved to the temporary data area 15, and then forced page-out of the contents to the external page 14 on the external storage device 13 is scheduled.

受信プロセッサ側では、処理■として受信バッファ領域
に対応する実メモリと外部ページが棄却され、仮想記憶
領域獲得直後の状態とされる。後述するように受信側処
理プログラムは実処理で必要になったデータを参照する
ことにより、ページフォルトおよびページインの論理に
よりデータを得ることになる。この時実メモリが存在す
るとページフォルトが発生せず、すでに存在す゛る実メ
モリ、すなわちごみを参照してしまうことになる。
On the reception processor side, the real memory and external page corresponding to the reception buffer area are discarded as process (2), and the state is set immediately after the virtual storage area has been acquired. As will be described later, the receiving side processing program refers to the data required in the actual processing and obtains the data using page fault and page-in logic. If real memory exists at this time, a page fault will not occur, and the actual memory that already exists, ie, garbage, will be referenced.

またデータ受信時に存在する実メモリを割り当てたまま
にして強制的に外部記憶装置からのページインを行う場
合には、そのデータが参照されない場合にページインの
処理が無駄になるために、この処理■において受信バッ
ファ領域に対応する実メモリと外部ページが棄却される
In addition, if you forcibly perform a page-in from an external storage device while keeping the real memory that exists at the time of data reception, the page-in process will be wasted if the data is not referenced, so this process In (2), the real memory and external pages corresponding to the reception buffer area are discarded.

次に処理■として、受信バッファ領域の仮想メモリ管理
情報として送信プロセッサ側から送られた外部ページ管
理情報、または送信プロセッサ側のシステムプログラム
が管理するプロセッサ識別子と仮想アドレスとが書き込
まれる。
Next, in process (2), external page management information sent from the sending processor side or a processor identifier and virtual address managed by the system program on the sending processor side are written as virtual memory management information in the receiving buffer area.

第2図(C)は外部ページ管理情報の書き込み処理の説
明図である。受信側のシステムプログラム16内で受信
バッファ領域18に対応する仮想メモリ管理情報17と
して、処理■で外部記憶装置13内の外部ページ19の
外部ページ管理情報が書き込まれる。これによって受信
プロセッサ側でのデータ参照前の処理は終了する。
FIG. 2(C) is an explanatory diagram of the writing process of external page management information. In the receiving side system program 16, external page management information of the external page 19 in the external storage device 13 is written as the virtual memory management information 17 corresponding to the receiving buffer area 18 in process (2). This completes the processing before data reference on the receiving processor side.

受信プロセッサ側でプログラム処理の進行につれて他プ
ロセッサから転送されたデータが必要になると、受信プ
ロセッサ側のシステムプログラムは処理■として受信バ
ッファ領域にアクセスするが、受信バッファ領域に対応
する実メモリと外部ページが棄却されているためにペー
ジフォルトが発生し、システムプログラムはその仮想記
憶領域に対応する仮想メモリ管理情報の内容によって次
のような処理を行う。
When the receiving processor side needs data transferred from another processor as the program processing progresses, the system program on the receiving processor side accesses the receiving buffer area as a process, but the real memory and external pages corresponding to the receiving buffer area are A page fault occurs because the virtual storage area is rejected, and the system program performs the following processing depending on the contents of the virtual memory management information corresponding to the virtual storage area.

すなわち外部ページ管理情報が仮想メモリ管理情報とし
て設定されている場合には、外部記憶装置からの通常の
データのページイン処理が行われる。また仮想メモリ管
理情報として送信側プロセッサの識別子と仮想アドレス
とが設定されている場合には、送信側プロセッサのシス
テムプログラムに対してデータ転送要求が行われる。
That is, when external page management information is set as virtual memory management information, normal page-in processing of data from the external storage device is performed. Furthermore, if the identifier and virtual address of the sending processor are set as virtual memory management information, a data transfer request is made to the system program of the sending processor.

この場合には、処理■として一時データ領域の仮想アド
レスを基にして強制ページアウトが行われた結果として
の外部記憶装置上の外部ページを示す外部ページ管理情
報が受信側プロセッサに通知され、外部記憶装置からの
ページイン処理が行われる。この時処理■によるページ
アウトが完了していない場合には、そのページアウトが
完了するまで外部ページ管理情報の送信が行われない。
In this case, the receiving processor is notified of external page management information indicating the external page on the external storage device as a result of forced page-out based on the virtual address of the temporary data area as a process. Page-in processing from the storage device is performed. At this time, if the page-out by process (2) has not been completed, the external page management information will not be transmitted until the page-out is completed.

第3図は本発明における受信側プロセッサの仮想記憶管
理方式の実施例である。本実施例においては仮想記憶の
状態が(1)〜(5)の5つの状態に分けて管理されて
いる。本発明では受信バッファ領域に対する仮想メモリ
の状態が(1)の仮想記憶獲得直後の状態に、処理■に
よって一旦状態遷移が行われ、その後処理■により(4
)または(5)の状態への遷移が行われる。(4)の状
態は仮想メモリ管理情報として外部ページ管理情報が設
定されている場合に対応し、また(5)は他プロセッサ
にデータが存在し、仮想メモリ管理情報として送信側プ
ロセッサの識別子と仮想アドレスとが設定されている場
合に対応する。
FIG. 3 is an embodiment of the virtual memory management system of the receiving processor according to the present invention. In this embodiment, the state of virtual memory is divided into five states (1) to (5) and managed. In the present invention, the state of the virtual memory for the reception buffer area is temporarily changed to the state immediately after virtual memory acquisition in (1) through process (2), and then (4) through process (2).
) or transition to state (5) is performed. State (4) corresponds to the case where external page management information is set as virtual memory management information, and state (5) corresponds to the case where data exists in another processor and the identifier of the sending processor and virtual page management information are set as virtual memory management information. Corresponds when the address is set.

第4図は各データ領域の状態遷移の実施例である。同図
(a)は送信側プロセッサにおける送信データ領域の状
態遷移を示し、データ送信前の状態は(2)〜(4)の
いずれかであり、データ送信後には前述の処理■、また
は■によって状態(1)への遷移が行われる。しかしな
がら(2)の状態に対して行われる処理■によって実メ
モリの内容はシステムプログラム内の一時バッファ領域
に移されるために、データ自体の状態遷移については一
時バッファ領域の状態遷移として次に述べる。
FIG. 4 is an example of state transition of each data area. Figure (a) shows the state transition of the transmission data area in the transmission side processor.The state before data transmission is one of (2) to (4), and after data transmission, the above-mentioned process A transition to state (1) is made. However, since the contents of the real memory are moved to the temporary buffer area in the system program by the process (2) performed for the state (2), the state transition of the data itself will be described below as the state transition of the temporary buffer area.

第4図(b)はシステムプログラム内の一時データ領域
としての一時バッファの状態遷移の説明図である。送信
バッファ領域についていた実メモリ、すなわち実際のデ
ータ領域のデータが一時ハ・7フアに格納される前の状
態は(1)であり、前述の処理■によって一時ハッファ
の状態は(2)の実メモリありの状態を経由して、(4
)の実メモリがなく外部記憶ありの状態に遷移する。な
おここで一時ハッファはデータの管理のために新たに獲
得されるものである。
FIG. 4(b) is an explanatory diagram of the state transition of the temporary buffer as a temporary data area within the system program. The state of the real memory attached to the transmission buffer area, that is, the state before the data in the actual data area is stored in the temporary huffer is (1), and the state of the temporary huffer is changed to the actual state of (2) by the above process. Via the state with memory, (4
) has no real memory and transitions to a state with external memory. Note that the temporary huffer is newly acquired for data management.

第4図(C)は受信側プロセッサ内の受信バッファの状
態遷移の説明図である。同図は第2図(C)において受
信側のシステムプログラムが受信バッファ領域18に対
する仮想メモリ管理情報17を書き込む前後の状態遷移
を示している。受信バッファの初期状態は(1)〜(4
)のいずれかであり、前述の処理■と■によって受信バ
ッファの状態は(1)の仮想記憶領域獲得直後の状態を
経由して、(4)または(5)の状態に遷移する。ここ
で、状態(5)への遷移は第4図(a)において送信バ
ッファの状態が(2)、すなわち有効な外部ページが存
在しない場合に対応し、それ以外の場合には状B(4)
への遷移が行われる。
FIG. 4(C) is an explanatory diagram of the state transition of the receiving buffer in the receiving processor. This figure shows the state transition before and after the receiving side system program writes the virtual memory management information 17 to the receiving buffer area 18 in FIG. 2(C). The initial state of the receive buffer is (1) to (4)
), and the state of the reception buffer transits to the state (4) or (5) via the state immediately after acquiring the virtual storage area in (1) by the above-mentioned processes (1) and (2). Here, the transition to state (5) corresponds to the case where the sending buffer state is (2) in FIG. 4(a), that is, there is no valid external page; )
A transition is made.

第5図は仮想メモリ管理情報の実施例のフォーマットで
ある。この仮想メモリ管理情報は前述の外部ページ管理
情報を兼ねるものであり、各プロセッサ内のシステムプ
ログラムによって仮想メモリ毎に管理されている。その
内容は対応する実メモリの有無を示す例えばフラグと、
実メモリのページアドレス、外部記憶の有無を示す例え
ばフラグと、外部ページスロットNo、を基本とするが
、本発明においては送信データが外部記憶装置上でなく
他のプロセッサに存在する場合があるため、それを示す
フィールドが最後に追加されている。
FIG. 5 is a format of an embodiment of virtual memory management information. This virtual memory management information also serves as the aforementioned external page management information, and is managed for each virtual memory by the system program within each processor. Its contents include, for example, a flag indicating the presence or absence of the corresponding real memory;
Basically, the page address of the real memory, a flag indicating the presence or absence of external storage, and the external page slot number are used, but in the present invention, the transmission data may exist not on the external storage device but on another processor. , a field indicating it is added at the end.

また本発明においては外部記憶装置を複数プロセッサで
共用するために、外部ページスロットN。
Furthermore, in the present invention, an external page slot N is provided in order to share the external storage device among multiple processors.

としてプロセッサ識別子とスロット番号が使用される。The processor identifier and slot number are used as the

スロット番号の管理方式は全プロセッサに対して共通で
あり、各プロセッサに対してOから始まる。例えばプロ
セッサ#iに対するスロット番号Oは#1.0、またプ
ロセッサ#jのスロット番号0は#j、Oである。
The slot number management method is common to all processors and starts from O for each processor. For example, the slot number O for processor #i is #1.0, and the slot number 0 for processor #j is #j,O.

第6図は受信プロセッサ側で必要とするデータ領域のペ
ージインの実施例である。本発明においては、前述のよ
うに全部のデータを送信することな(受信プロセッサ側
で必要とされるデータ領域のみの参照が行われる。第6
図(a)において、受信プロセッサ側の処理プログラム
20はデータ受信のためにデータ受信バッファ21を用
意してシステムプログラム22に対してデータ受信を依
頼する。システムプログラム22は前述の処理■によっ
て受信バッファ21の仮想記憶領域に対応した仮想メモ
リ管理情報のみを送信側プロセッサから受信して書き込
むことにより、プロセッサ間でのデータの送受信が基本
的に完了する。
FIG. 6 is an example of page-in of a data area required on the receiving processor side. In the present invention, as described above, instead of transmitting all the data (only the data area required on the receiving processor side is referenced.
In Figure (a), a processing program 20 on the receiving processor side prepares a data receiving buffer 21 for data reception and requests a system program 22 to receive data. The system program 22 receives and writes only the virtual memory management information corresponding to the virtual storage area of the reception buffer 21 from the transmitting processor through the above-mentioned process (3), thereby basically completing the transmission and reception of data between the processors.

第6図(b)において、受信プロセッサ側の処理プログ
ラム20の処理においてデータが必要になった時に、デ
ータ受信バッファ21に対応する特定のデータ領域23
が参照されるが、この領域に対応する実メモリと外部ペ
ージは前述の処理■によって棄却されているためにペー
ジフォルトが発生する。
In FIG. 6(b), when data is required in the processing of the processing program 20 on the receiving processor side, a specific data area 23 corresponding to the data receiving buffer 21 is
is referenced, but a page fault occurs because the real memory and external page corresponding to this area have been discarded by the above-mentioned process (2).

そして第6図(C)において参照されたページへの外部
記憶装置からのページイン24が行われ、処理プログラ
ム20の処理が完了する。処理完了時にもプログラムの
処理上で必要のないデータに対応する受信バッファ領域
の参照は行われず、不要なデータの外部記憶装置からの
ページインが行われることはない。
Then, page-in 24 from the external storage device to the page referenced in FIG. 6(C) is performed, and the processing of the processing program 20 is completed. Even when processing is completed, no reference is made to the reception buffer area corresponding to data unnecessary for program processing, and no unnecessary data is paged in from the external storage device.

[発明の効果] 以上詳細に説明したように、本発明によれば外部記憶装
置にページアウトされているデータの送信空間へのペー
ジインが不要になるために送信側プロセッサの実メモリ
の使用効率を向上させることができ、また実際に受信側
の処理プログラムで必要とされるデータのみが転送され
るためにデータ転送効率の向上に寄与するところが大き
い。
[Effects of the Invention] As explained in detail above, according to the present invention, there is no need to page in the data that has been paged out to the external storage device into the transmission space, thereby improving the usage efficiency of the real memory of the transmitting processor. In addition, since only the data actually required by the processing program on the receiving side is transferred, it greatly contributes to improving data transfer efficiency.

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

第1図は本発明の原理ブロック図、 第2図は本発明のデータ転送方式の基本概念を説明する
図、 第3図は受信側プロセッサの仮想記憶管理方式の実施例
を示す図、 第4図は各データ領域の状態遷移の実施例を示す図、 第5図は仮想メモリ管理情報の実施例のフォーマットを
示す図、 第6図は受信プロセッサ側で必要とするデータ領域のペ
ージインの実施例を示す図、 第7図は複数プロセッサシステムにおけるデータ転送方
式の従来例を示す図である。 1a、lb・・・・・プロセッサ 2・・・・・・・・・通信路、 7.13・・・・・・外部記憶装置、 8a  8b  15・・一時データ領域。
FIG. 1 is a block diagram of the principle of the present invention. FIG. 2 is a diagram explaining the basic concept of the data transfer method of the present invention. FIG. 3 is a diagram showing an embodiment of the virtual memory management method of the receiving processor. The figure shows an example of the state transition of each data area. Figure 5 shows the format of an example of virtual memory management information. Figure 6 shows page-in of the data area required on the receiving processor side. FIG. 7 is a diagram showing a conventional example of a data transfer method in a multiple processor system. 1a, lb...Processor 2...Communication path, 7.13...External storage device, 8a 8b 15...Temporary data area.

Claims (1)

【特許請求の範囲】 1)外部記憶装置(7)を共有し、通信路(2)によっ
て結合された複数のプロセッサ(1a、1b、・・・)
からなるシステムにおいて、 該複数の各プロセッサ(1a、1b、・・・)が、該各
プロセッサのシステムプログラムによって管理され、該
各プロセッサの実メモリ内のデータ領域にある送信デー
タを、該外部記憶装置(7)へのページアウトの前に一
時的に格納するための一時データ領域(8a、8b、・
・・)と、該システムプログラムによって管理され、1
つ以上の各仮想記憶領域に対応して、送信データが前記
外部記憶装置(7)上にあるか他プロセッサのシステム
プログラムが管理する前記一時データ領域(8a、8b
、・・・)にあるかを区別して送信データを管理するた
めの仮想メモリ管理情報(9a、9b、・・・)とを備
え、 送信プロセッサ側ですでに前記外部記憶装置(7)にペ
ージアウトされている送信データの送信空間へのページ
インを行うことなく、受信プロセッサ側で必要とするデ
ータのみを受信することを特徴とする複数プロセッサシ
ステムにおける高速データ転送方式。 2)前記送信プロセッサ側の送信データが前記外部記憶
装置(7)上の外部ページにある時、該送信側プロセッ
サが該外部ページを示す外部ページ管理情報を受信側プ
ロセッサに送信し、該送信データの実メモリ上でのデー
タ領域に対応する外部ページに関する情報を前記仮想メ
モリ管理情報(9a、9b、・・・)から消し、 該受信側プロセッサが受信バッファ領域に対応するプロ
セッサの実メモリと前記外部記憶装置(7)上の外部ペ
ージの内容を棄却し、該受信バッファ領域に対応する仮
想メモリ管理情報として送信された外部ページ管理情報
を書き込み、該受信側プロセッサのシステムプログラム
が実処理上の必要により該受信バッファ領域にアクセス
してページフォルトが発生した時、該外部ページ管理情
報の内容により前記外部記憶装置(7)からのデータの
ページイン処理を行うことを特徴とする請求項1記載の
複数プロセッサシステムにおける高速データ転送方式。 3)前記送信プロセッサ側の送信データが前記外部記憶
装置(7)上の外部ページにない時、該送信側プロセッ
サが実メモリ上の送信データを前記一時データ領域(8
a、8b、・・・)に移し、該一時データ領域の内容の
前記外部記憶装置(7)への強制ページアウトをスケジ
ュールした後に、自プロセッサ識別子と該一時データ領
域の仮想アドレスとを受信側プロセッサに送信し、該送
信データの実メモリ上でのデータ領域に対応する外部ペ
ージに関する情報を前記仮想メモリ管理情報(9a、9
b、・・・)から消し、 該受信側プロセッサが前記受信バッファ領域に対応する
プロセッサの実メモリと前記外部記憶装置(7)上の外
部ページの内容を棄却し、該受信バッファ領域に対応す
る仮想メモリ管理情報として送信された前記プロセッサ
識別子と仮想アドレスとを書き込み、該受信側プロセッ
サのシステムプログラムが実処理上の必要により該受信
バッファ領域にアクセスしてページフォルトが発生した
時、該仮想メモリ管理情報の内容により前記送信側プロ
セッサにデータ送信を要求し、 該送信側プロセッサが前記仮想アドレスをもとに送信デ
ータがページアウトされた前記外部記憶装置(7)上の
外部ページを示す外部ページ管理情報を送信し、 該受信側プロセッサが該外部ページ管理情報の内容によ
り前記外部記憶装置(7)からのデータのページイン処
理を行うことを特徴とする請求項1記載の複数プロセッ
サシステムにおける高速データ転送方式。
[Claims] 1) A plurality of processors (1a, 1b, . . . ) that share an external storage device (7) and are connected by a communication path (2).
In the system, each of the plurality of processors (1a, 1b, . . . ) is managed by a system program of each processor, and transmits transmission data in a data area in the real memory of each processor to the external storage. Temporary data areas (8a, 8b, . . . for temporary storage before page-out to the device (7))
) and managed by the system program, 1
Corresponding to each of the three or more virtual storage areas, whether the transmission data is on the external storage device (7) or the temporary data area (8a, 8b) managed by a system program of another processor is determined.
,...) for managing the transmitted data by distinguishing between the pages stored in the external storage device (7) on the transmitting processor side. A high-speed data transfer method in a multi-processor system, characterized in that only data required by a receiving processor is received without page-in of transmitted data that has been sent out to a transmission space. 2) When the transmission data on the sending processor side is in an external page on the external storage device (7), the sending processor sends external page management information indicating the external page to the receiving processor, and the sending data information regarding the external page corresponding to the data area on the real memory of the processor is deleted from the virtual memory management information (9a, 9b, . . . ), and the receiving processor deletes the information regarding the external page corresponding to the data area on the real memory of the processor corresponding to the receiving buffer area and the The contents of the external page on the external storage device (7) are discarded, the external page management information sent as virtual memory management information corresponding to the receiving buffer area is written, and the system program of the receiving processor performs actual processing. 2. A page-in process for data from the external storage device (7) is performed according to the contents of the external page management information when the receiving buffer area is accessed as necessary and a page fault occurs. A high-speed data transfer method for multi-processor systems. 3) When the sending data on the sending processor side is not in the external page on the external storage device (7), the sending processor stores the sending data on the real memory in the temporary data area (8).
a, 8b, ...) and schedule a forced pageout of the contents of the temporary data area to the external storage device (7). The virtual memory management information (9a, 9
b, . The processor identifier and virtual address sent as virtual memory management information are written, and when the system program of the receiving processor accesses the receiving buffer area due to actual processing needs and a page fault occurs, the virtual memory is stored in the virtual memory. an external page that requests the sending processor to send data based on the content of the management information, and that the sending processor indicates an external page on the external storage device (7) to which the sending data has been paged out based on the virtual address; 2. A high-speed system in a multi-processor system according to claim 1, characterized in that management information is transmitted, and the receiving processor performs page-in processing of data from the external storage device (7) according to the contents of the external page management information. Data transfer method.
JP2275197A 1990-10-16 1990-10-16 High-speed data transfer method in multiple processor system Expired - Fee Related JP2971119B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2275197A JP2971119B2 (en) 1990-10-16 1990-10-16 High-speed data transfer method in multiple processor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2275197A JP2971119B2 (en) 1990-10-16 1990-10-16 High-speed data transfer method in multiple processor system

Publications (2)

Publication Number Publication Date
JPH04151721A true JPH04151721A (en) 1992-05-25
JP2971119B2 JP2971119B2 (en) 1999-11-02

Family

ID=17552037

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2275197A Expired - Fee Related JP2971119B2 (en) 1990-10-16 1990-10-16 High-speed data transfer method in multiple processor system

Country Status (1)

Country Link
JP (1) JP2971119B2 (en)

Also Published As

Publication number Publication date
JP2971119B2 (en) 1999-11-02

Similar Documents

Publication Publication Date Title
US6622193B1 (en) Method and apparatus for synchronizing interrupts in a message passing queue oriented bus system
US5418913A (en) System of two-way communication between processors using a single queue partitioned with pointers and limited overwrite privileges
CN111431757B (en) Virtual network flow acquisition method and device
EP0908826A2 (en) Packet protocol and distributed burst engine
EP2388707A1 (en) Interconnection method and device, for example for systems-on-chip
US5793994A (en) Synchronous event posting by a high throughput bus
JPH02288927A (en) Shared memory management system
CN112131176A (en) PCIE (peripheral component interface express) -based FPGA (field programmable Gate array) rapid local reconstruction method
JPH01142964A (en) Memory management
CN115328832B (en) Data scheduling system and method based on PCIE DMA
US20020040414A1 (en) Multiprocessor system and transaction control method for the same
CN111190840A (en) Multi-party central processing unit communication architecture based on field programmable gate array control
JP2971119B2 (en) High-speed data transfer method in multiple processor system
US6434592B1 (en) Method for accessing a network using programmed I/O in a paged, multi-tasking computer
WO1991010958A1 (en) Computer bus system
CN114153756B (en) Configurable micro-operation mechanism oriented to multi-core processor directory protocol
CN118069570B (en) Doorbell type chip access system, device and method
JP3016788B2 (en) Device communication / cache matching processing method
CN1930555A (en) Method and system for coalescing coherence messages
JP3940686B2 (en) Communication system and communication method
KR0170595B1 (en) Software emulation method of xcent-net interface
KR100260629B1 (en) Interface method using pci bus
KR100198802B1 (en) How to control message transmission through accentnet between nodes
US6175895B1 (en) Cache enabling architecture
KR100369403B1 (en) Host interface apparatus for processing AAL and method thereof

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080827

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090827

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees