JP5440937B2 - Thread number limiting device, thread number limiting method, and thread number limiting program - Google Patents

Thread number limiting device, thread number limiting method, and thread number limiting program Download PDF

Info

Publication number
JP5440937B2
JP5440937B2 JP2010020278A JP2010020278A JP5440937B2 JP 5440937 B2 JP5440937 B2 JP 5440937B2 JP 2010020278 A JP2010020278 A JP 2010020278A JP 2010020278 A JP2010020278 A JP 2010020278A JP 5440937 B2 JP5440937 B2 JP 5440937B2
Authority
JP
Japan
Prior art keywords
memory capacity
threads
thread
request
limit value
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
JP2010020278A
Other languages
Japanese (ja)
Other versions
JP2011159107A (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 JP2010020278A priority Critical patent/JP5440937B2/en
Publication of JP2011159107A publication Critical patent/JP2011159107A/en
Application granted granted Critical
Publication of JP5440937B2 publication Critical patent/JP5440937B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、スレッド数制限装置、スレッド数制限方法およびスレッド数制限プログラムに関する。   The present invention relates to a thread number limiting device, a thread number limiting method, and a thread number limiting program.

コンピュータ処理を効率的に実行するための技術としてマルチスレッドがある。マルチスレッドは、一つのプログラムで複数のスレッドを生成し、複数のスレッドで並行してプログラムを処理する手法である。このようなマルチスレッド機能を有するプロセスは、スレッドを複数生成することで処理効率を向上させることができるが、必要以上にスレッドを生成するとメモリ容量が不足するなど処理効率が低下する要因となる。下記特許文献1には、プロセスにおける処理待ちのリクエスト数が増加しているときにはスレッド数を増加させ、処理待ちのリクエスト数が減少しているときにはスレッド数を減少させるシステムが開示されている。   Multithreading is a technique for efficiently executing computer processing. Multi-threading is a technique for generating a plurality of threads with one program and processing the program in parallel with the plurality of threads. A process having such a multi-thread function can improve the processing efficiency by generating a plurality of threads. However, if a thread is generated more than necessary, the processing efficiency decreases due to insufficient memory capacity. Patent Document 1 below discloses a system in which the number of threads is increased when the number of requests waiting for processing in a process is increasing, and the number of threads is decreased when the number of requests waiting for processing is decreasing.

特開平3−40034号公報Japanese Patent Laid-Open No. 3-40034

ところで、プロセスを実行する際にプロセスに割り当てられるメモリ容量は、そのときのリソースの状況(例えば、他のプロセスの実行状況等)に応じて変動する。プロセスで使用可能なメモリ容量が変動すれば、作成可能なスレッド数や、処理速度も変動する。したがって、上記特許文献1のように、単にプロセスにおける処理待ちのリクエスト数に応じてスレッド数を増減させるだけでは、プロセスごとの処理を最適に制御しているとはいえない。   By the way, the memory capacity allocated to the process when the process is executed varies depending on the resource status (for example, the execution status of other processes) at that time. If the memory capacity that can be used in the process varies, the number of threads that can be created and the processing speed also vary. Therefore, it cannot be said that the processing for each process is optimally controlled simply by increasing or decreasing the number of threads according to the number of requests waiting for processing in the process as in Patent Document 1.

本発明は、上述した課題を解決するためになされたものであり、リソースの状況に応じてプロセスごとの処理を効率良く向上させることができるスレッド数制限装置、スレッド数制限方法およびスレッド数制限プログラムを提供することを目的とする。   The present invention has been made to solve the above-described problem, and is capable of efficiently improving the processing for each process according to the resource status, the thread number limiting method, and the thread number limiting program. The purpose is to provide.

本発明のスレッド数制限装置は、アプリケーションを実行制御するプロセスの起動時に、当該プロセスで使用可能な第1のメモリ容量を取得する第1の取得部と、第1のリクエストに対応する第1のアプリケーションの実行制御時に前記プロセスが使用する第2のメモリ容量を取得する第2の取得部と、前記第1のリクエストを受信した後に受信する第2のリクエストに対応する第2のアプリケーションの実行制御時に前記プロセスが使用する第3のメモリ容量を取得する第3の取得部と、前記第2のアプリケーションの実行により生成されるスレッド数を取得する第4の取得部と、前記第2のメモリ容量および前記第3のメモリ容量を用いて一リクエスト当たりのメモリ容量を算出する第1の算出部と、前記取得された前記スレッド数および前記一リクエスト当たりのメモリ容量を用いて一スレッド当たりのメモリ容量を算出する第2の算出部と、前記第1のメモリ容量、前記第2のメモリ容量および前記一スレッド当たりのメモリ容量を用いて前記プロセスにおける前記スレッド数の上限値を算出して設定する上限値設定部と、を備える。   The thread number limiting device according to the present invention includes a first acquisition unit that acquires a first memory capacity that can be used in a process that controls execution of an application, and a first request that corresponds to the first request. A second acquisition unit for acquiring a second memory capacity used by the process during application execution control, and a second application execution control corresponding to the second request received after receiving the first request A third acquisition unit for acquiring a third memory capacity used by the process at times, a fourth acquisition unit for acquiring the number of threads generated by execution of the second application, and the second memory capacity And a first calculation unit that calculates a memory capacity per request using the third memory capacity, and the acquired number of threads and A second calculation unit that calculates the memory capacity per thread using the memory capacity per request, the first memory capacity, the second memory capacity, and the memory capacity per thread. An upper limit value setting unit that calculates and sets an upper limit value of the number of threads in the process.

本発明のスレッド数制限方法は、アプリケーションを実行制御するプロセスの起動時に、当該プロセスで使用可能な第1のメモリ容量を取得するステップと、第1のリクエストに対応する第1のアプリケーションの実行制御時に前記プロセスが使用する第2のメモリ容量を取得するステップと、前記第1のリクエストを受信した後に受信する第2のリクエストに対応する第2のアプリケーションの実行制御時に前記プロセスが使用する第3のメモリ容量を取得するステップと、前記第2のアプリケーションの実行により生成されるスレッド数を取得するステップと、前記第2のメモリ容量および前記第3のメモリ容量を用いて一リクエスト当たりのメモリ容量を算出するステップと、前記取得された前記スレッド数および前記一リクエスト当たりのメモリ容量を用いて一スレッド当たりのメモリ容量を算出するステップと、前記第1のメモリ容量、前記第2のメモリ容量および前記一スレッド当たりのメモリ容量を用いて前記プロセスにおける前記スレッド数の上限値を算出して設定するステップと、を含む。   According to the thread number limiting method of the present invention, when a process for controlling execution of an application is started, a step of acquiring a first memory capacity usable in the process, and execution control of the first application corresponding to the first request Acquiring a second memory capacity used by the process at times, and a third used by the process during execution control of a second application corresponding to a second request received after receiving the first request A memory capacity per request using the second memory capacity and the third memory capacity, a step of acquiring the number of threads generated by executing the second application; Calculating the number of threads acquired and the number of requests per request. Calculating a memory capacity per thread using a plurality of memory capacity, and using the first memory capacity, the second memory capacity, and the memory capacity per thread, the number of threads in the process Calculating and setting an upper limit value.

本発明のスレッド数制限プログラムは、上記スレッド数制限方法に含まれる各ステップをコンピュータに実行させる。   The thread number limiting program of the present invention causes a computer to execute each step included in the thread number limiting method.

本発明によれば、リソースの状況に応じてプロセスごとの処理を効率良く向上させることができる。   According to the present invention, it is possible to efficiently improve processing for each process according to resource conditions.

実施形態におけるスレッド数制限装置の機能構成を例示するブロック図である。It is a block diagram which illustrates functional composition of a thread number limiting device in an embodiment. スレッド数の上限値を設定する際の処理手順を例示するフローチャートである。It is a flowchart which illustrates the process sequence at the time of setting the upper limit of the number of threads. スレッド数の下限値を設定する際の処理手順を例示するフローチャートである。It is a flowchart which illustrates the process sequence at the time of setting the lower limit of the number of threads. 従来のコンピュータ装置でのスレッド数の推移状態を例示する図である。It is a figure which illustrates the transition state of the number of threads in the conventional computer apparatus. 実施形態のスレッド数制限装置でのスレッド数の推移状態を例示する図である。It is a figure which illustrates the transition state of the number of threads in the thread number restriction | limiting apparatus of embodiment. 従来のコンピュータ装置および実施形態のスレッド数制限装置における過剰スレッド数および不足スレッド数を例示する図である。It is a figure which illustrates the number of excess threads and the number of insufficient threads in the conventional computer apparatus and the thread number limiting device of the embodiment.

以下、添付図面を参照して、本発明に係るスレッド数制限装置、スレッド数制限方法およびスレッド数制限プログラムの好適な実施形態について説明する。ここで、スレッド数制限装置は、マルチスレッドプログラムを実行可能な装置である。マルチスレッドプログラムとは、マルチスレッドで処理を実行するように記述されたプログラムをいう。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, preferred embodiments of a thread number limiting device, a thread number limiting method, and a thread number limiting program according to the present invention will be described with reference to the accompanying drawings. Here, the thread number limiting device is a device capable of executing a multi-thread program. A multi-thread program is a program written to execute processing in multi-threads.

図1を参照して、実施形態におけるスレッド数制限装置の機能構成について説明する。スレッド数制限装置1は、リクエスト送信部11と、スレッド制御部12と、メモリ容量監視部13と、スレッド数監視部14と、キュー監視部15と、制限値設定部16と、を有する。   With reference to FIG. 1, a functional configuration of the thread number limiting device in the embodiment will be described. The thread number limiting device 1 includes a request transmission unit 11, a thread control unit 12, a memory capacity monitoring unit 13, a thread number monitoring unit 14, a queue monitoring unit 15, and a limit value setting unit 16.

ここで、スレッド数制限装置1は、物理的には、例えば、CPU(Central Processing Unit)と、記憶装置と、入出力インターフェースとを含んで構成される。これらの要素は、互いにバスを介して接続されている。記憶装置には、例えば、CPUで処理されるプログラムやデータを記憶するROM(Read Only Memory)やHDD(Hard Disk Drive)、主として制御処理のための各種作業領域として使用されるRAM(Random Access Memory;メモリ)等が含まれる。CPUは、ROMに記憶されたプログラムを実行し、入出力インターフェースを介して受信される各種のメッセージ等に従ってRAMに展開された各種のデータを処理する。これにより、以下に詳述するスレッド数制限装置1の各部の機能を実現することができる。   Here, the thread number limiting device 1 physically includes, for example, a CPU (Central Processing Unit), a storage device, and an input / output interface. These elements are connected to each other via a bus. The storage device includes, for example, a ROM (Read Only Memory) and HDD (Hard Disk Drive) that store programs and data processed by the CPU, and a RAM (Random Access Memory) mainly used as various work areas for control processing. ; Memory) and the like. The CPU executes programs stored in the ROM and processes various data expanded in the RAM in accordance with various messages received via the input / output interface. Thereby, the function of each part of the thread number limiting device 1 described in detail below can be realized.

