Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP2970262B2 - Program dispatch method - Google Patents
[go: Go Back, main page]

JP2970262B2 - Program dispatch method - Google Patents

Program dispatch method

Info

Publication number
JP2970262B2
JP2970262B2 JP28523392A JP28523392A JP2970262B2 JP 2970262 B2 JP2970262 B2 JP 2970262B2 JP 28523392 A JP28523392 A JP 28523392A JP 28523392 A JP28523392 A JP 28523392A JP 2970262 B2 JP2970262 B2 JP 2970262B2
Authority
JP
Japan
Prior art keywords
program
speed
executed
operation device
execution flag
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 - Fee Related
Application number
JP28523392A
Other languages
Japanese (ja)
Other versions
JPH06110857A (en
Inventor
徹 鈴木
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 JP28523392A priority Critical patent/JP2970262B2/en
Publication of JPH06110857A publication Critical patent/JPH06110857A/en
Application granted granted Critical
Publication of JP2970262B2 publication Critical patent/JP2970262B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は電子計算機システムに関
し、特に、スーパコンピュータ等のような高速の電子計
算機システムに於いて、仮想記憶の機能を持たない高速
演算装置と仮想記憶の機能を持つ低速演算装置とをマル
チプロセッサとして組み合わせることによって効率の良
いシステム運用を行なえるようにしたプログラムディス
パッチ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic computer system, and more particularly, to a high-speed arithmetic unit having no virtual memory function and a low-speed arithmetic unit having a virtual memory function in a high-speed computer system such as a supercomputer. The present invention relates to a program dispatch method that enables efficient system operation by combining an arithmetic device with a multiprocessor.

【0002】[0002]

【従来の技術】従来、プログラムを高速に実行すること
が要求されるスーパコンピュータ等のような高速の電子
計算機システムは、高度なパイプライン処理を行なって
おり、プログラムで発生した例外をその時点から再実行
することを保証していないものが多い。
2. Description of the Related Art Conventionally, a high-speed computer system such as a supercomputer, which is required to execute a program at a high speed, performs advanced pipeline processing, and an exception generated in the program is deleted from that point. Many do not guarantee re-execution.

【0003】[0003]

【発明が解決しようとする課題】このため、従来のスー
パコンピュータ等の計算機システムでは、プログラムに
主記憶装置を割り当てずにおき、主記憶装置上に存在し
ないことにより発生した例外を契機にしてプログラムに
主記憶装置を割り当て、再実行を行ない、実メモリより
多くの空間を必要とするプログラムを実行可能にする所
謂仮想記憶は実現されていない。逆に仮想記憶を実現で
きるようにすると、高速な演算を行なうことができなく
なってしまう。
For this reason, in a conventional computer system such as a supercomputer, a main storage device is not allocated to a program, and the program is triggered by an exception caused by the fact that the program does not exist in the main storage device. A so-called virtual memory that allocates a main storage device and executes the program again to execute a program requiring more space than the real memory has not been realized. Conversely, if virtual storage can be realized, high-speed operations cannot be performed.

【0004】本発明の目的はプログラムで発生した例外
をその時点から再実行することを保証していない高速演
算装置と、プログラムで発生した例外をその時点から再
実行することを保証している低速演算装置とを組み合わ
せて使用すことにより、システムの処理効率を向上させ
ることができるプログラムディスパッチ方式を提供する
ことにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a high-speed arithmetic unit which does not guarantee that an exception generated by a program will be re-executed from that point in time, and a low-speed arithmetic unit which guarantees that an exception generated by a program will be re-executed from that point. It is an object of the present invention to provide a program dispatch method capable of improving the processing efficiency of a system by using a combination with an arithmetic device.

【0005】[0005]

【課題を解決するための手段】本発明は上記目的を達成
するため、 (A)主記憶装置と、補助記憶装置と、前記主記憶装置
上または前記補助記憶装置上に存在するプログラムと、
前記プログラムの論理的なアドレスを前記主記憶装置上
の物理的なアドレスに変換するアドレス変換機構と、前
記プログラムの実行中、前記アドレス変換機構によるア
ドレス変換に失敗した時、アドレス変換に失敗した命令
から再実行を行なわないことを前提に高速化された高速
演算装置と、前記高速演算装置との間で、前記主記憶装
置を共有し、且つ前記高速演算装置と同じ命令を実行可
能で、更に、前記プログラムの実行中、前記アドレス変
換機構によるアドレス変換が失敗した時にアドレス変換
に失敗した命令から再実行が可能な低速演算装置と、前
記低速演算装置で実行するプログラムに対する仮想記憶
を実現する仮想空間管理手段と、前記プログラムが高速
演算装置で実行されることの可否を表示する高速実行フ
ラグと、前記プログラムに前記主記憶装置を割り当てる
際、前記プログラムの全てを前記主記憶装置に割り当て
ることができる場合、前記プログラム対応の高速実行フ
ラグを前記高速演算装置での実行可能を表示するものに
する主記憶割り当て手段と、対応する高速実行フラグが
実行可能を表示している前記プログラムを前記高速演算
装置に割り当て、実行可能を表示していない前記プログ
ラムを前記低速演算装置に割り当てるプログラムディス
パッチ手段とを設けたものである。
To achieve the above object, the present invention provides: (A) a main storage device, an auxiliary storage device, and a program existing on the main storage device or the auxiliary storage device.
An address translation mechanism that translates a logical address of the program into a physical address on the main storage device; and an instruction that fails in address translation when the address translation mechanism fails during the execution of the program. A high-speed operation device that is accelerated on the assumption that re-execution is not performed, and the main storage device is shared between the high-speed operation device, and the same instruction as the high-speed operation device can be executed. , during execution of the program, address translation when the address conversion by the address conversion mechanism fails
A low-speed operation device capable of re-executing from the failed instruction, virtual space management means for realizing virtual storage for a program executed by the low-speed operation device, and whether or not the program can be executed by the high-speed operation device. A high-speed execution flag to execute, and when allocating the main storage device to the program, if the entire program can be allocated to the main storage device, the high-speed execution flag corresponding to the program can be executed by the high-speed operation device. Main memory allocating means to be displayed, and allocating the program whose corresponding high-speed execution flag indicates executable to the high-speed arithmetic device and allocating the program not indicating executable to the low-speed arithmetic device Program dispatch means.

【0006】また、本発明は演算中心のプログラムをな
るべく高速演算装置で実行させることにより、システム
全体の性能を向上させるため、 (B)請求項1記載のプログラムディスパッチ方式に於
いて、前記プログラムが高速演算装置で実行されること
の可否を表示すると共に、前記高速演算装置で実行され
る優先性を表示する高速実行フラグを設け、対応する高
速実行フラグが実行可能を示しているプログラムを、対
応する高速実行フラグが示す優先性に従って前記高速演
算装置または低速演算装置に割り当て、対応する高速実
行フラグが実行不可能を示しているプログラムを前記低
速演算装置に割り当てるプログラムディスパッチ手段を
設け、更に、前記プログラムがシステムが所定時間以上
連続して前記高速演算装置または前記低速演算装置を使
用した場合、前記プログラム対応の高速実行フラグが示
す優先性を高くし、前記プログラムによる演算処理が途
切れる場合、前記プログラム対応の高速実行フラグの優
先性を低くするプログラム特性判定手段を設けたもので
ある。
[0006] By the present invention to be executed as much as possible high speed arithmetic unit operations center program, to improve overall system performance, in the (B) program dispatch method of claim 1, wherein the program and displays whether or not to be executed at a high speed arithmetic unit, the high-speed execution flag indicating a preference to be executed by the high-speed computing unit is provided, a program corresponding high speed run flag indicates viable, corresponding Program dispatching means for allocating to the high-speed operation device or the low-speed operation device according to the priority indicated by the high-speed execution flag, and allocating, to the low-speed operation device, a program indicating that the corresponding high-speed execution flag is not executable; When the program is executed by the system continuously for a predetermined time or more, When an arithmetic unit is used, a program characteristic determining means is provided for increasing the priority indicated by the high-speed execution flag corresponding to the program, and lowering the priority of the high-speed execution flag corresponding to the program when the arithmetic processing by the program is interrupted. It is a thing.

【0007】また、本発明は演算中心のプログラムをな
るべく高速演算装置で実行させることにより、システム
全体の性能を向上させるため、(C)請求項2記載のプ
ログラムディスパッチ方式に於いて、プログラム特性判
定手段に代えて、前記高速演算装置または前記低速演算
装置上で実行されるプログラムをコンパイルする際、プ
ログラムを静的に解析して演算処理が途切れる箇所に演
算中心のプログラムでないことを示すコードを設定し、
演算のみの処理に入る箇所に演算中心のプログラムであ
ることを示すコードを設定するプログラム特性解析手段
を設け、更に、前記プログラム特性解析手段が設定した
コードに従い、プログラムが演算中心の処理に入る前に
対応する高速実行フラグの優先性を高くし、プログラム
が演算処理の途切れる箇所に入る前に対応する高速実行
フラグの優先性を低くするプログラム特性宣言手段を設
けたものである。
Further, according to the present invention, in order to improve the performance of the entire system by executing an arithmetic-oriented program on a high-speed arithmetic device as much as possible, (C) the program dispatching method according to claim 2, Instead of the means, when compiling a program to be executed on the high-speed operation device or the low-speed operation device, a code that indicates that the program is not an operation-centered program is set at a place where the operation is interrupted by statically analyzing the program. And
A program characteristic analysis means for setting a code indicating that the program is an operation-centered program is provided at a place where only the operation is to be executed, and further according to the code set by the program characteristic analysis means, before the program enters an operation-centered process. And a program characteristic declaring means for lowering the priority of the high-speed execution flag corresponding to the high-speed execution flag before the program enters the place where the arithmetic processing is interrupted.

【0008】また、本発明は大きなメモリ領域を必要と
する処理は仮想記憶の機能を利用して低速演算装置で演
算を行ない、小さなメモリ領域で十分な処理は高速演算
装置で演算を行なうようにすることにより、システム全
体の性能を向上させるため、 (D)請求項1記載のプログラムディスパッチ方式に於
いて、前記高速演算装置または前記低速演算装置上で実
行されるプログラムをコンパイルする際、前記プログラ
ムを静的に解析してプログラムの処理単位がアクセスす
るアドレスを宣言するコードを前記処理単位の前に埋め
込むプログラム使用メモリ解析手段を設け、プログラム
に前記主記憶装置を割り当てる際、前記プログラムの全
てを前記主記憶装置に割り当てることができる場合に加
えて、前記コードによってアクセスするアドレスが宣言
されているプログラムの処理単位を前記主記憶装置に割
り当てることができる場合にも前記プログラム対応の高
速実行フラグを前記高速演算装置での実行可能を表示す
るものにする主記憶割り当て手段を設けたものであ
る。
In the present invention, processing requiring a large memory area is performed by a low-speed operation device using the function of virtual storage, and sufficient processing in a small memory area is performed by a high-speed operation device. (D) In the program dispatch method according to claim 1, when compiling a program executed on the high-speed operation device or the low-speed operation device, the program the program uses memory analyzing means for embedding before the process unit code to declare an address processing unit to access statically analyzed to program provided, when allocating the main storage device in the program, all of the program Is added when it can be assigned to the main storage device.
In addition, the high-speed execution flag corresponding to the program indicates that the program can be executed by the high-speed arithmetic device even when the processing unit of the program whose address to be accessed by the code is declared can be allocated to the main storage device. to, is provided with a main memory allocation means.

【0009】[0009]

【作用】(A)の構成に於いては、主記憶割り当て手段
はプログラムに主記憶装置を割り当てる際、プログラム
の全てを主記憶装置に割り当てることができる場合は、
そのプログラムに対応する高速実行フラグを、高速演算
装置での実行可能を表示するものにする。
In the configuration (A), when the main memory allocating means allocates the main memory to the program, if the entire program can be allocated to the main memory,
The high-speed execution flag corresponding to the program is set to indicate that the program can be executed by the high-speed arithmetic device.

【0010】プログラムディスパッチ手段は対応する高
速実行フラグが高速演算装置での実行可能を表示してい
る場合は、そのプログラムを高速演算装置で実行させ、
実行不可能を表示している場合は、そのプログラムを低
速演算装置で実行させる。
If the corresponding high-speed execution flag indicates that the program can be executed by the high-speed operation device, the program dispatch means executes the program on the high-speed operation device.
If the display indicates that the program cannot be executed, the program is executed by a low-speed arithmetic device.

【0011】(B)の構成に於いては、主記憶割り当て
手段はプログラムに主記憶装置を割り当てる際、プログ
ラムの全てを主記憶装置に割り当てることができる場合
は、そのプログラムに対応する高速実行フラグを高速演
算装置での実行可能を表示するものにする。
In the configuration (B), when the main memory allocating means can allocate all of the program to the main memory when allocating the main memory to the program, the high-speed execution flag corresponding to the program is used. Indicates that it can be executed by the high-speed arithmetic device.

【0012】また、プログラム特性判定手段はプログラ
ムがシステムに定められている時間以上連続して高速演
算装置または低速演算装置を使用した場合、そのプログ
ラムに対応する高速実行フラグが示す優先性を高くし、
プログラムによる演算処理が途切れる場合、そのプログ
ラムに対応する高速実行フラグが示す優先性を低くす
る。
[0012] When the program uses a high-speed operation device or a low-speed operation device continuously for a period of time determined by the system or more, the program characteristic determination means increases the priority indicated by the high-speed execution flag corresponding to the program. ,
When the arithmetic processing by the program is interrupted, the priority indicated by the high-speed execution flag corresponding to the program is lowered.

【0013】プログラムディスパッチ手段は対応する高
速実行フラグが実行可能を示しているプログラムを、対
応する高速実行フラグが示す優先性に従って高速演算装
置または低速演算装置に割り当て、対応する高速実行フ
ラグが実行不可能を示しているプログラムを低速演算装
置に割り当てる。
[0013] The program dispatch means assigns a program whose corresponding high-speed execution flag indicates executable to a high-speed operation device or a low-speed operation device in accordance with the priority indicated by the corresponding high-speed execution flag. The program indicating the possibility is assigned to the low-speed arithmetic device.

【0014】(C)の構成に於いては、プログラム特性
解析手段がコンパイル時、プログラムを静的に解析して
演算処理が途切れる箇所に演算中心のプログラムでない
ことを示すコードを設定し、演算のみの処理に入る箇所
に演算中心のプログラムであることを示すコードを設定
する。
In the configuration (C), at the time of compiling, the program characteristic analysis means statically analyzes the program and sets a code indicating that the program is not an operation-centered program at a place where the operation processing is interrupted, and only executes the operation. A code indicating that the program is a calculation-centric program is set at the point where the processing starts.

【0015】プログラム特性解析手段が設定したコード
に基づいて、プログラム特性宣言手段はプログラムが演
算中心の処理に入る前に対応する高速実行フラグの優先
性を高くし、プログラムが演算処理の途切れる箇所に入
る前に高速実行フラグの優先性を低くする。
On the basis of the code set by the program characteristic analyzing means, the program characteristic declaring means increases the priority of the corresponding high-speed execution flag before the program enters the processing centered on the arithmetic operation, so that the program characteristic declaring means is provided at a position where the arithmetic processing is interrupted. Before entering, lower the priority of the high-speed execution flag.

【0016】プログラムディスパッチ手段は対応する高
速実行フラグが実行可能を示しているプログラムを、対
応する高速実行フラグが示す優先性に従って高速演算装
置または低速演算装置に割り当て、対応する高速実行フ
ラグが実行不可能を示しているプログラムを低速演算装
置に割り当てる。
[0016] The program dispatch means assigns a program whose corresponding high-speed execution flag indicates executable to a high-speed operation device or a low-speed operation device according to the priority indicated by the corresponding high-speed execution flag. The program indicating the possibility is assigned to the low-speed arithmetic device.

【0017】(D)の構成に於いては、高速演算装置ま
たは低速演算装置上で実行されるプログラムをコンパイ
ルする際、プログラム使用メモリ解析手段がプログラム
を静的に解析してプログラムの処理単位がアクセスする
アドレスを宣言するコードを処理単位の前に埋め込んで
おく。
In the configuration (D), when compiling a program to be executed on the high-speed operation device or the low-speed operation device, the program use memory analyzing means statically analyzes the program and the processing unit of the program is reduced. The code that declares the address to be accessed is embedded before the processing unit.

【0018】主記憶割り当て手段は、プログラムに主記
憶装置を割り当てる際、プログラムの全てを主記憶装置
に割り当てることができる場合及びコードによってアク
セスするアドレスが宣言されているプログラムの処理単
位を主記憶装置に割り当てることができる場合、そのプ
ログラムに対応する高速実行フラグを、高速演算装置で
の実行可能を表示するものにする。
The main memory allocating means, when allocating the main memory to the program, allocates all of the program to the main memory and a processing unit of the program in which an address to be accessed by a code is declared. If the high-speed execution flag can be assigned to the program, the high-speed execution flag corresponding to the program indicates that the program can be executed by the high-speed operation device.

【0019】プログラムディスパッチ手段は、プログラ
ムの実行時、対応する高速実行フラグが高速演算装置で
の実行可能を表示しているプログラムを高速演算装置に
割り当て、実行不可能を表示しているプログラムを低速
演算装置に割り当てる。
When the program is executed, the program dispatch means allocates, to the high-speed operation device, a program whose corresponding high-speed execution flag indicates that the program can be executed by the high-speed operation device, and assigns the program that indicates that the program cannot be executed to a low-speed operation device. Assign to arithmetic unit.

【0020】[0020]

【実施例】次に本発明の実施例について図面を参照して
詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0021】図1は本発明の実施例のブロック図であ
り、主記憶装置1と、補助記憶装置2と、主記憶装置1
上または補助記憶装置2上に存在するプログラム3と、
プログラム3上の論理的なアドレスを主記憶装置1上の
物理的なアドレスに変換するアドレス変換機構4−1,
4−2と、プログラム3の実行中にアドレス変換機構4
−1によるアドレス変換に失敗した場合、当該命令から
再実行を行なわないことを前提に高速化された高速演算
装置5と、高速演算装置5との間で主記憶装置1を共有
し、且つ高速演算装置5と同じ命令を実行可能で、更に
プログラムを実行中、アドレス変換機構4−2によるア
ドレス変換が失敗した場合、当該命令から再実行が可能
な低速演算装置6とから構成されている。
FIG. 1 is a block diagram of an embodiment of the present invention, in which a main storage device 1, an auxiliary storage device 2, and a main storage device 1 are shown.
A program 3 existing on the upper or auxiliary storage device 2;
An address translation mechanism 4-1 for translating a logical address on the program 3 into a physical address on the main storage device 1.
4-2, the address translation mechanism 4 during execution of the program 3
If the address translation by -1 fails, the high-speed operation device 5 and the high-speed operation device 5, which are accelerated on the assumption that re-execution from the instruction is not performed, share the main storage device 1 and operate at high speed. The low-speed arithmetic device 6 is capable of executing the same instruction as the arithmetic device 5 and re-executable from the instruction when the address translation by the address translation mechanism 4-2 fails during the execution of the program.

【0022】また、主記憶装置1上には仮想空間管理手
段7と、高速実行フラグ8と、主記憶割り当て手段9
と、プログラムディスパッチ手段10と、プログラム特
性判定手段11と、プログラム特性解析手段12と、プ
ログラム特性宣言手段13と、プログラム使用メモリ解
析手段14とが設けられている。
In the main storage device 1, a virtual space management means 7, a high-speed execution flag 8, a main storage allocating means 9
A program dispatching unit 10, a program characteristic determining unit 11, a program characteristic analyzing unit 12, a program characteristic declaring unit 13, and a program use memory analyzing unit 14.

【0023】仮想空間管理手段7は低速演算装置6に於
いて実行されるプログラムの一部を主記憶装置1に割り
当て、残りの部分を補助記憶装置2に保持させておき、
アドレス変換機構4−2によるアドレス変換が失敗した
場合、主記憶装置1に領域を確保し、更に、補助記憶装
置2に保持されている内容を確保した領域に書き込み、
その後、当該命令から再実行を行なうことにより、実際
に利用可能な主記憶装置1の容量より大きな空間を利用
するプログラムの実行を可能にする機能を有する。
The virtual space management means 7 allocates a part of the program executed in the low-speed operation device 6 to the main storage device 1 and stores the remaining portion in the auxiliary storage device 2,
When the address translation by the address translation mechanism 4-2 fails, an area is secured in the main storage device 1, and further, the contents held in the auxiliary storage device 2 are written in the secured area.
Thereafter, by re-executing the instruction, there is a function of enabling execution of a program that uses a space larger than the capacity of the main storage device 1 that can be actually used.

【0024】高速実行フラグ8はプログラム3に対応し
て設けられているものであり、プログラム3が高速演算
装置5で実行可能か否かを表示すると共に、対応するプ
ログラム3が高速演算装置5で実行される際の優先性を
表示する。尚、図1ではプログラム3しか示していない
ので、高速実行フラグもプログラム3に対応するものし
か示していないが、実行する全てのプログラムに対応し
て高速実行フラグは設けられる。
The high-speed execution flag 8 is provided corresponding to the program 3 and indicates whether or not the program 3 can be executed by the high-speed operation device 5. Shows the priority when it is executed. Although FIG. 1 shows only the program 3, only the high-speed execution flags corresponding to the program 3 are shown, but the high-speed execution flags are provided for all the programs to be executed.

【0025】プログラム使用メモリ解析手段14は高速
演算装置5または低速演算装置6上で実行されるプログ
ラムをコンパイルする際、プログラムを静的に解析し、
プログラムの或る処理単位がアクセスするアドレスを宣
言するコードを、その処理単位に入る前に埋め込む機能
を有する。
When compiling a program executed on the high-speed operation device 5 or the low-speed operation device 6, the program use memory analysis means 14 statically analyzes the program,
It has a function of embedding a code for declaring an address to be accessed by a certain processing unit of a program before entering the processing unit.

【0026】主記憶割り当て手段9は主記憶装置1にプ
ログラム3の実行に必要な空きが存在する場合はプログ
ラム3を主記憶装置1に割り当てると共に、プログラム
3対応の高速実行フラグ8を高速演算装置5での実行可
能を表示するものにする機能と、主記憶装置1にプログ
ラム3の実行に必要な空きが存在しない場合はプログラ
ム使用メモリ解析手段14によってプログラム3に埋め
込まれている或る処理単位がアクセスするアドレス示す
コードを読み込み、コードが示すプログラム部分を割り
当てる空きが主記憶装置1上に存在するか否かを判断す
る機能と、コードが示すプログラム部分を割り当てる空
きが主記憶装置1に存在すると判断した場合は主記憶装
置1にプログラム3の上記或る処理単位(コードが示す
プログラム部分)を割り当て、プログラム3対応の高速
実行フラグ8を高速演算装置5での実行可能を表示する
ものにする機能と、コードが示すプログラム部分を割り
当てる空きが主記憶装置1に存在しないと判断した場合
はプログラム3対応の高速実行フラグ8を高速演算装置
5での実行不可能を表示するものにする機能とを有す
る。
The main memory allocating means 9 allocates the program 3 to the main storage device 1 when the main storage device 1 has free space necessary for executing the program 3 and sets the high-speed execution flag 8 corresponding to the program 3 to the high-speed operation device. And a processing unit embedded in the program 3 by the program use memory analysis unit 14 when there is no free space required for the execution of the program 3 in the main storage device 1. Reads the code indicated by the address to be accessed, and determines whether or not there is free space in the main storage device 1 to allocate the program portion indicated by the code. The function also determines that the free space to allocate the program portion indicated by the code exists in the main storage device 1. If it is determined that this is the case, the certain processing unit (program portion indicated by the code) of the program 3 is stored in the main storage device 1. A function for setting the high-speed execution flag 8 corresponding to the allocation and the program 3 to indicate that the program can be executed by the high-speed arithmetic unit 5; And a function for setting the high-speed execution flag 8 corresponding to the flag 3 to indicate that the high-speed operation device 5 cannot execute.

【0027】プログラムディスパッチ手段10は対応す
る高速実行フラグが高速演算装置5での実行が可能であ
ることを表示しているプログラムを、対応する高速実行
フラグが示す優先性に従って高速演算装置5または低速
演算装置6に割り当て、対応する高速実行フラグが高速
演算装置5での実行が不可能であることを表示している
プログラムを低速演算装置6に割り当てる機能を有す
る。
The program dispatching means 10 converts the program indicating that the corresponding high-speed execution flag can be executed by the high-speed operation device 5 according to the priority indicated by the corresponding high-speed execution device 5 or the low-speed operation device 5 or the low-speed operation device. It has a function of allocating to the low-speed operation device 6 a program that is allocated to the operation device 6 and that indicates that the corresponding high-speed execution flag indicates that execution by the high-speed operation device 5 is impossible.

【0028】プログラム特性判定手段11は対応する高
速実行フラグが高速演算装置5での実行可能を表示して
いるプログラムがシステムで定められている時間以上連
続して高速演算装置5または低速演算装置6を使用した
場合、そのプログラムを演算中心の処理を実行中のプロ
グラムと判定し、そのプログラムに対応する高速実行フ
ラグの優先性を高くし、プログラムのシステム呼び出し
等により演算の処理が途切れる場合、演算中心の処理を
実行中のプログラムでないと判定し、そのプログラムに
対応する高速実行フラグの優先性を低くする機能を有す
る。
The program characteristic judging means 11 determines that the program whose corresponding high-speed execution flag indicates that the program can be executed by the high-speed operation device 5 is continuously executed for a time longer than the time determined by the system. Is used, it is determined that the program is a program that is executing computation-intensive processing, the priority of the high-speed execution flag corresponding to the program is increased, and if the computation processing is interrupted due to a program system call, etc. It has a function of determining that the program is not executing the main process and lowering the priority of the high-speed execution flag corresponding to the program.

【0029】プログラム特性解析手段12は高速演算装
置5または低速演算装置6上で実行されるプログラムを
コンパイルする際、プログラムを静的に解析し、システ
ム呼び出し等により処理が途切れる箇所に入る前の部分
に、演算中心の処理を実行中のプログラムでないことを
示すコードを設定し、演算のみの処理に入る前の部分
に、演算中心の処理を実行中のプログラムであることを
示すコードを設定する機能を有する。
When compiling a program to be executed on the high-speed operation device 5 or the low-speed operation device 6, the program characteristic analysis means 12 statically analyzes the program, and analyzes the program before it enters a place where processing is interrupted by a system call or the like. A function to set a code indicating that the program is not executing the processing centered on the operation, and to set a code indicating that the program is executing the processing centered on the operation in a part before entering the processing only for the operation Having.

【0030】プログラム特性宣言手段13はプログラム
特性解析手段12が設定したコードに従い、演算のみの
処理に入る前に高速実行フラグの優先性を高くし、逆に
システム呼び出し等により処理が途切れる箇所の入る前
に、高速実行フラグの優先性を低くする機能を有する。
In accordance with the code set by the program characteristic analyzing means 12, the program characteristic declaring means 13 raises the priority of the high-speed execution flag before starting only the processing, and conversely, places where the processing is interrupted due to a system call or the like. First, it has a function of lowering the priority of the high-speed execution flag.

【0031】図2は主記憶割り当て手段9の処理例を示
す流れ図である。
FIG. 2 is a flowchart showing a processing example of the main memory allocating means 9.

【0032】主記憶割り当て手段9はプログラム3を実
行させる場合、先ず、主記憶装置1上にプログラム3を
実行させるために必要となる空きが存在するか否かを判
断する (ステップS21)。
When executing the program 3, the main memory allocating means 9 first determines whether or not there is a free space required for executing the program 3 in the main storage device 1 (step S21).

【0033】そして、空きが存在すると判断した場合
(ステップS21がyes)は、主記憶割り当て手段9
はプログラム3に主記憶装置1を割り当てる (ステップ
S23)。このプログラム3は高速演算装置5上で実行
可能となるので、主記憶割り当て手段9はプログラム3
対応の高速実行フラグ8を、高速演算装置5での実行可
能を表示するものにする (ステップS23)。
If it is determined that there is free space (step S21: yes), the main memory allocating means 9
Allocates the main storage device 1 to the program 3 (step S23). Since the program 3 can be executed on the high-speed operation device 5, the main memory allocating means 9 executes the program 3
The corresponding high-speed execution flag 8 is set to indicate that it can be executed by the high-speed operation device 5 (step S23).

【0034】また、主記憶装置1上にプログラム3の実
行に必要な空きが存在しない場合 (ステップS21がn
o)は、プログラム使用メモリ解析手段14によってプ
ログラム3に埋め込まれているプログラム3の或る処理
単位がアクセスするアドレスを示すコードを読み込み、
そのコードが示すプログラム部分を割り当てることがで
きる空きが主記憶装置1上に存在するか否かを判断する
(ステップS24)。
When there is no free space required for executing the program 3 in the main storage device 1 (step S21 is n
o) reads a code indicating an address to be accessed by a certain processing unit of the program 3 embedded in the program 3 by the program use memory analyzing means 14,
It is determined whether or not there is free space in the main storage device 1 to which the program portion indicated by the code can be assigned.
(Step S24).

【0035】そして、存在すると判断した場合 (ステッ
プS24がyes)はプログラム3の上記或る処理単位
を主記憶装置1上に割り当てる (ステップS25)。こ
のプログラム3も高速演算装置5上で実行可能となるの
で、主記憶割り当て手段9はプログラム3対応の高速実
行フラグ8を、高速演算装置5での実行可能を示すもの
にする (ステップS26)。
When it is determined that the program 3 exists (Yes in step S24), the certain processing unit of the program 3 is allocated to the main storage device 1 (step S25). Since this program 3 can also be executed on the high-speed operation device 5, the main memory allocating means 9 sets the high-speed execution flag 8 corresponding to the program 3 to indicate that the high-speed operation device 5 can be executed (step S26).

【0036】また、コードが示すプログラム部分を割り
当てることができる空きが主記憶装置1上に存在しない
と判断した場合 (ステップS24がno)は、主記憶割
り当て手段9はそのプログラム3は高速演算装置5では
実行不可能と判定し、プログラム3対応の高速実行フラ
グ8を、高速演算装置5での実行不可能を表示するもの
にする (ステップS27)。尚、高速実行フラグ8が高
速演算装置5での実行不可能を示すものにされた場合、
プログラム3は低速演算装置6上で実行され、必要なメ
モリは仮想空間管理手段7によって実際に必要になった
時に割り当てられる。
If it is determined that there is no free space on the main storage device 1 to which the program portion indicated by the code can be allocated (No in step S24), the main storage allocating means 9 determines that the program 3 is a high-speed processing device. In step S5, it is determined that execution is not possible, and the high-speed execution flag 8 corresponding to the program 3 is set to indicate that execution is not possible in the high-speed operation device 5 (step S27). If the high-speed execution flag 8 is set to indicate that the high-speed operation device 5 cannot execute the high-speed execution,
The program 3 is executed on the low-speed operation device 6, and the necessary memory is allocated by the virtual space management means 7 when it is actually needed.

【0037】図3はプログラムディスパッチ手段10の
処理例を示す流れ図である。
FIG. 3 is a flowchart showing a processing example of the program dispatch means 10.

【0038】プログラムディスパッチ手段10はプログ
ラム割り当ての対象としてい演算装置が高速演算装置5
である場合(ステップS31がyes)、高速演算装置
5での実行が優先されているプログラム、即ち対応する
高速実行フラグが高速演算装置5での実行可能を表示
し、且つ優先性が高くなっているプログラムが存在する
か否かを判断する (ステップS32)。
The program dispatching means 10 is a program to be assigned to the arithmetic unit which is a high-speed arithmetic unit 5
(Yes in step S31), the program whose execution in the high-speed operation device 5 is prioritized, that is, the corresponding high-speed execution flag indicates that the program can be executed in the high-speed operation device 5, and the priority becomes high. It is determined whether or not a program exists (step S32).

【0039】そして、存在すると判断した場合 (ステッ
プS32がyes)は、プログラムディスパッチ手段1
0は高速実行フラグが高速演算装置5での実行可能を示
し、且つ優先性が高くなっているプログラムの内の1つ
を選択し、高速演算装置5で実行させる (ステップS3
5)。
If it is determined that the program exists (Yes in step S32), the program dispatch unit 1
0 indicates that the high-speed execution flag can be executed by the high-speed operation device 5, and selects one of the programs having higher priority and causes the high-speed operation device 5 to execute the program (step S3).
5).

