JPS5814258A - Resource management control system - Google Patents

Resource management control system

Info

Publication number
JPS5814258A
JPS5814258A JP56111898A JP11189881A JPS5814258A JP S5814258 A JPS5814258 A JP S5814258A JP 56111898 A JP56111898 A JP 56111898A JP 11189881 A JP11189881 A JP 11189881A JP S5814258 A JPS5814258 A JP S5814258A
Authority
JP
Japan
Prior art keywords
resource
resources
program
queue
linked
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP56111898A
Other languages
Japanese (ja)
Inventor
Takanao Hiraoka
平岡 敬尚
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP56111898A priority Critical patent/JPS5814258A/en
Publication of JPS5814258A publication Critical patent/JPS5814258A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To effectively use a resource and to avoid extreme slow processing speed due to slow down, by performing the detection and release of slow down at each resource through the management of types of resources. CONSTITUTION:A resource number is determined and managed at each type of resource and the detection and release of slow down is made at each resource. For example, when a program is started, a required slow down mode SDMF is selected with a central processor CPU1, a request block RB is linked to a start possible matrix RAQ of a memory M2 when the SDME is turned off, a resource stored in a control block CB of a memory 1 is acquired for processing. When the SDMF is turned on at the program start, the request block RB is linked to a processing queve WQ. When the processing of the program is finished, the resource S acquired at the start is returned to the control block CB to turn off the slow down mode SDMF.

Description

【発明の詳細な説明】 本発明はプログラム走行中に各プ買グラムが使用するメ
モリ領域等の資源を管理する制御方式に関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a control method for managing resources such as memory areas used by each program during program execution.

一般にアプリケシ璽ンプログラム等のタスクに起動がか
かりた場合、そのブーグラムが実行するに必1Iitk
メモリ領域等の資源を資源管理部から獲得する必要があ
る。このようなG@tマクlIK対し資源管理部が無条
件に次々と資源を貸出していくと、やがて使用可能な資
源がなくなルウシステム全体がアブノー!ルエンドした
り、または、スローダウン峰−ドとな〕、不足していな
い他の資源を使用して−る又は使用予定のプログラムま
でもスローダウンとな)起動がかからな(なりてし壕う
といり九障害が生じてしまう。
Generally, when a task such as an application program is started, it is necessary for the program to execute.
It is necessary to acquire resources such as memory areas from the resource management section. If the resource management department unconditionally lends resources one after another to such G@t MaclIK, eventually there will be no more usable resources and the entire Ruu system will become abnormal! If a program is using or is scheduled to use other resources that are not in short supply, it may not start (or it may slow down). Sleeping causes nine disorders.

そヒで本発明は、資源の種類毎に管理して資源毎にス窒
−ダクy検出と解瞭を行なりて資源を有効に利用しかつ
従来の如暑ス冨−〆クンによシ旭理速度が極端に遅(な
ることがないようにした制御方式を提供するととを目的
とする。
Therefore, the present invention manages each type of resource, detects and clarifies each type of resource, and utilizes the resource effectively. The purpose of the present invention is to provide a control method that prevents the speed of drifting from becoming extremely slow.

本発明は、ブーグラム走行中に各プ璽グ2ムが使用する
メ嘴す領域等の資源を管理する制御方式にシーて2種類
別に腋資源をオとめ、諌種類に対応すゐ資源番号と、使
用可能な資源の現個数と。
The present invention uses a control method for managing resources such as the beak area used by each programm while the program is running, and separates the axillary resources into two types, and assigns a resource number and resource number corresponding to the programmable type. , and the current number of available resources.

峡資源の貸出しが禁止される時の限界個数を示すす電ν
トカウン一とを備え九=ントーールプ謬ツクが皺資源の
種類毎に設けられ、鋏グ胃グ2ム匂動時の情報をも2リ
クエストブロツクのうち起動可能なプログラムのリクエ
ストブロックをリンクする起動可能行列が設けられ、前
記資源番号とそれに対応するス四−ダウンモードブック
及び処理待行列を有する資源管理テーブルが設けられ、
峡逃理待行列に起動不可能なブーグラムのリクエストブ
ロックがつながれ、使用可能な資源が1112でいるか
否かが鋏ス胃−ダ9ン毫−ド7ツグのオン。
Electricity ν indicating the limit number when lending of gorge resources is prohibited.
Nine total error blocks are provided for each type of wrinkle resource, and information on when the scissors/gastric error occurs can be activated by linking the request block of the program that can be started among the two request blocks. a resource management table having a queue and a resource number and a corresponding four-down mode book and processing queue;
An unactivated boogram request block is connected to the request queue, and it is determined whether there are available resources at 1112 or not.

オフによ〕示されてなL プログラムの超勤壽に必要と
する資源の骸ス田−ダクン噌−ド7ツグがオフの場合は
、対応するリクエストブロックを皺起動可能行列に9ン
クし、オンの場合は対応する処履待行夕11にリンクし
、##I動可能行列にリンクされ九リクエストブーツタ
のプログラムを起動して資源を獲得すゐとき、必要な資
源の紋コント謬−ルプツνりの現値数を減じ、#現個数
がす々ットカクンタよ)小になると対応するスシーダク
ンモード7yグをオンにし、実行済のブーグラムが資源
を返却するとき、核コンFロールブーツクの現個数を増
し、現個数がすミツトカラン−に郷しくなると対応する
スローダウン七−ド7ラグをオフにし、前記処理待行列
にリンクされたリクエストブロック管超勤可能行列にリ
ンクするようにしたことを特徴とする。
If the resource resource required for the program's overtime is off, the corresponding request block is linked to the startable matrix and turned on. In this case, link to the corresponding processing queue 11, link to ##I moveable queue, and start the request booter program to acquire resources. Reduce the current value number of ν, and when the current number becomes small, turn on the corresponding Sushidakun mode 7yg, and when the executed boogram returns the resource, the nuclear control F roll boot screen The current number of request blocks is increased, and when the current number becomes too large, the corresponding slowdown lag is turned off, and the request block management queue linked to the processing queue is linked to the overtime available queue. It is characterized by

以下本発明の一実施例を図面に従うて詳述する・図社本
実施例を説明する九めのメ峰りとCPUを示ナプ胃ツク
図で、1はCPU、 Ml 、 M21M3はメ毎りで
それヤれコント璽−ルブ■ツク。
An embodiment of the present invention will be described below in detail with reference to the drawings.The ninth diagram to explain this embodiment is a napkin diagram showing the CPU, 1 is the CPU, Ml, M21M3 are the main parts So, fuck that!

起動可能行列、資源管理テーブルを有している@メモリ
M1において、CBはコ/)ロールプ謬ツクで、資源の
種類を示す資i番−4SNOと使用可能な資源の現個数
GKと貸出しが禁止されると亀の資源の限界個数を示す
す建ツタカウンタLCとを偏見て−る。各フン)緯−ル
ブロックCBはそれぞれの資源Sを保有している。
In the @memory M1 that has an activation matrix and a resource management table, CB is a co/) role error, and the resource number-4SNO indicating the type of resource, the current number of usable resources GK, and lending is prohibited. If this occurs, the vine counter LC, which indicates the limit number of turtle resources, will be biased. Each block CB has its own resource S.

メ毫すM2において、@動可能行列RAQ嬬起動可能な
プログラムのリクエストブロックRBをリンクしている
・ メ峰W M 3 K&%Aで、資源管理テーブルBCT
社、資源番号8NO毎に対応するスーーダ?y4−ドア
2グ8DMFと起動不可能なブーグラムのリクエストプ
III F / RBをリンクし大処理待行列WQとを
有してなる。
In the message M2, @movable matrix RAQ 嬬 links the request block RB of the startable program. In the resource management table BCT
Company, Sudha corresponding to each resource number 8NO? It has a large processing queue WQ linking the y4-door 2g8DMF and the request program III F/RB of the boot program which cannot be activated.

次に本実施例の動作を以下に詳述する・まずあるブーグ
ラムに起動がかかると、そのプログラムに必INな資源
番号のスローダウン令−ドアラグSDMFを調べる。そ
ζでそのIIDMPがオフであれば、そのブーグラムは
資源を獲得できゐので、そのリクエストブーツクRBF
i起動可能行列RAQK’Jνりされる。
Next, the operation of this embodiment will be described in detail below. First, when a certain boo program is activated, the slowdown instruction-door flag SDMF of the resource number required for that program is checked. Then, if that IIDMP is off, that boogram cannot acquire resources, so its request boot disk RBF
The i activatable matrix RAQK'Jv is created.

起動可能行列RAQK9ン夕され*サクエストブ關ツク
RBのプログラムは、その先買のものから次*に8:I
yト闘−yプIFF/CIIK保有され1資aSを獲得
して実行に移される・ このGet−wり費に訃−ては、tずコン)g −ルブ
ーツクCBI)現値数GKを1個減じる。そしてそのG
Kとり建ットカクン/LCとを比験してGK≧LCの場
合は、コV)w−ルプーツクC1は資源8を貸出す。し
かしながらGK<LCの場合線、貸出さずに、資源管理
テーブルBCTの対応するスーーダウンモードフラグg
DMFをオンとし、そのリクエストプl”F/RBを処
理待行列WQKリンクする。
The startable matrix RAQK 9 has been created and the * request block RB program is 8:I from the pre-purchased one to next *
y to fight - y pu IFF/CIIK is held and 1 capital aS is acquired and put into action. decrease. And that G
If GK≧LC by comparing K and LC, C1 lends 8 resources. However, if GK<LC, the line is not lent, and the corresponding down mode flag g in the resource management table BCT is
Turn on the DMF and link the request ``F/RB'' to the processing queue WQK.

