JP2005293070A - タスク実行システム - Google Patents
タスク実行システム Download PDFInfo
- Publication number
- JP2005293070A JP2005293070A JP2004105365A JP2004105365A JP2005293070A JP 2005293070 A JP2005293070 A JP 2005293070A JP 2004105365 A JP2004105365 A JP 2004105365A JP 2004105365 A JP2004105365 A JP 2004105365A JP 2005293070 A JP2005293070 A JP 2005293070A
- Authority
- JP
- Japan
- Prior art keywords
- task
- processor
- registered
- main execution
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2038—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with a single idle spare processing component
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2041—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant with more than one idle spare processing component
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/202—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where processing functionality is redundant
- G06F11/2023—Failover techniques
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
- Hardware Redundancy (AREA)
Abstract
【解決手段】 少なくとも2つのプロセッサを包含するタスク実行システムであって、少なくともタスクと主実行プロセッサと停止時担当プロセッサとの対応関係が登録されるタスク管理テーブルと、前記タスク管理テーブルに登録されたタスクの中から実行可能タスクを選択する手段と、前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段と、前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段と、を備える。
【選択図】図1
Description
少なくとも2つのプロセッサを包含するタスク実行システムであって、登録要求されたタスクを主実行プロセッサのタスクとして登録可能か否かを判定する手段と、前記登録要求されたタスクを停止時担当プロセッサのタスクとして登録可能か否かを判定する手段と、前記主実行プロセッサのタスクとして登録可能と判定され、かつ前記停止時担当プロセッサのタスクとして登録可能と判定された場合に、前記登録要求されたタスクと主実行プ
ロセッサと停止時担当プロセッサとの対応関係を登録する手段と、前記登録されたタスクの中から実行可能タスクを選択する手段と、前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段と、前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段と、を備えるタスク実行システム。
少なくとも2つのプロセッサを包含するタスク実行システムにおけるタスク実行方法であって、少なくともタスクとそのタスクを実行する主実行プロセッサとその主実行プロセッサ停止時にそのタスクを実行する停止時担当プロセッサとの対応関係が登録されるタスク管理テーブルに登録されたタスクの中から実行可能タスクを選択し、前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックし、前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する、タスク実行方法。
少なくとも2つのプロセッサを包含する情報処理装置を、少なくともタスクとそのタスクを実行する主実行プロセッサとその主実行プロセッサ停止時にそのタスクを実行する停止時担当プロセッサとの対応関係が登録されるタスク管理テーブル、前記タスク管理テーブルに登録されたタスクの中から実行可能タスクを選択する手段、前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段、前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段、として機能させるためのプログラム。
(本システムの概略構成)
図1は、タスク実行システムの概略構成を説明するための図である。
(システム環境)
本実施形態のタスク実行システムは、PDA(Personal Digital Assistants)やパーソナルコンピュータ等の一般的な情報処理装置100により実現される。
図1に示すように、情報処理装置100は、2つのプロセッサ110、120(以下説明の便宜上一方を主実行プロセッサ110、他方を停止時担当プロセッサ120という)、ハードディスク装置等の記憶装置130、及びメモリ140等を備えている。また、情報処理装置100は、各種情報や命令を入力するための入力装置(例えばキーセット)、その処理結果等を表示するための画像表示装置(例えば液晶ディスプレイ)、及び音声出力
装置(例えばスピーカ)等も備えていることがある(いずれも図示せず)。なお、説明の都合上2つのプロセッサ110、120を例示してあるが、本発明はこれに限定さない。例えば3つ又はそれ以上のプロセッサであっても同様に適用可能である。
(タスクとオペレーティングシステム)
タスク141とは、プロセス、スレッドと一般的に呼ばれるプログラム実行単位の総称である。タスク141は、タスク登録時に生成されることもあるし、本出願人が先に出願したように予め生成(プール)されていることもある。タスク141は、例えば、その所要リソース量を制御可能な可変タスクであるQoSタスクである。
(タスク登録時動作)
次に、上記構成のタスク管理システムの動作について図面を参照しながら説明する。まずは、タスク登録時の処理について説明する。図2は、タスク登録時の処理について説明するためのフローチャートである。
て実行されることにより実現される。
オペレーティングシステム142や所定アプリケーション等からタスク登録要求があると(S100)、その登録要求のあったタスク141(以下、登録対象タスクともいう。)を主実行プロセッサ110(例えばS100の登録要求が主実行プロセッサIDを含む場合、その主実行プロセッサID)のタスクとして登録可能か否かが判定される(S101)。これは、例えば、その登録対象タスク141を主実行プロセッサ110のタスクとして登録した場合に、その登録対象タスク141を含めてQoSを保って実行できるか否かの判断であり、所定条件を満たすか否かが判定される。
6)。
(タスク切替時動作)
次に、タスク切替時の処理について説明する。図3は、タスク切替時の処理について説明するためのフローチャートである。
スケジューラが実行されると(S200)、自プロセッサの登録タスクの中から実行可能タスクが選択される(S201)。例えば、タスクスケジューリングによる切替タイミングが到来すると、自プロセッサのタスク管理テーブル143に登録されたタスク141の中から、より短いデッドライン時間のタスクが選択される。なお、実行可能なタスクがなければ(S202:No)、タスク切替の処理を行わず、タスク切替処理を終了する。
110 プロセッサ(主実行プロセッサ)
120 プロセッサ(停止時担当プロセッサ)
130 記憶装置
140 メモリ
141 タスク
142 オペレーティングシステム
143 タスク管理テーブル
143a タスクID
143b 主実行プロセッサID
143c 停止時担当プロセッサID
143d タスク実行用パラメータ
Claims (4)
- 少なくとも2つのプロセッサを包含するタスク実行システムであって、
少なくともタスクとそのタスクを実行する主実行プロセッサとその主実行プロセッサ停止時にそのタスクを実行する停止時担当プロセッサとの対応関係が登録されるタスク管理テーブルと、
前記タスク管理テーブルに登録されたタスクの中から実行可能タスクを選択する手段と、
前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段と、
前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段と、
を備えるタスク実行システム。 - 少なくとも2つのプロセッサを包含するタスク実行システムであって、
登録要求されたタスクを主実行プロセッサのタスクとして登録可能か否かを判定する手段と、
前記登録要求されたタスクを停止時担当プロセッサのタスクとして登録可能か否かを判定する手段と、
前記主実行プロセッサのタスクとして登録可能と判定され、かつ前記停止時担当プロセッサのタスクとして登録可能と判定された場合に、前記登録要求されたタスクと主実行プロセッサと停止時担当プロセッサとの対応関係を登録する手段と、
前記登録されたタスクの中から実行可能タスクを選択する手段と、
前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段と、
前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段と、
を備えるタスク実行システム。 - 少なくとも2つのプロセッサを包含するタスク実行システムにおけるタスク実行方法であって、
少なくともタスクとそのタスクを実行する主実行プロセッサとその主実行プロセッサ停止時にそのタスクを実行する停止時担当プロセッサとの対応関係が登録されるタスク管理テーブルに登録されたタスクの中から実行可能タスクを選択し、
前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックし、
前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する、タスク実行方法。 - 少なくとも2つのプロセッサを包含する情報処理装置を、
少なくともタスクとそのタスクを実行する主実行プロセッサとその主実行プロセッサ停止時にそのタスクを実行する停止時担当プロセッサとの対応関係が登録されるタスク管理テーブル、
前記タスク管理テーブルに登録されたタスクの中から実行可能タスクを選択する手段、
前記選択されたタスクを実行しようとするプロセッサ以外のプロセッサが前記選択されたタスクの主実行プロセッサとして登録されている場合、その主実行プロセッサとして登録されているプロセッサの停止状態をチェックする手段、
前記主実行プロセッサとして登録されているプロセッサが停止している場合、前記選択されたタスクを実行する手段、
として機能させるためのプログラム。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004105365A JP4325466B2 (ja) | 2004-03-31 | 2004-03-31 | タスク実行システム |
EP04799765A EP1730637A1 (en) | 2004-03-31 | 2004-11-12 | Task management table with task id and two assigned processors |
US10/583,371 US7900205B2 (en) | 2004-03-31 | 2004-11-12 | System and method for executing selected task based on task management table having at least one task and at least two associated processors |
PCT/JP2004/017225 WO2005101204A1 (en) | 2004-03-31 | 2004-11-12 | Task management table with task id and two assigned processors |
CNB2004800425218A CN100533389C (zh) | 2004-03-31 | 2004-11-12 | 任务执行系统和方法 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004105365A JP4325466B2 (ja) | 2004-03-31 | 2004-03-31 | タスク実行システム |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005293070A true JP2005293070A (ja) | 2005-10-20 |
JP4325466B2 JP4325466B2 (ja) | 2009-09-02 |
Family
ID=34959224
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004105365A Expired - Fee Related JP4325466B2 (ja) | 2004-03-31 | 2004-03-31 | タスク実行システム |
Country Status (5)
Country | Link |
---|---|
US (1) | US7900205B2 (ja) |
EP (1) | EP1730637A1 (ja) |
JP (1) | JP4325466B2 (ja) |
CN (1) | CN100533389C (ja) |
WO (1) | WO2005101204A1 (ja) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011248737A (ja) * | 2010-05-28 | 2011-12-08 | Fujitsu Ltd | タスク引継プログラム、処理装置及びコンピュータ・システム |
CN111026515A (zh) * | 2018-10-10 | 2020-04-17 | 上海寒武纪信息科技有限公司 | 状态监控装置、任务调度器及状态监控方法 |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9811345B2 (en) * | 2015-04-16 | 2017-11-07 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Utilizing computing resources under a disabled processor node without fully enabling the disabled processor node |
CN110569115B (zh) * | 2019-08-15 | 2023-08-04 | 贝壳技术有限公司 | 多点部署的进程管理方法及进程的争夺方法 |
US11281502B2 (en) | 2020-02-22 | 2022-03-22 | International Business Machines Corporation | Dispatching tasks on processors based on memory access efficiency |
Family Cites Families (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4318173A (en) * | 1980-02-05 | 1982-03-02 | The Bendix Corporation | Scheduler for a multiple computer system |
US4872106A (en) * | 1983-04-06 | 1989-10-03 | New Forney Corp. | Industrial process control system with back-up data processors to take over from failed primary data processors |
US4807228A (en) * | 1987-03-18 | 1989-02-21 | American Telephone And Telegraph Company, At&T Bell Laboratories | Method of spare capacity use for fault detection in a multiprocessor system |
JPH0695896A (ja) | 1992-09-11 | 1994-04-08 | Hitachi Ltd | タスク処理システムおよびタスク間通信制御方法 |
US5513354A (en) | 1992-12-18 | 1996-04-30 | International Business Machines Corporation | Fault tolerant load management system and method |
US5919266A (en) * | 1993-04-02 | 1999-07-06 | Centigram Communications Corporation | Apparatus and method for fault tolerant operation of a multiprocessor data processing system |
JPH0738510A (ja) | 1993-07-09 | 1995-02-07 | Matsushita Electric Ind Co Ltd | Atrac用リアルタイム・タスクのスケジュール方法 |
CA2131406C (en) | 1993-09-21 | 2002-11-12 | David D'souza | Preemptive multi-tasking with cooperative groups of tasks |
US5437032A (en) * | 1993-11-04 | 1995-07-25 | International Business Machines Corporation | Task scheduler for a miltiprocessor system |
JPH07262025A (ja) | 1994-03-18 | 1995-10-13 | Fujitsu Ltd | 実行制御システム |
JP3244982B2 (ja) | 1995-01-30 | 2002-01-07 | 株式会社日立製作所 | 分散制御システム |
JP3898789B2 (ja) | 1996-12-05 | 2007-03-28 | 富士通株式会社 | 周期プロセス負荷制御システムおよび周期プロセス負荷制御方法 |
JPH10240548A (ja) | 1997-03-03 | 1998-09-11 | Toshiba Corp | タスクスケジューリング装置及び方法 |
US6385638B1 (en) | 1997-09-04 | 2002-05-07 | Equator Technologies, Inc. | Processor resource distributor and method |
JPH11203149A (ja) | 1998-01-13 | 1999-07-30 | Matsushita Electric Ind Co Ltd | タスクスケジュール装置およびその方法 |
US6658595B1 (en) * | 1999-10-19 | 2003-12-02 | Cisco Technology, Inc. | Method and system for asymmetrically maintaining system operability |
AU2003213406A1 (en) | 2002-03-22 | 2003-10-08 | Toyota Jidosha Kabushiki Kaisha | Task management device and method, operation judgment device and method, and program to be judged |
US20040064829A1 (en) * | 2002-09-30 | 2004-04-01 | Kim Pallister | Method for identifying processor affinity and improving software execution |
US20040181707A1 (en) * | 2003-03-11 | 2004-09-16 | Hitachi, Ltd. | Method and apparatus for seamless management for disaster recovery |
-
2004
- 2004-03-31 JP JP2004105365A patent/JP4325466B2/ja not_active Expired - Fee Related
- 2004-11-12 CN CNB2004800425218A patent/CN100533389C/zh not_active Expired - Fee Related
- 2004-11-12 WO PCT/JP2004/017225 patent/WO2005101204A1/en not_active Application Discontinuation
- 2004-11-12 US US10/583,371 patent/US7900205B2/en not_active Expired - Fee Related
- 2004-11-12 EP EP04799765A patent/EP1730637A1/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011248737A (ja) * | 2010-05-28 | 2011-12-08 | Fujitsu Ltd | タスク引継プログラム、処理装置及びコンピュータ・システム |
CN111026515A (zh) * | 2018-10-10 | 2020-04-17 | 上海寒武纪信息科技有限公司 | 状态监控装置、任务调度器及状态监控方法 |
CN111026515B (zh) * | 2018-10-10 | 2023-07-14 | 上海寒武纪信息科技有限公司 | 状态监控装置、任务调度器及状态监控方法 |
Also Published As
Publication number | Publication date |
---|---|
US7900205B2 (en) | 2011-03-01 |
JP4325466B2 (ja) | 2009-09-02 |
EP1730637A1 (en) | 2006-12-13 |
WO2005101204A1 (en) | 2005-10-27 |
CN100533389C (zh) | 2009-08-26 |
US20070186213A1 (en) | 2007-08-09 |
CN1926516A (zh) | 2007-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9361136B2 (en) | Decoupling background work and foreground work | |
US20170207977A1 (en) | Systems and methods for resource sharing between two resource allocation systems | |
KR100898315B1 (ko) | 인핸스드 런타임 호스팅 | |
TWI584141B (zh) | 更新硬體庫以供具有fpga共處理器的電腦系統上的應用程式使用 | |
US9063775B2 (en) | Event aggregation for background work execution | |
US20130346985A1 (en) | Managing use of a field programmable gate array by multiple processes in an operating system | |
CN101310257A (zh) | 多处理器系统和用于使计算机执行多处理器系统的控制方法的程序 | |
JP5093259B2 (ja) | Biosとbmcとの間の通信パス強化方法、その装置及びそのプログラム | |
US20130191832A1 (en) | Management of threads within a computing environment | |
JP2013232207A (ja) | コンピュータマイクロジョブを中断せずに実行するようスケジュールするための方法、システムおよび装置 | |
KR20070083460A (ko) | 다중 커널을 동시에 실행하는 방법 및 시스템 | |
CN105051691A (zh) | 调度 | |
JP2008108075A (ja) | タスク切替え制御方法及びコンピュータシステム | |
JP4325466B2 (ja) | タスク実行システム | |
JP2008204243A (ja) | ジョブ実行制御方法およびシステム | |
JP2005149312A (ja) | タスク管理システム | |
JP2005071161A (ja) | タスク管理プログラムおよびタスク制御装置 | |
JP2008225641A (ja) | コンピュータシステム、割り込み制御方法及びプログラム | |
JP5678347B2 (ja) | Itシステムの構成方法、そのコンピュータプログラムおよびitシステム | |
JPWO2018211865A1 (ja) | 車両制御装置 | |
Richardson et al. | RT-OSGi: Integrating the OSGi framework with the real-time specification for java | |
JP2018536945A (ja) | タスクをタイムベーススケジューリングする方法及び装置 | |
US20110023036A1 (en) | Switching process types in a process engine | |
JP2019045907A (ja) | アクセス制御装置 | |
US20230236906A1 (en) | Information processing device, information processing method, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060915 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090217 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090415 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090519 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090601 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120619 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120619 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120619 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130619 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |