JPH0217822B2 - - Google Patents
Info
- Publication number
- JPH0217822B2 JPH0217822B2 JP8982385A JP8982385A JPH0217822B2 JP H0217822 B2 JPH0217822 B2 JP H0217822B2 JP 8982385 A JP8982385 A JP 8982385A JP 8982385 A JP8982385 A JP 8982385A JP H0217822 B2 JPH0217822 B2 JP H0217822B2
- Authority
- JP
- Japan
- Prior art keywords
- procedure
- processor
- information
- address
- execution
- 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
Links
- 238000000034 method Methods 0.000 claims description 97
- 230000010365 information processing Effects 0.000 claims description 3
- 230000008569 process Effects 0.000 description 22
- 239000013256 coordination polymer Substances 0.000 description 19
- 238000004891 communication Methods 0.000 description 5
- 230000008676 import Effects 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 3
- 238000007796 conventional method Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000005096 rolling process Methods 0.000 description 2
- AGCPZMJBXSCWQY-UHFFFAOYSA-N 1,1,2,3,4-pentachlorobutane Chemical compound ClCC(Cl)C(Cl)C(Cl)Cl AGCPZMJBXSCWQY-UHFFFAOYSA-N 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000003319 supportive effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Multi Processors (AREA)
Description
【発明の詳細な説明】
技術分野
本発明はプロシージヤ切替制御方式に関し、特
に主記憶装置を少なくとも部分的に共有する複数
のプロセツサからなるマルチプロセツサタイプの
情報処理装置におけるプロシージヤ切替制御方式
に関するものである。DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to a procedure switching control method, and more particularly to a procedure switching control method in a multiprocessor type information processing device consisting of a plurality of processors that share at least a portion of a main storage device. be.
従来技術
従来、この種のマルチプロセツサシステムで
は、機構的には高々ジヨブプロセス単位に実行プ
ロセツサの指定が可能となつているのみであり、
一つのジヨブプロセス内でのプロシージヤ切替時
に特定プロセツサへの実行の切替を実現するに
は、切替直前のプロシージヤ中に特殊な専用命令
を用いて切替処理をプログラミングしておかなけ
ればならなかつた。この特殊な専用命令は、実行
プロセツサの選択というシステム内部の情報が命
令コードに反映されるという点と、その結果特定
装置に依存した命令となるという点で一般のソフ
トウエア命令と異なるものである。Prior Art Conventionally, in this type of multiprocessor system, mechanically it has only been possible to specify an execution processor for each job process.
In order to switch execution to a specific processor when switching procedures within one job process, it is necessary to program the switching process using a special dedicated instruction in the procedure immediately before switching. This special dedicated instruction differs from general software instructions in that the instruction code reflects internal system information such as the selection of the execution processor, and as a result, the instruction is dependent on a specific device. .
従つて、いくつかのプロシージヤに異なるプロ
セツサを割りつけて上述の方法でソフトウエアを
一旦作成した後に、性能上の理由等からプロシー
ジヤ−プロセツサ間の対応付けを変更する必要に
追られた場合、その都度プログラムを改変しなけ
ればならなかつた。ここでいうプログラムはシス
テムからみたユーザープログラムのことであるか
らアセンブリ語または機械語の姿をしており、上
述のプログラムの改変は通常システムプログラム
である翻訳プログラム(コンパイラ)中のアセン
ブリ語または機械語、中間言語等生成部分の改変
によつて実現されることになる。コンパイラの改
変作業には、専門の技術者が整つた支援環境の下
で慎重な配慮の下に当たるが、それでも尚一度立
された信頼度を落とす危険がある。 Therefore, after you have created software using the method described above by assigning different processors to several procedures, if you find it necessary to change the correspondence between the procedure and the processor for performance reasons, etc. The program had to be modified each time. Since the program referred to here is a user program seen from the system, it is in assembly language or machine language, and modification of the above program is usually done in assembly language or machine language in a translation program (compiler) that is a system program. , will be realized by modifying the intermediate language generation part. Although modifications to the compiler are carried out with careful consideration and in a supportive environment with specialized engineers, there is still a risk of damaging the credibility that has already been established.
このように従来の方式では、即応性、経済性、
安全性の点で問題があるためにプログラムの改変
を不要とするべく、単純で確実な手段を予め提供
し、この手段を媒介としてプロセツサ選択情報を
システムへ引き渡すような方式が望まれるように
なる。 In this way, the conventional method is quick response, economical,
In order to eliminate the need to modify the program due to safety issues, it is desirable to provide a simple and reliable means in advance and pass the processor selection information to the system through this means. .
発明の目的
本発明は上記要求に鑑みてなされたものであ
り、その目的とするところは、プロシージヤ切替
直前のプロシージヤ中の命令語群から切替後のプ
ロシージヤの実行プロセツサに関する情報を追放
するようにし、かつユーザプログラムやシステム
プログラムを改変することなくプロシージヤープ
ロセツサの割付けを変更することが可能なプロシ
ージヤ切替制御方式を提供することにある。OBJECTS OF THE INVENTION The present invention has been made in view of the above requirements, and its purpose is to eliminate information regarding the execution processor of the procedure after switching from the instruction word group in the procedure immediately before the procedure is switched; Another object of the present invention is to provide a procedure switching control system that allows the assignment of procedure processors to be changed without modifying user programs or system programs.
発明の構成
本発明によるプロシージヤ切替制御方式は、プ
ロシージヤが実行されるべきプロセツサをこれ等
プロシージヤ毎に夫々対応して指定するプロセツ
サ指定情報格納手段と、プロシージヤの切替え要
求発生時にプロセツサ指定情報に基づいてプロシ
ージヤが実行されるべきプロシージヤを決定する
手段とを設け、このプロシージヤの実膏制御を決
定されたプロセツサへ移行するようにしたことを
特徴とするものである。Structure of the Invention The procedure switching control system according to the present invention includes a processor specification information storage means for specifying the processor on which a procedure is to be executed in correspondence with each of these procedures, and a processor specification information storage means for specifying the processor on which a procedure is to be executed, based on the processor specification information when a procedure switching request is generated. The present invention is characterized in that a procedure is provided with means for determining a procedure to be executed, and actual control of the procedure is transferred to the determined processor.
かかる構成とすることにより、プロシージヤの
プロセツサへの割付けは、そのプロシージヤを含
むジヨブプロセスの実行とは無関係に事前に予め
プロセツサ指定情報格納手段へプロセツサ指定情
報を格納しておけば良いこととなり、実行プログ
ラムの命令語中にプロセツサ指定情報が全く反映
されずに済むことになるのである。 With this configuration, a procedure can be assigned to a processor by simply storing the processor designation information in the processor designation information storage means in advance, regardless of the execution of the job process that includes the procedure. This means that no processor specification information is reflected in the instruction word.
実施例
以下、本発明の実施例につき図面を参照して説
明する。Embodiments Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施例を取り上げるに当たり、次の2点に留意
して発明の効果が最大なものとなるよう意図して
いる。すなわち、第1にプロシージヤの実行プロ
セツサ情報格納手段の値を切替える方法として最
小限の手間で済ませるために、結合編集プログラ
ム実行時のパラメタ指定(指定無き場合は以前の
値を引き継ぐ)で行うようにしたこと。第2に当
該格納手段の値を読む手間を新たに増やさないた
め、プロシージヤの切替時に従来から必ず読み出
していた情報中の空き地(冗長な部分)を利用し
て格納場所とした点である。 In discussing the embodiments, we intend to maximize the effects of the invention by keeping the following two points in mind. Firstly, in order to minimize the effort required to switch the value of the execution processor information storage means of the procedure, it is possible to change the value by specifying the parameter when executing the combined editing program (if no specification is made, the previous value is inherited). What I did. Second, in order to avoid adding any additional effort to reading the values in the storage means, we have used empty space (redundant parts) in the information that has traditionally been read out when switching procedures as the storage location.
次に本発明の実施例である高速科学演算処理、
いわゆるスーパーコンピユータについて図面を用
いて説明する。システム構成の概略が第1図に示
されており、制御プロセツサ202(以下「CP」
と略記)と算術演算プロセツサ204(以下
「AP」と略記)とは互いに異なるアーキテクチヤ
を持ち命令語体系が全く異なり、ジヨブプロセス
は各プロセツサの独自の基体ソフトウエア(以下
「OS」と略記)の管理下で実行される。システム
の起動時、全体的な制御がCP202によつての
み行われることを除けば、両プロセツサは多くの
共通の演算処理機能を備えている。AP204で
実行できる機能であれば、その実行速度はCP2
02に比べて著しく速いものとする。 Next, high-speed scientific calculation processing, which is an embodiment of the present invention,
A so-called supercomputer will be explained using drawings. An outline of the system configuration is shown in FIG.
The arithmetic processor 204 (hereinafter referred to as "AP") has different architectures and completely different instruction language systems, and the job process is based on each processor's own base software (hereinafter referred to as "OS"). Runs under control. Both processors have many common processing functions, except that during system startup, overall control is provided solely by CP 202. If the function can be executed on AP204, its execution speed is CP2.
It is assumed to be significantly faster than 02.
主記憶装置201の内部は、主としてCP20
2の命令後を格納するための記憶領域CM201
1と、主としてAP204の命令語を格納するた
めの主記憶領域GM2012とに分かれている
が、「アクセス時間が長い」及び「アクセス方式
が限定される」等の制約の下でCP202から
GM2012、AP204からCM2011へのア
クセスも可能となつている。この意味でCPとAP
とは主記憶を共有して互いにデータを交換する。 The inside of the main storage device 201 mainly consists of the CP20
Storage area CM201 for storing after instruction 2
1 and a main memory area GM2012 mainly for storing instruction words of AP204, but due to constraints such as ``long access time'' and ``limited access methods,''
It is also possible to access CM2011 from GM2012 and AP204. In this sense CP and AP
and share main memory and exchange data with each other.
システム制御装置203はこれら2つのプロセ
ツサ202,204、主記憶装置201、入出力
処理装置205の間に置かれ、これらの装置の要
求に従つて受動的に動作するインターフエース装
置である。尚、206は外部記憶装置を示してい
る。 The system control device 203 is an interface device placed between these two processors 202, 204, the main storage device 201, and the input/output processing device 205, and operates passively according to the requests of these devices. Note that 206 indicates an external storage device.
第2図は本発明の内容及び動作を第1図の実施
例の装置について描いたフローチヤート例であ
る。図中太線Eで示したジヨブプロセス(計算機
システム中の実行の最小単位)J1は、比較され
る全てのジヨブプロセスよりも高い実行優先度
(両プロセツサ上)を持つものとする。図で一点
鎖線からなる枠を用いてプロセツサの2種のモー
ド、すなわちユーザーモードU1〜U6とシステ
ムモードS1〜S4とを区別しているが、前者は
一般の投入されたジヨブのユーザープログラムを
実行している状態であり、後者はジヨブ管理等シ
ステムの特権プログラムを実行している状態を示
す。 FIG. 2 is an example of a flowchart depicting the content and operation of the present invention for the apparatus of the embodiment shown in FIG. It is assumed that the job process J1 (the minimum unit of execution in the computer system) indicated by the bold line E in the figure has a higher execution priority (on both processors) than all job processes to be compared. In the figure, a frame consisting of a dashed line is used to distinguish between two modes of the processor: user modes U1 to U6 and system modes S1 to S4. The latter indicates a state in which a privileged program of the job management system is being executed.
01は通常の単一プロセツサシステムでも広く
採用されているあるジヨブプロセスで使用される
全てのプロシージヤの移入点アドレスなどの情報
(PD)をまとめた表であり、プロシージヤ移入命
令「ENTER」のオペランド指定によりこの表中
の各エントリアがアクセスされる。302はプロ
シージヤ移入時に前プロシージヤの戻りアドレス
などの実行情報を退避したり、呼び出されるプロ
シージヤへのメツセージを格納したりするための
スタツクフレームと呼ばれる領域であり、移入プ
ロシージヤの深さに応じてスタツク上に積み重ね
られる。 01 is a table that summarizes information (PD) such as import point addresses of all procedures used in a certain job process, which is widely adopted in normal single processor systems. Each entry in this table is accessed by . Reference numeral 302 denotes an area called a stack frame for saving execution information such as the return address of the previous procedure when importing a procedure, and for storing messages to a called procedure. stacked on top.
ジヨブプロセスJ1の制御構造体はCP202、
AP204毎に存在してそれぞれ「J1のPCB」
「J1のPSB」と呼ばれる。これらは現在のプロ
セスの状態を示す情報を保持しているが、その中
に最近作成したスタツクフレームのアドレス情報
も含んでおり、プロシージヤ退出時にJ1はこの
アドレス情報によりスタツクフレームへアクセス
して前プロシージヤの情報の復元等を行う。 The control structure of job process J1 is CP202,
Each AP204 has a “J1 PCB”
It is called "PSB of J1". These hold information indicating the current state of the process, but also include address information of the recently created stack frame, and when the procedure exits, J1 accesses the stack frame using this address information. Restoring the information of the previous procedure, etc.
本発明の構成における「プロシージヤが実行さ
れるべきプロセツサをプロシージヤ毎に夫々対応
して指定するプロセツサ指定情報格納手段」に該
当するのは表301の各エントリの最下位1ビツ
ト及びスタツクフレーム302中の戻りアドレス
格納場所の最下位1ビツトである。前者はプロシ
ージヤ入時に、後者はプロシージヤ退出時に参照
されて、各プロセツサのシステムモード下の動作
(本発明の構成における「プロシージヤ切替え要
求発生時に前記プロセツサ指定情報に基づいて該
プロシージヤが実行されるべきプロセツサを決定
する手段」に該当するものであり、命令の組合
せ、それらの命令動作を担うフアームウエア・ハ
ードウエアがその実体である)により、呼び出さ
れるプロシージヤを実行すべきプロセツサに点矢
線D1,D2の如く伝達される。 In the configuration of the present invention, the lowest 1 bit of each entry in table 301 and the data in stack frame 302 correspond to "processor specification information storage means for specifying the processor on which a procedure is to be executed for each procedure". This is the lowest 1 bit of the return address storage location. The former is referred to when a procedure is entered, and the latter is referred to when a procedure is exited. dotted arrows D1 and D2 indicate the processor that should execute the called procedure. It is transmitted as follows.
ここでアドレス格納場所の最下位ビツトを借用
して支障無い事は次の理由による。ほとんどのデ
ジタル計算機では、通常の情報処理の単位(ワー
ド)がアドレス指定可能な最小単位(バイト)よ
り大きく、プロシージヤのように大きな単位の記
憶領域はワードが境界で区切られるものであるか
ら開始アドレスの下位数ビツトが0となる。そこ
で、この必ず0であることがわかつているビツト
を他の情報の格納手段に用いて、本来のアドレス
に用いる時は0にリセツトして移送してやればよ
い。本実施例では、1バイト=8ビツト、1ワー
ド=4バイトとし、利用可能となる下位2ビツト
のうち最下位1ビツトを前記格納手段として使用
する。 The reason why there is no problem in borrowing the least significant bit of the address storage location here is as follows. In most digital computers, the normal unit of information processing (word) is larger than the smallest addressable unit (byte), and the storage area of large units such as procedures is separated by word boundaries, so the starting address The lower several bits of are 0. Therefore, this bit, which is known to always be 0, may be used as a means for storing other information, and when used for the original address, it may be reset to 0 and transferred. In this embodiment, 1 byte = 8 bits and 1 word = 4 bytes, and the lowest 1 bit of the 2 available lower bits is used as the storage means.
尚、図中欠印線で折れ線C1〜C4はプロセツ
サ間通信を示し、D1,D2は実行プロセツサ指
定情報の移動を示し、実線B1〜B3はアドレス
の指示、二重線Aはプロシージヤの諸退避情報の
流れを夫々示している。 In addition, the broken lines C1 to C4 in the figure indicate inter-processor communication, D1 and D2 indicate movement of execution processor specification information, solid lines B1 to B3 indicate address instructions, and double line A indicates procedure evacuation. Each shows the flow of information.
次に、第2図に即して本実施例の動作を時間順
に折つて説明する。処理の流れの大略は、「始め
CP上で実行されていたジヨブプロセスJ1がAP
上のプロシージヤに移入してAP上で実行後、再
びCP上の元のプロシージヤに戻つてCP上で実行
される」ということである。プロシージヤは切替
え後ジヨブプロセスJ1が即実行されるのはこの
プロセスJ1がユーザージヨブプロセスの中では
最高の優先度を持つからである。 Next, the operation of this embodiment will be explained in chronological order with reference to FIG. The outline of the processing flow is as follows.
Job process J1 running on CP is now AP
After importing it into the above procedure and executing it on the AP, it returns to the original procedure on the CP and executes it on the CP.'' The reason why the job process J1 is executed immediately after the procedure is switched is because this process J1 has the highest priority among the user job processes.
まず、CP上のJ1のあるプロシージヤ実行中
に「スタツク作成」命令を実行して本プロシージ
ヤ用のスタツクフレームを作成する。このときレ
ジスタ内容の退避などと共に戻りアドレス(次命
令「ENTER」の次の命令のアドレスであり、こ
のアドレスは必ずワード境界に置かれるものとす
る)を格納するが、このアドレスの最下位ビツト
にはCP名として“0”を格納する。AP名付
“1”とし、本アドレスをワード境界に置けない
場合、スタツクフレーム中の別な箇所にプロセツ
サ名指定ビツトを格納すればよく、いずれにせよ
本ビツトの格納場所がスタツクフレーム中のどこ
にあるかは本質的な問題ではない。 First, a ``stack creation'' command is executed while a certain procedure J1 on the CP is being executed to create a stack frame for this procedure. At this time, along with saving the contents of the register, the return address (the address of the instruction following the next instruction "ENTER", and this address must be placed on a word boundary) is stored, but the lowest bit of this address is stores “0” as the CP name. If the AP name is set to "1" and this address cannot be placed on a word boundary, the processor name specification bit may be stored somewhere else in the stack frame. It doesn't really matter where it is located.
続いて「ENTER」命令の実行で、オペランド
xの値に基づいてアドレス表301の該当エント
リx′を取り出し、(最小下位1ビツト)=“1”を
みて他プロセツサ上のプロシージヤ(自プロセツ
サ上のプロシージヤは“0”とする)であること
を知り、またx′の最下位1ビツトをリセツトした
値を呼び出されるプロシージヤの開始アドレスに
展開する。「ENTER」命令後、CPはシステムモ
ードとなつてまずJ1のロールアウトを行う。 Next, by executing the "ENTER" instruction, the corresponding entry x' in the address table 301 is retrieved based on the value of the operand The procedure is assumed to be "0"), and the value obtained by resetting the lowest 1 bit of x' is expanded to the start address of the procedure to be called. After the "ENTER" command, the CP enters system mode and first rolls out J1.
他プロセツサ(AP)への移入であることが判
明しているから、J1のCP上の制御構造体PCB
1からAP上の制御構造体PSB1へ内容(現在の
J1の状態)を移送する。こうしてプロシージヤ
移入の準備が完了して後CPからAPへ「移入要
求」の通信を送信し、APからのリプライを待ち
合わせる。リプライ受信機CPは他のジヨブプロ
セスの実行が可能となり、優先度に応じて次々と
ロールイン、実行、ロールアウト…を繰り返す。 Since it is known that the transfer is to another processor (AP), the control structure PCB on the CP of J1
1 to the control structure PSB1 on the AP (current state of J1). After completing preparations for procedure import, the CP sends an "import request" communication to the AP and waits for a reply from the AP. The reply receiver CP is enabled to execute other job processes, and repeats roll-in, execution, roll-out, etc. one after another according to the priority.
J1のプロシージヤ切替え以前に遡つてAP上
での処理の流れをながめると、APはユーザーモ
ードU4でジヨブプロセスJ2を実行していて、
実行中にCPからのプロシージヤ移入要求通信C
1を受信した後、J2の実行を中断してシステム
モードS3となる。リプライC2を送出後、レジ
スタ内容等をJ2のPSBに退避し、J1/J2
の優先度を比較して、J2のロールアウト、J1
のロールインを続けて実行した後、APはユーザ
ーモードU5となつてJ1の実行を開始する。こ
の際、301中のx′から展開された開始アドレス
がロールインされている。プロシージヤ退出命令
「RETURN」を実行すると、APはシステムモー
ドS4となつて、J1をロールアウトし、J1の
スタツクフレーム中の退出先プロシージヤのプロ
セツサ指定情報格納場所(スタツクフレーム30
2の戻りアドレスの最下位1ビツト)からプロセ
ツサ名“0”(=CP)を読み取る。ローカルに使
用したレジスタ等はスタツクフレーム302か
ら、プロシージヤ間共通に用いる領域はPSB1
から夫々PCB1の内容を移送し、APからCPへプ
ロシージヤ退出要求通信C3を送出する。CPか
らリプライC4を受信機、J1実行中にJ2より
優先度の高いジヨブプロセスが実行可能状態にな
つていない限り、APではJ2をロールインして
ユーザーモードU6となつてJ2の実行を再開す
る。 If we go back and look at the flow of processing on the AP before the J1 procedure switch, the AP is executing job process J2 in user mode U4.
Procedure import request communication from CP during execution C
After receiving 1, execution of J2 is interrupted and system mode S3 is entered. After sending reply C2, save the register contents etc. to PSB of J2, and
J2 rollout, J1
After successively executing the roll-in, the AP enters user mode U5 and starts executing J1. At this time, the start address expanded from x' in 301 is rolled in. When the procedure exit command "RETURN" is executed, the AP changes to system mode S4, rolls out J1, and stores the processor specification information storage location of the exit destination procedure in the stack frame of J1 (stack frame 30).
Read the processor name "0" (=CP) from the lowest 1 bit of the return address of step 2. Locally used registers are stored in the stack frame 302, and areas commonly used between procedures are stored in PSB1.
The content of PCB1 is transferred from each AP to the CP, and a procedure exit request communication C3 is sent from the AP to the CP. The AP receives a reply C4 from the CP, and unless a job process with a higher priority than J2 is ready to run while J1 is being executed, the AP rolls in J2, enters user mode U6, and resumes executing J2.
一方CP上では、ジヨブプロセスJNの実行中に
プロシージヤ退出要求通信C3を受信後、JNを中
断してシステムモードS2となる。APへのリプ
ライC4の送出後、レジスタ内容等をJNのPCBN
に退避し、J1/JNの優先度を比較してJNをロー
ルアウト、J1をロールインした後、ユーザーモ
ードU3となつてJ1のCP上でのプロシージヤ
を再開する。 On the other hand, on the CP, after receiving the procedure exit request communication C3 while the job process JN is being executed, the CP interrupts the job process JN and enters the system mode S2. After sending reply C4 to AP, register contents etc. are sent to PCB N of J N.
After comparing the priorities of J1 and J N , rolling out J N and rolling in J1, the process changes to user mode U3 and restarts the procedure on the CP of J1.
以上、第2図に即して本発明の動作の説明を述
べたが、上述の如く、プロシージヤ移入時とプロ
シージヤ退出時とに本発明が少し異なつて適用さ
れており(第2図参照)、2種類の実施例を示し
たことになる。 The operation of the present invention has been described above with reference to FIG. 2, but as mentioned above, the present invention is applied slightly differently when entering a procedure and when exiting a procedure (see FIG. 2). This means that two types of embodiments have been shown.
プロセツサ選択情報格納手段に値を格納する方
法としては、プロシージヤ退出時は前述の如くス
タツクフレーム作成の命令動作に依るが、プロシ
ージヤ移入時には、少なくともENTER命令実行
以前に予め値が定まつている必要性があり、様々
の方式が考えられる。ジヨブプロセスの実行中に
動的に格納することも可能であるが、それは特殊
な機能を実現する場合であり、ここでは先に述べ
た本発明の趣旨に沿つて、第3図Bに示す如くコ
ンパイル後の結合編集時にパラメータとしてプロ
セツサ選択情報を入力し、結合編集プログラムが
プロシージヤ移入点アドレスを生成する際に前記
格納手段に格納するものとする。 As for the method of storing values in the processor selection information storage means, when exiting a procedure, it depends on the command operation to create a stack frame as described above, but when importing a procedure, the value must be determined in advance at least before executing the ENTER command. There are various methods that can be considered. Although it is possible to dynamically store data during the execution of a job process, this is only when a special function is to be realized. It is assumed that processor selection information is input as a parameter during subsequent combined editing, and is stored in the storage means when the combined editing program generates a procedure import point address.
尚、第3図Aは従来方式を第3図Bと対比して
示すものであり、命令語を生成するコンパイラを
変更する方法である。 Note that FIG. 3A shows a conventional method in comparison with FIG. 3B, and is a method of changing the compiler that generates instruction words.
発明の効果
以上説明したように、本発明によれば、マルチ
プロセツサシステムでジヨブプロセス中の個々の
プロシージヤ単位にプロセツサを選択する場合、
各プロシージヤに対応して新たにプロセツサ選択
情報の格納手段を設けて実行プロセツサへ制御を
切り替えることにより、ユーザープログラム、シ
ステムプログラムを改変することなくプロシージ
ヤプロセツサの割り付けを変更することが可能と
なる効果がある。Effects of the Invention As explained above, according to the present invention, when selecting a processor for each procedure in a job process in a multiprocessor system,
By providing a new processor selection information storage means for each procedure and switching control to the executing processor, it is possible to change the allocation of procedure processors without modifying the user program or system program. effective.
第1図は本発明の実施例の概略システムブロツ
ク図、第2図は第1図のブロツクの動作を説明す
るフローチヤート、第3図は本発明の方式を従来
方式と対照して判り易く示した図である。
主要部分の符号の説明、201……主記憶装
置、202……制御プロセツサ、203……シス
テム制御装置、204……演算プロセツサ。
Fig. 1 is a schematic system block diagram of an embodiment of the present invention, Fig. 2 is a flowchart explaining the operation of the blocks in Fig. 1, and Fig. 3 clearly shows the method of the present invention in comparison with the conventional method. This is a diagram. Explanation of symbols of main parts: 201...main storage device, 202...control processor, 203...system control device, 204...arithmetic processor.
Claims (1)
のプロセツサからなる情報処理装置におけるプロ
シージヤの切替制御方式であつて、プロシージヤ
が実行されるべきプロセツサを前記プロシージヤ
毎に夫々対応して指定するプロセツサ指定情報格
納手段と、プロシージヤの切替え要求発生時に前
記プロセツサ指定情報に基づいてプロシージヤが
実行されるべきプロセツサを決定する手段とを設
け、このプロシージヤの実行制御を決定されたプ
ロセツサへ移行するようにしたことを特徴とする
プロシージヤ切替制御方式。1. A procedure switching control method in an information processing device comprising a plurality of processors that share at least a part of a main storage device, the processor specification information specifying a processor on which a procedure is to be executed in correspondence with each of the procedures. A storing means and a means for determining a processor on which a procedure should be executed based on the processor specification information when a procedure switching request is generated are provided, and execution control of the procedure is transferred to the determined processor. Features a procedural switching control system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8982385A JPS61248152A (en) | 1985-04-25 | 1985-04-25 | Procedure change controlling system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP8982385A JPS61248152A (en) | 1985-04-25 | 1985-04-25 | Procedure change controlling system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS61248152A JPS61248152A (en) | 1986-11-05 |
| JPH0217822B2 true JPH0217822B2 (en) | 1990-04-23 |
Family
ID=13981475
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8982385A Granted JPS61248152A (en) | 1985-04-25 | 1985-04-25 | Procedure change controlling system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS61248152A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02245864A (en) * | 1989-03-20 | 1990-10-01 | Hitachi Ltd | multiprocessor system |
-
1985
- 1985-04-25 JP JP8982385A patent/JPS61248152A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS61248152A (en) | 1986-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3659062B2 (en) | Computer system | |
| JP3320358B2 (en) | Compiling method, exception handling method, and computer | |
| JP3546678B2 (en) | Multi-OS configuration method | |
| JP2539352B2 (en) | Hierarchical multi-computer system | |
| JPH07311749A (en) | Multiprocessor system and kernel replacement method | |
| JPH1185618A (en) | Method for controlling virtual memory conversion | |
| JP5131269B2 (en) | Multi-processing system | |
| JP3169624B2 (en) | Interprocessor communication method and parallel processor therefor | |
| JPH1173365A (en) | Method for optimizing data moving operation | |
| JPH0217822B2 (en) | ||
| US6092152A (en) | Method for stack-caching method frames | |
| JPH06202877A (en) | Emulator | |
| JP3209560B2 (en) | Interrupt management method for microprocessor system | |
| JPH0519179B2 (en) | ||
| JP3022398B2 (en) | Virtual computer system | |
| JPH06324861A (en) | System and method for controlling cpu | |
| JPH07114517A (en) | Program execution control method for multiprocessor system | |
| JPS61117635A (en) | Virtual storage control system | |
| JPH05265846A (en) | Memory management method | |
| JPH0535507A (en) | Central processing unit | |
| JPH05108374A (en) | Multitask execution device | |
| JPH06242975A (en) | Virtual computer dispatch method for multiple information processing system. | |
| JPH04291642A (en) | Cache control system | |
| JPH04302352A (en) | Multi processor system | |
| JPH0738168B2 (en) | Data processing device |