すなわちス四−ダウ篭−ドフ2グ8DMFをオンにする
ヒとは、その資源についてスローダウンの検出を行ない
通知を行なったことと等価である。
In other words, turning on the DMF is equivalent to detecting a slowdown for that resource and notifying it.

一方、あるプ冒グッムに起動がかかり九場合にに、その
ス■−ダクン毫−ドフクグ80MFがオンであれば、そ
のリクエストプt’ F / RBは処理待行列WQに
リンクされる。
On the other hand, if a certain program is activated and the program 80MF is on, the request program t'F/RB is linked to the processing queue WQ.

次に10グツムの走行が終了すると、起動時に獲得して
いえ資源Sをコント■−ルプ四ツクCBに返却する・そ
の時2、まず現個数GKを1個壇して、もし現個数GK
−リζットヵクンタLCであれば、その以前はスルーダ
ウンモート7 j /BDMFがオン状態でありたもの
であるから、SDMFをオフにもどして、処理待行列W
Qにリンクされて−る先頭のRBを起動可能行列RAQ
K’Jンクする・GK(LCであれば単に返却だけで他
には何4行なわなi。
Next, when the run of 10 Gutsumu is completed, the resource S obtained at the time of startup is returned to the control four-tsuku CB.
- If it is a reset LC, the through-down mode 7 j /BDMF was in the on state before that, so the SDMF is turned off and the processing queue W
The first RB linked to Q is activated matrix RAQ
K'Jink/GK (If it's LC, just return it and there's nothing else to do.

なおその時GK)I、Cの場合線通常の資源8t−獲得
できる状態であるが、GK<LCの場合4#)る、これ
辻、優先度の高いブーグラムに起動がかかつ九場合等で
はGK(LCにもかかわらず資源の貸出しが行なわれる
からである。
At that time, in the case of GK) I, C, the normal resource 8t can be obtained, but if GK < LC, 4#), this is the case, and in the case where a boot program with a high priority is activated and 9, etc., GK is available. (This is because resources are lent out despite LC.

このようにスは−ダクン嘩−ドアッグ80MFをオンか
らオフに切換える仁とは、その資源に9−てスローダウ
ンを解除することと等価てあ、る。
In this way, switching the 80MF from on to off is equivalent to canceling the slowdown using that resource.

以上a明したように本発明によれば、資aSヤリクエス
トプ闘ツクRBを資源毎に管理しているので資源を有効
に利用することができる。を九■得しようとした資源が
スローダウンとなりて−るプ冑グラ^だけがウェイト状
態になシ、他の資源を利用しているプログツム紘何ら影
譬を受は准−ので処塊速度が極端に遅くなることはな−
As explained above, according to the present invention, since the resource aS server request server RB is managed for each resource, the resources can be used effectively. Only the program that is trying to obtain 9 resources is slowed down and is not in a wait state, and the program that uses other resources is not subject to any influence, so the processing speed is slow. It won't be extremely slow.
.

4、  lil@f)簡単*** 図は本発明の一実施例を説明するためのプ讐ツク図であ
る。
4. lil@f) Simple *** The figure is a schematic diagram for explaining one embodiment of the present invention.

図中、1はCPU、Ml、M意、MSはメモリ。In the figure, 1 is the CPU, Ml, MI, and MS are the memories.

8社資源、8NOは資源番号、GKd現個数、LC紘り
電νトカクン#*CBはコント讃−ルツーy夕、RBは
リクエストプ諺ツク、RAQa起動可能行列、8DMF
はス胃−ダウンモード7ラダ。
8 company resources, 8NO is the resource number, GKd current quantity, LC Hiroden ν Tokakun#*CB is control praise, RB is request proverb, RAQa activation matrix, 8DMF
Has stomach-down mode 7 Lada.

WQは処理待行列、8CTは資源管理テーブルである。WQ is a processing queue, and 8CT is a resource management table.

Claims (1)

【特許請求の範囲】 プログラム走行中に各プログラムが使用するメモリ領域
等の資源を管理する制御方式において、種類別に該資源
をまとめ、該種類に対応する資源番号と、使用可能な資
源の現個数と、腋資@0貸出しが禁止される時1101
ill界個数を示すす電タトカクンーとを備えた=ント
買−ルプaツクが蚊資源O種類4Iに設けられ。 絨プ費グツム起動時の情報をもつリクエストプWy/(
)うち起動可tatyaダツムの替りエストプ四ツクを
リンクする起動可能行列が設叶られ、前記資源番号とそ
れに対応するス胃−ダクン毫−ド72グ及び処理待行列
を有する資源管理テーブルが設けられ、該処理待行列に
起動不可*!11にプ#グ2ムのリクエストブロックが
つながれ、使用可能な資gが残9ているか否かが腋ス胃
−ダクン毫−ドフツダのオフによ)示されてな〉、プロ
グラムの起動時に必要とする資源の該スローダウンそ−
ドフラグがオフの場合は、対応するリクエストブロック
を該起動可能行列にリンクし、オンの場合は対応する処
理待行列にリンクし、蚊起動可能行列にリンクされたリ
クエストブロックのプ■ダラムを起動して資源を獲得す
るとL必要な資源の該コントロールプEIIFりの現個
数を減じ、該現個数がリイットカウンタよシ小になると
対応するスローダウンモードフラグをオンにし、!J行
済のプログラムが資源を返却するとき、該コントロール
ブロックの現個数を増し、現個数がす々ットカウンタに
等しくなると対応するスローダウンモードフラグをオフ
にし、前記処理待行列にリンクされ九すクエストプ襲−
りを起動可能行列にリンクするようにしたことを特徴と
する資源管理制御方式0
[Claims] In a control method for managing resources such as memory areas used by each program while the program is running, the resources are grouped by type, and the resource number corresponding to the type and the current number of usable resources are determined. 1101 When armpit funds@0 lending is prohibited
A search loop is provided for each mosquito resource type 4I with an electric indicator indicating the number of mosquitoes in the world. Request page with information at the time of startup of carpet fee Gutum Wy/(
) of which an activatable matrix is provided that links the activatable estops, and a resource management table is provided which has the resource numbers and their corresponding resource numbers and processing queues. , Unable to start in the processing queue*! The program's request block is connected to 11, and it is indicated whether there are any resources left available (by turning off the armpits and stomach), which is necessary when the program starts. The slowdown of resources
If the flag is off, the corresponding request block is linked to the activation queue; if it is on, it is linked to the corresponding processing queue, and the module of the request block linked to the mosquito activation queue is activated. When a resource is acquired, the current number of required resources in the control panel is decreased, and when the current number is less than the reit counter, the corresponding slowdown mode flag is turned on, and ! When the executed program returns a resource, it increments the current number of the control block, turns off the corresponding slowdown mode flag when the current number is equal to the current counter, and returns the resource to the process queue. Attack
A resource management control method 0 characterized by linking resources to an activation enable matrix.
JP56111898A 1981-07-17 1981-07-17 Resource management control system Pending JPS5814258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP56111898A JPS5814258A (en) 1981-07-17 1981-07-17 Resource management control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP56111898A JPS5814258A (en) 1981-07-17 1981-07-17 Resource management control system

Publications (1)

Publication Number Publication Date
JPS5814258A true JPS5814258A (en) 1983-01-27

Family

ID=14572892

Family Applications (1)

Application Number Title Priority Date Filing Date
JP56111898A Pending JPS5814258A (en) 1981-07-17 1981-07-17 Resource management control system

Country Status (1)

Country Link
JP (1) JPS5814258A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4791829A (en) * 1985-03-19 1988-12-20 Kabushiki Kaisha Daikin Seisakusho Flywheel with dynamic damper

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4791829A (en) * 1985-03-19 1988-12-20 Kabushiki Kaisha Daikin Seisakusho Flywheel with dynamic damper

Similar Documents

Publication Publication Date Title
US7577823B2 (en) Wake-up and sleep conditions of processors in a multi-processor system
JP6089349B2 (en) Method and system for supporting resource separation in a multi-core architecture
US6697834B1 (en) Mutual exculsion system and method for restarting critical sections of code when preempted during a critical section
JP2016508647A5 (en)
JP2003131900A (en) Server system operation control method
WO2018096313A1 (en) Data processing
CN108885559A (en) Fast transfer workload among multiple processors
JPS5814258A (en) Resource management control system
JPS58197553A (en) Program monitor
JPS623366A (en) Multi-processor system
JP3862293B2 (en) Information processing method and apparatus
JP2693916B2 (en) Task scheduling method
JPH1139178A (en) Computer system and check point threading method in computer system
JPS62293331A (en) Data processor
JPH03240859A (en) Multiprocessor shared resource control system
JPH02216576A (en) Multi-processor control system
JPS63311442A (en) Multiple operating system
JP2566002B2 (en) Task dispatching method
JPS5931730B2 (en) Timer control method
JPS6011935A (en) Display device for action mode
JPH03231338A (en) Control system for memory dump area
CN118796379A (en) Thread creation method, device, equipment and computer program product
JPH02257249A (en) Information processing system
JPS62151942A (en) Task changing-over system
JP2578267B2 (en) Microcomputer system