リクエスト送信部11は、自装置1宛てのリクエストを発行して送信する。リクエストには、アプリケーションの実行要求が含まれる。リクエスト送信部11は、プロセス起動直後の1件目のリクエストとして、初期起動用のアプリケーションの実行を要求するリクエストを発行する。リクエスト送信部11は、プロセス起動直後の2件目のリクエストとして、マルチスレッドプログラムの実行を要求するリクエストを発行する。プロセスは、プログラムを実行することで生成され、プログラムに含まれるアプリケーションを実行制御する。   The request transmission unit 11 issues and transmits a request addressed to its own device 1. The request includes an application execution request. The request transmission unit 11 issues a request for requesting execution of an initial activation application as the first request immediately after the process activation. The request transmission unit 11 issues a request for requesting the execution of the multithread program as the second request immediately after the process is started. The process is generated by executing the program, and executes and controls applications included in the program.

リクエスト送信部11を備えることで、プロセスを起動してから、クライアントからのリクエストを処理するまでの間に、自ら発行したリクエストに基づいて、後述するスレッド数の上限値を設定することが可能となる。   By providing the request transmission unit 11, it is possible to set an upper limit value of the number of threads to be described later based on a request issued by itself after starting a process until processing a request from a client. Become.

スレッド制御部12は、リクエストに応じてマルチスレッドプログラムを実行し、プロセス内にスレッドを生成することやスレッドを削除することによってスレッド数を制御する。スレッド制御部12は、後述するスレッド数の上限値や下限値に従ってプロセス内のスレッド数を制限する。   The thread control unit 12 executes a multi-thread program in response to a request, and controls the number of threads by generating a thread in the process or deleting a thread. The thread control unit 12 limits the number of threads in the process according to an upper limit value or a lower limit value of the number of threads described later.

メモリ容量監視部13は、プロセスの起動時に、起動するプロセスで使用可能なメモリ容量を取得して監視データファイルに記憶する。メモリ容量監視部13は、リクエストに対応するアプリケーションの実行時に、このアプリケーションの実行時にプロセスが使用するメモリ容量を取得し、監視データファイルに記憶する。   When the process is activated, the memory capacity monitoring unit 13 acquires the memory capacity that can be used by the process to be activated and stores it in the monitoring data file. The memory capacity monitoring unit 13 acquires the memory capacity used by the process when executing the application corresponding to the request, and stores the acquired memory capacity in the monitoring data file.

スレッド数監視部14は、リクエストに対応するアプリケーションの実行時に、このアプリケーションの実行によってプロセス内に生成されるスレッド数を取得し、監視データファイルに記憶する。   When the application corresponding to the request is executed, the thread number monitoring unit 14 acquires the number of threads generated in the process by the execution of the application, and stores it in the monitoring data file.

スレッド数監視部14は、プロセスの起動後、所定のサンプリング間隔ごとに、プロセス内に生成されている稼働状態のスレッド数を収集し、時系列の稼働状態スレッド数データとして監視データファイルに蓄積する。なお、上記所定のサンプリング間隔は、リクエスト数の増減に応じてスレッド数の下限値の設定を変動させるために適切となる間隔を実験等により求め、任意に設定することができる。また、上記所定のサンプリング間隔を、リクエストを送信するクライアント端末から設定できるようにしてもよい。   The thread number monitoring unit 14 collects the number of operating state threads generated in the process at predetermined sampling intervals after the process is started, and accumulates it in the monitoring data file as time-series operating state thread number data. . The predetermined sampling interval can be arbitrarily set by obtaining an interval suitable for changing the setting of the lower limit value of the number of threads in accordance with increase / decrease in the number of requests by experiments or the like. The predetermined sampling interval may be set from a client terminal that transmits a request.

キュー監視部15は、プロセスの起動後、上記所定のサンプリング間隔ごとに、処理待ち状態のリクエスト数を収集し、時系列の処理待ち状態リクエスト数データとして監視データファイルに蓄積する。   After the process is started, the queue monitoring unit 15 collects the number of requests waiting for processing at the predetermined sampling interval and accumulates it in the monitoring data file as time-series processing wait state request count data.

制限値設定部16は、スレッド数の上限値および下限値をそれぞれ算出し、制限値パラメタファイルの上限値パラメタおよび下限値パラメタにそれぞれ設定する。   The limit value setting unit 16 calculates an upper limit value and a lower limit value of the number of threads, and sets the upper limit value parameter and the lower limit value parameter of the limit value parameter file, respectively.

制限値設定部16は、例えば、以下の手順にしたがって、スレッド数の上限値を算出して上限値パラメタに設定する。   The limit value setting unit 16 calculates the upper limit value of the number of threads, for example, according to the following procedure, and sets the upper limit value parameter.

最初に、制限値設定部16は、メモリ容量監視部13によって取得されたメモリ容量を用い、一リクエスト当たりのメモリ容量を算出する。一リクエスト当たりのメモリ容量は、例えば、下記式1を用いて算出することができる。   First, the limit value setting unit 16 calculates the memory capacity per request using the memory capacity acquired by the memory capacity monitoring unit 13. The memory capacity per request can be calculated using, for example, the following formula 1.

MR = M2 − M1 … 式1   MR = M2-M1 Equation 1

上記式1のMRは一リクエスト当たりのメモリ容量であり、M2は2件目のリクエストに対応するアプリケーションの実行時にプロセスが使用するメモリ容量であり、M1は1件目のリクエストに対応するアプリケーションの実行時にプロセスが使用するメモリ容量である。   MR in Equation 1 is the memory capacity per request, M2 is the memory capacity used by the process when executing the application corresponding to the second request, and M1 is the memory capacity of the application corresponding to the first request. The amount of memory used by the process during execution.

続いて、制限値設定部16は、スレッド数監視部14によって取得されたスレッド数および一リクエスト当たりのメモリ容量MRを用い、一スレッド当たりのメモリ容量を算出する。一スレッド当たりのメモリ容量は、例えば、下記式2を用いて算出することができる。なお、スレッド数とリクエスト数とは比例関係にあり、スレッド数はリクエスト数の整数倍になる。   Subsequently, the limit value setting unit 16 uses the number of threads acquired by the thread number monitoring unit 14 and the memory capacity MR per request to calculate the memory capacity per thread. The memory capacity per thread can be calculated using, for example, the following formula 2. Note that the number of threads and the number of requests are in a proportional relationship, and the number of threads is an integral multiple of the number of requests.

MT = MR/T … 式2   MT = MR / T Equation 2

上記式2のMTは一スレッド当たりのメモリ容量であり、MRは一リクエスト当たりのメモリ容量であり、Tは2件目のリクエストに対応するアプリケーションの実行によって生成されるスレッド数である。   MT in Equation 2 is the memory capacity per thread, MR is the memory capacity per request, and T is the number of threads generated by executing the application corresponding to the second request.

続いて、制限値設定部16は、メモリ容量監視部13によって取得されたメモリ容量および一スレッド当たりのメモリ容量MTを用い、プロセスにおけるスレッド数の上限値を算出する。スレッド数の上限値は、例えば、下記式3を用いて算出することができる。   Subsequently, the limit value setting unit 16 uses the memory capacity acquired by the memory capacity monitoring unit 13 and the memory capacity MT per thread to calculate the upper limit value of the number of threads in the process. The upper limit value of the number of threads can be calculated using, for example, the following formula 3.

Tmax = {(Mmax − M1)/MT} + 1 … 式3   Tmax = {(Mmax−M1) / MT} + 1 + Equation 3

上記式3のTmaxはスレッド数の上限値であり、Mmaxはプロセスで使用可能なメモリ容量である。M1は1件目のリクエストに対応するアプリケーションの実行時にプロセスが使用するメモリ容量であり、MTは一スレッド当たりのメモリ容量である。なお、上記式3で1を加算しているのは、MmaxからM1を差し引いたメモリ容量に基づいてスレッド数の上限値Tmaxを算出しているため、M1分のメモリ容量に生成可能な一スレッド分を加算したものである。   Tmax in Equation 3 is an upper limit value of the number of threads, and Mmax is a memory capacity usable in the process. M1 is the memory capacity used by the process when executing the application corresponding to the first request, and MT is the memory capacity per thread. Note that 1 is added in the above equation 3 because the upper limit value Tmax of the number of threads is calculated based on the memory capacity obtained by subtracting M1 from Mmax, so that one thread that can be generated in the memory capacity of M1 It is the sum of minutes.

続いて、制限値設定部16は、算出したスレッド数の上限値Tmaxを、制限値パラメタファイルの上限値パラメタに設定する。   Subsequently, the limit value setting unit 16 sets the calculated upper limit value Tmax of the number of threads in the upper limit value parameter of the limit value parameter file.

制限値設定部16は、例えば、以下の手順にしたがって、スレッド数の下限値を算出して下限値パラメタに設定する。   For example, the limit value setting unit 16 calculates the lower limit value of the number of threads and sets it as the lower limit parameter according to the following procedure.

最初に、制限値設定部16は、プロセスが起動した後、所定時間が経過するごとに、直近の所定時間の間に、キュー監視部15によって収集された時系列の処理待ち状態リクエスト数データおよびスレッド数監視部14によって収集された時系列の稼働状態スレッド数データを用いて、時系列のスレッド数データを生成する。   First, the limit value setting unit 16 receives the time-series processing waiting state request count data collected by the queue monitoring unit 15 during the most recent predetermined time each time a predetermined time elapses after the process starts. Time-series thread number data is generated using the time-series active state thread number data collected by the thread number monitoring unit 14.

上記所定時間は、リクエスト数の増減に応じてスレッド数の下限値の設定を変動させるために適切となる時間を実験等により求め、任意に設定することができる。ただし、所定時間が短すぎると突発的なリクエスト数の変動に左右され易くなり、所定時間が長すぎるとリクエスト数の変動が平均化されてしまい、リクエスト数の増減に応じたスレッド数の下限値を設定することが難しくなる。この所定時間と上述した所定のサンプリング間隔とを調節することで、リクエスト数の増減をスレッド数の下限値に反映させる度合を調整することが可能となる。   The predetermined time can be arbitrarily set by obtaining an appropriate time by experiment or the like to change the setting of the lower limit value of the number of threads according to the increase or decrease of the number of requests. However, if the predetermined time is too short, it is likely to be affected by sudden changes in the number of requests, and if the predetermined time is too long, the fluctuations in the number of requests are averaged, and the lower limit of the number of threads according to the increase or decrease in the number of requests. It becomes difficult to set. By adjusting this predetermined time and the above-described predetermined sampling interval, it is possible to adjust the degree to which the increase / decrease in the number of requests is reflected in the lower limit value of the number of threads.

ここで、上記時系列のスレッド数データは、例えば、処理待ち状態リクエスト数データをスレッド数データに換算し、換算後のスレッド数データと、稼働状態スレッド数データとを、同じサンプリング時刻ごとに加算していくことで生成することができる。   Here, the time-series thread number data is converted, for example, from the processing waiting state request number data into thread number data, and the converted thread number data and the operating state thread number data are added at the same sampling time. It can be generated by doing.

続いて、制限値設定部16は、生成した時系列のスレッド数データを用い、プロセスにおけるスレッド数の下限値を算出する。スレッド数の下限値は、例えば、下記式4を用いて算出することができる。   Subsequently, the limit value setting unit 16 calculates a lower limit value of the number of threads in the process using the generated time-series thread number data. The lower limit value of the number of threads can be calculated using, for example, the following formula 4.

Tmin = (W1*X1 + … + Wn*Xn)/(W1 + … + Wn) … 式4   Tmin = (W1 * X1 + ... + Wn * Xn) / (W1 + ... + Wn) ... Equation 4

上記式4は、加重移動平均を算出する式である。上記式4のTminはスレッド数の下限値であり、X1〜Xnは時系列のスレッド数データであり、W1〜Wnはスレッド数データX1〜Xnに対してそれぞれ付加する重みである。重みW1〜Wnは、スレッド数データX1〜Xnのサンプリング時刻が現在に近いほど大きくなる。これにより、現在の状況に応じた下限値を算出することが可能となる。   The above equation 4 is an equation for calculating a weighted moving average. Tmin in Equation 4 is a lower limit value of the number of threads, X1 to Xn are time-series thread number data, and W1 to Wn are weights added to the thread number data X1 to Xn, respectively. The weights W1 to Wn increase as the sampling times of the thread number data X1 to Xn are closer to the present time. Thereby, it becomes possible to calculate the lower limit according to the current situation.

続いて、制限値設定部16は、算出したスレッド数の下限値Tminが、上限値パラメタに設定されているスレッド数の上限値Tmaxよりも大きい場合には、算出したスレッド数の下限値Tminに、上限値パラメタに設定されているスレッド数の上限値Tmaxをセットする。   Subsequently, when the lower limit value Tmin of the calculated thread number is larger than the upper limit value Tmax of the thread number set in the upper limit parameter, the limit value setting unit 16 sets the lower limit value Tmin of the calculated thread number. The upper limit value Tmax of the number of threads set in the upper limit value parameter is set.

続いて、制限値設定部16は、算出したスレッド数の下限値Tminまたは上限値Tmaxをセットした下限値Tminを、制限値パラメタファイルの下限値パラメタに設定する。   Subsequently, the limit value setting unit 16 sets the lower limit value Tmin in which the lower limit value Tmin or the upper limit value Tmax of the calculated number of threads is set as the lower limit value parameter of the limit value parameter file.

次に、図面を参照して本実施形態におけるスレッド数制限装置の動作について説明する。図2を参照して、スレッド数の上限値を設定する際の動作について説明する。図2は、スレッド数の上限値を設定する際の処理手順を例示するフローチャートである。   Next, the operation of the thread number limiting device in this embodiment will be described with reference to the drawings. With reference to FIG. 2, the operation when setting the upper limit of the number of threads will be described. FIG. 2 is a flowchart illustrating a processing procedure when setting the upper limit value of the number of threads.

最初に、プロセスが起動する(ステップS101)と、メモリ容量監視部13は、その起動したプロセスで使用可能なメモリ容量Mmaxを取得する(ステップS102)。   First, when a process is activated (step S101), the memory capacity monitoring unit 13 acquires a memory capacity Mmax that can be used by the activated process (step S102).

続いて、リクエスト送信部11は、自装置1宛ての1件目のリクエストを発行して送信する(ステップS103)。スレッド数制限装置1は、1件目のリクエストを受信し、1件目のリクエストに対応する初期起動用のアプリケーションを実行する。これにより、初期起動時のオブジェクトが生成される一方、スレッドは生成されない。   Subsequently, the request transmission unit 11 issues and transmits a first request addressed to the own apparatus 1 (step S103). The thread limit device 1 receives the first request and executes the initial activation application corresponding to the first request. Thereby, an object at the time of initial activation is generated, but a thread is not generated.

続いて、メモリ容量監視部13は、初期起動用のアプリケーションの実行時にプロセスが使用するメモリ容量M1を取得する(ステップS104)。   Subsequently, the memory capacity monitoring unit 13 acquires the memory capacity M1 used by the process when the application for initial activation is executed (step S104).

続いて、リクエスト送信部11は、自装置1宛ての2件目のリクエストを発行して送信する(ステップS105)。スレッド数制限装置1は、2件目のリクエストを受信し、2件目のリクエストに対応するアプリケーションとしてマルチスレッドプログラムを実行する。これにより、スレッドが生成される。   Subsequently, the request transmission unit 11 issues and transmits a second request addressed to the own apparatus 1 (step S105). The thread limit device 1 receives the second request and executes the multi-thread program as an application corresponding to the second request. As a result, a thread is generated.

続いて、メモリ容量監視部13は、2件目のリクエストに対応するマルチスレッドプログラムの実行時にプロセスが使用するメモリ容量M2を取得し(ステップS106)、スレッド数監視部14は、2件目のリクエストに対応するマルチスレッドプログラムの実行によって生成されるスレッド数Tを取得する(ステップS107)。   Subsequently, the memory capacity monitoring unit 13 acquires the memory capacity M2 used by the process when the multi-thread program corresponding to the second request is executed (step S106), and the thread number monitoring unit 14 acquires the second request. The number of threads T generated by executing the multithread program corresponding to the request is acquired (step S107).

続いて、制限値設定部16は、上記ステップS104で取得したメモリ容量M1および上記ステップS106で取得したメモリ容量M2を上記式1に代入して、一リクエスト当たりのメモリ容量MRを算出する(ステップS108)。   Subsequently, the limit value setting unit 16 calculates the memory capacity MR per request by substituting the memory capacity M1 acquired in step S104 and the memory capacity M2 acquired in step S106 into the above equation 1 (step S104). S108).

続いて、制限値設定部16は、上記ステップS107で取得したスレッド数Tおよび上記ステップS108で算出した一リクエスト当たりのメモリ容量MRを上記式2に代入して、一スレッド当たりのメモリ容量MTを算出する(ステップS109)。   Subsequently, the limit value setting unit 16 substitutes the number of threads T acquired in step S107 and the memory capacity MR per request calculated in step S108 into the above equation 2, and calculates the memory capacity MT per thread. Calculate (step S109).

続いて、制限値設定部16は、上記ステップS102で取得したメモリ容量Mmax、上記ステップS104で取得したメモリ容量M1および上記ステップS108で算出した一スレッド当たりのメモリ容量MTを上記式3に代入して、プロセスにおけるスレッド数の上限値Tmaxを算出する(ステップS110)。   Subsequently, the limit value setting unit 16 substitutes the memory capacity Mmax acquired in step S102, the memory capacity M1 acquired in step S104, and the memory capacity MT per thread calculated in step S108 into the above equation 3. Thus, the upper limit value Tmax of the number of threads in the process is calculated (step S110).

続いて、制限値設定部16は、上記ステップS110で算出したスレッド数の上限値Tmaxを上限値パラメタに設定する(ステップS111)。   Subsequently, the limit value setting unit 16 sets the upper limit value Tmax of the number of threads calculated in step S110 as an upper limit parameter (step S111).

図3を参照して、スレッド数の下限値を設定する際の動作について説明する。図3は、スレッド数の下限値を設定する際の処理手順を例示するフローチャートである。   With reference to FIG. 3, the operation when setting the lower limit of the number of threads will be described. FIG. 3 is a flowchart illustrating a processing procedure when setting the lower limit value of the number of threads.

最初に、プロセスを起動してから所定時間が経過したか否かを判定する(ステップS201)。この判定がYESである場合(ステップS201;YES)に、制限値設定部16は、キュー監視部15によって収集された時系列の処理待ち状態リクエスト数データを取得し(ステップS202)、スレッド数監視部14によって収集された時系列の稼働状態スレッド数データを取得する(ステップS203)。   First, it is determined whether or not a predetermined time has elapsed since the process was started (step S201). When this determination is YES (step S201; YES), the limit value setting unit 16 acquires time-series processing waiting state request number data collected by the queue monitoring unit 15 (step S202), and monitors the number of threads. The time-series operation state thread number data collected by the unit 14 is acquired (step S203).

続いて、制限値設定部16は、上記ステップS202で取得した処理待ち状態リクエスト数データおよび上記ステップS203で取得した稼働状態スレッド数データを用いて、時系列のスレッド数データX1〜Xnを生成する(ステップS204)。   Subsequently, the limit value setting unit 16 generates time-series thread number data X1 to Xn using the processing wait state request number data acquired in step S202 and the operating state thread number data acquired in step S203. (Step S204).

続いて、制限値設定部16は、上記ステップS204で生成した時系列のスレッド数データX1〜Xnを、上記式4に代入して、プロセスにおけるスレッド数の下限値Tminを算出する(ステップS205)。   Subsequently, the limit value setting unit 16 calculates the lower limit value Tmin of the number of threads in the process by substituting the time-series thread number data X1 to Xn generated in step S204 into the equation 4 (step S205). .

続いて、制限値設定部16は、上記ステップS205で算出したスレッド数の下限値Tminが、上限値パラメタに設定されているスレッド数の上限値Tmaxよりも大きいか否かを判定する(ステップS206)。この判定がNOである場合(ステップS206;NO)には、後述するステップS208に処理を移行する。   Subsequently, the limit value setting unit 16 determines whether or not the lower limit value Tmin of the number of threads calculated in step S205 is larger than the upper limit value Tmax of the number of threads set in the upper limit parameter (step S206). ). If this determination is NO (step S206; NO), the process proceeds to step S208 described later.

一方、上記ステップS206の判定でスレッド数の下限値Tminがスレッド数の上限値Tmaxよりも大きいと判定した場合(ステップS206;YES)に、制限値設定部16は、上記ステップS205で算出したスレッド数の下限値Tminに、上限値パラメタに設定されているスレッド数の上限値Tmaxをセットする(ステップS207)。   On the other hand, if it is determined in step S206 that the lower limit value Tmin of the number of threads is larger than the upper limit value Tmax of the number of threads (step S206; YES), the limit value setting unit 16 calculates the thread calculated in step S205. The upper limit value Tmax of the number of threads set in the upper limit parameter is set to the lower limit value Tmin of the number (step S207).

続いて、制限値設定部16は、上記ステップS205で算出したスレッド数の下限値Tminまたは上記ステップS207で上限値Tmaxをセットしたスレッド数の下限値Tminを下限値パラメタに設定する(ステップS208)。   Subsequently, the limit value setting unit 16 sets the lower limit value Tmin of the number of threads calculated in step S205 or the lower limit value Tmin of the number of threads set with the upper limit value Tmax in step S207 as the lower limit value parameter (step S208). .

上述してきたように、本実施形態におけるスレッド数制限装置1によれば、一リクエスト当たりのメモリ容量MRに基づいて一スレッド当たりのメモリ容量MTを算出し、一スレッド当たりのメモリ容量MTおよびプロセスごとに使用可能なメモリ容量Mmaxに基づいてスレッド数の上限値Tmaxを算出することができ、この算出したスレッド数の上限値Tmaxを上限値パラメタに設定することができる。これにより、プロセスごとに稼働するスレッド数を、スレッド数の上限値Tmax以下となるように制限することができるため、メモリ容量の無駄な消費をプロセスごとに抑制することができ、リソースを有効に使用することが可能となる。   As described above, according to the thread number limiting device 1 in the present embodiment, the memory capacity MT per thread is calculated based on the memory capacity MR per request, and the memory capacity MT per thread and each process are calculated. The upper limit value Tmax of the number of threads can be calculated based on the memory capacity Mmax that can be used for the above, and the calculated upper limit value Tmax of the number of threads can be set as the upper limit value parameter. As a result, the number of threads operating for each process can be limited to be equal to or less than the upper limit value Tmax of the number of threads, so that wasteful consumption of memory capacity can be suppressed for each process, and resources can be effectively used. Can be used.

また、本実施形態におけるスレッド数制限装置1によれば、収集した時系列の処理待ち状態リクエスト数データおよび時系列の稼働状態スレッド数データに基づいて時系列のスレッド数データX1〜Xnを生成し、時系列のスレッド数データX1〜Xnに基づいてスレッド数の下限値Tminを算出することができ、この算出したスレッド数の下限値Tminを下限値パラメタに設定することができる。これにより、プロセスごとに稼働するスレッド数を、スレッド数の下限値Tmin以上となるように制限することができるため、プロセスごとの処理状況に応じて必要最低限のスレッド数を確保することができ、処理時間を短縮することが可能となる。   Further, according to the thread number limiting device 1 in the present embodiment, the time series thread number data X1 to Xn are generated based on the collected time series processing waiting state request number data and time series operation state thread number data. The lower limit value Tmin of the thread number can be calculated based on the time-series thread number data X1 to Xn, and the calculated lower limit value Tmin of the thread number can be set as the lower limit value parameter. As a result, the number of threads operating for each process can be limited so as to be equal to or greater than the lower limit value Tmin of the number of threads, so the minimum necessary number of threads can be secured according to the processing status of each process. The processing time can be shortened.

ここで、図4〜図6を参照して、従来のスレッド数を固定するコンピュータ装置と本実施形態のスレッド数制限装置1との間の処理効率の差について具体的に説明する。図4および図5に示す稼働スレッド数の推移を示すデータは、6:00頃にリクエスト数がピークを迎える模擬データである。図4および図5に示す模擬データは、一リクエスト一スレッドで動作する場合のデータである。したがって、稼働スレッド数の推移はリクエスト数の推移と置き換えることができる。   Here, with reference to FIG. 4 to FIG. 6, the difference in processing efficiency between the conventional computer device that fixes the number of threads and the thread number limiting device 1 of the present embodiment will be specifically described. The data indicating the transition of the number of active threads shown in FIGS. 4 and 5 is simulated data in which the number of requests reaches a peak around 6:00. The simulated data shown in FIGS. 4 and 5 is data when operating in one request and one thread. Therefore, the transition of the number of operating threads can be replaced with the transition of the number of requests.

図4は、従来のコンピュータ装置でのスレッド数の推移状態を示す図である。図4に示す従来のコンピュータ装置は、過去のスレッド数を平均した値である“5”に固定している。これに対してリクエスト数(模擬データのスレッド数)は、時間帯に応じて“0”〜“15”の間で大きく変動する。   FIG. 4 is a diagram showing a transition state of the number of threads in a conventional computer apparatus. In the conventional computer apparatus shown in FIG. 4, the past number of threads is fixed to “5”, which is an average value. In contrast, the number of requests (number of simulated data threads) varies greatly between “0” and “15” depending on the time zone.

図5は、本実施形態のスレッド数制限装置1でのスレッド数の推移状態を示す図である。図5に示す本実施形態のスレッド数制限装置1は、上述したように、プロセスごとのリソース状況に応じてスレッド数の上限値を設定し、リクエスト数に応じてスレッド数の下限値を設定している。これにより、本実施形態のスレッド数制限装置1は、リクエスト数(模擬データのスレッド数)に追従してスレッド数を増減させている。   FIG. 5 is a diagram illustrating a transition state of the number of threads in the thread number limiting device 1 according to the present embodiment. As described above, the thread number limiting device 1 of this embodiment shown in FIG. 5 sets the upper limit value of the thread number according to the resource status for each process, and sets the lower limit value of the thread number according to the request number. ing. Thereby, the thread number limiting device 1 of the present embodiment increases or decreases the number of threads following the number of requests (number of simulated data threads).

図6は、図4および図5に示す状態で処理を実行した結果、従来のコンピュータ装置と本実施形態のスレッド数制限装置1とでそれぞれ発生した過剰スレッド数および不足スレッド数を示す図である。図6に示すように、従来のコンピュータ装置では、過剰スレッド数および不足スレッド数が共に120強であるのに対し、本実施形態のスレッド数制限装置1では、過剰スレッド数が40弱、不足スレッド数が70強にそれぞれ低減している。過剰スレッド数を低減することでメモリ容量の無駄な使用を削減することができ、不足スレッド数を低減することでリクエストの処理時間を短縮することができる。つまり、本実施形態のスレッド数制限装置1は、従来のコンピュータ装置に比べ、プロセスごとの処理効率を向上させることができる。   FIG. 6 is a diagram showing the number of excess threads and the number of insufficient threads respectively generated in the conventional computer device and the thread number limiting device 1 of the present embodiment as a result of executing the processing in the state shown in FIGS. 4 and 5. . As shown in FIG. 6, in the conventional computer device, the number of excess threads and the number of insufficient threads are both over 120, whereas in the thread number limiting device 1 of this embodiment, the number of excess threads is slightly less than 40, The numbers have been reduced to over 70 respectively. By reducing the number of excess threads, it is possible to reduce unnecessary use of memory capacity, and it is possible to shorten the processing time of requests by reducing the number of insufficient threads. That is, the thread number limiting device 1 of this embodiment can improve the processing efficiency for each process as compared with a conventional computer device.

なお、上述した実施形態は、単なる例示に過ぎず、実施形態に明示していない種々の変形や技術の適用を排除するものではない。すなわち、本発明は、その趣旨を逸脱しない範囲で様々な形態に変形して実施することができる。   Note that the above-described embodiment is merely an example, and does not exclude various modifications and technical applications that are not explicitly described in the embodiment. That is, the present invention can be implemented by being modified into various forms without departing from the spirit of the present invention.

例えば、上述した実施形態における制限値設定部16は、スレッド数の下限値を算出する際に、時系列のスレッド数データを生成し、この時系列のスレッド数データに基づいてスレッド数の下限値を算出しているが、これに限定されない。例えば、時系列のリクエスト数データを生成し、この時系列のリクエスト数データに基づいて、スレッド数の下限値を算出することとしてもよい。この場合には、稼働状態スレッド数データをリクエスト数データに換算し、換算後のリクエスト数データと、処理待ち状態リクエスト数データとを、同じサンプリング時刻ごとに加算していくことで時系列のリクエスト数データを生成することができる。また、生成した時系列のリクエスト数データを、時系列のスレッド数データに換算し、換算後の時系列のスレッド数データを、上記式4に代入することで、スレッド数の下限値を算出することができる。   For example, when the lower limit value of the number of threads is calculated, the limit value setting unit 16 in the above-described embodiment generates time series thread number data, and the lower limit value of the thread number based on the time series thread number data. However, the present invention is not limited to this. For example, time-series request number data may be generated, and a lower limit value of the number of threads may be calculated based on the time-series request number data. In this case, the number of active state threads is converted into the number of requests, and the request count data after conversion and the number of requests waiting to be processed are added at the same sampling time, so time-series requests Numerical data can be generated. Also, the generated time-series request count data is converted into time-series thread count data, and the converted time-series thread count data is substituted into the above equation 4 to calculate the lower limit value of the thread count. be able to.

1…スレッド数制限装置、11…リクエスト送信部、12…スレッド制御部、13…メモリ容量監視部、14…スレッド数監視部、15…キュー監視部、16…制限値設定部。   DESCRIPTION OF SYMBOLS 1 ... Thread number limiting apparatus, 11 ... Request transmission part, 12 ... Thread control part, 13 ... Memory capacity monitoring part, 14 ... Thread number monitoring part, 15 ... Queue monitoring part, 16 ... Limit value setting part

Claims (7)

アプリケーションを実行制御するプロセスの起動時に、当該プロセスで使用可能な第1のメモリ容量を取得する第1の取得部と、
第1のリクエストに対応する第1のアプリケーションの実行制御時に前記プロセスが使用する第2のメモリ容量を取得する第2の取得部と、
前記第1のリクエストを受信した後に受信する第2のリクエストに対応する第2のアプリケーションの実行制御時に前記プロセスが使用する第3のメモリ容量を取得する第3の取得部と、
前記第2のアプリケーションの実行により生成されるスレッド数を取得する第4の取得部と、
前記第2のメモリ容量および前記第3のメモリ容量を用いて一リクエスト当たりのメモリ容量を算出する第1の算出部と、
前記取得された前記スレッド数および前記一リクエスト当たりのメモリ容量を用いて一スレッド当たりのメモリ容量を算出する第2の算出部と、
前記第1のメモリ容量、前記第2のメモリ容量および前記一スレッド当たりのメモリ容量を用いて前記プロセスにおける前記スレッド数の上限値を算出して設定する上限値設定部と、
を備えることを特徴とするスレッド数制限装置。
A first acquisition unit that acquires a first memory capacity that can be used by the process when starting a process that controls the execution of the application;
A second acquisition unit that acquires a second memory capacity used by the process during execution control of the first application corresponding to the first request;
A third acquisition unit for acquiring a third memory capacity used by the process during execution control of a second application corresponding to a second request received after receiving the first request;
A fourth acquisition unit that acquires the number of threads generated by execution of the second application;
A first calculator that calculates a memory capacity per request using the second memory capacity and the third memory capacity;
A second calculation unit that calculates a memory capacity per thread using the acquired number of threads and the memory capacity per request;
An upper limit setting unit configured to calculate and set an upper limit of the number of threads in the process using the first memory capacity, the second memory capacity, and the memory capacity per thread;
A device for limiting the number of threads.
前記上限値設定部によって設定された前記スレッド数の上限値に従ってスレッド数を制限するスレッド数上限制御部をさらに備えることを特徴とする請求項1記載のスレッド数制限装置。   The thread number limiting device according to claim 1, further comprising a thread number upper limit control unit that limits the number of threads according to the upper limit value of the number of threads set by the upper limit value setting unit. 前記プロセスの起動後、所定のサンプリング間隔ごとに、処理待ち状態のリクエスト数、および稼働状態のスレッド数を収集する収集部と、
前記プロセスの起動後、所定時間ごとに、前記収集部によって収集された前記処理待ち状態のリクエスト数および前記稼働状態のスレッド数を用いて時系列のリクエスト数データを生成する生成部と、
前記生成された前記時系列のリクエスト数データを用いて前記プロセスにおける前記スレッド数の下限値を算出して設定する下限値設定部と、
をさらに備えることを特徴とする請求項1または2記載のスレッド数制限装置。
A collection unit that collects the number of requests waiting to be processed and the number of threads in the active state at predetermined sampling intervals after the process is started,
A generation unit that generates time-series request count data using the number of requests waiting to be processed and the number of threads in the operation state collected by the collection unit at predetermined time intervals after starting the process;
A lower limit setting unit configured to calculate and set a lower limit value of the number of threads in the process using the generated time-series request number data;
The thread number limiting device according to claim 1, further comprising:
前記下限値設定部によって設定された前記スレッド数の下限値に従ってスレッド数を制限するスレッド数下限制御部をさらに備えることを特徴とする請求項3記載のスレッド数制限装置。   The thread number limiting device according to claim 3, further comprising a thread number lower limit control unit that limits the number of threads according to a lower limit value of the number of threads set by the lower limit value setting unit. 前記第1のリクエストおよび前記第2のリクエストを送信する送信部をさらに備えることを特徴とする請求項1〜4のいずれか1項に記載のスレッド数制限装置。   The thread number limiting device according to any one of claims 1 to 4, further comprising a transmission unit that transmits the first request and the second request. アプリケーションを実行制御するプロセスの起動時に、当該プロセスで使用可能な第1のメモリ容量を取得するステップと、
第1のリクエストに対応する第1のアプリケーションの実行制御時に前記プロセスが使用する第2のメモリ容量を取得するステップと、
前記第1のリクエストを受信した後に受信する第2のリクエストに対応する第2のアプリケーションの実行制御時に前記プロセスが使用する第3のメモリ容量を取得するステップと、
前記第2のアプリケーションの実行により生成されるスレッド数を取得するステップと、
前記第2のメモリ容量および前記第3のメモリ容量を用いて一リクエスト当たりのメモリ容量を算出するステップと、
前記取得された前記スレッド数および前記一リクエスト当たりのメモリ容量を用いて一スレッド当たりのメモリ容量を算出するステップと、
前記第1のメモリ容量、前記第2のメモリ容量および前記一スレッド当たりのメモリ容量を用いて前記プロセスにおける前記スレッド数の上限値を算出して設定するステップと、
を含むことを特徴とするスレッド数制限方法。
Obtaining a first memory capacity that can be used by the process at the time of starting a process that controls execution of the application;
Obtaining a second memory capacity used by the process during execution control of the first application corresponding to the first request;
Obtaining a third memory capacity used by the process during execution control of a second application corresponding to a second request received after receiving the first request;
Obtaining the number of threads generated by execution of the second application;
Calculating a memory capacity per request using the second memory capacity and the third memory capacity;
Calculating the memory capacity per thread using the acquired number of threads and the memory capacity per request;
Calculating and setting an upper limit value of the number of threads in the process using the first memory capacity, the second memory capacity, and the memory capacity per thread;
A method for limiting the number of threads.
請求項6に記載の各ステップをコンピュータに実行させるためのスレッド数制限プログラム。   A thread number limiting program for causing a computer to execute each step according to claim 6.
JP2010020278A 2010-02-01 2010-02-01 Thread number limiting device, thread number limiting method, and thread number limiting program Expired - Fee Related JP5440937B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010020278A JP5440937B2 (en) 2010-02-01 2010-02-01 Thread number limiting device, thread number limiting method, and thread number limiting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010020278A JP5440937B2 (en) 2010-02-01 2010-02-01 Thread number limiting device, thread number limiting method, and thread number limiting program

