JP7459573B2 - Control device, control method, and program - Google Patents

Control device, control method, and program Download PDF

Info

Publication number
JP7459573B2
JP7459573B2 JP2020039640A JP2020039640A JP7459573B2 JP 7459573 B2 JP7459573 B2 JP 7459573B2 JP 2020039640 A JP2020039640 A JP 2020039640A JP 2020039640 A JP2020039640 A JP 2020039640A JP 7459573 B2 JP7459573 B2 JP 7459573B2
Authority
JP
Japan
Prior art keywords
transaction
processing time
setting value
processing
expected
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.)
Active
Application number
JP2020039640A
Other languages
Japanese (ja)
Other versions
JP2021140633A (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
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2020039640A priority Critical patent/JP7459573B2/en
Publication of JP2021140633A publication Critical patent/JP2021140633A/en
Application granted granted Critical
Publication of JP7459573B2 publication Critical patent/JP7459573B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本開示は、制御装置、制御方法、及びプログラムに関する。 The present disclosure relates to a control device, a control method, and a program.

プログラムのスケジューリング方法として、EDF(Earliest Deadline First)スケジューリングが知られている(例えば、特許文献1)。EDFスケジューリングは、実行キューに保持されているトランザクション要求の中で、最もデッドライン(つまり、実行期限)が近い、つまり余裕時間が最も少ないトランザクション要求に対応するトランザクションを優先して実行するためのスケジューリング方法である。 Earliest Deadline First (EDF) scheduling is known as a program scheduling method (see, for example, Patent Document 1). EDF scheduling is a scheduling method for giving priority to the execution of a transaction that corresponds to the transaction request that has the closest deadline (i.e., execution deadline), i.e., the shortest slack time, among the transaction requests held in the execution queue.

特許文献1に開示されている技術では、デッドラインまでの余裕時間は、初めに、予め決められた固定値からスタートし、この固定値から経過時間を減算することによって算出される。 In the technique disclosed in Patent Document 1, the margin time until the deadline is calculated by starting from a predetermined fixed value and subtracting the elapsed time from this fixed value.

特開平9-319596号公報Japanese Patent Application Laid-Open No. 9-319596

ところで、上記の固定値は、トランザクションの処理に掛かる目安時間であり、「期待トランザクション処理時間」と呼ぶことができる。この「期待トランザクション処理時間」は、期待値であり、実際には正常にトランザクションの処理が完了しても想定より長い時間が掛かってしまうことがある。このため、上記の固定値を用いると、デッドラインまでにトランザクションの処理が完了しない可能性が高くなると考えられる。また、上記の固定値を長めに設定すると、実際には短い時間で処理が完了するトランザクションであるにも関わらず、そのトランザクションの実行優先度が低くされてしまう。 The above fixed value is an estimate of the time it will take to process a transaction, and can be called the "expected transaction processing time." This "expected transaction processing time" is an expected value, and even if a transaction actually completes successfully, it may take longer than expected. For this reason, using the above fixed value increases the likelihood that the transaction will not be completed by the deadline. Also, if the above fixed value is set too long, the execution priority of the transaction will be lowered even if it actually completes in a short time.

しかしながら、特許文献1に開示されている技術では、上記の固定値が用いられるため、「期待トランザクション処理時間」を実際の処理時間にマッチした値に調整することができない。 However, in the technique disclosed in Patent Document 1, the above-mentioned fixed value is used, and therefore the "expected transaction processing time" cannot be adjusted to a value that matches the actual processing time.

本開示の目的は、実際の処理時間にマッチした値に期待トランザクション処理時間を調整することができる、制御装置、制御方法、及びプログラムを提供することにある。 The objective of the present disclosure is to provide a control device, a control method, and a program that can adjust the expected transaction processing time to a value that matches the actual processing time.

第1の態様にかかる制御装置は、複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御するスケジューラと、
各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行する調整制御部と、
を具備する。
The control device according to the first aspect includes a scheduler that calculates a deadline for each of a plurality of transactions based on a set value of an expected transaction processing time, which is an estimated time required for processing each of the transactions, and controls a processing order of the plurality of transactions based on the calculated deadlines;
an adjustment control unit that executes adjustment control including setting a setting value of the expected transaction processing time for each transaction, increasing and adjusting the setting value for a transaction whose processing has not been completed by the calculated deadline, and decreasing the increased and adjusted setting value when a condition is satisfied that includes a transaction corresponding to the increased and adjusted setting value being completed within a lower limit period corresponding to a setting lower limit value of the expected transaction processing time;
Equipped with:

第2の態様にかかる制御方法は、複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御すること、及び、
各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行すること、
を含む。
The control method according to the second aspect calculates the deadline of each transaction based on the set value of the expected transaction processing time, which is the estimated time taken to process each transaction, set for each of the plurality of transactions. controlling the processing order of the plurality of transactions based on the plurality of calculated debt lines; and
setting a set value for the expected transaction processing time for each transaction; increasing the set value for transactions that are not completed by the calculated deadline; and adjusting the set value for the expected transaction processing time for each transaction. adjusting the increased setting value downward when a condition including that the transaction corresponding to the set value is completed within a lower limit period corresponding to the lower limit setting value of the expected transaction processing time; performing regulatory control including;
including.

第3の態様にかかるプログラムは、複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御すること、及び、
各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行すること、
を含む処理を、制御装置に実行させる。
A program according to a third aspect of the present invention includes: calculating a deadline for each of a plurality of transactions based on a setting value of an expected transaction processing time, which is an estimated time required for processing each of the transactions, and controlling a processing order of the plurality of transactions based on the calculated deadlines; and
executing adjustment control including: setting a set value of the expected transaction processing time for each transaction; adjusting, by increasing the set value for a transaction whose processing has not been completed by the calculated deadline; and adjusting, by decreasing the set value, the increased set value when a condition is satisfied, the condition including that a transaction corresponding to the increased set value is completed within a lower limit period corresponding to a set lower limit value of the expected transaction processing time;
The control device executes a process including the steps:

本開示により、実際の処理時間にマッチした値に期待トランザクション処理時間を調整することができる、制御装置、制御方法、及びプログラムを提供することができる。 According to the present disclosure, it is possible to provide a control device, a control method, and a program that can adjust the expected transaction processing time to a value that matches the actual processing time.

第1実施形態における制御装置の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of a control device in the first embodiment. 、第2実施形態における制御装置を含む処理装置の一例を示すブロック図である。11 is a block diagram showing an example of a processing device including a control device according to a second embodiment. FIG. 第2実施形態における処理装置の処理動作の一例を示すフローチャートである。10 is a flowchart showing an example of a processing operation of a processing device in a second embodiment. 第2実施形態における処理装置の処理動作の一例を示すフローチャートである。It is a flowchart which shows an example of processing operation of a processing device in a 2nd embodiment. 第2実施形態における処理装置の処理動作の一例を示すフローチャートである。It is a flowchart which shows an example of processing operation of a processing device in a 2nd embodiment. 第2実施形態における処理装置の処理動作の一例を示すフローチャートである。It is a flowchart which shows an example of processing operation of a processing device in a 2nd embodiment. 期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。FIG. 13 is a diagram illustrating the relationship between an initial value of an expected transaction processing time, a set value of the expected transaction processing time, a reference time for determining whether processing cannot be continued, and an actual transaction processing time. 期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。FIG. 13 is a diagram illustrating the relationship between an initial value of an expected transaction processing time, a set value of the expected transaction processing time, a reference time for determining whether processing cannot be continued, and an actual transaction processing time. 期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。FIG. 13 is a diagram illustrating the relationship between an initial value of an expected transaction processing time, a set value of the expected transaction processing time, a reference time for determining whether processing cannot be continued, and an actual transaction processing time. 期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。FIG. 13 is a diagram illustrating the relationship between an initial value of an expected transaction processing time, a set value of the expected transaction processing time, a reference time for determining whether processing cannot be continued, and an actual transaction processing time. 期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。FIG. 3 is a diagram for explaining the relationship among an initial value of expected transaction processing time, a set value of expected transaction processing time, a reference time for determining whether processing cannot be continued, and actual transaction processing time. パターンの説明に供する図である。FIG. 13 is a diagram for explaining a pattern. パターンの説明に供する図である。It is a figure provided for explanation of a pattern. パターンの説明に供する図である。It is a figure provided for explanation of a pattern. パターンの説明に供する図である。FIG. 13 is a diagram for explaining a pattern. パターンの説明に供する図である。FIG. 13 is a diagram for explaining a pattern. 制御装置のハードウェア構成例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a control device.

以下、図面を参照しつつ、実施形態について説明する。なお、実施形態において、同一又は同等の要素には、同一の符号を付し、重複する説明は省略される。 Hereinafter, embodiments will be described with reference to the drawings. In the embodiments, the same or equivalent elements are denoted by the same reference numerals, and redundant explanations will be omitted.

<第1実施形態>
図1は、第1実施形態における制御装置の一例を示すブロック図である。図1において制御装置10は、スケジューラ(スケジューリング部)11と、調整制御部12とを含む。
<First embodiment>
FIG. 1 is a block diagram showing an example of a control device in the first embodiment. In FIG. 1 , a control device 10 includes a scheduler (scheduling section) 11 and an adjustment control section 12 .

スケジューラ11は、複数のトランザクションのそれぞれに設定された「期待トランザクション処理時間」の設定値に基づいて、各トランザクションのデッドラインを算出する。「期待トランザクション処理時間」は、各トランザクションの処理に掛かる目安時間である。スケジューラ11は、複数のトランザクションのそれぞれについて算出された複数のデットラインに基づいて、複数のトランザクションの処理順序を制御する。例えば、スケジューラ11は、デッドライン(つまり、実行期限)が近いトランザクションほど「処理優先度」を高くして、処理優先度の高いトランザクションから先に処理されるように、制御する。 The scheduler 11 calculates the deadline of each transaction based on the set value of "expected transaction processing time" set for each of the plurality of transactions. The "expected transaction processing time" is the estimated time required to process each transaction. The scheduler 11 controls the processing order of a plurality of transactions based on a plurality of deadlines calculated for each of the plurality of transactions. For example, the scheduler 11 controls the transaction so that the closer the deadline (that is, the execution deadline) is, the higher the "processing priority" is, and the transaction with the higher processing priority is processed first.

調整制御部12は、「期待トランザクション処理時間」の設定及び調整制御を実行する。 The adjustment control unit 12 sets the "expected transaction processing time" and performs adjustment control.

例えば、調整制御部12は、各トランザクションに対して「期待トランザクション処理時間」の設定値を設定する。調整制御部12は、例えばクライアント装置から受け取った処理要求(つまり、トランザクション要求)がそのトランザクションにとって初めてであるトランザクションに対しては、「期待トランザクション処理時間」の設定値として「初期値」を設定する。この「初期値」は、「期待トランザクション処理時間」の設定値についての下限値である。 For example, the adjustment control unit 12 sets a setting value for the "expected transaction processing time" for each transaction. For a transaction in which a processing request (i.e., a transaction request) received from a client device is the first for that transaction, the adjustment control unit 12 sets an "initial value" as the setting value for the "expected transaction processing time". This "initial value" is the lower limit for the setting value of the "expected transaction processing time".

また、調整制御部12は、デッドラインまでに処理が完了しなかったトランザクションについての「期待トランザクション処理時間」の設定値を、増加調整する。この「増加調整」は、「期待トランザクション処理時間」の設定値を、所定の増加調整ステップ幅だけ増加させてもよい。例えば、調整制御部12は、「期待トランザクション処理時間」の設定値を、所定値だけ増加させてもよいし、この設定値から所定割合だけ増加させてもよい。 The adjustment control unit 12 also increases the setting value of the "expected transaction processing time" for transactions whose processing was not completed by the deadline. This "increasing adjustment" may be performed by increasing the setting value of the "expected transaction processing time" by a specified increase adjustment step size. For example, the adjustment control unit 12 may increase the setting value of the "expected transaction processing time" by a specified value, or may increase it by a specified percentage from this setting value.

また、調整制御部12は、「所定条件」が満たされた場合、既に増加調整された「期待トランザクション処理時間」の設定値を減少調整する。この「減少調整」は、既に増加調整された「期待トランザクション処理時間」の設定値を、上記の「下限値」にする調整であってもよい。又は、この「減少調整」は、既に増加調整された「期待トランザクション処理時間」の設定値を、所定の減少調整ステップ幅だけ減少させてもよい。例えば、調整制御部12は、既に増加調整された「期待トランザクション処理時間」の設定値を、所定値だけ減少させてもよいし、この設定値から所定割合だけ減少させてもよい。上記の「所定条件」は、既に増加調整された「期待トランザクション処理時間」の設定値に対応するトランザクションが、期待トランザクション処理時間の下限値に対応する「下限期間」内に完了することを含む。 Further, when the "predetermined condition" is satisfied, the adjustment control unit 12 decreases the set value of the "expected transaction processing time" which has already been increased. This "decreasing adjustment" may be an adjustment in which the set value of the "expected transaction processing time", which has already been increased, is made the above-mentioned "lower limit value". Alternatively, this "decrease adjustment" may reduce the set value of the "expected transaction processing time" which has already been increased by a predetermined decrease adjustment step width. For example, the adjustment control unit 12 may decrease the set value of the "expected transaction processing time" that has already been increased by a predetermined value, or may reduce this set value by a predetermined percentage. The above-mentioned "predetermined condition" includes that the transaction corresponding to the set value of the "expected transaction processing time" which has already been increased is completed within the "lower limit period" corresponding to the lower limit value of the expected transaction processing time.

以上の制御装置10の構成により、実際の処理時間にマッチした値に期待トランザクション処理時間を調整することができる。 The above configuration of the control device 10 makes it possible to adjust the expected transaction processing time to a value that matches the actual processing time.

<第2実施形態>
第2実施形態は、より具体的な実施形態に関する。
Second Embodiment
The second embodiment relates to a more specific embodiment.

<処理装置の構成例>
図2は、第2実施形態における制御装置を含む処理装置の一例を示すブロック図である。図2には、処理装置30の他にクライアント装置20も示されている。
<Example of configuration of processing device>
FIG. 2 is a block diagram showing an example of a processing device including a control device in the second embodiment. In addition to the processing device 30, the client device 20 is also shown in FIG.

図2において処理装置30は、トランザクション要求受付部31と、実行キュー32と、トランザクション実行部33と、制御部(制御装置)40とを含む。 In FIG. 2, the processing device 30 includes a transaction request receiving unit 31, an execution queue 32, a transaction execution unit 33, and a control unit (control device) 40.

トランザクション要求受付部31は、1つ又は複数のクライアント装置20から送信されたトランザクション要求を受け付けて、制御部40に出力する。トランザクション要求受付部31は、トランザクション要求を一時保持するトランザクションキュー31Aを含み、トランザクションキュー31Aは、先に保持したトランザクション要求を先に制御部40に出力する。 The transaction request receiving unit 31 receives transaction requests sent from one or more client devices 20 and outputs them to the control unit 40 . The transaction request receiving unit 31 includes a transaction queue 31A that temporarily holds transaction requests, and the transaction queue 31A outputs previously held transaction requests to the control unit 40 first.

実行キュー32は、制御部40から受け取るトランザクション要求を処理優先度の高い順番に並べて保持し、処理優先度の高いトランザクション要求から順にトランザクション実行部33に出力する。なお、トランザクション実行部33は、トランザクション要求と共に、トランザクション要求に対応するトランザクションの識別番号及び期待トランザクション処理時間の設定値を取得してもよい。 The execution queue 32 arranges and holds transaction requests received from the control unit 40 in descending order of processing priority, and outputs the transaction requests to the transaction execution unit 33 in order of processing priority. Note that the transaction execution unit 33 may obtain the transaction identification number and expected transaction processing time setting value of the transaction corresponding to the transaction request together with the transaction request.

トランザクション実行部33は、実行キュー32から受け取ったトランザクション要求に対応するトランザクションを実行し、このトランザクションの実行がデッドラインまでに完了した場合、トランザクションの識別番号と、実行開始時間(つまり、トランザクション起動時間)と、トランザクション完了時間とを対応づけた状態で、制御部40に出力する。このトランザクションの実行がデッドラインまでに完了しない場合、つまり、デッドラインを超過した場合、トランザクション実行部33は、トランザクションの識別番号と、トランザクション起動時間と、デッドライン超過を示す情報とを対応付けた状態で、制御部40に出力する。 The transaction execution unit 33 executes the transaction corresponding to the transaction request received from the execution queue 32, and if the execution of this transaction is completed by the deadline, the transaction execution unit 33 stores the transaction identification number and execution start time (i.e., transaction start time). ) and the transaction completion time are outputted to the control unit 40 in a state in which they are associated with each other. If the execution of this transaction is not completed by the deadline, that is, if the deadline is exceeded, the transaction execution unit 33 associates the transaction identification number, transaction startup time, and information indicating that the deadline has been exceeded. The state is output to the control unit 40.

図2において制御部(制御装置)40は、調整制御部41と、スケジューラ(スケジューリング部)42と、テーブル管理部43と、記憶部44とを有している。 In FIG. 2, the control unit (control device) 40 includes an adjustment control unit 41, a scheduler (scheduling unit) 42, a table management unit 43, and a storage unit 44.

記憶部44は、トランザクションの識別番号毎の、「実績関連テーブル」及び「状態関連テーブル」を記憶ずる。1つの実績関連テーブルにおいて、各エントリは、「トランザクション起動時間」と「トランザクション完了時間」と「実績トランザクション処理時間」とを対応付けて保持する。実績トランザクション処理時間は、トランザクション完了時間からトランザクション完了時間を差し引くことによって求められる。1つの実績関連テーブルにおいて、直近K(例えばKは2以上の自然数)回のトランザクション実行に対応するK個のエントリが保持される。なお、デットライン超過に対応するエントリにおいて項目「トランザクション完了時間」及び「実績トランザクション処理時間」には「デッドライン超過を示す情報」が保持される。 The storage unit 44 stores a "results related table" and a "state related table" for each transaction identification number. In one performance related table, each entry holds "transaction start time", "transaction completion time", and "actual transaction processing time" in association with each other. The actual transaction processing time is determined by subtracting the transaction completion time from the transaction completion time. One performance related table holds K entries corresponding to the most recent K (for example, K is a natural number of 2 or more) transaction executions. Note that in the entry corresponding to exceeding the deadline, "information indicating exceeding the deadline" is held in the items "transaction completion time" and "actual transaction processing time".

また、1つの状態関連テーブルにおいて、各エントリは、「観察モード(の識別子)」と「期待トランザクション処理時間の初期値(つまり、上記の下限値)」と「期待トランザクション処理時間(の設定値)」とを対応付けて保持する。1つの状態関連テーブルにおいて、直近K(例えばKは2以上の自然数)回のトランザクション実行に対応するK個のエントリが保持される。例えば、K=10である。なお、観察モードについては後に詳しく説明する。 In addition, in one state association table, each entry holds an "observation mode (identifier)", an "initial value of expected transaction processing time (i.e., the above-mentioned lower limit value)", and an "expected transaction processing time (set value)" in association with each other. In one state association table, K entries corresponding to the most recent K (for example, K is a natural number equal to or greater than 2) transaction executions are held. For example, K=10. The observation mode will be explained in detail later.

テーブル管理部43は、トランザクション実行部33から受け取った情報を用いて、実績関連テーブルを更新する。例えば、テーブル管理部43は、「トランザクション起動時間」及び「トランザクション完了時間」から、「実績トランザクション処理時間」を算出する。そして、テーブル管理部43は、「トランザクション起動時間」と「トランザクション完了時間」と「実績トランザクション処理時間」とを対応付けて、実績関連テーブルの1つのエントリに保持させる。 The table management unit 43 updates the performance related table using the information received from the transaction execution unit 33. For example, the table management unit 43 calculates the "actual transaction processing time" from the "transaction start time" and the "transaction completion time". Then, the table management unit 43 associates the "transaction start time", the "transaction completion time", and the "actual transaction processing time" and stores them in one entry of the performance related table.

調整制御部41は、「期待トランザクション処理時間」の設定及び調整制御を実行する。このとき、調整制御部41は、状態関連テーブルの更新を行う。調整制御部41の具体的な処理動作については、後に詳しく説明する。 The adjustment control unit 41 executes setting of "expected transaction processing time" and adjustment control. At this time, the adjustment control unit 41 updates the state related table. The specific processing operation of the adjustment control unit 41 will be explained in detail later.

スケジューラ42は、複数のトランザクションのそれぞれに設定された「期待トランザクション処理時間」の設定値に基づいて、各トランザクションのデッドラインを算出する。スケジューラ42は、複数のトランザクションのそれぞれについて算出された複数のデットラインに基づいて、複数のトランザクションの処理順序を制御する。スケジューラ42は、トランザクション要求受付部31にて受け付けられたトランザクション要求に対して、デッドラインが近いトランザクションに対応するトランザクション要求ほど高い「処理優先度」を割り当てる。そして、スケジューラ42は、実行キュー32に、トランザクション要求を処理優先度の高い順番に並べて保持させる。 The scheduler 42 calculates the deadline of each transaction based on the set value of "expected transaction processing time" set for each of the plurality of transactions. The scheduler 42 controls the processing order of the plurality of transactions based on the plurality of deadlines calculated for each of the plurality of transactions. The scheduler 42 assigns a higher "processing priority" to the transaction requests accepted by the transaction request receiving unit 31, as the transaction requests correspond to transactions whose deadlines are closer. Then, the scheduler 42 causes the execution queue 32 to hold the transaction requests in order of highest processing priority.

<処理装置の動作例>
以上の構成を有する処理装置30の処理動作の一例について説明する。図3~図6は、第2実施形態における処理装置の処理動作の一例を示すフローチャートである。図7~図11は、期待トランザクション処理時間の初期値と、期待トランザクション処理時間の設定値と、処理継続不可を判断するための基準時間と、実績トランザクション処理時間との関係を説明するための図である。図12~図16は、パターンの説明に供する図である。図3~図6に示すフローチャートは、トランザクション毎に(つまり、識別番号の異なるトランザクションのそれぞれについて)実行される。
<Example of Processing Device Operation>
An example of the processing operation of the processing device 30 having the above configuration will be described. Figures 3 to 6 are flowcharts showing an example of the processing operation of the processing device in the second embodiment. Figures 7 to 11 are diagrams for explaining the relationship between the initial value of the expected transaction processing time, the set value of the expected transaction processing time, the reference time for determining whether processing cannot be continued, and the actual transaction processing time. Figures 12 to 16 are diagrams for explaining patterns. The flowcharts shown in Figures 3 to 6 are executed for each transaction (i.e., for each transaction with a different identification number).

調整制御部41は、トランザクションキュー31Aからトランザクション要求を取得する(ステップS101)。 The adjustment control unit 41 acquires a transaction request from the transaction queue 31A (step S101).

調整制御部41は、取得したトランザクション要求に対応する「対象トランザクション」の識別番号に対応する、記憶部44に保持されているテーブルにおけるエントリを参照する(ステップS102)。 The adjustment control unit 41 refers to the entry in the table held in the storage unit 44 that corresponds to the identification number of the "target transaction" corresponding to the acquired transaction request (step S102).

調整制御部41は、現在の観察モードを判定する(ステップS103,S104)。なお、初期モードは、後述する「モード0」である。 The adjustment control unit 41 determines the current observation mode (steps S103 and S104). The initial mode is "mode 0," which will be described later.

現在の観察モードが「モード0」である場合(ステップS103YES)、調整制御部41は、対象トランザクションが前回のトランザクション要求のときにデッドラインまでに処理が完了したか否かを判定する(ステップS105)。図7には、デッドラインまでに処理が完了したケースが示され、図8には、デッドラインまでに処理が完了しなかったケースが示されている。 If the current observation mode is "Mode 0" (step S103 YES), the adjustment control unit 41 determines whether the processing of the target transaction was completed by the deadline when the previous transaction request was made (step S105). ). FIG. 7 shows a case where processing is completed by the deadline, and FIG. 8 shows a case where processing is not completed by the deadline.

デッドラインまでに処理が完了していない場合、つまり、デッドラインを超過した場合(ステップS105NO)、調整制御部41は、対象トランザクションの観察モードを「モード1」に変更する(ステップS106)。 If the processing is not completed by the deadline, that is, if the deadline is exceeded (step S105 NO), the adjustment control unit 41 changes the observation mode of the target transaction to "mode 1" (step S106).

調整制御部41は、対象トランザクションの期待トランザクション処理時間の設定値を増加調整する(ステップS107)。例えば、調整制御部41は、対象トランザクションの期待トランザクション処理時間の設定値を20%増加させてもよい。 The adjustment control unit 41 increases the set value of the expected transaction processing time of the target transaction (step S107). For example, the adjustment control unit 41 may increase the set value of the expected transaction processing time of the target transaction by 20%.

調整制御部41は、ステップS101で取得したトランザクション要求をスケジューラ42へ出力する(ステップS108)。そして、図3~図6の処理フローは終了する。そして、スケジューラ42は、調整制御部41から所定期間内に受け取った複数のトランザクションのそれぞれに設定された「期待トランザクション処理時間」の設定値に基づいて、各トランザクションのデッドラインを算出する。そして、スケジューラ11は、複数のトランザクションのそれぞれについて算出された複数のデットラインに基づいて、複数のトランザクションの処理順序を制御する。 The adjustment control unit 41 outputs the transaction request acquired in step S101 to the scheduler 42 (step S108). Then, the process flows of Figures 3 to 6 end. The scheduler 42 then calculates the deadline for each transaction based on the "expected transaction processing time" setting value set for each of the multiple transactions received from the adjustment control unit 41 within a specified period. The scheduler 11 then controls the processing order of the multiple transactions based on the multiple deadlines calculated for each of the multiple transactions.

デッドラインまでに処理が完了した場合(ステップS105YES)、調整制御部41は、対象トランザクションが前回のトランザクション要求のときに「下限期間」内に完了したか否かを判定する(ステップS109)。図11には、トランザクションが「下限期間」内に完了したケースが示されている。 If the processing is completed by the deadline (step S105 YES), the adjustment control unit 41 determines whether the target transaction was completed within the "lower limit period" at the time of the previous transaction request (step S109). FIG. 11 shows a case where the transaction is completed within the "lower limit period".

「下限期間」内に完了した場合(ステップS109YES)、調整制御部41は、対象トランザクションの観察モードを「モード2」に変更すると共に、「下限期間回数」をインクリメントする(ステップS110)。「下限期間回数」の初期値は、ゼロである。そして、処理ステップは、ステップS108に進む。 If the transaction is completed within the "lower limit period" (step S109 YES), the adjustment control unit 41 changes the observation mode of the target transaction to "mode 2" and increments the "lower limit period count" (step S110). The initial value of the "lower limit number of periods" is zero. The processing step then proceeds to step S108.

「下限期間」内に完了していない場合(ステップS110NO)、処理ステップは、ステップS108に進む。なお、初めて「トランザクション要求」が為された対象トランザクションについては、ステップS101,S102,S103,S105,S109,S108の処理ステップが実行されることになる。 If the transaction has not been completed within the "lower limit period" (NO in step S110), the process proceeds to step S108. Note that for a target transaction for which a "transaction request" has been made for the first time, the process steps S101, S102, S103, S105, S109, and S108 will be executed.

現在の観察モードが「モード1」である場合(ステップS103NO、ステップS104YES)、調整制御部41は、対象トランザクションが前回のトランザクション要求のときにデッドラインまでに処理が完了したか否かを判定する(ステップS111)。図10には、トランザクションがデッドラインまでに処理が完了したケースが示されている。 If the current observation mode is "mode 1" (step S103 NO, step S104 YES), the adjustment control unit 41 determines whether the target transaction was completed by the deadline in the previous transaction request (step S111). Figure 10 shows a case where the transaction was completed by the deadline.

デッドラインまでに処理が完了していない場合(ステップS111NO)、調整制御部41は、期待トランザクション処理時間の設定値が「処理継続不可を判断するための基準時間(つまり、処理停止基準時間)」を超えているか否かを判定する(ステップS112)。図9には、期待トランザクション処理時間の設定値が処理停止基準時間に到達したケースが示されている。すなわち、処理停止基準時間は、期待トランザクション処理時間の設定値の上限値に相当する。 If the processing is not completed by the deadline (step S111 NO), the adjustment control unit 41 determines whether the set value of the expected transaction processing time exceeds the "reference time for determining that processing cannot be continued (i.e., the processing stop reference time)" (step S112). FIG. 9 shows a case where the set value of the expected transaction processing time has reached the processing stop reference time. In other words, the processing stop reference time corresponds to the upper limit of the set value of the expected transaction processing time.

処理停止基準時間を超えている場合(ステップS112YES)、調整制御部41は、スケジューラ42の処理を停止させる(ステップS113)。これは、図12に示すパターンに対応する。そして、図3~図6の処理フローは終了する。 If the processing stop reference time has been exceeded (step S112 YES), the adjustment control unit 41 stops the processing of the scheduler 42 (step S113). This corresponds to the pattern shown in FIG. Then, the processing flow of FIGS. 3 to 6 ends.

デッドラインまでに処理が完了している場合(ステップS111YES)、調整制御部41は、直近N(例えばNは2以上の自然数)回のトランザクション要求のときに連続して対象トランザクションがデッドラインまでに処理が完了しているか否かを判定する(ステップS114)。例えば、N=5である。 If the processing has been completed by the deadline (step S111 YES), the adjustment control unit 41 continuously updates the target transaction by the deadline for the most recent N (for example, N is a natural number of 2 or more) transaction requests. It is determined whether the processing is completed (step S114). For example, N=5.

直近N回のトランザクション要求のときに連続して対象トランザクションがデッドラインまでに処理が完了している場合(ステップS114YES)、調整制御部41は、期待トランザクション処理時間の設定値の「信頼度指標値」を算出する(ステップS115)。 If the target transaction has been completed by the deadline for the last N consecutive transaction requests (step S114 YES), the adjustment control unit 41 calculates a "reliability index value" for the setting value of the expected transaction processing time (step S115).

例えば、「信頼度指標値」は、次の式によって算出されてもよい。式中のnは上記のNであってもよい。

Figure 0007459573000001
For example, the "confidence index value" may be calculated by the following formula: where n may be N as above.
Figure 0007459573000001

調整制御部41は、算出した信頼度指標値に対応する信頼度が所定レベルより高いことを示しているか否かを判定する(ステップS116)。 The adjustment control unit 41 determines whether the reliability corresponding to the calculated reliability index value is higher than a predetermined level (step S116).

算出した信頼度指標値に対応する信頼度が所定レベルより高いことを示している場合(ステップS116YES)、調整制御部41は、対象トランザクションの観察モードを「モード0」に変更する(ステップS117)。これは、図13に示すパターンに対応する。図13に示す例では、信頼度指標値が0.3以下であるときに、信頼度指標値に対応する信頼度が所定レベルより高い。そして、処理ステップは、ステップS108に進む。 If the reliability corresponding to the calculated reliability index value is higher than the predetermined level (step S116 YES), the adjustment control unit 41 changes the observation mode of the target transaction to "mode 0" (step S117). This corresponds to the pattern shown in FIG. 13. In the example shown in FIG. 13, when the reliability index value is 0.3 or less, the reliability corresponding to the reliability index value is higher than the predetermined level. Then, the processing step proceeds to step S108.

算出した信頼度指標値に対応する信頼度が所定レベル以下であることを示している場合(ステップS116NO)、調整制御部41は、期待トランザクション処理時間の設定値を、観察モードが「モード0」だったときの期待トランザクション処理時間の設定値に戻し(ステップS118)、観察モードを「モード0」に変更する(ステップS119)。これは、図14に示すパターンに対応する。 If the reliability corresponding to the calculated reliability index value is equal to or lower than a predetermined level (step S116 NO), the adjustment control unit 41 returns the setting value of the expected transaction processing time to the setting value of the expected transaction processing time when the observation mode was "mode 0" (step S118), and changes the observation mode to "mode 0" (step S119). This corresponds to the pattern shown in FIG. 14.

現在の観察モードが「モード2」である場合(ステップS103NO、ステップS104NO)、調整制御部41は、対象トランザクションが前回のトランザクション要求のときに「下限期間」内に完了したか否かを判定する(ステップS120)。 If the current observation mode is "mode 2" (step S103 NO, step S104 NO), the adjustment control unit 41 determines whether the target transaction was completed within the "lower limit period" at the time of the previous transaction request (step S120).

「下限期間」内に完了した場合(ステップS120YES)、調整制御部41は、「下限期間回数」がM(例えばMは2以上の自然数)以上であるか否かを判定する(ステップS121)。 If it is completed within the "lower limit period" (step S120 YES), the adjustment control unit 41 determines whether the "lower limit number of times" is greater than or equal to M (for example, M is a natural number of 2 or more) (step S121).

「下限期間回数」がMより小さい場合(ステップS121NO)、調整制御部41は、「下限期間回数」をインクリメントする(ステップS122)。そして、処理ステップは、ステップS108に進む。 If the "lower limit number of periods" is smaller than M (step S121 NO), the adjustment control unit 41 increments the "lower limit number of periods" (step S122). The processing step then proceeds to step S108.

「下限期間回数」がM以上である場合(ステップS121YES)、調整制御部41は、対象トランザクションについての「期待トランザクション処理時間」の設定値を減少調整する(ステップS123)。ここでは、調整制御部41は、対象トランザクションについての「期待トランザクション処理時間」の設定値を、「下限値」に変更する。また、調整制御部41は、観察モードを「モード0」に変更し、「下限期間回数」をゼロにする(ステップS123)。これは、図15に示すパターンに対応する。そして、処理ステップは、ステップS108に進む。 If the "lower limit number of periods" is equal to or greater than M (step S121 YES), the adjustment control unit 41 decreases the set value of the "expected transaction processing time" for the target transaction (step S123). Here, the adjustment control unit 41 changes the set value of the "expected transaction processing time" for the target transaction to the "lower limit value." Further, the adjustment control unit 41 changes the observation mode to "mode 0" and sets the "lower limit number of periods" to zero (step S123). This corresponds to the pattern shown in FIG. The processing step then proceeds to step S108.

「下限期間」内に完了しなかった場合(ステップS120NO)、調整制御部41は、観察モードを「モード0」に変更し、「下限期間回数」をゼロにする(ステップS124)。これは、図16に示すパターンに対応する。そして、処理ステップは、ステップS108に進む。 If the observation is not completed within the "lower limit period" (step S120 NO), the adjustment control unit 41 changes the observation mode to "mode 0" and sets the "lower limit number of times" to zero (step S124). This corresponds to the pattern shown in FIG. The processing step then proceeds to step S108.

以上のように第2実施形態によれば、制御部(制御装置)40にて調整制御部41は、デッドラインまでに処理が完了しなかったトランザクションについての「期待トランザクション処理時間」の設定値を、増加調整する。 As described above, according to the second embodiment, the adjustment control unit 41 in the control unit (control device) 40 increases the setting value of the "expected transaction processing time" for transactions that have not been completed by the deadline.

この制御部(制御装置)40の構成により、トランザクションの処理に想定より長い時間が掛かってしまう場合でも、実際の処理時間にマッチした値に期待トランザクション処理時間を調整することができる。 This configuration of the control unit (control device) 40 makes it possible to adjust the expected transaction processing time to a value that matches the actual processing time, even if the transaction takes longer than expected to process.

また、制御部(制御装置)40にて調整制御部41は、デッドラインまでに処理が完了している場合でも信頼度指標値に対応する信頼度が所定レベル以下であることを示している場合には期待トランザクション処理時間の設定値を増加調整前の設定値に戻す。 In addition, in the control unit (control device) 40, the adjustment control unit 41 determines whether the reliability corresponding to the reliability index value is below a predetermined level even if the processing is completed by the deadline. To do so, return the expected transaction processing time setting to the setting before the increase adjustment.

この制御部(制御装置)40の構成により、期待トランザクション処理時間の設定値の信頼性を担保することができる。 This configuration of the control unit (control device) 40 can ensure the reliability of the set value of the expected transaction processing time.

また、制御部(制御装置)40にて調整制御部41は、トランザクションが「下限期間」内に完了した場合、トランザクションについての「期待トランザクション処理時間」の設定値を、「下限値」に変更する。 Further, in the control unit (control device) 40, the adjustment control unit 41 changes the set value of the “expected transaction processing time” for the transaction to the “lower limit value” if the transaction is completed within the “lower limit period”. .

この制御部(制御装置)40の構成により、トランザクションの処理に掛かる時間が通常想定される時間に戻った場合にも、実際の処理時間にマッチした値に期待トランザクション処理時間を調整することができる。これにより、トランザクションは適正な処理優先度に基づいて処理される。 This configuration of the control unit (control device) 40 makes it possible to adjust the expected transaction processing time to a value that matches the actual processing time, even if the time it takes to process a transaction returns to the normally expected time. This allows transactions to be processed based on the appropriate processing priority.

制御部(制御装置)40にて調整制御部41は、M回以上連続してトランザクションが「下限期間」内に完了した場合、トランザクションについての「期待トランザクション処理時間」の設定値を、「下限値」に変更する。 In the control unit (control device) 40, the adjustment control unit 41 sets the setting value of the “expected transaction processing time” for the transaction to the “lower limit value” when a transaction is completed M or more consecutively within the “lower limit period”. ”.

この制御部(制御装置)40の構成により、期待トランザクション処理時間の設定値の信頼性を担保することができる。 This configuration of the control unit (control device) 40 ensures the reliability of the setting value of the expected transaction processing time.

<他の実施形態>
図17は、制御装置のハードウェア構成例を示す図である。図17において制御装置100は、プロセッサ101と、メモリ102とを有している。プロセッサ101は、例えば、マイクロプロセッサ、MPU(Micro Processing Unit)、又はCPU(Central Processing Unit)であってもよい。プロセッサ101は、複数のプロセッサを含んでもよい。メモリ102は、揮発性メモリ及び不揮発性メモリの組み合わせによって構成される。メモリ102は、プロセッサ101から離れて配置されたストレージを含んでもよい。この場合、プロセッサ101は、図示されていないI/Oインタフェースを介してメモリ102にアクセスしてもよい。
<Other embodiments>
FIG. 17 is a diagram showing an example of a hardware configuration of a control device. In FIG. 17, the control device 100 has a processor 101 and a memory 102. The processor 101 may be, for example, a microprocessor, a micro processing unit (MPU), or a central processing unit (CPU). The processor 101 may include a plurality of processors. The memory 102 is configured by a combination of a volatile memory and a non-volatile memory. The memory 102 may include a storage device located away from the processor 101. In this case, the processor 101 may access the memory 102 via an I/O interface not shown.

第1実施形態及び第2実施形態の制御装置10,40は、それぞれ、図17に示したハードウェア構成を有することができる。第1実施形態及び第2実施形態の制御装置10,40のスケジューラ11,42と調整制御部12,41とテーブル管理部43とは、プロセッサ101がメモリ102に記憶されたプログラムを読み込んで実行することにより実現されてもよい。記憶部44は、メモリ102によって実現されてもよい。プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、制御装置10,40に供給することができる。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)を含む。さらに、非一時的なコンピュータ可読媒体の例は、CD-ROM(Read Only Memory)、CD-R、CD-R/Wを含む。さらに、非一時的なコンピュータ可読媒体の例は、半導体メモリを含む。半導体メモリは、例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory)を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によって制御装置10,40に供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムを制御装置10,40に供給できる。 The control devices 10 and 40 of the first and second embodiments may each have the hardware configuration shown in FIG. 17. The schedulers 11 and 42, the adjustment control units 12 and 41, and the table management unit 43 of the control devices 10 and 40 of the first and second embodiments may be realized by the processor 101 reading and executing a program stored in the memory 102. The storage unit 44 may be realized by the memory 102. The program can be stored using various types of non-transitory computer readable media and supplied to the control devices 10 and 40. Examples of non-transitory computer readable media include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives) and magneto-optical recording media (e.g., magneto-optical disks). Further examples of non-transitory computer readable media include CD-ROMs (Read Only Memory), CD-Rs, and CD-R/Ws. Further examples of non-transitory computer readable media include semiconductor memories. The semiconductor memory includes, for example, a mask ROM, a programmable ROM (PROM), an erasable PROM (EPROM), a flash ROM, and a random access memory (RAM). The program may also be supplied to the control device 10, 40 by various types of transitory computer readable media. Examples of the transitory computer readable medium include an electrical signal, an optical signal, and an electromagnetic wave. The transitory computer readable medium can supply the program to the control device 10, 40 via a wired communication path such as an electric wire or an optical fiber, or via a wireless communication path.

以上、実施の形態を参照して本願発明を説明したが、本願発明は上記によって限定されるものではない。本願発明の構成や詳細には、発明のスコープ内で当業者が理解し得る様々な変更をすることができる。 Although the present invention has been described above with reference to the embodiments, the present invention is not limited to the above. The configuration and details of the present invention can be modified in various ways that can be understood by those skilled in the art within the scope of the invention.

10 制御装置
11 スケジューラ(スケジューリング部)
12 調整制御部
20 クライアント装置
30 処理装置
31 トランザクション要求受付部
31A トランザクションキュー
32 実行キュー
33 トランザクション実行部
40 制御部(制御装置)
41 調整制御部
42 スケジューラ(スケジューリング部)
43 テーブル管理部
44 記憶部
10 Control device 11 Scheduler (scheduling section)
12 Adjustment control unit 20 Client device 30 Processing device 31 Transaction request reception unit 31A Transaction queue 32 Execution queue 33 Transaction execution unit 40 Control unit (control device)
41 Adjustment control unit 42 Scheduler (scheduling unit)
43 Table management section 44 Storage section

Claims (9)

複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御するスケジューラと、
各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行する調整制御部と、
を具備する制御装置。
a scheduler that calculates a deadline for each transaction based on a set value of an expected transaction processing time, which is an estimated time required for processing each transaction, and controls a processing order of the transactions based on the calculated deadlines;
an adjustment control unit that executes adjustment control including setting a setting value of the expected transaction processing time for each transaction, increasing and adjusting the setting value for a transaction whose processing has not been completed by the calculated deadline, and decreasing the increased and adjusted setting value when a condition is satisfied that includes a transaction corresponding to the increased and adjusted setting value being completed within a lower limit period corresponding to a setting lower limit value of the expected transaction processing time;
A control device comprising:
前記調整制御部は、前記条件が満たされた場合に、前記増加調整された設定値を前記設定下限値に調整する、
請求項1記載の制御装置。
The adjustment control unit adjusts the increased setting value to the lower setting value when the condition is satisfied.
The control device according to claim 1.
前記調整制御部は、前記条件が満たされた場合に、前記増加調整された設定値を、所定の減少調整ステップ幅だけ減少させる、
請求項1記載の制御装置。
The adjustment control unit decreases the increased and adjusted set value by a predetermined decrease adjustment step width when the condition is satisfied.
The control device according to claim 1.
前記調整制御部は、前記増加調整された設定値を所定値減少させる、
請求項3記載の制御装置。
The adjustment control unit decreases the increased setting value by a predetermined value;
The control device according to claim 3.
前記調整制御部は、前記増加調整された設定値を該設定値から所定割合減少させる、
請求項3記載の制御装置。
The adjustment control unit decreases the increased and adjusted set value by a predetermined percentage from the set value.
The control device according to claim 3.
前記条件は、前記増加調整された設定値に対応するトランザクションが、連続してN(Nは2以上の自然数)回、前記下限期間内に完了することを含む、
請求項1から5のいずれか1項に記載の制御装置。
The condition includes that the transaction corresponding to the increased setting value is completed N times (N is a natural number of 2 or more) consecutively within the lower limit period.
The control device according to any one of claims 1 to 5.
請求項1から6のいずれか1項に記載の制御装置を含む処理装置。 A processing device including a control device according to any one of claims 1 to 6. コンピュータが、複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御すること、及び、
前記コンピュータが、各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行すること、
を含む制御方法。
The computer calculates a deadline for each transaction based on a set value of an expected transaction processing time, which is an estimated time required for processing each transaction, and controls the processing order of the transactions based on the calculated deadlines; and
said computer executing adjustment control including setting a setting value of the expected transaction processing time for each transaction, adjusting upwardly the setting value for a transaction whose processing has not been completed by the calculated deadline, and adjusting downwardly the increased setting value when a condition is satisfied including that a transaction corresponding to the increased setting value is completed within a lower limit period corresponding to a lower limit setting value of the expected transaction processing time;
A control method comprising:
複数のトランザクションのそれぞれに設定された、各トランザクションの処理に掛かる目安時間である期待トランザクション処理時間の設定値に基づいて各トランザクションのデッドラインを算出して、算出された複数のデットラインに基づいて、前記複数のトランザクションの処理順序を制御すること、及び、
各トランザクションに対して前記期待トランザクション処理時間の設定値を設定すること、前記算出されたデッドラインまでに処理が完了しなかったトランザクションについての前記設定値を増加調整すること、及び、前記増加調整された設定値に対応するトランザクションが前記期待トランザクション処理時間の設定下限値に対応する下限期間内に完了することを含む条件が満たされた場合に前記増加調整された設定値を減少調整すること、を含む調整制御を実行すること、
を含む処理を、制御装置に実行させるプログラム。
The deadline of each transaction is calculated based on the expected transaction processing time setting value, which is the approximate time it takes to process each transaction, and is based on the multiple calculated deadlines. , controlling the processing order of the plurality of transactions; and
setting a set value for the expected transaction processing time for each transaction; increasing the set value for transactions that are not completed by the calculated deadline; and adjusting the set value for the expected transaction processing time for each transaction. adjusting the increased setting value downward when a condition including that the transaction corresponding to the set value is completed within a lower limit period corresponding to the lower limit setting value of the expected transaction processing time; performing regulatory control including;
A program that causes a control device to execute processing including.
JP2020039640A 2020-03-09 2020-03-09 Control device, control method, and program Active JP7459573B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020039640A JP7459573B2 (en) 2020-03-09 2020-03-09 Control device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020039640A JP7459573B2 (en) 2020-03-09 2020-03-09 Control device, control method, and program

Publications (2)

Publication Number Publication Date
JP2021140633A JP2021140633A (en) 2021-09-16
JP7459573B2 true JP7459573B2 (en) 2024-04-02

Family

ID=77668798

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020039640A Active JP7459573B2 (en) 2020-03-09 2020-03-09 Control device, control method, and program

Country Status (1)

Country Link
JP (1) JP7459573B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196576A (en) 2012-03-22 2013-09-30 Nec Corp Information processing apparatus, information processing method, and information processing program
JP2017129988A (en) 2016-01-19 2017-07-27 富士通株式会社 Batch control system, batch control program, and batch control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013196576A (en) 2012-03-22 2013-09-30 Nec Corp Information processing apparatus, information processing method, and information processing program
JP2017129988A (en) 2016-01-19 2017-07-27 富士通株式会社 Batch control system, batch control program, and batch control method

Also Published As

Publication number Publication date
JP2021140633A (en) 2021-09-16

Similar Documents

Publication Publication Date Title
US11816333B2 (en) Congestion mitigation in a distributed storage system
US9354931B1 (en) Method, server and computer-readable recording medium for managing size of thread pool dynamically
US7979603B2 (en) Storage system and method for controlling activation of command
US8806070B2 (en) Storage device, and storage device control method
US9910711B1 (en) Method and computing device for managing size of thread pool dynamically
US8677375B2 (en) Selecting executing requests to preempt
JP7459573B2 (en) Control device, control method, and program
US20230068058A1 (en) Machine learning device, computer device, control system, and machine learning method
JP6640025B2 (en) Distributed processing control system and distributed processing control method
JP2021508108A (en) Memory bandwidth scheduling based on service floor quality
CN112860390A (en) Job scheduling program, information processing apparatus, and job scheduling method
US10031824B2 (en) Self-diagnosis device and self-diagnosis method
TW200813845A (en) Resource-based scheduler
WO2003005136A2 (en) A scheduling method and system for controlling execution of processes
JP7167596B2 (en) Transaction management device, transaction management method and transaction management program
US7321945B2 (en) Interrupt control device sending data to a processor at an optimized time
JP7331386B2 (en) Job control system, method and program
JP6848278B2 (en) Storage management device, performance adjustment method and performance adjustment program
CN108270810B (en) Media data access method and device
JP2022121124A (en) Job assignment control device, job assignment control method, and job assignment control program
JP4367167B2 (en) Real-time system, QoS adaptive control device, QoS adaptive control method used therefor, and program thereof
JP7237245B2 (en) Scheduling method and scheduling system
CN118012343A (en) Method and device for controlling read-write operation of solid state disk and solid state disk
JP7381711B2 (en) information processing equipment
CN109062518B (en) Request processing method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230203

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230929

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231205

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: 20240220

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240304

R150 Certificate of patent or registration of utility model

Ref document number: 7459573

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150