JPH03152654A - Simulation control system for information processing system - Google Patents
Simulation control system for information processing systemInfo
- Publication number
- JPH03152654A JPH03152654A JP29100089A JP29100089A JPH03152654A JP H03152654 A JPH03152654 A JP H03152654A JP 29100089 A JP29100089 A JP 29100089A JP 29100089 A JP29100089 A JP 29100089A JP H03152654 A JPH03152654 A JP H03152654A
- Authority
- JP
- Japan
- Prior art keywords
- simulator
- processing
- service
- simulation
- scheduler
- 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.)
- Pending
Links
- 238000004088 simulation Methods 0.000 title claims abstract description 18
- 230000010365 information processing Effects 0.000 title claims description 9
- 238000000034 method Methods 0.000 claims abstract description 16
- 238000010586 diagram Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理システムのシミュレーション制御方式
に係り、特に複数プロセッサのシミュレーションを効率
よく行うのに好適な制御方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a simulation control method for an information processing system, and particularly to a control method suitable for efficiently performing simulations of multiple processors.
複数プロセッサのシミュレーションを実現する場合、各
プロセッサのシミュレータ(疑似プログラム)を独立に
動作させ、並列処理を疑似しなければならない、その為
には、実行中のシミュレータの処理を機能的に中断し、
その間に他のシミュレータの処理を行い、その処理終了
後、中断していたシミュレータの処理を再開させる必要
がある。In order to simulate multiple processors, it is necessary to run each processor's simulator (pseudo program) independently and simulate parallel processing.
During this time, it is necessary to perform processing on another simulator, and after that processing is completed, to restart the interrupted processing on the simulator.
これらの処理の中断・再開を行う為にシステムスケジュ
ーラが設けられる。従来、このシステムスケジューラは
、定期的に全プロセッサのシミュレータをシーケンシャ
ルに無条件サービスし、各シミュレータが処理を再開す
るかどうかの判定を行っていた。なお、この種の技術と
して関連するものには、例えば特開昭62−44843
号公報等が挙げられる。A system scheduler is provided to suspend and restart these processes. Conventionally, this system scheduler periodically unconditionally services the simulators of all processors sequentially and determines whether each simulator should resume processing. Incidentally, related technologies of this type include, for example, Japanese Patent Application Laid-Open No. 62-44843.
Publications No. 1, etc. can be cited.
上記従来技術は、各プロセッサのシミュレータのサービ
ス時に処理の再開が必要がどうかの点について配慮され
ておらず、処理不要のプロセッサのシミュレータに対し
てもサービスが行われることがあるため、接続されるプ
ロセッサ数が増大すると、処理不要なプロセッサのシミ
ュレータに対するサービスも増大し、処理能力が落ちる
という問題があった。The above conventional technology does not consider whether or not it is necessary to restart processing when servicing each processor's simulator, and since servicing may be performed even for a processor's simulator that does not require processing, it is difficult to connect As the number of processors increases, the number of services for simulators of processors that do not require processing also increases, resulting in a decrease in processing performance.
本発明の目的は、前述の従来技術の問題点を解決し、プ
ロセッサ数に関係なく効率よく各プロセッサのシミュレ
ータに対するサービス処理を行うことのできるシミュレ
ーション制御方式を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a simulation control method that can solve the problems of the prior art described above and efficiently perform service processing for the simulator of each processor regardless of the number of processors.
上記目的を達成するために、本発明は、各プロセッサを
疑似する複数のシミュレータと、各シミュレータの動作
を制御するシステムスケジューラからなるシミュレータ
システムにおいて、各シミュレータのサービス要求を登
録するシミュレータサービステーブルを設け、各シミュ
レータは、他のシミュレータの処理及び自シミュレータ
の処理中断後の再開処理を必要とする時、そのサービス
要求を前記シミュレータサービステーブルに登録し、シ
ステムスケジューラは、前記シミュレータサービステー
ブルに登録されているサービス要求により各シミュレー
タの動作を制御することを特徴とする。In order to achieve the above object, the present invention provides a simulator service table for registering service requests of each simulator in a simulator system consisting of a plurality of simulators that simulate each processor and a system scheduler that controls the operation of each simulator. , each simulator registers the service request in the simulator service table when it needs processing of other simulators and restart processing after its own simulator's processing is interrupted, and the system scheduler registers the service request registered in the simulator service table. It is characterized by controlling the operation of each simulator based on service requests.
各シミュレータは、処理時間、データ量、内部状態等の
変化、切替え命令、他シミュレータへの連絡を契機に、
サービス要求(再開条件を含むシミュレータ内部情報)
をシミュレータサービステーブルに登録する。システム
スケジューラは、シミュレータサービステーブルに登録
されているサービス要求に対応するシミュレータに対し
、実行条件が成立した時のみ、該当シミュレータのサー
ビスを行う、従って、プロセッサ数が増大し、これに伴
いシミュレータ数が増加しても、サービスを要求したシ
ミュレータのみしかサービスされないため、効率のよい
シミュレータサービスを行うことができる。Each simulator responds to changes in processing time, data volume, internal state, etc., switching commands, and communications to other simulators.
Service request (simulator internal information including restart conditions)
is registered in the simulator service table. The system scheduler services a simulator that corresponds to a service request registered in the simulator service table only when the execution conditions are met. Therefore, the number of processors increases and the number of simulators increases accordingly. Even if the number of simulators increases, only the simulators that have requested the service will be serviced, so it is possible to provide efficient simulator service.
以下、本発明の一実施例について図面により説明する。 An embodiment of the present invention will be described below with reference to the drawings.
第1図は本発明が適用されるシミュレータシステムと情
報処理システムの一実施例の構成図を示したものである
。第1図において、情報処理システム1はホストプロセ
ッサ11とそれに接続される複数の通信制御プロセッサ
12〜1nで構成される。シミュレータシステム2は該
情報処理システム1をシミュレーションするもので、シ
ミュレータ211〜21nとそれを制御するシステムス
ケジューラ21より構成される。ここで、シミュレータ
211はホストプロセッサ11のシミュレーションを、
また、シミュレータ212〜21nは通信制御プロセッ
サ12〜Inのシミュレーションをそれぞれ行う、シス
テムスケジューラ21は各シミュレータ211〜21n
のサービス制御を司どるもので、シミュレータサービス
テーブル30を備えている。FIG. 1 shows a configuration diagram of an embodiment of a simulator system and an information processing system to which the present invention is applied. In FIG. 1, an information processing system 1 includes a host processor 11 and a plurality of communication control processors 12 to 1n connected thereto. The simulator system 2 simulates the information processing system 1 and includes simulators 211 to 21n and a system scheduler 21 that controls them. Here, the simulator 211 simulates the host processor 11.
Further, the simulators 212 to 21n perform simulations of the communication control processors 12 to In, respectively, and the system scheduler 21 performs simulations for each of the simulators 211 to 21n.
simulator service table 30.
第2図はシミュレータシステム2の詳細ブロック図であ
る。シミュレータ211〜2inは処理時間、データ量
、シミュレータ内部状態の変化、切替え命令、他シミュ
レータへの連絡等の要因発生時、それまでの処理を中断
し、システムスケジューラ21内に設けられたシミュレ
ータサービステーブル30にその状態をシミュレータ内
部情報31〜3nとして登録する(サービス要求40;
要求41〜4n)、一方、システムスケジューラ21は
、その中断中に、シミュレータサービステーブル30に
登録されているシミュレータ内部情報31〜3nにより
各シミュレータ211〜21nを効率よくサービスする
(システムスケジュール50;スケジュール51〜5n
)。FIG. 2 is a detailed block diagram of the simulator system 2. The simulators 211 to 2in interrupt the previous processing when a factor such as a change in processing time, data amount, internal state of the simulator, switching command, or contact with another simulator occurs, and the simulator service table provided in the system scheduler 21 is suspended. 30 as simulator internal information 31 to 3n (service request 40;
Requests 41 to 4n), while the system scheduler 21 efficiently services each simulator 211 to 21n using the simulator internal information 31 to 3n registered in the simulator service table 30 during the interruption (system schedule 50; schedule 51~5n
).
第3図はシステムスケジューラ21の処理フローチャー
トである。システムスケジューラ21はシミュレータサ
ービステーブル30の作成、最初にサービスするシミュ
レータの決定等の初期設定を行った後(処理S1)、該
シミュレータに対してサービスのスケジュールを行う(
処理S2)。FIG. 3 is a processing flowchart of the system scheduler 21. The system scheduler 21 performs initial settings such as creating a simulator service table 30 and determining the first simulator to be serviced (processing S1), and then schedules a service for the simulator (processing S1).
Processing S2).
一定時間の経過後、シミュレータサービステーブル30
に一定のシミュレータ内部情報31〜3nの登録済等の
再開処理要因が発生すると(処理S3)、シミュレータ
サービステーブル30に登録されている順に各シミュレ
ータのサービスをスケジュールする(処理S4)、そし
て、シミュレーションの終了条件が成立するまで、これ
らの処理を繰り返す(処理S5)。After a certain period of time, the simulator service table 30
When a restart processing factor such as registration of certain simulator internal information 31 to 3n occurs (processing S3), the services of each simulator are scheduled in the order registered in the simulator service table 30 (processing S4), and the simulation These processes are repeated until the termination condition is satisfied (process S5).
第4図は各シミュレータ211〜21nの処理フローチ
ャートである。シミュレータ211〜21nは、システ
ムスケジューラ21からサービスを受けると、中断中の
処理がある場合はその処理を再開し、そうでない場合は
通常の処理を行う(処理S6.S7.S8)、シミュレ
ーション処理中に他のシミュレータの処理が必要になっ
た場合、そのシミュレータを直接コールするか、サービ
ス要求をシミュレータサービステーブル30に登録する
(処理S9.Si、O)。一定の処理後、処理中断要因
が発生すると、シミュレータサービステーブル30に、
処理を再開する為に必要なシミュレータ内部情報を登録
する(処理S1.L、512)。これらの処理終了後、
処理はシステムスケジューラ21又は各シミュレータ2
11〜21nにリターンする(処理513)。FIG. 4 is a processing flowchart of each simulator 211 to 21n. When the simulators 211 to 21n receive a service from the system scheduler 21, if there is a suspended process, the simulators 211 to 21n resume the process, otherwise perform normal processing (processing S6.S7.S8), during the simulation process. If the processing of another simulator becomes necessary, that simulator is directly called or a service request is registered in the simulator service table 30 (processing S9.Si, O). When a process interruption factor occurs after a certain amount of processing, the simulator service table 30 displays the following information:
The simulator internal information necessary to restart the process is registered (process S1.L, 512). After these processes are completed,
Processing is done by the system scheduler 21 or each simulator 2
11 to 21n (processing 513).
次に、システムスケジューラ21及びシミュレータ21
1〜21nの動作例を第5図に示すタイムチャートによ
り説明する。Next, the system scheduler 21 and the simulator 21
Examples of operations 1 to 21n will be explained with reference to the time chart shown in FIG.
■ システムスケジューラ21は初期設定を行う(TI
)。■ The system scheduler 21 performs initial settings (TI
).
■ 初期設定後、シミュレータ211をサービスする(
T2)。■ After initial settings, service the simulator 211 (
T2).
■ シミュレータ211は、シミュレーション実行中に
シミュレータ212に連絡する必要が生じ、シミュレー
タサービステーブル30にその内部情報をシミュレータ
内部情報31として登録する(T3)。(2) The simulator 211 needs to contact the simulator 212 during execution of the simulation, and registers its internal information in the simulator service table 30 as the simulator internal information 31 (T3).
■ シミュレータ211は一定の処理時間経過後、処理
を中断し、シミュレータサービステーブル30に再開条
件を含む内部情報をシミュレータ内部情報32として登
録し、システムスケジューラ21にリターンする(T4
)。■ After a certain processing time has elapsed, the simulator 211 suspends processing, registers internal information including restart conditions in the simulator service table 30 as simulator internal information 32, and returns to the system scheduler 21 (T4
).
■ システムスケジューラ21はシミュレータサービス
テーブル30のシミュレータ内部情報31により、シミ
ュレータ212をサービスする(T5)、この時、シス
テムスケジューラ21はシミュレータサービステーブル
30のシミュレータ内部情報32をシミュレータ内部情
報31に移す。(2) The system scheduler 21 services the simulator 212 using the simulator internal information 31 in the simulator service table 30 (T5). At this time, the system scheduler 21 transfers the simulator internal information 32 in the simulator service table 30 to the simulator internal information 31.
■ シミュレータ212はシミュレーション実行中、シ
ミュレータ213を直接コールする(T6)。■ The simulator 212 directly calls the simulator 213 during simulation execution (T6).
■ シミュレータ213の処理終了後、シミュレータ2
12にリータンする(T7)。■ After the processing of simulator 213 is completed, simulator 2
Return to 12 (T7).
■ シミュレータ212は一定のデータ薫の処理を実行
すると、処理を中断し、シミュレータサービステーブル
30にその内部情報をシミュレータ内部情報32として
登録し、システムスケジューラ21にリターンする(T
8)。■ When the simulator 212 executes processing for a certain amount of data, it interrupts the processing, registers the internal information in the simulator service table 30 as simulator internal information 32, and returns to the system scheduler 21 (T
8).
■ システムスケジューラ21はシミュレータサービス
テーブル30に登録されているシミュレータ内部情報3
1.32よりシミュレータ211.212をサービスす
る(T9.Tl0)。■ The system scheduler 21 uses the simulator internal information 3 registered in the simulator service table 30.
From 1.32 onwards, the simulators 211 and 212 are served (T9.Tl0).
以下、同様にしてシステムスケジューラ21は各シミュ
レータ211〜21nを効率よくサービスし、複数プロ
セッサのシミュレーション制御を行う。Thereafter, in the same manner, the system scheduler 21 efficiently services each simulator 211 to 21n and performs simulation control of a plurality of processors.
以上説明したように、本発明によれば、システムスケジ
ューラはシミュレータサービステーブルに登録されてい
るシミュレータのみをサービスする為、複数プロセッサ
についてシミュレーションするプロセッサ数に関係なく
効率よくシミュレーション制御を行える効果がある。As described above, according to the present invention, since the system scheduler services only the simulators registered in the simulator service table, simulation control can be efficiently performed for multiple processors regardless of the number of processors to be simulated.
第1図は本発明が適用されるシミュレータシステムと情
報処理システムの一実施例の構成図、第2図はシミュレ
ータシステムの詳細構成図、第3図はシステムスケジュ
ーラの処理フローチャート、第4図はシミュレータの処
理フローチャート、第5図は具体的動作例のタイムチャ
ートである。
1・・・情報処理システム、
2・・・シミュレータシステム。
21・・・システムスケジューラ、
211〜21n・・・シミュレータ、
30・・・シミュレータサービステーブル、31〜3n
・・・シミュレータ内部情報−40・・・サービス要求
、
50・・・システムスケジュール。
第3図Figure 1 is a configuration diagram of an embodiment of a simulator system and information processing system to which the present invention is applied, Figure 2 is a detailed configuration diagram of the simulator system, Figure 3 is a processing flowchart of the system scheduler, and Figure 4 is a simulator system. FIG. 5 is a time chart of a specific operation example. 1... Information processing system, 2... Simulator system. 21... System scheduler, 211-21n... Simulator, 30... Simulator service table, 31-3n
...Simulator internal information-40...Service request, 50...System schedule. Figure 3
Claims (1)
をシミュレーションするために、各プロセッサを疑似す
る複数のシミュレータと、各シミュレータの動作を制御
するシステムスケジューラからなるシミュレータシステ
ムにおいて、各シミュレータのサービス要求を登録する
シミュレータサービステーブルを設け、 各シミュレータは、他のシミュレータの処理及び自シミ
ュレータの処理中断後の再開処理を必要とする時、その
サービス要求を前記シミュレータサービステーブルに登
録し、 システムスケジューラは、前記シミュレータサービステ
ーブルに登録されているサービス要求により各シミュレ
ータの動作を制御することを特徴とする情報処理システ
ムのシミュレーション制御方式。(1) In order to simulate an information processing system consisting of multiple processors, service requests for each simulator are registered in a simulator system consisting of multiple simulators that simulate each processor and a system scheduler that controls the operation of each simulator. A simulator service table is provided to provide a simulator service table, and each simulator registers a service request in the simulator service table when it needs processing of another simulator or restart processing after its own simulator's processing has been interrupted. A simulation control method for an information processing system characterized by controlling the operation of each simulator based on service requests registered in a service table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29100089A JPH03152654A (en) | 1989-11-10 | 1989-11-10 | Simulation control system for information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP29100089A JPH03152654A (en) | 1989-11-10 | 1989-11-10 | Simulation control system for information processing system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03152654A true JPH03152654A (en) | 1991-06-28 |
Family
ID=17763162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP29100089A Pending JPH03152654A (en) | 1989-11-10 | 1989-11-10 | Simulation control system for information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03152654A (en) |
-
1989
- 1989-11-10 JP JP29100089A patent/JPH03152654A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Gresser | An event model for deadline verification of hard real-time systems | |
CN108196946B (en) | A kind of subregion multicore method of Mach | |
JPS6231437A (en) | Input and output control system for virtual computer system | |
JPH09231183A (en) | Real-time decentralized processing system | |
JPH03152654A (en) | Simulation control system for information processing system | |
CN109426556A (en) | A kind of process scheduling method and device | |
JPH1091480A (en) | Simulation device/method for computer program | |
JPH06187171A (en) | Scheduling system for interruption | |
JP2002140201A (en) | Method for updating database and database management system using the same | |
JPH0266640A (en) | Debugger task scheduling system | |
JPS63636A (en) | Task control system | |
JPH02123445A (en) | Command processing system for signal device | |
JP2000029850A (en) | Task controlling method using inter-processor communication of operating system | |
JPS61161553A (en) | Hardware simulator | |
JPH0215354A (en) | I/o scheduling method | |
JPH03100752A (en) | Holding type input/output control system | |
JPH0375832A (en) | Virtual machine control system | |
JPH03257558A (en) | Simulation processing system for input/output operation | |
JPH04165539A (en) | Simulating system | |
JPH05135117A (en) | Man-machine interface system of conversational system | |
JPH08147007A (en) | Method for data transmission between controller and programmable display device | |
JP2002222161A (en) | Semiconductor device, and method of transferring data | |
JP2000010813A (en) | Simulation test system | |
JPH0378837A (en) | Task control system | |
JPH02127732A (en) | Job control system |