【0040】また、存在しないと判断した場合 (ステッ
プS32がno)は、プログラムディスパッチ手段10
は主記憶装置1上に高速演算装置5で実行可能なプログ
ラム、即ち対応する高速実行フラグが高速演算装置5で
の実行可能を表示し、且つ優先性が低くなっているプロ
グラムが存在するか否かを判断する (ステップS3
3)。
If it is determined that the program does not exist (step S32 is no), the program dispatching means 10
Indicates whether there is a program executable in the high-speed operation device 5 on the main storage device 1, that is, a program whose corresponding high-speed execution flag indicates that the program can be executed in the high-speed operation device 5 and whose priority is low. (Step S3
3).

【0041】そして、存在すると判断した場合 (ステッ
プS33がyes)は、プログラムディスパッチ手段1
0は高速実行フラグが高速演算装置5での実行可能を表
示し、且つ優先性が低くなっているプログラムの内の1
つを選択し、高速演算装置5で実行させる (ステップS
35)。
If it is determined that the program is present (Yes in step S33), the program dispatch unit 1
0 indicates that the high-speed execution flag indicates that the high-speed operation device 5 can be executed, and 1 of the programs whose priority is low.
Is selected and executed by the high-speed operation device 5 (step S
35).

【0042】また、存在しないと判断した場合 (ステッ
プS33がno)は、割り当てるプログラムがないので
アイドル状態になる (ステップS34)
If it is determined that the program does not exist (step S33: no), there is no program to be allocated, so that the apparatus enters an idle state (step S34).

【0043】また、プログラムの割り当ての対象にして
いる演算装置が低速演算装置6の場合 (ステップS31
がno)は、プログラムディスパッチ手段10は高速演
算装置5での実行が優先されていないプログラム、即ち
高速実行フラグが高速演算装置5での実行可能を表示
し、且つ優先性が低くなっているプログラムが存在する
か否かを判断する (ステップS36)。
If the arithmetic device to which the program is assigned is the low-speed arithmetic device 6 (step S31)
No) indicates that the program dispatching means 10 does not give priority to execution in the high-speed operation device 5, that is, a program whose high-speed execution flag indicates that execution is possible in the high-speed operation device 5 and whose priority is low. It is determined whether or not exists (step S36).

【0044】そして、存在すると判断した場合 (ステッ
プS36がyes)は、プログラムディスパッチ手段1
0は高速実行フラグが高速演算装置5での実行可能を表
示し、且つ優先性が低くなっているプログラムの内の1
つを選択し、低速演算装置6で実行させる (ステップS
35)。
If it is determined that the program exists (Yes in step S36), the program dispatching means 1
0 indicates that the high-speed execution flag indicates that the high-speed operation device 5 can be executed, and 1 of the programs whose priority is low.
Is selected and executed by the low-speed operation device 6 (step S
35).

【0045】また、存在しないと判断した場合 (ステッ
プS36がno)は、プログラムディスパッチ手段10
は実行可能なプログラム、即ち高速実行フラグが高速演
算装置5での実行不可能を表示しているプログラムが存
在するか否かを判断する (ステップS37)。
On the other hand, when it is determined that the program does not exist (step S36 is no), the program dispatching means 10
Determines whether there is an executable program, that is, a program whose high-speed execution flag indicates that the high-speed operation device 5 cannot execute (step S37).

【0046】そして、存在すると判断した場合 (ステッ
プS37がyes)は、プログラムディスパッチ手段1
0は高速実行フラグが高速演算装置5での実行不可能を
表示しているプログラムの内の1つを選択し、低速演算
装置6で実行させる (ステップS35)。
Then, if it is determined that the program exists (Yes in step S37), the program dispatch unit 1
A value of 0 selects one of the programs whose high-speed execution flag indicates that the high-speed operation device 5 cannot be executed, and causes the low-speed operation device 6 to execute the program (step S35).

【0047】また、存在しないと判断した場合(ステッ
プS37がno)は、割り当てるプログラムが存在しな
いのでアイドル状態になる (ステップS38)。
When it is determined that the program does not exist (No in step S37), the program enters an idle state because there is no program to be allocated (step S38).

【0048】尚、ここでは、高速実行フラグに対応する
プログラムの高速演算装置5での実行の可否及び優先性
を表示させ、優先性も考慮してプログラムを高速演算装
置5または低速演算装置6に割り当てるようにしたが、
高速演算装置5での実行の可否のみを高速実行フラグに
表示させ、対応する高速実行フラグが高速演算装置5で
の実行可能を表示しているプログラムは高速演算装置5
に割り当て、実行不可能の表示しているプログラムは低
速演算装置6に割り当てるようにすることもできる。
Here, whether or not the program corresponding to the high-speed execution flag can be executed by the high-speed operation device 5 and the priority are displayed, and the program is transmitted to the high-speed operation device 5 or the low-speed operation device 6 in consideration of the priority. Was assigned.
The high-speed execution flag indicates only whether or not the execution by the high-speed operation device 5 is possible, and the corresponding high-speed execution flag indicates that the high-speed operation device 5 is executable.
, And the program that is displayed as unexecutable may be assigned to the low-speed operation device 6.

【0049】図4は高速実行フラグの優先性を制御する
処理の内、プログラム特性判定手段11が行なう処理を
示した流れ図である。
FIG. 4 is a flowchart showing the processing performed by the program characteristic determining means 11 in the processing for controlling the priority of the high-speed execution flag.

【0050】プログラム特性判定手段11は高速演算装
置5で実行されているプログラムがスーパバイザの呼び
出しを行なうと (ステップS41)、そのプログラムは
演算中心の処理を実行中でないと判定し、そのプログラ
ム対応の高速実行フラグの優先性を低くする (ステップ
S42)。
When the program being executed by the high-speed arithmetic unit 5 calls the supervisor (step S41), the program characteristic judging means 11 judges that the program is not executing the operation-centered processing, and The priority of the high-speed execution flag is reduced (step S42).

【0051】また、プログラム特性判定手段11はステ
ップS43に示すタイムスライスによる割り込みを契機
にして、プログラムがシステムで定められている時間以
上連続して高速演算装置5,低速演算装置6を使用した
か否かをチェックする(ステップS44)。
Further, the program characteristic determining means 11 has triggered the interruption by the time slice shown in step S43 to determine whether the program has been using the high-speed operation device 5 and the low-speed operation device 6 continuously for at least the time determined by the system. It is checked whether or not it is (step S44).

【0052】そして、プログラムがシステムに定められ
ている時間以上連続して高速演算装置5,低速演算装置
6を使用した場合 (ステップS44がyes)は、その
プログラムは演算中心の処理を行なっていると判定し、
そのプログラムに対応する高速実行フラグの優先性を高
くする (ステップS45)。
When the program uses the high-speed operation device 5 and the low-speed operation device 6 continuously for a period of time determined by the system (step S44: yes), the program performs a process centered on the operation. Is determined,
The priority of the high-speed execution flag corresponding to the program is increased (step S45).

【0053】また、プログラムがシステムに定められた
時間以上連続して高速演算装置5,低速演算装置6を使
用していないと判断した場合 (ステップS44がno)
は、そのプログラムに対応する高速実行フラグの優先性
には変化を与えない。
When it is determined that the program does not use the high-speed operation device 5 and the low-speed operation device 6 continuously for a time specified in the system (step S44 is no).
Does not change the priority of the high-speed execution flag corresponding to the program.

【0054】尚、図4に示したプログラム特性判定手段
11による処理は、プログラム特性解析手段12によっ
てコードが埋め込まれているプログラムに対しては行な
わない。
The processing by the program characteristic determining means 11 shown in FIG. 4 is not performed on a program in which a code is embedded by the program characteristic analyzing means 12.

【0055】図5は高速実行フラグの優先性を制御する
処理の内、プログラム特性宣言手段13が行なう処理を
示した流れ図である。
FIG. 5 is a flowchart showing the processing performed by the program characteristic declaration means 13 in the processing for controlling the priority of the high-speed execution flag.

【0056】プログラム特性宣言手段13はプログラム
3の実行時、プログラム特性解析手段12によってプロ
グラム3に埋め込まれているコードに基づいて、プログ
ラム3が演算のみの処理に入ると判定した場合、プログ
ラム3がステップS52に示す演算中心の処理を実行す
る前に、プログラム3に対応する高速実行フラグ8の優
先性を高くする (ステップS51)。
When executing the program 3, the program characteristic declaring means 13 determines that the program 3 enters the processing of only the operation based on the code embedded in the program 3 by the program characteristic analyzing means 12. Before executing the calculation-centric processing shown in step S52, the priority of the high-speed execution flag 8 corresponding to the program 3 is increased (step S51).

【0057】また、プログラム特性宣言手段13はプロ
グラム特性解析手段12によってプログラム3に埋め込
まれているコードに基づいて、プログラム3がシステム
呼び出し等により処理が途切れる箇所に入ると判断した
場合、プログラム3がステップS54に示す演算中心の
処理を終了する前に、プログラム3に対応する高速実行
フラグ8の優先性を低くする (ステップS53)。
When the program characteristic declaring means 13 determines that the program 3 enters a place where the processing is interrupted by a system call or the like based on the code embedded in the program 3 by the program characteristic analyzing means 12, the program 3 Before terminating the computation-centered process shown in step S54, the priority of the high-speed execution flag 8 corresponding to the program 3 is lowered (step S53).

【0058】[0058]

【発明の効果】以上説明したように、本発明は、プログ
ラムを全て主記憶装置に割り当てることができる場合は
そのプログラムを高速演算装置に割り当て、割り当てる
ことができない場合は仮想記憶の機能を利用する低速演
算装置に割り当てるようにしたものであるので、システ
ムの処理効率を高いものにすることができ、また、何ら
かの原因でシステムのメモリを少なく構成して利用しな
ければならない時でも全てのプログラムの実行が可能に
なる効果がある。
As described above, according to the present invention, when all the programs can be allocated to the main storage device, the programs are allocated to the high-speed processing device, and when they cannot be allocated, the function of the virtual storage is used. Since it is assigned to the low-speed arithmetic unit, the processing efficiency of the system can be increased, and even if the system memory must be configured and used for some reason, all programs can be used. This has the effect of being executable.

【0059】また、本発明は所定の時間以上連続して高
速演算装置または低速演算装置を使用したプログラム
(演算中心のプログラム)に対応する高速実行フラグの
優先性を高いものにし、そのプログラムが優先的に高速
演算装置に割り当てられるようにするプログラム特性判
定手段を備えたものであるので、プログラムの特性にあ
った演算装置の割り当てが可能になり、更にシステムの
処理効率を向上させることが可能になる効果がある。
Further, according to the present invention, the priority of a high-speed execution flag corresponding to a program (a program centered on calculation) using a high-speed operation device or a low-speed operation device continuously for a predetermined time or more is set to be high, and the program has priority. Since it is provided with a program characteristic determining means for assigning to a high-speed arithmetic device, it is possible to allocate an arithmetic device according to the characteristics of a program, and to further improve the processing efficiency of the system. There is an effect.

【0060】また、本発明はプログラムのコンパイル時
に静的にプログラムを解析し、プログラムが演算中心の
処理に入る部分,演算中心でない処理に入る部分にそれ
ぞれそのことを示すコードを設定するプログラム特性解
析手段と、プログラムの実行時にプログラム特性解析手
段が設定したコードに従って対応する高速実行フラグの
優先性を変更するプログラム特性宣言手段を備えたもの
であるので、プログラムの特性にあった演算装置の割り
当てが可能になり、システムの処理効率を向上させるこ
とが可能になる効果がある。
The present invention also provides a program characteristic analysis that statically analyzes a program when compiling the program, and sets a code indicating this in a portion where the program enters into a process centered on the operation and a portion in which the program enters a process which is not centered on the operation. Means and program characteristic declaration means for changing the priority of the corresponding high-speed execution flag in accordance with the code set by the program characteristic analysis means at the time of execution of the program. This makes it possible to improve the processing efficiency of the system.

【0061】更に、本発明はプログラムのコンパイル時
に、プログラムの処理単位がアクセスするアドレスを宣
言するコードを処理単位の前に埋め込むプログラム使用
メモリ解析手段と、処理単位を主記憶装置に割り当てる
ことができる場合はそのプログラムが高速演算装置で実
行可能なことを高速実行フラグに表示させる主記憶割り
当て手段とを備えたものであり、大きなメモリ領域を必
要とする処理は仮想記憶の機能を利用して低速演算装置
で、小さなメモリ領域で十分な処理は高速演算装置で実
行することができるので、システムの負荷が高い状況
で、プログラム全体を主記憶装置に割り当てることがで
きない場合であってもシステムの処理効率を高いものに
することができる効果がある。
Further, according to the present invention, at the time of compiling a program, a program use memory analyzing means for embedding a code for declaring an address to be accessed by the processing unit of the program before the processing unit, and the processing unit can be allocated to the main storage device. Main memory allocating means for displaying, in a high-speed execution flag, that the program can be executed by the high-speed processing device, and processing requiring a large memory area is performed at a low speed by using a virtual memory function. In an arithmetic unit, sufficient processing in a small memory area can be executed by a high-speed arithmetic unit. Therefore, even when the entire program cannot be allocated to the main storage device under a high system load, the processing of the system can be performed. There is an effect that the efficiency can be increased.

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

【図1】本発明の実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】主記憶割り当て手段9の処理例を示す流れ図で
ある。
FIG. 2 is a flowchart showing a processing example of a main memory allocating unit 9;

【図3】プログラムディスパッチ手段10の処理例を示
す流れ図である。
FIG. 3 is a flowchart showing a processing example of a program dispatching means 10;

【図4】プログラム特性判定手段11の処理例を示す流
れ図である。
FIG. 4 is a flowchart showing a processing example of a program characteristic determining unit 11;

【図5】プログラム特性宣言手段13の処理例を示す流
れ図である。
FIG. 5 is a flowchart showing a processing example of a program characteristic declaring means 13;

【符号の説明】[Explanation of symbols]

1…主記憶装置 2…補助記憶装置 3…プログラム 4−1,4−2…アドレス変換機構 5…高速演算装置 6…低速演算装置 7…仮想空間管理手段 8…高速実行フラグ 9…主記憶割り当て手段 10…プログラムディスパッチ手段 11…プログラム特性判定手段 12…プログラム特性解析手段 13…プログラム特性宣言手段 14…プログラム使用メモリ解析手段 DESCRIPTION OF SYMBOLS 1 ... Main storage device 2 ... Auxiliary storage device 3 ... Program 4-1 and 4-2 ... Address conversion mechanism 5 ... High-speed operation device 6 ... Low-speed operation device 7 ... Virtual space management means 8 ... High-speed execution flag 9 ... Main storage allocation Means 10: Program dispatch means 11: Program characteristic determination means 12: Program characteristic analysis means 13: Program characteristic declaration means 14: Program use memory analysis means

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 主記憶装置と、 補助記憶装置と、 前記主記憶装置上または前記補助記憶装置上に存在する
プログラムと、 前記プログラムの論理的なアドレスを前記主記憶装置上
の物理的なアドレスに変換するアドレス変換機構と、 前記プログラムの実行中、前記アドレス変換機構による
アドレス変換に失敗した時、アドレス変換に失敗した命
令から再実行を行なわないことを前提に高速化された高
速演算装置と、 前記高速演算装置との間で、前記主記憶装置を共有し、
且つ前記高速演算装置と同じ命令を実行可能で、更に、
前記プログラムの実行中、前記アドレス変換機構による
アドレス変換が失敗した時にアドレス変換に失敗した命
令から再実行が可能な低速演算装置と、 前記低速演算装置で実行するプログラムに対する仮想記
憶を実現する仮想空間管理手段と、 前記プログラムが高速演算装置で実行されることの可否
を表示する高速実行フラグと、 前記プログラムに前記主記憶装置を割り当てる際、前記
プログラムの全てを前記主記憶装置に割り当てることが
できる場合、前記プログラム対応の高速実行フラグを前
記高速演算装置での実行可能を表示するものにする主記
憶割り当て手段と、 対応する高速実行フラグが実行可能を表示している前記
プログラムを前記高速演算装置に割り当て、実行可能を
表示していない前記プログラムを前記低速演算装置に割
り当てるプログラムディスパッチ手段とを備えたことを
特徴とするプログラムディスパッチ方式。
1. A main storage device, an auxiliary storage device, a program existing on the main storage device or the auxiliary storage device, and a logical address of the program being a physical address on the main storage device. An address translation mechanism that translates into: a high-speed arithmetic device that is accelerated on the assumption that when the address translation by the address translation mechanism fails during the execution of the program, the instruction that failed in the address translation is not re-executed. Sharing the main storage device with the high-speed processing device;
And can execute the same instruction as the high-speed operation device,
During execution of the program, when the address translation by the address translation mechanism fails, a low-speed operation device capable of re-executing an instruction whose address translation has failed, and a virtual space for realizing virtual storage for the program executed by the low-speed operation device Management means; a high-speed execution flag indicating whether or not the program can be executed by a high-speed arithmetic device; and when allocating the main storage device to the program, all of the program can be allocated to the main storage device. Main memory allocating means for setting a high-speed execution flag corresponding to the program to indicate that the program can be executed by the high-speed operation device; To the low-speed computing device. And a program dispatching means.
【請求項2】 請求項1記載のプログラムディスパッチ
方式に於いて、前記 プログラムが高速演算装置で実行されることの可否
を表示すると共に、前記高速演算装置で実行される優先
性を表示する高速実行フラグを備え、対応 する高速実行フラグが実行可能を示しているプログ
ラムを、対応する高速実行フラグが示す優先性に従って
前記高速演算装置または前記低速演算装置に割り当て、
対応する高速実行フラグが実行不可能を示しているプロ
グラムを前記低速演算装置に割り当てるプログラムディ
スパッチ手段を備え、 更に、前記プログラムがシステムが所定時間以上連続し
て前記高速演算装置または前記低速演算装置を使用した
場合、前記プログラム対応の高速実行フラグが示す優先
性を高くし、前記プログラムによる演算処理が途切れる
場合、前記プログラム対応の高速実行フラグの優先性を
低くするプログラム特性判定手段を備えたことを特徴と
するプログラムディスパッチ方式。
2. The high-speed execution method according to claim 1, further comprising: displaying whether or not the program can be executed by a high-speed operation device, and displaying a priority to be executed by the high-speed operation device. comprising a flag, it assigns the program corresponding high speed run flag indicates executable, to the high-speed arithmetic device or the low-speed computing unit according to preference indicated by the corresponding high-speed execution flag,
A program dispatching means for assigning a program whose corresponding high-speed execution flag indicates that execution is not possible to the low-speed arithmetic device; and the program causes the system to continuously execute the high-speed arithmetic device or the low-speed arithmetic device for a predetermined time or more. When used, a program characteristic determining means for increasing the priority indicated by the high-speed execution flag corresponding to the program, and lowering the priority of the high-speed execution flag corresponding to the program when arithmetic processing by the program is interrupted. Characteristic program dispatch method.
【請求項3】 請求項2記載のプログラムディスパッチ
方式に於いて、 プログラム特性判定手段に代えて、前記高速演算装置ま
たは前記低速演算装置上で実行されるプログラムをコン
パイルする際、プログラムを静的に解析して演算処理が
途切れる箇所に演算中心のプログラムでないことを示す
コードを設定し、演算のみの処理に入る箇所に演算中心
のプログラムであることを示すコードを設定するプログ
ラム特性解析手段を備え、 更に、前記プログラム特性解析手段が設定したコードに
従い、プログラムが演算中心の処理に入る前に対応する
高速実行フラグの優先性を高くし、プログラムが演算処
理の途切れる箇所に入る前に対応する高速実行フラグの
優先性を低くするプログラム特性宣言手段を備えたこと
を特徴とするプログラムディスパッチ方式。
3. The program dispatching method according to claim 2, wherein a program executed on the high-speed operation device or the low-speed operation device is compiled statically in place of the program characteristic determining means. A program characteristic analysis means for setting a code indicating that the program is not an operation-centered program at a place where analysis and operation processing is interrupted, and setting a code indicating that the program is an operation-centered program at a place where only processing is executed, Further, according to the code set by the program characteristic analyzing means, the priority of the high-speed execution flag corresponding to before the program enters into the processing centered on the arithmetic operation is increased, and the high-speed execution flag corresponding to before the program enters the place where the arithmetic processing is interrupted is set. A program disk comprising program characteristic declaration means for lowering the priority of a flag. Pitch system.
【請求項4】 請求項1記載のプログラムディスパッチ
方式に於いて、 前記高速演算装置または前記低速演算装置上で実行され
るプログラムをコンパイルする際、前記プログラムを静
的に解析してプログラムの処理単位がアクセスするアド
レスを宣言するコードを前記処理単位の前に埋め込むプ
ログラム使用メモリ解析手段を備え、プロ グラムに前記主記憶装置を割り当てる際、前記プロ
グラムの全てを前記主記憶装置に割り当てることができ
る場合に加えて、前記コードによってアクセスするアド
レスが宣言されているプログラムの処理単位を前記主記
憶装置に割り当てることができる場合にも前記プログラ
ム対応の高速実行フラグを前記高速演算装置での実行可
能を表示するものにする主記憶割り当て手段を備えた
ことを特徴とするプログラムディスパッチ方式。
4. The program dispatching method according to claim 1, wherein when compiling a program executed on the high-speed operation device or the low-speed operation device, the program is statically analyzed and a processing unit of the program is executed. If There comprising program uses memory analyzing means for embedding before the process unit code to declare an address to be accessed, when assigning the main storage device in the program, which can be assigned to all of the program to the main memory In addition, a high-speed execution flag corresponding to the program indicates that the program can be executed by the high-speed arithmetic unit even when a processing unit of a program in which an address to be accessed by the code is declared can be allocated to the main storage device. flop, characterized in to, further comprising a main memory allocation means which Gram dispatch system.
JP28523392A 1992-09-30 1992-09-30 Program dispatch method Expired - Fee Related JP2970262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28523392A JP2970262B2 (en) 1992-09-30 1992-09-30 Program dispatch method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28523392A JP2970262B2 (en) 1992-09-30 1992-09-30 Program dispatch method

Publications (2)

Publication Number Publication Date
JPH06110857A JPH06110857A (en) 1994-04-22
JP2970262B2 true JP2970262B2 (en) 1999-11-02

Family

ID=17688840

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28523392A Expired - Fee Related JP2970262B2 (en) 1992-09-30 1992-09-30 Program dispatch method

Country Status (1)

Country Link
JP (1) JP2970262B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256394A (en) * 2002-03-05 2003-09-12 Nec Corp Transaction processing load distribution method and system therefor

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6986066B2 (en) * 2001-01-05 2006-01-10 International Business Machines Corporation Computer system having low energy consumption
KR101687664B1 (en) * 2015-10-02 2017-01-02 대원강업주식회사 Shot peening apparatus and shot peening method for coil spring

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003256394A (en) * 2002-03-05 2003-09-12 Nec Corp Transaction processing load distribution method and system therefor

Also Published As

Publication number Publication date
JPH06110857A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
US5414848A (en) Method and apparatus for sharing a common routine stored in a single virtual machine with other virtual machines operating in a preemptive muli-tasking computer system
US5386561A (en) Method of integrated system load control through dynamic time-slicing in a virtual storage environment
US9304794B2 (en) Virtual machine control method and virtual machine system using prefetch information
KR100589798B1 (en) Bytecode Optimization Devices and Methods During Interruption
US6021425A (en) System and method for optimizing dispatch latency of tasks in a data processing system
US5161226A (en) Microprocessor inverse processor state usage
JPH0512045A (en) Method and device for continuing operation of computer system
JPH11272476A (en) Method and apparatus for dynamically optimizing byte-coded programs
JPH05204656A (en) Method for holding data inherent in thread
JPH0532772B2 (en)
JP2004078322A (en) Task management system, program, recording medium, and control method
JPH012145A (en) Resource management method for virtual computer system
US8214837B2 (en) Method, apparatus and system for dynamically allocating sequestered computing resources
US5463764A (en) Method and system for system debugging through a keyboard device driver
JP2970262B2 (en) Program dispatch method
US6772259B2 (en) Interrupt handlers used in different modes of operations
JP2008269094A (en) Information processing apparatus, information processing apparatus optimization method, and program
JPH065515B2 (en) Method and computer system for reducing cache reload overhead
US5511206A (en) Microprocessor based computer with virtual memory space in overwritable memory
JP5243822B2 (en) Workload management in a virtualized data processing environment
JPS6097440A (en) Virtual multiprocessor device
JPS6313218B2 (en)
US8782675B2 (en) Method and system of accessing display window memory
JPS62125437A (en) Additional processor control method
JPS62221041A (en) Dispatch controller in virtual computer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees