JPH08263308A - Memory allocation management system - Google Patents

Memory allocation management system

Info

Publication number
JPH08263308A
JPH08263308A JP7062852A JP6285295A JPH08263308A JP H08263308 A JPH08263308 A JP H08263308A JP 7062852 A JP7062852 A JP 7062852A JP 6285295 A JP6285295 A JP 6285295A JP H08263308 A JPH08263308 A JP H08263308A
Authority
JP
Japan
Prior art keywords
allocation
memory
execution
limit value
additional
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
JP7062852A
Other languages
Japanese (ja)
Inventor
Masahiro Tomono
雅弘 友野
Masahiko Hayashi
正彦 林
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
NEC Solution Innovators Ltd
Original Assignee
NEC Corp
NEC Solution Innovators 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 NEC Corp, NEC Solution Innovators Ltd filed Critical NEC Corp
Priority to JP7062852A priority Critical patent/JPH08263308A/en
Publication of JPH08263308A publication Critical patent/JPH08263308A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prevent the processing delay of a process having high priority of execution by allocating the memory resource requests given from a process under execution with addition of the execution priority of the resources. CONSTITUTION: In a multiprocessor system where many processes of different levels of execution priority are processed in time division, a memory is allocated to the additional requests given to the memory resources from a process under execution. Then a memory allocation management system of such a constitution includes a limit decision table 1 which holds the limit value of every execution priority, a decision table production means 2 which sets the allocation limit value to a user prescribed value file 6 and expands it to the table 1, a decision table retrieval means 3 which retrieves the table 1 based on the execution priority of the process under execution when an allocation request is given from the process, and an allocation decision means 4 which monitors the using state of an additional allocation memory resource area 5 and compares the retrieved allocation limit value with the present memory remaining capacity to decide the possibility of its allocation.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はメモリ割り当て管理方式
に関し、特に実行優先度の異なる多数のプロセスを複数
のプロセッサで時分割で実行する計算機システムで、実
行中のプロセスからの要求に応じてメモリ資源の追加割
り当てを行う際のメモリ割り当て管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory allocation management system, and more particularly to a computer system in which a plurality of processors having different execution priorities are executed in a time-sharing manner in a memory system, and a memory is responsive to a request from a process being executed. The present invention relates to a memory allocation management method when additionally allocating resources.

【0002】[0002]

【従来の技術】最近のマルチプロセッサ方式の計算機シ
ステムにおいては、時分割で実行されるべきプロセス
(ユーザプロセス)の数が非常に多くなっているため、
メモリ資源を有効に使用する必要性から、システム全体
を管理するOSにより、各プロセスは図3に示すような
手順で制御されている。
2. Description of the Related Art In a recent multiprocessor type computer system, the number of processes (user processes) to be executed in a time-sharing manner is very large.
Due to the necessity of effectively using memory resources, each process is controlled by the procedure shown in FIG. 3 by the OS that manages the entire system.

【0003】まず、実行を待つプロセスの中から実行優
先度を参照して次に実行すべきプロセスが選択され(ス
テップS1)、実行に必要な基本的なメモリ資源の割り
当てが行われる(ステップS2)。ここで、選択された
プロセスが実行中断したプロセスの場合には、前回の実
行中断時点におけるメモリ状態を復元した後(ステップ
S3)、選択されたプロセス8に制御が渡されて実行が
開始される(ステップS4)。
First, a process to be executed next is selected from processes waiting for execution by referring to the execution priority (step S1), and basic memory resources necessary for execution are allocated (step S2). ). Here, if the selected process is a process whose execution has been interrupted, after the memory state at the time of the previous execution interrupt is restored (step S3), control is passed to the selected process 8 and execution is started. (Step S4).

【0004】実行中のプロセス8から追加メモリ資源の
割り当て要求が出されると(ステップS5)、追加メモ
リ資源管理部7が追加割り当て用メモリ資源領域の使用
状況を判断し、割り当てを行うか割り当て待ちとして実
行を中断させるかを決定する(ステップS6)。実行を
中断させる場合は、実行中のプロセス8から制御を戻し
て実行を中止させ(ステップS7)、実行中断時のメモ
リ状態をディスク等の補助記憶に退避させて保存した後
(ステップS8)、次のプロセスのために追加割り当て
分を含むメモリ資源を解放し(ステップS9)、当該プ
ロセス8をその実行優先度に応じて実行待ち行列に接続
し制御を終了する(ステップS10)。なお、中断され
たプロセスが再度選択された場合には、追加割り当て分
を含む必要なメモリ資源がステップS2で割り当てられ
る。
When a request for allocating an additional memory resource is issued from the running process 8 (step S5), the additional memory resource management section 7 judges the usage status of the memory resource area for additional allocation, and allocates or waits for allocation. Then, it is determined whether to suspend the execution (step S6). When interrupting the execution, control is returned from the executing process 8 to stop the execution (step S7), and the memory state at the time of interrupting the execution is saved and saved in an auxiliary storage such as a disk (step S8). The memory resource including the additional allocation for the next process is released (step S9), the process 8 is connected to the execution queue according to its execution priority, and the control is terminated (step S10). When the suspended process is selected again, necessary memory resources including the additional allocation are allocated in step S2.

【0005】一方、追加割り当てが実行されてプロセス
8が順調に終了した場合には、使用中のすべてのメモリ
を解放して制御を終了する(ステップS11)。実行中
に入出力の要因などで実行待ちとなる場合や(ステップ
S12)、時分割処理の単位時間がタイムアップとなり
処理が終了しなかった場合は(ステップS13)、ステ
ップS7に進みプロセス8の実行は中断される。なお、
追加メモリ資源管理部7には、実行中のプロセス8から
出される追加割り当てしたメモリ資源の解放要求を処理
する機能(ステップS14)が含まれている。
On the other hand, when the additional allocation is executed and the process 8 ends normally, all the memories in use are released and the control ends (step S11). If the execution waits due to factors such as input / output during execution (step S12), or if the unit time of the time division processing has timed up and processing has not ended (step S13), the process proceeds to step S7 and the process 8 is executed. Execution is suspended. In addition,
The additional memory resource management unit 7 includes a function (step S14) of processing a release request of the additionally allocated memory resource issued from the process 8 being executed.

【0006】上述した追加メモリ資源管理部7が行うメ
モリ割り当て管理方式としては、従来、追加割り当て用
メモリ資源領域に空き領域が存在する限り、先着順に割
り当てを行う方式が一般的である。すなわち、実行優先
度はプロセス選択時にのみ参照され、プロセス実行開始
後は意味を持たない構成となっている。従って、プロセ
スの実行中に、実行優先度の異なる二つのプロセスがほ
とんど同時にメモリ資源割り当てを要求した場合に、実
行優先度の低いプロセスが先に受け付けられると、もう
一方の実行優先度の高いプロセスは後に回されるため、
当該領域が飽和付近であれば実行優先度の高いプロセス
がメモリ資源割り当て待ちとなり実行を中断される欠点
がある。
As a memory allocation management method performed by the additional memory resource management unit 7 described above, a method of allocating memory on a first-come-first-served basis has been generally used so far as long as there is a free area in the memory resource area for additional allocation. That is, the execution priority is referenced only when a process is selected, and has no meaning after the start of process execution. Therefore, when two processes with different execution priorities request memory resource allocation at the same time during process execution, if the process with the lower execution priority is accepted first, the process with the higher execution priority will be accepted. Will be turned around later,
If the area is near saturation, there is a disadvantage that a process with a high execution priority waits for memory resource allocation and execution is interrupted.

【0007】なお、限定されたメモリ領域を複数の同種
の処理用途に割り当てる際に緊急度を考慮した例とし
て、特開平2―211743号公報に通信用バッファ制
御方式に関する提案がある。この方式は、通信用バッフ
ァ領域を共用領域と緊急領域とに二分割し、共用領域に
空きがある場合には先着順に共用領域のバッファを割り
当て、共用領域が飽和した場合には緊急通信に限り緊急
領域のバッファを割り当てるというものである。
As an example in which the degree of urgency is taken into consideration when allocating a limited memory area to a plurality of processing purposes of the same type, there is a proposal concerning a communication buffer control system in Japanese Patent Laid-Open No. 2-211743. This method divides the communication buffer area into a shared area and an emergency area, allocates the shared area buffer on a first-come-first-served basis when the shared area is available, and only when the shared area is saturated, it is limited to emergency communication. Allocating a buffer in the emergency area.

【0008】[0008]

【発明が解決しようとする課題】上述したように、実行
中プロセスからのメモリ資源の要求を先着順に処理する
従来のメモリ割り当て管理方式では、プロセス実行開始
後に実行優先度が意味を持たないため、実行優先度の高
いプロセスが後に回されてメモリ資源割り当て待ちとな
り実行が中断される欠点がある。一方、これを解決する
ために、特開平2―211743号公報記載の方法のよ
うに、メモリ資源領域をあらかじめ固定の複数の領域に
分割する方法は、通信用バッファの場合と異なり実行優
先度の区分が多く要求されるメモリ分量が固定でない条
件下では、制御を複雑化するのみならずメモリ資源に無
駄な領域が発生する難点がある。
As described above, in the conventional memory allocation management method that processes memory resource requests from running processes on a first-come-first-served basis, the execution priority has no meaning after the process execution is started. There is a drawback that a process with a high execution priority is sent to a later stage and waits for memory resource allocation, and execution is interrupted. On the other hand, in order to solve this, a method of dividing the memory resource area into a plurality of fixed areas in advance like the method described in Japanese Patent Laid-Open No. 2-211743 is different from the case of the communication buffer in that the execution priority Under the condition that the amount of memory required for many divisions is not fixed, there is a problem that not only the control becomes complicated but also a useless area occurs in the memory resource.

【0009】本発明の目的は、以上の点に鑑み、メモリ
資源を分割することなく、実行優先度に対応した優先処
理が実行でき、実行優先度の高いプロセスの実行遅延を
最小に抑えて円滑なプロセス実行環境を提供できるメモ
リ割り当て管理方式を提供することにある。
In view of the above points, an object of the present invention is to execute a priority process corresponding to an execution priority without dividing a memory resource, and to minimize the execution delay of a process having a high execution priority so that the process can be executed smoothly. It is to provide a memory allocation management method capable of providing a different process execution environment.

【0010】[0010]

【課題を解決するための手段】請求項1のメモリ割り当
て管理方式は、実行優先度の異なる多数のプロセスを複
数のプロセッサで時分割で実行する計算機システムで、
実行中のプロセスからの要求に応じてメモリ資源の追加
割り当てを行う際のメモリ割り当て管理方式において、
実行優先度ごとの割り当て限界値を保持する割り当て限
界判定テーブルと、実行優先度ごとの割り当て限界値を
設定して前記割り当て限界判定テーブルに格納する判定
テーブル作成手段と、実行中のプロセスからメモリ資源
の割り当て要求が出されたとき当該プロセスの実行優先
度で前記割り当て限界判定テーブルを検索する判定テー
ブル検索手段と、前記判定テーブル検索手段により検索
された割り当て限界値と現在の追加割り当て用メモリ資
源領域の使用状況とから要求プロセスに割り当て可能か
否かを判断する割り当て判断手段とを備えて構成されて
いる。
A memory allocation management system according to a first aspect of the present invention is a computer system in which a large number of processes having different execution priorities are time-shared by a plurality of processors.
In the memory allocation management method when allocating additional memory resources in response to a request from a running process,
An allocation limit judgment table that holds the allocation limit value for each execution priority, a judgment table creating unit that sets the allocation limit value for each execution priority and stores it in the allocation limit judgment table, and a memory resource from the process being executed. Determination table search means for searching the allocation limit determination table with the execution priority of the process when the allocation request is issued, the allocation limit value retrieved by the determination table search means, and the current additional allocation memory resource area And an allocation determining means for determining whether or not the request process can be allocated based on the usage status of the.

【0011】請求項2のメモリ割り当て管理方式は、請
求項1記載のメモリ割り当て管理方式において、前記割
り当て限界判定テーブルに格納される割り当て限界値
が、割り当て実行後の前記追加割り当て用メモリ資源領
域のメモリ残量を百分率で表示した値であり、前記割り
当て判断手段は前記追加割り当て用メモリ資源領域の使
用状況から割り当て後のメモリ残量の百分率を算出して
比較することを特徴としている。
According to a second aspect of the memory allocation management method of the present invention, in the memory allocation management method of the first aspect, the allocation limit value stored in the allocation limit determination table is the memory resource area for additional allocation after execution of allocation. It is a value indicating the remaining amount of memory as a percentage, and the allocation determination means calculates and compares the percentage of the remaining amount of memory after allocation from the usage status of the memory resource area for additional allocation.

【0012】請求項3のメモリ割り当て管理方式は、請
求項1記載のメモリ割り当て管理方式において、前記割
り当て限界判定テーブルに格納される割り当て限界値
が、割り当て実行前の前記追加割り当て用メモリ資源領
域のメモリ残量の百分率であることを特徴としている。
A memory allocation management method according to a third aspect is the memory allocation management method according to the first aspect, wherein the allocation limit value stored in the allocation limit determination table is the memory resource area for additional allocation before allocation execution. It is characterized by the percentage of remaining memory.

【0013】請求項4のメモリ割り当て管理方式は、請
求項1記載のメモリ割り当て管理方式において、前記割
り当て限界判定テーブルに格納される割り当て限界値
が、前記追加割り当て用メモリ資源領域のメモリ残量を
表す実数値であることを特徴としている。
According to a fourth aspect of the memory allocation management system of the present invention, in the memory allocation management system of the first aspect, the allocation limit value stored in the allocation limit determination table indicates the remaining memory capacity of the additional allocation memory resource area. It is characterized by being a real number.

【0014】[0014]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0015】図1は本発明の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【0016】本実施例のメモリ割り当て管理方式は、実
行優先度の異なる多数のプロセスを複数のプロセッサで
時分割で実行する計算機システムで、実行中のプロセス
からの要求に応じてメモリ資源の追加割り当てを行う際
のメモリ割り当て管理方式であって、図1に示すよう
に、実行優先度ごとの割り当て限界値を保持する割り当
て限界判定テーブル1と、実行優先度ごとの割り当て限
界値を設定し割り当て限界判定テーブル1に格納する判
定テーブル作成手段2と、実行中のプロセスからメモリ
資源の割り当て要求を受け当該プロセスの実行優先度で
割り当て限界判定テーブル1を検索する判定テーブル検
索手段3と、判定テーブル検索手段3により検索された
割り当て限界値と追加割り当て用メモリ資源領域5の使
用状況とから要求プロセスに対してメモリ割り当てが可
能か否かを判断する割り当て判断手段4とを備えてい
る。
The memory allocation management system of this embodiment is a computer system in which multiple processes having different execution priorities are executed by a plurality of processors in a time-sharing manner, and additional memory resources are allocated in response to a request from a process being executed. As shown in FIG. 1, an allocation limit determination table 1 for holding the allocation limit value for each execution priority, and an allocation limit value for each execution priority are set. A judgment table creating means 2 for storing in the judgment table 1, a judgment table searching means 3 for searching the allocation limit judgment table 1 with the execution priority of the process in response to a memory resource allocation request from a process being executed, and a judgment table search Based on the allocation limit value retrieved by the means 3 and the usage status of the additional allocation memory resource area 5, And a allocation determining means 4 for determining whether the memory allocation possible for Seth.

【0017】図2は、割り当て限界判定テーブル1の構
成例を示す説明図である。割り当て限界判定テーブル1
には、図2に示すように、実行優先度と対応して追加メ
モリ資源の割り当てを実行するか否かを判定する際の判
定基準である割り当て限界値が格納されている。図2に
は、「1」から「10」までの10段階の実行優先度に
対して、判定基準となるメモリ残量が追加割り当て用メ
モリ資源領域5の全容量に対する百分率を表す整数で表
示されている。なお、図2の場合の数値は、追加要求さ
れたメモリを割り当てた後のメモリ残量を示し、最も優
先度が高い実行優先度「10」の場合の0%は、メモリ
資源に余裕がある限り割り当てを行うことを示してい
る。
FIG. 2 is an explanatory diagram showing a configuration example of the allocation limit determination table 1. Allocation limit judgment table 1
As shown in FIG. 2, an allocation limit value, which is a criterion for determining whether or not to execute the allocation of the additional memory resource in correspondence with the execution priority, is stored in the table. In FIG. 2, the remaining memory capacity which is the criterion for 10 levels of execution priority from “1” to “10” is displayed as an integer representing the percentage of the total capacity of the additional allocation memory resource area 5. ing. Note that the numerical values in the case of FIG. 2 indicate the remaining memory capacity after allocating the memory requested for addition, and 0% in the case of the execution priority “10”, which has the highest priority, has a sufficient memory resource. As long as it shows that allocation is done.

【0018】判定テーブル作成手段2は、割り当て限界
判定テーブル1に格納する割り当て限界値をあらかじめ
利用者規定値ファイル6に設定し、システム運用開始に
際して、設定された割り当て限界値を利用者規定値ファ
イル6から割り当て限界判定テーブル1に展開する。利
用者規定値ファイル6の割り当て限界値は、システム内
に存在する各実行優先度ごとのプロセス数の統計量等か
ら、主に運用管理者により設定される。
The judgment table creating means 2 sets the allocation limit values stored in the allocation limit judgment table 1 in the user specified value file 6 in advance, and at the start of system operation, the set allocation limit values are set in the user specified value file. 6 is expanded to the allocation limit determination table 1. The allocation limit value of the user specified value file 6 is mainly set by the operation administrator from the statistic of the number of processes for each execution priority existing in the system.

【0019】判定テーブル検索手段3は、実行中プロセ
スから追加メモリ割り当て要求を受けたとき、要求元プ
ロセスの実行優先度を取得して割り当て限界判定テーブ
ル1を検索し、当該実行優先度に対応する割り当て限界
値を取得して割り当て判断手段4に渡す。
When receiving the additional memory allocation request from the process being executed, the judgment table search means 3 acquires the execution priority of the requesting process and searches the allocation limit judgment table 1 to correspond to the execution priority. The allocation limit value is acquired and passed to the allocation determination means 4.

【0020】割り当て判断手段4は、追加割り当て用メ
モリ資源領域5の使用状態を監視しており、メモリ要求
を受けると現在の追加割り当て用メモリ資源領域5の使
用状態から割り当て後のメモリ残量値(%)を算出し、
判定テーブル検索手段3から取得した割り当て限界値
(%)とを比較し、割り当て実施後のメモリ残量値が割
り当て限界値より大きいか等しい場合にはメモリ割り当
てを実行し、割り当て限界値よりも小さければ割り当て
を行わず、メモリ割り当て待ちとして当該プロセスの実
行を中断させる。
The allocation determining means 4 monitors the usage state of the additional allocation memory resource area 5, and when a memory request is received, the remaining memory value after allocation is determined from the current usage status of the additional allocation memory resource area 5. (%) Is calculated,
The allocation limit value (%) acquired from the determination table search means 3 is compared, and if the remaining memory value after the allocation is greater than or equal to the allocation limit value, memory allocation is executed and the allocation limit value is smaller than the allocation limit value. For example, the allocation is not performed and the execution of the process is suspended by waiting for the memory allocation.

【0021】例えば、割り当て限界判定テーブル1に図
2に示す数値が設定されていた場合に、実行優先度
「4」で実行中のプロセスから追加メモリ資源の割り当
て要求が出されたとする。このとき、まず、判定テーブ
ル検索手段3が割り当て限界判定テーブル1を検索し、
実行優先度「4」に対応するメモリ残量「12%」を割
り当て限界値として取得する。割り当て判断手段4は、
追加割り当て用メモリ資源領域5の使用状態を監視して
おり、そのときの割り当て可能な未使用のメモリ残量が
20%で判定テーブル検索手段3が取得したメモリ残量
の12%より大きければ、これを基にして要求されたメ
モリ資源の割り当てを実行した場合のメモリ残量(X
%)を算出し、これと判定テーブル検索手段3が取得し
た割り当て限界値の12%とを比較し、X≧12であれ
ば割り当て可能と判断して要求元プロセスへメモリ資源
の割り当てを行う。逆に、X<12となった場合および
要求時現在のメモリ残量が例えば10%で12%より小
さい場合には、割り当て不可の判断となり同プロセスの
実行を中断させる。
For example, when the numerical values shown in FIG. 2 are set in the allocation limit judgment table 1, it is assumed that a process executing with the execution priority "4" issues a request for allocation of additional memory resources. At this time, first, the determination table search means 3 searches the allocation limit determination table 1,
The remaining memory capacity "12%" corresponding to the execution priority "4" is acquired as the allocation limit value. The allocation determination means 4 is
The use state of the additional allocation memory resource area 5 is monitored, and if the unused remaining memory capacity that can be allocated at that time is 20% and is larger than 12% of the remaining memory capacity acquired by the determination table search means 3, Based on this, the remaining memory capacity (X
%) Is calculated, and this is compared with 12% of the allocation limit value acquired by the determination table search means 3, and if X ≧ 12, it is determined that allocation is possible, and memory resources are allocated to the requesting process. On the other hand, when X <12 and the current remaining memory capacity at the time of request is, for example, 10% and less than 12%, it is determined that the allocation is impossible and the execution of the process is interrupted.

【0022】この方式によると、実行優先度ごとに追加
メモリ資源の割り当てを制限できることから、きめ細か
いメモリ資源の割り当て制御が可能となり、実行優先度
の高いプロセスが追加メモリ資源の割り当て待ちで実行
を中断されることが避けられる。又、追加割り当て用メ
モリ資源領域5を分割することなく利用できるため、無
駄な未使用領域が発生することなく全領域を有効に活用
できることになる。
According to this method, since the allocation of the additional memory resource can be limited for each execution priority, it is possible to finely control the allocation of the memory resource, and the process with the high execution priority suspends the execution while waiting for the allocation of the additional memory resource. It is possible to avoid being done. Moreover, since the additional allocation memory resource area 5 can be used without being divided, the entire area can be effectively used without generating a wasteful unused area.

【0023】上述の実施例においては、割り当て限界判
定テーブルには要求されたメモリ資源の割り当て後のメ
モリ残量を%表示するものとしたが、割り当て要求時の
メモリ残量を%表示し、要求時現在のメモリ残量がこれ
以上で要求量の割り当てが可能な場合に割り当てを実行
するようにしてもよい。又、%でなく実際のメモリ残量
で定義するように構成しても同様な効果が得られる。
In the above-described embodiment, the allocation limit determination table displays the remaining memory amount after the allocation of the requested memory resource in%. However, the remaining memory amount at the time of the allocation request is displayed in%, and The allocation may be performed when the remaining memory capacity at that time is larger than this and the requested amount can be allocated. Further, the same effect can be obtained even if the configuration is such that the actual remaining memory amount is defined instead of%.

【0024】[0024]

【発明の効果】以上説明したように、本発明のメモリ割
り当て管理方式は、実行中プロセスからの追加メモリ資
源の割り当て要求に際し、要求元プロセスの実行優先度
から定まる割り当て限界値と要求時現在のメモリ残量と
を比較し、メモリ資源の割り当て又は実行中断の処理を
選択的に行うため、実行優先度の高いプロセスがメモリ
資源割り当て待ちで処理を遅延される状態を減らす効果
がある。
As described above, according to the memory allocation management method of the present invention, when a request for allocation of additional memory resources is issued from an executing process, the allocation limit value determined from the execution priority of the requesting process and the current request time Since the memory remaining amount is compared and the process of allocating the memory resource or the process of suspending the execution is selectively performed, it is effective in reducing the state in which the process having a high execution priority is delayed in the process of waiting for the memory resource allocation.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本実施例の割り当て限界判定テーブルの構成を
示す説明図である。
FIG. 2 is an explanatory diagram showing a configuration of an allocation limit determination table according to the present embodiment.

【図3】実行中プロセスからの追加メモリ割り当て要求
に関する全体の手順を示す流れ図である。
FIG. 3 is a flowchart showing an entire procedure regarding an additional memory allocation request from a running process.

【符号の説明】[Explanation of symbols]

1 割り当て限界判定テーブル 2 判定テーブル作成手段 3 判定テーブル検索手段 4 割り当て判断手段 5 追加割り当て用メモリ資源領域 6 利用者規定値ファイル 7 追加メモリ資源管理部 8 プロセス 1 Allocation Limit Judgment Table 2 Judgment Table Creation Means 3 Judgment Table Search Means 4 Allocation Judgment Means 5 Additional Allocation Memory Resource Area 6 User Specified Value File 7 Additional Memory Resource Management Unit 8 Process

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 実行優先度の異なる多数のプロセスを複
数のプロセッサで時分割で実行する計算機システムで、
実行中のプロセスからの要求に応じてメモリ資源の追加
割り当てを行う際のメモリ割り当て管理方式において、
実行優先度ごとの割り当て限界値を保持する割り当て限
界判定テーブルと、実行優先度ごとの割り当て限界値を
設定して前記割り当て限界判定テーブルに格納する判定
テーブル作成手段と、実行中のプロセスからメモリ資源
の割り当て要求が出されたとき当該プロセスの実行優先
度で前記割り当て限界判定テーブルを検索する判定テー
ブル検索手段と、前記判定テーブル検索手段により検索
された割り当て限界値と現在の追加割り当て用メモリ資
源領域の使用状況とから要求プロセスに割り当て可能か
否かを判断する割り当て判断手段とを備えたことを特徴
とするメモリ割り当て管理方式。
1. A computer system in which a large number of processes having different execution priorities are executed by a plurality of processors in a time-sharing manner,
In the memory allocation management method when allocating additional memory resources in response to a request from a running process,
An allocation limit judgment table that holds the allocation limit value for each execution priority, a judgment table creating unit that sets the allocation limit value for each execution priority and stores it in the allocation limit judgment table, and a memory resource from the process being executed. Determination table search means for searching the allocation limit determination table with the execution priority of the process when the allocation request is issued, the allocation limit value retrieved by the determination table search means, and the current additional allocation memory resource area A memory allocation management method, comprising: an allocation judgment means for judging whether or not allocation is possible to a requested process based on the usage status of the memory.
【請求項2】 前記割り当て限界判定テーブルに格納さ
れる割り当て限界値が、割り当て実行後の前記追加割り
当て用メモリ資源領域のメモリ残量を百分率で表示した
値であり、前記割り当て判断手段は前記追加割り当て用
メモリ資源領域の使用状況から割り当て後のメモリ残量
の百分率を算出して比較することを特徴とする請求項1
記載のメモリ割り当て管理方式。
2. The allocation limit value stored in the allocation limit determination table is a value indicating the remaining memory capacity of the memory resource area for additional allocation after execution of allocation as a percentage, and the allocation determination means is the addition The percentage of the remaining memory capacity after allocation is calculated from the usage status of the allocation memory resource area and compared.
Memory allocation management method described.
【請求項3】 前記割り当て限界判定テーブルに格納さ
れる割り当て限界値が、割り当て実行前の前記追加割り
当て用メモリ資源領域のメモリ残量の百分率であること
を特徴とする請求項1記載のメモリ割り当て管理方式。
3. The memory allocation according to claim 1, wherein the allocation limit value stored in the allocation limit determination table is a percentage of the remaining memory capacity of the additional allocation memory resource area before the allocation is executed. Management method.
【請求項4】 前記割り当て限界判定テーブルに格納さ
れる割り当て限界値が、前記追加割り当て用メモリ資源
領域のメモリ残量を表す実数値であることを特徴とする
請求項1記載のメモリ割り当て管理方式。
4. The memory allocation management method according to claim 1, wherein the allocation limit value stored in the allocation limit determination table is a real value representing the remaining memory capacity of the additional allocation memory resource area. .
JP7062852A 1995-03-22 1995-03-22 Memory allocation management system Pending JPH08263308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7062852A JPH08263308A (en) 1995-03-22 1995-03-22 Memory allocation management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7062852A JPH08263308A (en) 1995-03-22 1995-03-22 Memory allocation management system

Publications (1)

Publication Number Publication Date
JPH08263308A true JPH08263308A (en) 1996-10-11

Family

ID=13212260

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7062852A Pending JPH08263308A (en) 1995-03-22 1995-03-22 Memory allocation management system

Country Status (1)

Country Link
JP (1) JPH08263308A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154391A (en) * 2019-03-18 2020-09-24 富士ゼロックス株式会社 Information processing system and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58222350A (en) * 1982-06-18 1983-12-24 Nec Corp Multiplex processing system
JPS61276041A (en) * 1985-05-31 1986-12-06 Fujitsu Ltd Use control system for main memory shared working area
JPH01175050A (en) * 1987-12-28 1989-07-11 Omron Tateisi Electron Co Memory controller
JPH05241861A (en) * 1992-02-28 1993-09-21 Nec Corp Free memory management system for operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58222350A (en) * 1982-06-18 1983-12-24 Nec Corp Multiplex processing system
JPS61276041A (en) * 1985-05-31 1986-12-06 Fujitsu Ltd Use control system for main memory shared working area
JPH01175050A (en) * 1987-12-28 1989-07-11 Omron Tateisi Electron Co Memory controller
JPH05241861A (en) * 1992-02-28 1993-09-21 Nec Corp Free memory management system for operating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020154391A (en) * 2019-03-18 2020-09-24 富士ゼロックス株式会社 Information processing system and program

Similar Documents

Publication Publication Date Title
JP3678414B2 (en) Multiprocessor system
US8793695B2 (en) Information processing device and information processing method
US7784053B2 (en) Management of virtual machines to utilize shared resources
US6223201B1 (en) Data processing system and method of task management within a self-managing application
US6560628B1 (en) Apparatus, method, and recording medium for scheduling execution using time slot data
US6006247A (en) Method and system for scheduling threads and handling exceptions within a multiprocessor data processing system
US20090083746A1 (en) Method for job management of computer system
KR101651871B1 (en) Job Allocation Method on Multi-core System and Apparatus thereof
JPH10283211A (en) Processor resource management method for multi-system environment
US7882488B2 (en) Software tool for synthesizing a real-time operating system
US5568635A (en) Physical memory allocation system, program execution scheduling system, and information processor
JPH1055284A (en) Method and system for scheduling thread
CN114461365A (en) Process scheduling processing method, device, equipment and storage medium
CN114816709A (en) Task scheduling method, device, server and readable storage medium
JP2000056992A (en) Task scheduling system, its method and recording medium
Horowitz A run-time execution model for referential integrity maintenance
JPH08263308A (en) Memory allocation management system
JP2008225641A (en) Computer system, interrupt control method and program
JP3227069B2 (en) I / O processing system
JP2900438B2 (en) File recall method
CN113032098B (en) Virtual machine scheduling method, device, equipment and readable storage medium
JP2001142723A (en) Resource allocating method, computer system, and recording medium
JP2004234643A (en) Process scheduling device, process scheduling method, program for process scheduling, and storage medium recorded with program for process scheduling
JPH08314740A (en) Process dispatch method
JPH10312297A (en) Resource managing method, resource managing device and recording medium for information processing system having multi-task function

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970520