Publications (2)

Publication Number Publication Date
JP2011159107A JP2011159107A (en) 2011-08-18
JP5440937B2 true JP5440937B2 (en) 2014-03-12

Family

ID=44591002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010020278A Expired - Fee Related JP5440937B2 (en) 2010-02-01 2010-02-01 Thread number limiting device, thread number limiting method, and thread number limiting program

Country Status (1)

Country Link
JP (1) JP5440937B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI424470B (en) * 2003-05-23 2014-01-21 尼康股份有限公司 A method of manufacturing an exposure apparatus and an element
JP2013222407A (en) * 2012-04-18 2013-10-28 Bank Of Tokyo-Mitsubishi Ufj Ltd System having flow rate control function
EP2843558B1 (en) 2012-04-27 2019-06-12 Hitachi, Ltd. Database management system, computer, and database management method
WO2013161076A1 (en) * 2012-04-27 2013-10-31 株式会社日立製作所 Database management system, computer, and database management method
CN115469980A (en) * 2022-07-29 2022-12-13 天翼云科技有限公司 Product medium download task scheduling method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2967999B2 (en) * 1989-07-06 1999-10-25 富士通株式会社 Process execution multiplicity control processor
US6505275B1 (en) * 2000-07-24 2003-01-07 Sun Microsystems, Inc. Method for scalable memory efficient thread-local object allocation
JP2005107824A (en) * 2003-09-30 2005-04-21 Japan Research Institute Ltd Eai server, and program for eai server

Also Published As

Publication number Publication date
JP2011159107A (en) 2011-08-18

Similar Documents

Publication Publication Date Title
CN107003706B (en) Non-transitory computer-readable storage medium and apparatus for managing jobs
US20150295970A1 (en) Method and device for augmenting and releasing capacity of computing resources in real-time stream computing system
JP5607909B2 (en) Memory management apparatus and method
KR101155202B1 (en) Method for managing power for multi-core processor, recorded medium for performing method for managing power for multi-core processor and multi-core processor system for performing the same
JP5440937B2 (en) Thread number limiting device, thread number limiting method, and thread number limiting program
KR101651871B1 (en) Job Allocation Method on Multi-core System and Apparatus thereof
JP4367856B2 (en) Process control system and control method thereof
TW200941209A (en) Power-aware thread schedulingard and dynamic use of processors
US8683472B2 (en) Adjusting thread priority to optimize computer system performance and the utilization of computer system resources
JP4747307B2 (en) Network processing control device, program, and method
JP2017511940A5 (en)
JP2011118525A (en) Server management apparatus, server management method, and server management program
US11269686B2 (en) Adaptive consumer thread pool
JP6123830B2 (en) Information processing apparatus, power control method, program, and control apparatus
JP2015082321A (en) Information processing apparatus, load control method, and load control program
JP2015022504A (en) Information processing device, method, and program
Liao et al. Auto-scaling strategy for amazon web services in cloud computing
JP2015011365A (en) Provisioning apparatus, system, provisioning method, and provisioning program
JP2010039802A (en) Multiprocessor system, scheduling method and program therefor
JP2016126426A (en) Multicore system, multicore processor, parallel processing method, and parallel processing control program
JP2007179246A (en) Method, program and server for computer management
Kim et al. Using DVFS and task scheduling algorithms for a hard real-time heterogeneous multicore processor environment
KR101828996B1 (en) Method and apparatus for dynamic allocation of system resource to support pipeline parallelism in heterogeneous multi-processing environment
JP2004310756A (en) Information processor, electric equipment, clock control method of information processor, clock control program, and recording medium therefor
WO2013129061A1 (en) Control system for simultaneous number of connections, control server for simultaneous number of connections, control method for simultaneous number of connections and control program for simultaneous number of connections

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131205

R150 Certificate of patent or registration of utility model

Ref document number: 5440937

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees