[go: up one dir, main page]

JP2874571B2 - Memory management device - Google Patents

Memory management device

Info

Publication number
JP2874571B2
JP2874571B2 JP6309384A JP30938494A JP2874571B2 JP 2874571 B2 JP2874571 B2 JP 2874571B2 JP 6309384 A JP6309384 A JP 6309384A JP 30938494 A JP30938494 A JP 30938494A JP 2874571 B2 JP2874571 B2 JP 2874571B2
Authority
JP
Japan
Prior art keywords
memory
task
request
tasks
type
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
JP6309384A
Other languages
Japanese (ja)
Other versions
JPH08166888A (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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6309384A priority Critical patent/JP2874571B2/en
Publication of JPH08166888A publication Critical patent/JPH08166888A/en
Application granted granted Critical
Publication of JP2874571B2 publication Critical patent/JP2874571B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明はメモリ管理装置に関し、
特にマルチタスクOS(OperatingSyste
m)のメモリ管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory management device,
In particular, a multitasking OS (OperatingSystem)
m) relates to the memory management method.

【0002】[0002]

【従来の技術】従来、この種のメモリ管理方式において
は、アクセス速度の異なる複数種類のメモリが実装され
かつマルチタスクOSによって動作するコンピュータシ
ステムに用いられる場合、マルチタスクOSによって各
タスクからのメモリゲット要求を早いもの順に受付けて
それら複数種類のメモリ各々に対する割当てを行ってい
る。
2. Description of the Related Art Conventionally, in this type of memory management system, when a plurality of types of memories having different access speeds are mounted and used in a computer system operated by a multitasking OS, the memory from each task is stored by the multitasking OS. Get requests are received in the order of earliest, and allocation to each of these plural types of memories is performed.

【0003】ここで、複数種類のメモリとしてはローカ
ルバスに接続されているローカルメモリのような高速メ
モリ、あるいはシステムバスに接続されているメインメ
モリのような低速メモリ等がある。
Here, the plural types of memories include a high-speed memory such as a local memory connected to a local bus, and a low-speed memory such as a main memory connected to a system bus.

【0004】すなわち、図9に示すように、ローカルメ
モリの残量が100KBで、メインメモリの残量が20
0KBの時にタスクaから「メモリ種別=ローカルメモ
リ,メモリ容量=50KB」のメモリゲット要求23が
送られてくると、マルチタスクOSはそのメモリゲット
要求23に基づいてタスクaにローカルメモリを50K
B割当て、割当てが終了したことを正常終了通知23’
でタスクaに通知する。このとき、ローカルメモリの残
量は50KBとなり、メインメモリの残量は200KB
のままである。
That is, as shown in FIG. 9, the remaining capacity of the local memory is 100 KB and the remaining capacity of the main memory is 20 KB.
When a memory get request 23 of “memory type = local memory, memory capacity = 50 KB” is sent from task a at 0 KB, the multitask OS allocates 50 K of local memory to task a based on the memory get request 23.
B assignment, normal end notification 23 'indicating that the assignment has been completed
To notify task a. At this time, the remaining capacity of the local memory is 50 KB, and the remaining capacity of the main memory is 200 KB.
Remains.

【0005】続いて、タスクaから「メモリ種別=ロー
カルメモリ,メモリ容量=15KB」のメモリゲット要
求24が送られてくると、マルチタスクOSはそのメモ
リゲット要求24に基づいてタスクaにローカルメモリ
を15KB割当て、割当てが終了したことを正常終了通
知24’でタスクaに通知する。このとき、ローカルメ
モリの残量は35KBとなり、メインメモリの残量は2
00KBのままである。
Subsequently, when a memory get request 24 of “memory type = local memory, memory capacity = 15 KB” is sent from the task a, the multitask OS sends a local memory to the task a based on the memory get request 24. Is assigned to the task a by the normal end notification 24 '. At this time, the remaining capacity of the local memory is 35 KB, and the remaining capacity of the main memory is 2 KB.
It remains at 00 KB.

【0006】また、タスクaから「メモリ種別=メイン
メモリ,メモリ容量=150KB」のメモリゲット要求
25が送られてくると、マルチタスクOSはそのメモリ
ゲット要求25に基づいてタスクaにメインメモリを1
50KB割当て、割当てが終了したことを正常終了通知
25’でタスクaに通知する。このとき、ローカルメモ
リの残量は35KBであり、メインメモリの残量は50
KBとなる。
When a memory get request 25 of “memory type = main memory, memory capacity = 150 KB” is sent from the task a, the multitask OS sends the main memory to the task a based on the memory get request 25. 1
The task a is notified by the normal end notification 25 'that the 50 KB has been allocated and the allocation has been completed. At this time, the remaining capacity of the local memory is 35 KB, and the remaining capacity of the main memory is 50 KB.
KB.

【0007】さらに、タスクcから「メモリ種別=メイ
ンメモリ,メモリ容量=20KB」のメモリゲット要求
26が送られてくると、マルチタスクOSはそのメモリ
ゲット要求26に基づいてタスクcにメインメモリを2
0KB割当て、割当てが終了したことを正常終了通知2
6’でタスクcに通知する。このとき、ローカルメモリ
の残量は35KBであり、メインメモリの残量は30K
Bとなる。
Further, when a memory get request 26 of “memory type = main memory, memory capacity = 20 KB” is sent from the task c, the multitask OS assigns the main memory to the task c based on the memory get request 26. 2
0KB allocation, normal end notification 2 that allocation has been completed
At 6 ', task c is notified. At this time, the remaining capacity of the local memory is 35 KB, and the remaining capacity of the main memory is 30 KB.
B.

【0008】さらにまた、タスクcから「メモリ種別=
メインメモリ,メモリ容量=10KB」のメモリゲット
要求27が送られてくると、マルチタスクOSはそのメ
モリゲット要求27に基づいてタスクcにメインメモリ
を10KB割当て、割当てが終了したことを正常終了通
知27’でタスクcに通知する。このとき、ローカルメ
モリの残量は35KBであり、メインメモリの残量は2
0KBとなる。
Further, from task c, “memory type =
When the memory get request 27 of “main memory, memory capacity = 10 KB” is sent, the multitask OS allocates 10 KB of the main memory to the task c based on the memory get request 27 and notifies the end of the normal termination of the allocation. At 27 ', the task c is notified. At this time, the remaining capacity of the local memory is 35 KB, and the remaining capacity of the main memory is 2 KB.
It becomes 0 KB.

【0009】この状態で、タスクiから「メモリ種別=
ローカルメモリ,メモリ容量=80KB」のメモリゲッ
ト要求28が送られてくると、マルチタスクOSはその
メモリゲット要求28に基づいてタスクiにローカルメ
モリを80KB割当てようとするが、ローカルメモリの
残量が35KBなのでメモリ割当て不可となってメモリ
の割当てが行えないため、メモリ不足エラーを異常終了
通知28’でタスクiに通知する。
In this state, from task i, “memory type =
When the memory get request 28 of “local memory, memory capacity = 80 KB” is sent, the multitask OS attempts to allocate 80 KB of local memory to the task i based on the memory get request 28, but the remaining amount of local memory is Is 35 KB, the memory allocation becomes impossible and the memory cannot be allocated. Therefore, a memory shortage error is notified to the task i by the abnormal end notification 28 ′.

【0010】また、この状態で、タスクnから「メモリ
種別=メインメモリ,メモリ容量=40KB」のメモリ
ゲット要求29が送られてくると、マルチタスクOSは
そのメモリゲット要求29に基づいてタスクnにメイン
メモリを40KB割当てようとするが、メインメモリの
残量が20KBなのでメモリ割当て不可となってメモリ
の割当てが行えないため、メモリ不足エラーを異常終了
通知29’でタスクnに通知する。
Further, in this state, when a memory get request 29 of “memory type = main memory, memory capacity = 40 KB” is sent from the task n, the multitask OS sends the task n based on the memory get request 29. In this case, the main memory is allocated to 40 KB, but the remaining memory of the main memory is 20 KB, so that the memory cannot be allocated and the memory cannot be allocated. Therefore, the task n is notified of the memory shortage error with the abnormal end notification 29 ′.

【0011】[0011]

【発明が解決しようとする課題】上述した従来のメモリ
管理方式では、各タスクからのメモリゲット要求を早い
もの順に受付けてそれら複数種類のメモリ各々に対する
割当てを行っているので、例えば高速動作を必要としな
いタスクが先に高速メモリを占有してしまうと、高速動
作が必要なタスクが高速メモリを後からゲットしようと
しても、そのタスクが高速メモリをゲットすることがで
きないために、システムスループットの低下を招くこと
がある。
In the conventional memory management system described above, memory get requests from each task are received in the order of earliest and assigned to each of the plurality of types of memories. If the tasks that do not occupy the high-speed memory first, even if the task that needs high-speed operation tries to get the high-speed memory later, the task cannot get the high-speed memory, and the system throughput will decrease. May be invited.

【0012】また、あるタスクが高速メモリを一定容量
以上確保できずに動作できなくなっても、このシステム
スループットを保証できない事態が発生したことを通知
することができない。
Further, even if a certain task cannot operate without securing a high-speed memory of a certain capacity or more, it cannot be notified that a situation in which the system throughput cannot be guaranteed has occurred.

【0013】さらに、各タスクからマルチタスクOSへ
のメモリゲット要求は1種類のメモリに限定されてお
り、指定した種類のメモリが割当てられなかった場合に
代替として割当てるメモリを指定することができない。
Furthermore, a memory get request from each task to the multitask OS is limited to one type of memory, and if a specified type of memory cannot be allocated, a memory to be allocated as a substitute cannot be specified.

【0014】さらにまた、従来のメモリ管理方式では、
各タスク毎に割当て可能なメモリ容量の上限値を定めて
いないため、特定のタスクのみが特定種類のメモリを占
有してしまうことがある。
Further, in the conventional memory management method,
Since the upper limit of the memory capacity that can be allocated to each task is not defined, only a specific task may occupy a specific type of memory.

【0015】そこで、本発明の目的は上記の問題点を解
消し、各タスクへのメモリ割当てを優先度順に行うこと
ができるメモリ管理装置を提供することにある。
An object of the present invention is to solve the above-mentioned problems and to provide a memory management device capable of allocating memory to each task in order of priority.

【0016】また、本発明の他の目的は、特定のタスク
のみが特定種類のメモリを占有してしまうのを防止する
ことができるメモリ管理装置を提供することにある。
Another object of the present invention is to provide a memory management device which can prevent only a specific task from occupying a specific type of memory.

【0017】さらに、本発明の別の目的は、あるタスク
が高速メモリを一定容量以上確保できずに動作できなく
なり、システムスループットを保証できない事態が発生
するようなときでもメモリ不足を検出して通知すること
ができるメモリ管理装置を提供することにある。
Still another object of the present invention is to detect and notify a memory shortage even when a certain task cannot operate because a certain amount of high-speed memory cannot be secured beyond a certain capacity and system throughput cannot be guaranteed. It is an object of the present invention to provide a memory management device capable of performing such operations.

【0018】さらにまた、本発明のさらに別の目的は、
指定した種類のメモリが割当てられなかった場合に代替
として他のメモリを割当てることができるメモリ管理装
置を提供することにある。
[0018] Still another object of the present invention is to provide:
It is an object of the present invention to provide a memory management device that can allocate another memory as an alternative when a specified type of memory is not allocated.

【0019】[0019]

【課題を解決するための手段】本発明によるメモリ管理
装置は、複数のタスクからのメモリゲット要求に対して
アクセス速度の異なる複数種類のメモリ各々への割当て
を行うメモリ管理装置であって、前記タスクがメモリゲ
ットを行うか否かを示す情報を前記複数のタスク各々に
対応して格納するメモリゲットフラグと、前記タスクが
全てのメモリゲット要求を発行済みか否かを示す情報を
前記複数のタスク各々に対応して格納するコミットメン
トフラグと、前記複数のタスクからのメモリゲット要求
に対して前記複数種類のメモリ各々への割当てを行う際
に前記メモリゲットフラグ及び前記コミットメントフラ
グ各々の内容を基に前記メモリゲットを行うタスク各々
から前記メモリゲット要求が全て発行されたか否かを検
出する検出手段と、前記検出手段で前記メモリゲット要
求が全て発行されたことが検出された時に前記複数のタ
スク各々のメモリゲット要求に付与されかつ要求先のメ
モリに対する優先度を示す優先情報を基に前記複数のタ
スク各々へのメモリ割当てを行う割当て手段とを備えて
いる。
The memory management apparatus according to the present invention SUMMARY OF] is a memory management unit which performs assignment to a plurality of types of memories each having different access speed to the memory get requests from a plurality of tasks, the Task is memory
Information indicating whether or not to perform
The memory get flag to be stored correspondingly, and the task
Information indicating whether all memory get requests have been issued
Commit members stored for each of the plurality of tasks
Flag and memory get request from the plurality of tasks
When assigning to each of the above-mentioned types of memory
The memory get flag and the commitment flag
Detecting means for detecting whether all of the memory get requests have been issued from each of the tasks for performing the memory get based on the contents of each of the memory get requests, and detecting that all of the memory get requests have been issued by the detecting means. Allocating means for allocating a memory to each of the plurality of tasks based on priority information which is given to the memory get request of each of the plurality of tasks when the request is issued and indicates a priority to the requested memory.

【0020】本発明による他のメモリ管理装置は、上記
の構成のほかに、前記複数のタスク各々に割当てられた
メモリへのメモリゲット要求時に付与された優先情報の
合計が前記複数のタスク各々に予め設定された前記メモ
リに対する優先度の初期値を越えたか否かを判定する手
段と、前記優先度の初期値を越えたと判定された時にそ
のタスクに対するメモリの割当てを抑止する手段とを具
備している。
In another memory management device according to the present invention, in addition to the above configuration, the sum of priority information given at the time of a memory get request to a memory allocated to each of the plurality of tasks is provided to each of the plurality of tasks. Means for determining whether or not a preset initial value of the priority for the memory has been exceeded; and means for inhibiting allocation of memory to the task when it is determined that the initial value of the priority has been exceeded. ing.

【0021】本発明による別のメモリ管理装置は、上記
の構成のほかに、前記複数のタスク各々の前記メモリの
種類毎の割当て量が前記メモリの種類毎に予め定められ
た上限値を越えたか否かを判定する手段と、前記上限値
を越えたと判定された時にそのタスクに対する前記上限
値に対応する種類のメモリの割当てを抑止する手段とを
具備している。
In another memory management device according to the present invention, in addition to the above-described structure, the memory management device may be configured to determine whether an assigned amount of each of the plurality of tasks for each type of memory exceeds an upper limit predetermined for each type of memory. Means for determining whether or not the task has exceeded the upper limit, and means for inhibiting allocation of a memory of a type corresponding to the upper limit to the task when it is determined that the upper limit has been exceeded.

【0022】本発明によるさらに別のメモリ管理装置
は、上記の構成のほかに、前記複数のタスク各々の前記
メモリの種類毎の割当て量が前記メモリの種類毎に予め
定められた下限値を満たしているか否かを判定する手段
と、前記下限値を満たしていないと判定された時にその
タスクの処理を抑止する手段とを具備している。
Still another memory management device according to the present invention, in addition to the above configuration, is such that the quota of each of the plurality of tasks for each type of memory satisfies a lower limit predetermined for each type of memory. Means for determining whether or not the task has been performed, and means for suppressing processing of the task when it is determined that the lower limit is not satisfied.

【0023】本発明によるさらにまた別のメモリ管理装
置は、上記の構成のほかに、前記複数のタスク各々のメ
モリゲット要求に付与されかつ要求先のメモリの種類を
指定する指定候補毎に割当てが可能か否かを判定する手
段と、前記割当てが不可能と判定された時に次指定候補
によって指定される種類のメモリへの割当てを行う手段
と、前記メモリゲット要求に付加された全ての指定候補
に対する割当てが不可能と判定された時にそのタスクに
対するメモリの割当てを抑止する手段とを具備してい
る。
[0023] Yet another memory management device according to the invention, in addition to the above arrangement, assigned to every designated candidate for designating a memory target is given to the request and the request destination of the type of memory of said plurality of tasks each Means for determining whether the assignment is possible, means for allocating to the type of memory designated by the next designation candidate when the assignment is determined to be impossible, and all designation candidates added to the memory get request Means for suppressing the allocation of memory to the task when it is determined that allocation to the task is impossible.

【0024】[0024]

【作用】複数のタスクからのメモリゲット要求に対して
アクセス速度の異なる複数種類のメモリ各々への割当て
を行う際、複数のタスク各々からメモリゲット要求が全
て要求された時に複数のタスク各々のメモリゲット要求
に付与されかつ要求先のメモリに対する優先度を示すコ
ストを基に複数のタスク各々へのメモリ割当てを行う。
When allocating a memory get request from a plurality of tasks to each of a plurality of types of memories having different access speeds, when all the memory get requests are requested from each of the plurality of tasks, the memory of each of the plurality of tasks is used. A memory is allocated to each of a plurality of tasks based on a cost assigned to the get request and indicating a priority to the memory of the request destination.

【0025】また、複数のタスク各々に割当てられたメ
モリへのメモリゲット要求時に付与されたコストの合計
が複数のタスク各々に予め設定された所有コストを越え
たと判定された時に、そのタスクに対するメモリの割当
てを抑止する。
Further, when it is determined that the total cost given at the time of a memory get request to the memory allocated to each of the plurality of tasks exceeds the ownership cost preset for each of the plurality of tasks, the memory for the task is determined. Suppress assignments.

【0026】さらに、複数のタスク各々のメモリの種類
毎の割当て量がメモリの種類毎に予め定められた上限値
を越えたと判定された時に、そのタスクに対する上限値
に対応する種類のメモリの割当てを抑止する。これらに
よって、あるタスクのみが特定種類のメモリを占有して
しまうのを防止することが可能となる。
Further, when it is determined that the allocated amount of each memory type of each of the plurality of tasks exceeds an upper limit predetermined for each type of memory, the allocation of the memory of the type corresponding to the upper limit to the task is performed. Deter. Thus, it is possible to prevent only a certain task from occupying a specific type of memory.

【0027】複数のタスク各々のメモリの種類毎の割当
て量がメモリの種類毎に予め定められた下限値を満たし
ていないと判定された時、つまり下限値を下回っている
と判定された時にタスクの動作を停止させる。これによ
って、あるタスクがある種類のメモリをある一定量以上
確保できないと、システムスループットが確保できずに
システムとして成り立たない時にメモリが不足している
ことを検出通知することが可能となる。
When it is determined that the allocated amount for each memory type of each of the plurality of tasks does not satisfy the lower limit predetermined for each memory type, that is, when it is determined that the allocated amount is less than the lower limit, Stop the operation of. As a result, if a certain task cannot secure a certain type of memory over a certain amount, it becomes possible to detect and notify that the memory is insufficient when the system cannot be established because the system throughput cannot be secured.

【0028】複数のタスク各々のメモリゲット要求に付
与されかつ要求先のメモリの種類を指定する指定候補毎
に割当てが可能か否かを判定し、割当てが不可能と判定
された時に次指定候補によって指定される種類のメモリ
への割当てを行い、メモリゲット要求に付加された全て
の指定候補に対する割当てが不可能と判定された時にそ
のタスクに対するメモリの割当てを抑止する。これによ
って、あるタスクが要求している種類のメモリが容量不
足等の理由でゲットできない場合に、全くメモリが割当
てられなくなるのではなく、代替可能な種類のメモリに
割当てることが可能となる。
It is determined whether or not allocation is possible for each designated candidate assigned to a memory get request of each of a plurality of tasks and specifying the type of memory to which the request is made. If it is determined that allocation is impossible, the next designated candidate is determined. Is allocated to the type of memory specified by the above, and when it is determined that allocation to all the specified candidates added to the memory get request is impossible, the allocation of memory to the task is suppressed. Thus, when the type of memory requested by a certain task cannot be obtained due to lack of capacity or the like, it is possible to allocate the memory to an alternative type of memory instead of not allocating the memory at all.

【0029】[0029]

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

【0030】図1は本発明の一実施例の構成を示すブロ
ック図である。図において、本発明の一実施例によるメ
モリ管理装置はメモリ割当て制御部1と、割当て要求受
付部2と、割当て判定部3と、コスト判定部4と、メモ
リ容量判定部5と、上限値判定部6と、下限値判定部7
と、メモリ管理テーブル8とから構成されている。
FIG. 1 is a block diagram showing the configuration of one embodiment of the present invention. In the figure, a memory management device according to an embodiment of the present invention includes a memory allocation control unit 1, an allocation request receiving unit 2, an allocation determining unit 3, a cost determining unit 4, a memory capacity determining unit 5, an upper limit determining unit. Unit 6 and lower limit determination unit 7
And a memory management table 8.

【0031】メモリ割当て制御部1は各タスク(図示せ
ず)からメモリゲット要求やメモリゲット要求の送出終
了を通知するコミットメント宣言等の割当て要求情報を
受取ると、その割当て要求情報を割当て要求受付部2に
送出する。また、メモリ割当て制御部1は各部の制御を
行うとともに、各部からの判定結果等を受けて各タスク
に対して各種メモリの割当てや通知を行う。
Upon receiving allocation request information such as a memory get request from each task (not shown) and a commitment declaration for notifying the end of the transmission of the memory get request, the memory allocation control unit 1 allocates the allocation request information to the allocation request receiving unit. Send to 2. Further, the memory allocation control unit 1 controls each unit, and allocates and notifies various memories to each task in response to a determination result or the like from each unit.

【0032】割当て要求受付部2はメモリ割当て制御部
1から割当て要求情報が送られてくると、その割当て要
求情報をメモリ管理テーブル8に登録する。
Upon receiving the allocation request information from the memory allocation control unit 1, the allocation request receiving unit 2 registers the allocation request information in the memory management table 8.

【0033】割当て判定部3は各タスクからの全てのメ
モリゲット要求がメモリ管理テーブル8に登録される
と、メモリ管理テーブル8に登録された割当て要求情報
を基に各メモリゲット要求の優先度を判定し、各種メモ
リに対する割当てを優先度順に行う。
When all the memory get requests from each task are registered in the memory management table 8, the allocation determination unit 3 determines the priority of each memory get request based on the allocation request information registered in the memory management table 8. Judgment and allocation to various memories are performed in order of priority.

【0034】この場合、割当て判定部3は各タスクにお
いてその設計時にメモリゲット要求の重要度に応じて設
定された優先度(以下、コストとする)を基に各種メモ
リに対する割当てを行う。ここで、コストとは、例えば
割当てられたメモリを基に行われる処理のアクセス速度
及び各種メモリにおけるアクセス速度等を考慮して設定
され、処理のアクセス速度とメモリのアクセス速度との
関係式から算出することも可能である。
In this case, the assignment determining unit 3 assigns to various memories in each task based on the priority (hereinafter referred to as cost) set according to the importance of the memory get request at the time of designing. Here, the cost is set in consideration of, for example, the access speed of processing performed based on the allocated memory and the access speed of various memories, and is calculated from a relational expression between the access speed of processing and the access speed of memory. It is also possible.

【0035】コスト判定部4は予め各タスクに設定され
た所有コストの残高が、割当てられるメモリに対するメ
モリゲット要求の要求度を表すコストを支払うだけ残っ
ているか否かを判定する。つまり、コスト判定部4はメ
モリの割当てが行われる毎に、メモリ管理テーブル8に
格納された所有コストから支払いコストを減算し、所有
コストが残高不足で支払いコストを減算できない場合に
メモリ割当てを行わないようメモリ割当て制御部1に通
知する。
The cost judging section 4 judges whether or not the balance of the ownership cost set in advance for each task is sufficient to pay the cost indicating the degree of request for the memory get request for the allocated memory. That is, the cost determination unit 4 subtracts the payment cost from the ownership cost stored in the memory management table 8 every time memory allocation is performed, and performs memory allocation when the payment cost cannot be reduced due to insufficient balance of the ownership cost. The memory allocation control unit 1 is notified that there is no memory.

【0036】ここで、所有コストとはタスクの設計時に
どの種類のメモリを、どの位の優先度で、どの位の容量
を割当てなければならないかに応じて算出されたメモリ
ゲット要求毎のコストを総計した値である。
Here, the cost of ownership means the cost for each memory get request calculated according to what kind of memory, at what priority, and how much capacity should be allocated at the time of task design. This is the total value.

【0037】メモリ容量判定部5はメモリゲット要求毎
に割当てられるメモリの残容量を基に、そのメモリゲッ
ト要求に対してメモリの割当てが可能か否かを判定す
る。
The memory capacity determination unit 5 determines whether or not memory can be allocated to the memory get request based on the remaining memory capacity allocated for each memory get request.

【0038】上限値判定部6はメモリゲット要求毎のメ
モリ割当て量が予めメモリの種別毎に設定された割当て
可能な上限値を越えているか否かを判定する。つまり、
上限値判定部6はメモリを割当てる度にメモリ管理テー
ブル8に格納された上限値を減算し、減算できなくなる
とそのタスクへのメモリ割当てを行わないようメモリ割
当て制御部1に通知する。
The upper limit value judging section 6 judges whether or not the memory allocation amount for each memory get request exceeds an upper limit value which can be allocated and set in advance for each type of memory. That is,
The upper limit determination unit 6 subtracts the upper limit stored in the memory management table 8 every time a memory is allocated, and when the upper limit cannot be subtracted, notifies the memory allocation control unit 1 not to allocate memory to the task.

【0039】下限値判定部7はメモリゲット要求毎のメ
モリ割当て量が予めタスク毎に設定され、かつ動作する
上で最低限必要とするメモリの種別毎の下限値が確保さ
れているか否かを判定する。つまり、下限値判定部7は
メモリを割当てる度にメモリ管理テーブル8の下限値を
減算し、全ての割当てが終了した時点で減算結果が正の
ままとなっているタスクの動作を停止するようメモリ割
当て制御部1に通知し、システムスループットが確保で
きないまま動作することを防ぐ。
The lower limit determining unit 7 determines whether or not the memory allocation amount for each memory get request is set in advance for each task, and whether the lower limit for each type of memory required at the minimum for operation is secured. judge. In other words, the lower limit determining unit 7 subtracts the lower limit of the memory management table 8 every time memory is allocated, and stops the operation of the task whose subtraction result remains positive when all the allocations are completed. This is notified to the assignment control unit 1 to prevent operation without securing the system throughput.

【0040】尚、上記のように構成されるメモリ管理装
置はマルチタスクOS内のプログラムで実現可能であ
り、以下マルチタスクOSには上述した処理を行うメモ
リ管理装置を含むものとする。
Note that the memory management device configured as described above can be realized by a program in the multitask OS. Hereinafter, the multitask OS includes a memory management device that performs the above-described processing.

【0041】図2は図1のメモリ管理テーブル8の構成
を示す図である。図において、メモリ管理テーブル8に
は各タスクのタスク番号8aに対応して、メモリゲット
・フラグ8bと、コミットメント・フラグ8cと、所有
コスト8dと、メモリ割当容量上限値8eと、メモリ割
当容量下限値8fとが格納されている。
FIG. 2 is a diagram showing the configuration of the memory management table 8 of FIG. In the figure, the memory management table 8 has a memory get flag 8b, a commitment flag 8c, a cost of ownership 8d, a memory allocation capacity upper limit 8e, and a memory allocation capacity lower limit corresponding to the task number 8a of each task. The value 8f is stored.

【0042】メモリゲット・フラグ8bはそのタスクが
メモリゲットを行うタスクであるか否かを表すためのフ
ラグであり、メモリゲット有りか、メモリゲット無しか
のいずれかの値を持つ。このメモリゲット・フラグ8b
の値はそのタスクがメモリ上にロードされた時点で決定
される。
The memory get flag 8b is a flag for indicating whether or not the task is a task for performing a memory get, and has a value indicating whether there is a memory get or no memory get. This memory get flag 8b
Is determined when the task is loaded into memory.

【0043】コミットメント・フラグ8cはそのタスク
が全てのメモリゲット要求を行い、コミットメント宣言
をマルチタスクOS(図示せず)に対して発行済みであ
るか否かを表すためのフラグであり、コミットメント済
みか、未コミットメントかのいずれかの値を持つ。コミ
ットメント・フラグ8cの初期値は未コミットメントで
ある。
The commitment flag 8c is a flag for indicating whether or not the task has made all memory get requests and has issued a commitment declaration to the multitask OS (not shown). Or uncommitted. The initial value of the commitment flag 8c is uncommitted.

【0044】所有コスト8dはそのタスクがマルチタス
クOSに対してメモリゲット要求を行う際に支払うコス
トの現在の所有値を表しており、初期値はSG(Sys
tem Generater)によって決定された値で
ある。
The ownership cost 8d represents the current ownership value of the cost paid when the task issues a memory get request to the multitask OS, and the initial value is SG (Sys
(Tem Generator).

【0045】メモリ割当容量上限値8eはそのタスクに
マルチタスクOSが割当てることのできるメモリの種別
毎のメモリ容量の上限値を表しており、初期値はSGに
よって決定された値である。また、メモリ割当容量上限
値8eはメモリ種別毎に、メモリ種別1のメモリ割当容
量上限値8e−1からメモリ種別nのメモリ割当容量上
限値8e−nまで管理される。
The memory allocation capacity upper limit 8e indicates the upper limit of the memory capacity for each type of memory that can be allocated to the task by the multitask OS, and the initial value is a value determined by SG. The memory allocation capacity upper limit 8e is managed for each memory type from the memory allocation capacity upper limit 8e-1 of the memory type 1 to the memory allocation capacity upper limit 8en of the memory type n.

【0046】メモリ割当容量下限値8fはそのタスクが
最低限必要とするメモリの種別毎のメモリ容量の下限値
を表しており、初期値はSGによって決定された値であ
る。また、メモリ割当容量下限値8fはメモリ種別毎
に、メモリ種別1のメモリ割当容量下限値8f−1から
メモリ種別mのメモリ割当容量下限値8e−mまで管理
される。
The memory allocation capacity lower limit value 8f represents the lower limit value of the memory capacity for each type of memory required by the task at a minimum, and the initial value is a value determined by SG. The memory allocation capacity lower limit 8f is managed for each memory type from the memory allocation capacity lower limit 8f-1 of the memory type 1 to the memory allocation capacity lower limit 8e-m of the memory type m.

【0047】各タスクはマルチタスクOSに対してメモ
リゲット要求を発行する際、そのメモリ種別のメモリの
要求度を表すためのコストをマルチタスクOSに対して
支払い、全てのメモリゲット要求の発行が終了した時点
でマルチタスクOSに対してコミットメント宣言を発行
する。
When each task issues a memory get request to the multitask OS, the task pays a cost to indicate the degree of memory request of the memory type to the multitask OS, and issues all memory get requests. At the time of completion, a commitment declaration is issued to the multitask OS.

【0048】マルチタスクOSは各タスクからメモリゲ
ット要求を受付ける度にその都度メモリを割当てるので
はなく、メモリゲット・フラグ8bの値がメモリゲット
有りである全てのタスクからのコミットメント宣言を受
取った時点でメモリの割当てを開始する。
The multitask OS does not allocate memory each time a memory get request is received from each task, but receives a commitment declaration from all tasks whose memory get flag 8b has a memory get. To start allocating memory.

【0049】マルチタスクOSがメモリの割当てを行う
際、同一のメモリ種別のメモリについてはより多くのコ
ストを支払ったタスクから順にメモリを割当てる。尚、
マルチタスクOSはメモリを割当てたタスクについて、
所有コスト8dから支払いコストを減算する。あるタス
クの所有コスト8dが残高不足で支払いコストを減算で
きない場合、マルチタスクOSはメモリ割当てを行わな
い。
When the multitask OS allocates memory, memories of the same memory type are allocated in order from the task that paid more cost. still,
The multitasking OS has a task
The payment cost is subtracted from the ownership cost 8d. When the ownership cost 8d of a certain task is insufficient to reduce the payment cost due to insufficient balance, the multitask OS does not allocate memory.

【0050】上記のようにしてメモリ割当てを行う場
合、あるタスクの所有コストが非常に大きければ、その
タスクだけがあるメモリ種別のメモリを占有してしまう
ことがある。そこで、特定のメモリ種別のみが占有され
ないように、各タスクに対応してメモリ種別毎に割当て
可能なメモリ容量の上限値を設け、マルチタスクOSは
メモリを割当てる度にメモリ種別毎のメモリ割当容量上
限値8eを減算し、減算できなくなった時にはそのタス
クへのメモリ割当てを行わない。
When allocating memory as described above, if the cost of owning a certain task is extremely high, only that task may occupy a memory of a certain memory type. Therefore, an upper limit value of the memory capacity that can be allocated for each memory type is provided corresponding to each task so that only a specific memory type is not occupied. The upper limit value 8e is subtracted, and when the subtraction becomes impossible, no memory is allocated to the task.

【0051】また、あるタスクがあるメモリ種別のメモ
リをある一定容量以上確保できなければシステムスルー
プットが確保できない場合、上記のようなメモリ割当て
ではそのタスクが最低限必要としているメモリ容量以上
のメモリを確保できていることを保証できない。
If the system throughput cannot be secured unless a certain task can secure a memory of a certain memory type or more, a memory larger than the minimum memory capacity required by the task is allocated by the above-mentioned memory allocation. We cannot guarantee that they have been secured.

【0052】そこで、あるメモリ種別のメモリをある一
定容量以上確保できなかった場合にそのタスクの動作を
停止するために、各タスクに対応してメモリ種別毎に最
低限必要なメモリ容量の下限値を設け、マルチタスクO
Sはメモリを割当てる度に下限値を減算し、全ての割当
てが終了した時点で減算結果が正のままとなっているタ
スクの動作を停止し、システムスループットが確保でき
ないまま動作することを防ぐ。
Therefore, in order to stop the operation of the task when the memory of a certain memory type cannot be secured beyond a certain fixed capacity, the lower limit of the minimum memory capacity required for each memory type corresponding to each task is set. And multitasking O
S decrements the lower limit every time memory is allocated, stops the operation of the task whose subtraction result remains positive when all allocations are completed, and prevents the task from operating without securing system throughput.

【0053】さらに、あるタスクがOSに対してメモリ
ゲット要求を発行する際、1種類のメモリ種別しか指定
できなければ、他のタスクがそのメモリ種別のメモリに
対してより多くのコストを支払っている時にマルチタス
クOSへの入札に負けてメモリが割当てられない場合が
あり、またメモリ割当容量上限値8eを越えた時にも指
定したメモリ種別のメモリを割当てられないことがあ
る。
Further, when a certain task issues a memory get request to the OS, if only one kind of memory type can be designated, another task pays more cost to the memory of that memory type. In some cases, the memory may not be allocated due to the bid for the multitask OS, and the memory of the specified memory type may not be allocated even when the memory allocation capacity upper limit 8e is exceeded.

【0054】そこで、各タスクがマルチタスクOSに対
してメモリゲット要求を発行する際に、第1希望から第
n希望までの複数のメモリ種別のメモリ毎に支払いコス
トを指定できるようにし、マルチタスクOSは第i希望
のメモリ種別によるメモリ割当てが不可能であれば、第
i+1希望のメモリ種別によるメモリ割当てを行う。
Therefore, when each task issues a memory get request to the multitask OS, the payment cost can be specified for each of a plurality of memory types from the first memory to the nth memory. If the OS cannot allocate the memory according to the i-th desired memory type, the OS performs the memory allocation according to the (i + 1) th desired memory type.

【0055】図3〜図7は本発明の一実施例の動作を示
すフローチャートである。これら図1〜図7を用いて本
発明の一実施例の動作について説明する。
FIGS. 3 to 7 are flowcharts showing the operation of one embodiment of the present invention. The operation of the embodiment of the present invention will be described with reference to FIGS.

【0056】メモリ割当て制御部1はメモリ割当て処理
を開始すると、まず全てのタスクからコミットメント宣
言を受取ったかを判断する(図3ステップS1)。メモ
リ割当て制御部1は全てのタスクからコミットメント宣
言を受取ったと判断すると、メモリゲット要求キュー
(図示せず)にメモリゲット要求があるか否か、つまり
メモリゲット要求キューが空か否かを判定する(図3ス
テップS2)。
When the memory allocation control unit 1 starts the memory allocation process, it first determines whether commitment declarations have been received from all tasks (step S1 in FIG. 3). When determining that commitment declarations have been received from all tasks, the memory allocation control unit 1 determines whether there is a memory get request in a memory get request queue (not shown), that is, whether the memory get request queue is empty. (Step S2 in FIG. 3).

【0057】メモリ割当て制御部1はメモリゲット要求
キューが空であると判定すると、下限値判定部7によっ
てメモリ割当容量下限値8fを下回るタスクがあるか否
かを調べ、メモリ割当容量下限値8fを下回るタスクが
あればそのタスクの動作を停止し(図3ステップS
6)、処理を終了する。
When the memory allocation control unit 1 determines that the memory get request queue is empty, the lower limit determination unit 7 checks whether there is a task below the memory allocation capacity lower limit 8f. If there is a task lower than the above, the operation of the task is stopped (step S in FIG. 3).
6), end the process.

【0058】メモリ割当て制御部1はメモリゲット要求
キューにメモリゲット要求があると判定すると、割当て
制御部3によってメモリゲット要求キューの中から最も
単価の高いメモリゲット要求を取出す(図3ステップS
3)。このとき、メモリ割当て制御部1はコスト判定部
4によってメモリゲット要求元のタスクの所有コスト8
dの残高が十分あるか否かを判定する(図3ステップS
4)。
When the memory allocation control unit 1 determines that there is a memory get request in the memory get request queue, the allocation control unit 3 takes out the memory get request with the highest unit price from the memory get request queue (step S in FIG. 3).
3). At this time, the memory allocation control unit 1 makes the cost determination unit 4
It is determined whether the balance of d is sufficient (step S in FIG. 3).
4).

【0059】メモリ割当て制御部1はコスト判定部4で
メモリゲット要求元のタスクの所有コスト8dの残高が
十分ではないと判定されると、メモリゲット要求元のタ
スクに対して所有コスト不足エラー通知を行い(図3ス
テップS5)、ステップS2に戻る。
When the cost deciding section 4 decides that the balance of the ownership cost 8d of the task of the memory get request source is not sufficient, the memory allocation control section 1 notifies the task of the memory get request source of the lack of ownership cost error. (Step S5 in FIG. 3), and the process returns to Step S2.

【0060】また、メモリ割当て制御部1はコスト判定
部4でメモリゲット要求元のタスクの所有コスト8dの
残高が十分と判定されると、メモリ容量判定部5によっ
てメモリゲット要求されているメモリの容量が十分かど
うかを判定する(図5ステップS12)。
When the cost determining unit 4 determines that the cost of the memory-request-requesting task has a sufficient balance of the ownership cost 8d, the memory allocation control unit 1 determines the amount of memory for which the memory-request is requested. It is determined whether the capacity is sufficient (step S12 in FIG. 5).

【0061】メモリ割当て制御部1はメモリ容量判定部
5でメモリゲット要求されているメモリの容量が十分と
判定されると、上限値判定部6によってメモリ割当容量
上限値8eを越えているかどうかを判定する(図5ステ
ップS13)。メモリ割当て制御部1は上限値判定部6
でメモリ割当容量上限値8eを越えていないと判定され
ると、メモリ割当てを行い(図5ステップS14)、ス
テップS2に戻る。
When the memory capacity determination unit 5 determines that the memory capacity requested for memory acquisition is sufficient, the memory allocation control unit 1 determines whether the upper limit value determination unit 6 has exceeded the memory allocation capacity upper limit 8e. A determination is made (step S13 in FIG. 5). The memory allocation control unit 1 includes an upper limit value determination unit 6
When it is determined that the memory allocation capacity does not exceed the upper limit 8e, the memory is allocated (step S14 in FIG. 5), and the process returns to step S2.

【0062】メモリ割当て制御部1は上限値判定部6で
メモリ割当容量上限値8eを越えていると判定される
と、メモリゲット要求元のタスクに対してメモリ割当上
限値エラー通知を行い(図5ステップS15)、ステッ
プS2に戻る。
When the upper limit value judging unit 6 judges that the memory allocation control unit 1 has exceeded the memory allocation capacity upper limit 8e, the memory allocation control unit 1 issues a memory allocation upper limit error notification to the task that has requested the memory get (see FIG. 5 Step S15), and return to Step S2.

【0063】メモリ割当て制御部1はメモリ容量判定部
5でメモリゲット要求されているメモリの容量が十分で
はないと判定されると、次のメモリ種別の候補があるか
を判定する(図7ステップS17)。
When the memory capacity determining unit 5 determines that the memory capacity requested for the memory get is not sufficient, the memory allocation control unit 1 determines whether there is a next memory type candidate (step in FIG. 7). S17).

【0064】メモリ割当て制御部1は次のメモリ種別の
候補がないと判定すると、メモリゲット要求元のタスク
に対してメモリ不足エラー通知を行い(図7ステップS
18)、ステップS2に戻る。
When the memory allocation control unit 1 determines that there is no next memory type candidate, the memory allocation control unit 1 issues a memory shortage error notification to the task requesting the memory get (step S in FIG. 7).
18), and return to step S2.

【0065】メモリ割当て制御部1は次のメモリ種別の
候補があると判定すると、メモリ種別を次の候補とし
(図7ステップS19)、ステップS4に戻って次の候
補におけるコストの判定等を行う。
When determining that there is a next memory type candidate, the memory allocation control unit 1 sets the memory type as the next candidate (step S19 in FIG. 7) and returns to step S4 to determine the cost of the next candidate. .

【0066】一方、メモリ割当て制御部1は全てのタス
クからコミットメント宣言を受取っていないと判断する
と、イベント待ちを行い(図4ステップS7)、タスク
からの要求をコミットメント宣言と判定すると(図4ス
テップS8)、該当するタスクのコミットメント・フラ
グ8cをオンにし(図4ステップS9)、ステップS1
に戻る。
On the other hand, if the memory allocation control unit 1 determines that no commitment declaration has been received from all tasks, it waits for an event (step S7 in FIG. 4) and determines that the request from the task is a commitment declaration (step S7 in FIG. 4). S8), the commitment flag 8c of the corresponding task is turned on (step S9 in FIG. 4), and step S1 is performed.
Return to

【0067】また、メモリ割当て制御部1はタスクから
の要求をメモリゲット要求と判定すると(図4ステップ
S10)、そのメモリゲット要求をメモリゲット要求キ
ューにキューイングし(図4ステップS11)、ステッ
プS1に戻る。
When the memory allocation control unit 1 determines that the request from the task is a memory get request (step S10 in FIG. 4), the memory allocation request is queued in the memory get request queue (step S11 in FIG. 4). Return to S1.

【0068】さらに、メモリ割当て制御部1はタスクか
らの要求をその他の処理と判定すると、その要求をマル
チタスクOSに渡して他の処理を行い(図6ステップS
16)、ステップS1に戻る。
Further, when the memory allocation control unit 1 determines that the request from the task is another process, it passes the request to the multitask OS to perform another process (step S6 in FIG. 6).
16) Return to step S1.

【0069】図8は本発明の一実施例におけるマルチタ
スクOSでのメモリ割当シーケンスを示す図である。こ
の図8を用いて本発明の一実施例におけるメモリ割当シ
ーケンスについて説明する。尚、本システムではローカ
ルメモリ(高速メモリ)及びメインメモリ(低速メモ
リ)の2種類のメモリ種別があり、各タスクに割当可能
なメモリ容量をローカルメモリで100KB、メインメ
モリで200KBあるものとする。
FIG. 8 is a diagram showing a memory allocation sequence in the multitask OS in one embodiment of the present invention. The memory allocation sequence in one embodiment of the present invention will be described with reference to FIG. In this system, there are two types of memory, a local memory (high-speed memory) and a main memory (low-speed memory), and the memory capacity that can be allocated to each task is 100 KB for the local memory and 200 KB for the main memory.

【0070】各タスクはメモリ種別と1KB当たりの支
払いコスト(単価)とメモリ容量とを指定してメモリゲ
ット要求をマルチタスクOSに対して発行する。尚、図
においてはメモリ種別及び単価における“→”は第1希
望のメモリ種別及び単価から次の希望のメモリ種別及び
単価への順番を示している。
Each task issues a memory get request to the multitask OS by designating a memory type, a payment cost (unit price) per 1 KB, and a memory capacity. In the figure, “→” in the memory type and unit price indicates the order from the first desired memory type and unit price to the next desired memory type and unit price.

【0071】タスクaは「第1希望のメモリ種別=ロー
カルメモリ,第1希望の単価=7,第2希望のメモリ種
別=メインメモリ,第2希望の単価=5,メモリ容量=
50KB」のメモリゲット要求12と、「第1希望のメ
モリ種別=ローカルメモリ,第1希望の単価=9,第2
希望のメモリ種別=メインメモリ,第2希望の単価=
5,メモリ容量=15KB」のメモリゲット要求13
と、「第1希望のメモリ種別=メインメモリ,第1希望
の単価=3,メモリ容量=150KB」のメモリゲット
要求14とを発行した後に、コミットメント宣言(co
mmitment)15をマルチタスクOSに発行す
る。
The task a is described as “first desired memory type = local memory, first desired unit price = 7, second desired memory type = main memory, second desired unit price = 5, memory capacity =
50 KB "memory get request 12 and" first desired memory type = local memory, first desired unit price = 9, second
Desired memory type = main memory, second desired unit price =
5, memory capacity = 15KB ”memory get request 13
And a memory get request 14 of “first desired memory type = main memory, first desired unit price = 3, memory capacity = 150 KB”, and then a commitment declaration (co
issue) 15 to the multitask OS.

【0072】タスクcは「第1希望のメモリ種別=メイ
ンメモリ,第1希望の単価=4,メモリ容量=20K
B」のメモリゲット要求16と、「第1希望のメモリ種
別=メインメモリ,第1希望の単価=2,メモリ容量=
10KB」のメモリゲット要求17とを発行した後に、
コミットメント宣言18をマルチタスクOSに発行す
る。
Task c is “first desired memory type = main memory, first desired unit price = 4, memory capacity = 20K
B "and a" first desired memory type = main memory, first desired unit price = 2, memory capacity =
After issuing the memory get request 17 of "10 KB",
Issues a commitment declaration 18 to the multitask OS.

【0073】タスクiは「第1希望のメモリ種別=ロー
カルメモリ,第1希望の単価=10,メモリ容量=80
KB」のメモリゲット要求19を発行した後に、コミッ
トメント宣言20をマルチタスクOSに発行する。
The task i is “first desired memory type = local memory, first desired unit price = 10, memory capacity = 80
After the memory get request 19 of “KB” is issued, the commitment declaration 20 is issued to the multitask OS.

【0074】タスクnは「第1希望のメモリ種別=メイ
ンメモリ,第1希望の単価=8,メモリ容量=40K
B」のメモリゲット要求21を発行した後に、コミット
メント宣言22をマルチタスクOSに発行する。
The task n is “first desired memory type = main memory, first desired unit price = 8, memory capacity = 40K
After issuing the memory get request 21 of "B", a commitment declaration 22 is issued to the multitask OS.

【0075】尚、図8において、タスクbはメモリゲッ
トしないので、メモリゲット要求及びコミットメント宣
言を発行しない。
In FIG. 8, since the task b does not get the memory, the task b does not issue the memory get request and the commitment declaration.

【0076】上記の如く、メモリゲットするタスクa,
c,i,n全てからコミットメント宣言15,18,2
0,22が発行されると、マルチタスクOSはメモリ割
当て処理を開始し、メモリゲット要求12〜14,1
6,17,19,21の中から最も単価が高いメモリゲ
ット要求を取出す。
As described above, the tasks a,
Commitment declarations 15, 18, 2 from c, i, n
When 0 and 22 are issued, the multitask OS starts a memory allocation process and requests the memory get requests 12 to 14 and 1.
The memory get request having the highest unit price is taken out of 6, 17, 19, and 21.

【0077】この場合、最も単価が高いメモリゲット要
求はタスクiからのメモリゲット要求19なので、マル
チタスクOSはメモリゲット要求19に基づいてタスク
iにローカルメモリを80KB割当て、割当てが終了し
たことを正常終了通知19’でタスクiに通知する。こ
のとき、ローカルメモリの残量は20KBとなる。
In this case, since the memory get request having the highest unit price is the memory get request 19 from the task i, the multitask OS allocates 80 KB of the local memory to the task i based on the memory get request 19, and indicates that the allocation has been completed. The task i is notified by the normal end notification 19 '. At this time, the remaining capacity of the local memory is 20 KB.

【0078】上述したように、最初のメモリゲット要求
はタスクaからのメモリゲット要求12であるが、最初
に割当てが行われるのはタスクiからのメモリゲット要
求19であり、メモリの割当ては早いもの順ではなく、
単価の高いもの順となっている。
As described above, the first memory get request is the memory get request 12 from the task a, but the first allocation is made from the memory get request 19 from the task i, and the memory allocation is early. Not in order,
The order of the unit price is high.

【0079】メモリゲット要求19の次に単価の高いメ
モリゲット要求はタスクaからのメモリゲット要求13
なので、マルチタスクOSはメモリゲット要求13に基
づいてタスクaにローカルメモリを15KB割当て、割
当てが終了したことを正常終了通知13’でタスクaに
通知する。このとき、ローカルメモリの残量は5KBと
なる。
The memory get request having the next highest unit price after the memory get request 19 is the memory get request 13 from the task a.
Therefore, the multitask OS allocates 15 KB of the local memory to the task a based on the memory get request 13, and notifies the task a of the completion of the allocation to the task a with the normal end notification 13 '. At this time, the remaining capacity of the local memory is 5 KB.

【0080】タスクaについてはメモリゲット要求12
の方がメモリゲット要求13よりも先に発行されたメモ
リゲット要求であるが、これもまた早いもの順ではなく
単価の高いもの順にメモリ割当てが行われるので、各タ
スクa,c,i,nのメモリゲット要求処理を設計する
際に重要度に応じて単価を設定すればよく、メモリゲッ
ト要求の発行順序を考慮する必要はない。
For task a, a memory get request 12
Is a memory get request issued earlier than the memory get request 13. Since the memory is also allocated in the order of higher unit price, not earlier, the tasks a, c, i, n In designing the memory get request processing, the unit price may be set according to the importance, and it is not necessary to consider the order in which the memory get requests are issued.

【0081】メモリゲット要求13の次に単価の高いメ
モリゲット要求はタスクnからのメモリゲット要求21
なので、マルチタスクOSはメモリゲット要求21に基
づいてタスクnにメインメモリを40KB割当て、割当
てが終了したことを正常終了通知21’でタスクnに通
知する。このとき、メインメモリの残量は160KBと
なる。
A memory get request having the next highest unit price after the memory get request 13 is a memory get request 21 from task n.
Therefore, the multitask OS allocates 40 KB of the main memory to the task n based on the memory get request 21 and notifies the task n of the completion of the allocation with the normal end notification 21 '. At this time, the remaining amount of the main memory is 160 KB.

【0082】メモリゲット要求21の次に単価の高いメ
モリゲット要求はタスクaからのメモリゲット要求12
なので、マルチタスクOSはメモリゲット要求12に基
づいてタスクaにローカルメモリを50KB割当てよう
とするが、このときのローカルメモリの残量が5KBで
メモリ割当て不可なので、第2希望のメインメモリを5
0KB割当て、割当てが終了したことを正常終了通知1
2’でタスクaに通知する。このとき、メインメモリの
残量は110KBとなる。
A memory get request having the next highest unit price after the memory get request 21 is the memory get request 12 from the task a.
Therefore, the multitask OS attempts to allocate 50 KB of the local memory to the task a based on the memory get request 12. However, since the remaining amount of the local memory is 5 KB and the memory cannot be allocated, the multi-task OS allocates 5 KB to the second desired main memory.
0KB allocation, normal end notification 1 that allocation has been completed
2 'notifies task a. At this time, the remaining amount of the main memory is 110 KB.

【0083】メモリゲット要求12の次に単価の高いメ
モリゲット要求はタスクcからのメモリゲット要求16
なので、マルチタスクOSはメモリゲット要求16に基
づいてタスクcにメインメモリを20KB割当て、割当
てが終了したことを正常終了通知16’でタスクcに通
知する。このとき、メインメモリの残量は90KBとな
る。
The memory get request having the next highest unit price after the memory get request 12 is the memory get request 16 from the task c.
Therefore, the multitask OS allocates 20 KB of the main memory to the task c based on the memory get request 16, and notifies the task c of the completion of the allocation with the normal end notification 16 '. At this time, the remaining amount of the main memory is 90 KB.

【0084】メモリゲット要求16の次に単価の高いメ
モリゲット要求はタスクaからのメモリゲット要求14
なので、マルチタスクOSはメモリゲット要求14に基
づいてタスクaにメインメモリを150KB割当てよう
とするが、このときのローカルメモリの残量が5KBで
メモリ割当て不可なので、そのメモリ割当て不可をメモ
リ不足エラー通知14’でタスクaに通知する。
The memory get request having the next highest unit price after the memory get request 16 is the memory get request 14 from the task a.
Therefore, the multitask OS attempts to allocate 150 KB of the main memory to the task a based on the memory get request 14, but the remaining memory of the local memory is 5 KB and the memory cannot be allocated. The task a is notified by the notification 14 '.

【0085】メモリゲット要求14の次に単価の高いメ
モリゲット要求はタスクcからのメモリゲット要求17
なので、マルチタスクOSはメモリゲット要求17に基
づいてタスクcにメインメモリを10KB割当てようと
するが、このときのタスクcの所有コスト残高が2*1
0=20未満であるとすると、所有コスト不足エラーに
よるメモリ割当て不可となるので、そのメモリ割当て不
可を所有コスト不足エラー通知17’でタスクcに通知
する。
A memory get request having the next highest unit price after the memory get request 14 is a memory get request 17 from the task c.
Therefore, the multitask OS attempts to allocate 10 KB of the main memory to the task c based on the memory get request 17, and the ownership cost balance of the task c at this time is 2 * 1.
If 0 is less than 20, memory allocation becomes impossible due to an ownership cost shortage error, and the memory allocation failure is notified to the task c by the ownership cost shortage error notification 17 '.

【0086】上述した説明では各タスクに対応するメモ
リ割当容量上限値8eを越えた時にメモリ割当てを行わ
ずにエラーとなる場合や、メミリ割当容量下限値8fを
下回る時にタスクの動作を停止する場合については述べ
ていないが、メモリゲット要求する全てのタスクからコ
ミットメント宣言を受取ってから実際にメモリの割当て
を行う際にこれらのチェックを行うことは可能である。
In the above description, when an error occurs without allocating memory when the memory allocation capacity upper limit 8e corresponding to each task is exceeded, or when a task operation is stopped when the memory allocation capacity lower limit 8f falls below the memory allocation capacity lower limit 8f. However, it is possible to perform these checks when actually allocating memory after receiving commitment declarations from all tasks that request memory get.

【0087】このように、複数のタスクからのメモリゲ
ット要求に対してアクセス速度の異なる複数種類のメモ
リ各々への割当てを行う際、複数のタスク各々からメモ
リゲット要求が全て発行された時に複数のタスク各々の
メモリゲット要求に付与されかつ要求先のメモリに対す
る優先度を示すコストを基に複数のタスク各々へのメモ
リ割当てを行うことによって、各タスクへのメモリ割当
てを優先度順に行うことができる。
As described above, when a memory get request from a plurality of tasks is assigned to each of a plurality of types of memories having different access speeds, a plurality of memory get requests are issued when all the memory get requests are issued from each of the plurality of tasks. By allocating memory to each of a plurality of tasks based on the cost assigned to each task's memory get request and indicating the priority to the requested memory, memory can be allocated to each task in order of priority. .

【0088】また、複数のタスク各々に割当てられたメ
モリへのメモリゲット要求時に付与されたコストの合計
が複数のタスク各々に予め設定された所有コストを越え
たと判定された時に、そのタスクに対するメモリの割当
てを抑止することによって、特定のタスクのみが特定種
類のメモリを占有してしまうのを防止することができ
る。
Further, when it is determined that the total cost given when a memory get request is made to the memory allocated to each of the plurality of tasks exceeds the ownership cost preset for each of the plurality of tasks, the memory for the task is determined. Can prevent a specific task from occupying a specific type of memory.

【0089】さらに、複数のタスク各々のメモリの種類
毎の割当て量がメモリの種類毎に予め定められた上限値
を越えたと判定された時に、そのタスクに対する上限値
に対応する種類のメモリの割当てを抑止することによっ
て、特定のタスクのみが特定種類のメモリを占有してし
まうのを防止することができる。
Further, when it is determined that the allocation amount for each memory type of each of the plurality of tasks exceeds an upper limit predetermined for each memory type, the allocation of the memory of the type corresponding to the upper limit to the task is performed. Can prevent only a specific task from occupying a specific type of memory.

【0090】さらに、複数のタスク各々のメモリの種類
毎の割当て量がメモリの種類毎に予め定められた下限値
を満たしていないと判定された時、つまり下限値を下回
っていると判定された時にタスクの動作を停止させるこ
とによって、あるタスクが高速メモリを一定容量以上確
保できずに動作できなくなり、システムスループットを
保証できない事態が発生するようなときでもメモリ不足
を検出して通知することができる。
Further, when it is determined that the allocated amount of each of the plurality of tasks for each type of memory does not satisfy the lower limit predetermined for each type of memory, that is, it is determined that it is below the lower limit. Sometimes, by stopping the operation of a task, a task can not operate because it cannot secure high-speed memory beyond a certain amount and a system throughput can not be guaranteed. it can.

【0091】さらにまた、複数のタスク各々のメモリゲ
ット要求に付与されかつ要求先のメモリの種類を指定す
る指定候補毎に割当てが可能か否かを判定し、割当てが
不可能と判定された時に次指定候補によって指定される
種類のメモリへの割当てを行い、メモリゲット要求に付
加された全ての指定候補に対する割当てが不可能と判定
された時にそのタスクに対するメモリの割当てを抑止す
ることによって、指定した種類のメモリが割当てられな
かった場合に代替として他のメモリを割当てることがで
きる。
Further, it is determined whether or not allocation is possible for each designation candidate assigned to the memory get request of each of the plurality of tasks and specifying the type of memory of the request destination. By allocating to the type of memory specified by the next specified candidate, and by allocating memory to the task when it is determined that allocation to all specified candidates added to the memory get request is not possible, If no such memory type is allocated, another memory can be allocated as an alternative.

【0092】[0092]

【発明の効果】以上説明したように本発明のメモリ管理
装置によれば、複数のタスクからのメモリゲット要求に
対してアクセス速度の異なる複数種類のメモリ各々への
割当てを行う際、複数のタスク各々からメモリゲット要
求が全て発行されたことを検出した時に複数のタスク各
々のメモリゲット要求に付与されかつ要求先のメモリに
対する優先度を示す優先情報を基に複数のタスク各々へ
のメモリ割当てを行うことによって、各タスクへのメモ
リ割当てを優先度順に行うことができるという効果があ
る。
As described above, according to the memory management device of the present invention, when a memory get request from a plurality of tasks is assigned to each of a plurality of types of memories having different access speeds, a plurality of tasks are allocated. When it is detected that all the memory get requests have been issued from each, the memory allocation to each of the plurality of tasks is performed based on the priority information which is given to the memory get request of each of the plurality of tasks and indicates the priority to the requested memory. By doing so, there is an effect that memory allocation to each task can be performed in order of priority.

【0093】本発明の他のメモリ管理装置によれば、複
数のタスク各々に割当てられたメモリへのメモリゲット
要求時に付与された優先情報の合計が複数のタスク各々
に予め設定されたメモリに対する優先度の初期値を越え
たと判定された時に、そのタスクに対するメモリの割当
てを抑止することによって、特定のタスクのみが特定種
類のメモリを占有してしまうのを防止することができる
という効果がある。
According to another memory management device of the present invention, the sum of the priority information given at the time of a memory get request to the memory allocated to each of the plurality of tasks is determined by the priority over the memory preset for each of the plurality of tasks. When it is determined that the degree exceeds the initial value, by suppressing the memory allocation to the task, it is possible to prevent a specific task from occupying a specific type of memory.

【0094】本発明の別のメモリ管理装置によれば、複
数のタスク各々のメモリの種類毎の割当て量がメモリの
種類毎に予め定められた上限値を越えたか否かを判定
し、上限値を越えたと判定された時にそのタスクに対す
る上限値に対応する種類のメモリの割当てを抑止するこ
とによって、特定のタスクのみが特定種類のメモリを占
有してしまうのを防止することができるという効果があ
る。
According to another memory management device of the present invention, it is determined whether or not the quota of each of the plurality of tasks for each type of memory exceeds an upper limit predetermined for each type of memory. By suppressing the allocation of the memory of the type corresponding to the upper limit value for the task when it is determined that the number of the tasks exceeds the limit, it is possible to prevent the specific task from occupying only the memory of the specific type. is there.

【0095】本発明のさらに別のメモリ管理装置によれ
ば、複数のタスク各々のメモリの種類毎の割当て量がメ
モリの種類毎に予め定められた下限値を満たしているか
否かを判定し、下限値を満たしていないと判定された時
にそのタスクの処理を抑止することによって、あるタス
クが高速メモリを一定容量以上確保できずに動作できな
くなり、システムスループットを保証できない事態が発
生するようなときでもメモリ不足を検出して通知するこ
とができるという効果がある。
According to still another memory management apparatus of the present invention, it is determined whether or not the allocated amount of each of a plurality of tasks for each type of memory satisfies a lower limit predetermined for each type of memory. When it is determined that the lower limit is not satisfied, the processing of the task is suppressed, so that a certain task cannot operate because a certain amount of high-speed memory cannot be secured or more, and the system throughput cannot be guaranteed. However, there is an effect that the memory shortage can be detected and notified.

【0096】本発明のさらにまた別のメモリ管理装置に
よれば、複数のタスク各々のメモリゲット要求に付与さ
れかつ要求先のメモリの種類を指定する指定候補毎に割
当てが可能か否かを判定し、割当てが不可能と判定され
た時に次指定候補によって指定される種類のメモリへの
割当てを行い、メモリゲット要求に付加された全ての指
定候補に対する割当てが不可能と判定された時にそのタ
スクに対するメモリの割当てを抑止することによって、
指定した種類のメモリが割当てられなかった場合に代替
として他のメモリを割当てることができるという効果が
ある。
According to still another memory management device of the present invention, it is determined whether or not allocation is possible for each designated candidate which is assigned to a memory get request of each of a plurality of tasks and specifies the type of requested memory. Then, when it is determined that allocation is impossible, the allocation to the type of memory specified by the next specified candidate is performed, and when it is determined that allocation to all specified candidates added to the memory get request is impossible, the task is performed. By suppressing the allocation of memory for
When a specified type of memory is not allocated, another memory can be allocated as an alternative.

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

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

【図2】図1のメモリ管理テーブルの構成を示す図であ
る。
FIG. 2 is a diagram illustrating a configuration of a memory management table in FIG. 1;

【図3】本発明の一実施例の動作を示すフローチャート
である。
FIG. 3 is a flowchart showing the operation of one embodiment of the present invention.

【図4】本発明の一実施例の動作を示すフローチャート
である。
FIG. 4 is a flowchart showing the operation of one embodiment of the present invention.

【図5】本発明の一実施例の動作を示すフローチャート
である。
FIG. 5 is a flowchart showing the operation of one embodiment of the present invention.

【図6】本発明の一実施例の動作を示すフローチャート
である。
FIG. 6 is a flowchart showing the operation of one embodiment of the present invention.

【図7】本発明の一実施例の動作を示すフローチャート
である。
FIG. 7 is a flowchart showing the operation of one embodiment of the present invention.

【図8】本発明の一実施例におけるマルチタスクOSで
のメモリ割当シーケンスを示す図である。
FIG. 8 is a diagram showing a memory allocation sequence in the multitask OS in one embodiment of the present invention.

【図9】従来例におけるマルチタスクOSでのメモリ割
当シーケンスを示す図である。
FIG. 9 is a diagram showing a memory allocation sequence in a multitask OS in a conventional example.

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

1 メモリ割当て制御部 2 割当て要求受付部 3 割当て判定部 4 コスト判定部 5 メモリ容量判定部5 6 上限値判定部 7 下限値判定部 8 メモリ管理テーブル 8a タスク番号 8b メモリゲット・フラグ 8c コミットメント・フラグ 8d 所有コスト 8e メモリ割当容量上限値 8f メモリ割当容量下限値 Reference Signs List 1 memory allocation control unit 2 allocation request receiving unit 3 allocation determining unit 4 cost determining unit 5 memory capacity determining unit 5 6 upper limit determining unit 7 lower limit determining unit 8 memory management table 8a task number 8b memory get flag 8c commitment flag 8d Cost of ownership 8e Upper limit of memory allocation capacity 8f Lower limit of memory allocation capacity

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のタスクからのメモリゲット要求に
対してアクセス速度の異なる複数種類のメモリ各々への
割当てを行うメモリ管理装置であって、前記タスクがメ
モリゲットを行うか否かを示す情報を前記複数のタスク
各々に対応して格納するメモリゲットフラグと、前記タ
スクが全てのメモリゲット要求を発行済みか否かを示す
情報を前記複数のタスク各々に対応して格納するコミッ
トメントフラグと、前記複数のタスクからのメモリゲッ
ト要求に対して前記複数種類のメモリ各々への割当てを
行う際に前記メモリゲットフラグ及び前記コミットメン
トフラグ各々の内容を基に前記メモリゲットを行うタス
ク各々から前記メモリゲット要求が全て発行されたか否
かを検出する検出手段と、前記検出手段で前記メモリゲ
ット要求が全て発行されたことが検出された時に前記複
数のタスク各々のメモリゲット要求に付与されかつ要求
先のメモリに対する優先度を示す優先情報を基に前記複
数のタスク各々へのメモリ割当てを行う割当て手段とを
有することを特徴とするメモリ管理装置。
1. A memory management device for allocating a memory get request from a plurality of tasks to each of a plurality of types of memories having different access speeds, wherein the task is a memory
Information indicating whether or not to perform a morriget is stored in the plurality of tasks.
A memory get flag to be stored for each
Indicates whether the disk has issued all memory get requests
A committer for storing information corresponding to each of the plurality of tasks;
And the memory flag from the plurality of tasks.
Assignment to each of the multiple types of memory
When performing, the memory get flag and the commit
Detecting means for detecting whether or not all of the memory get requests have been issued from each of the tasks for performing the memory get based on the contents of each of the memory flags, and wherein all of the memory get requests have been issued by the detecting means. Allocating means for allocating memory to each of the plurality of tasks based on priority information which is added to the memory get request of each of the plurality of tasks when it is detected that the plurality of tasks have been received, and indicates priority to the requested memory. A memory management device, characterized in that:
【請求項2】 前記複数のタスク各々に割当てられたメ
モリへのメモリゲット要求時に付与された優先情報の合
計が前記複数のタスク各々に予め設定された前記メモリ
に対する優先度の初期値を越えたか否かを判定する手段
と、前記優先度の初期値を越えたと判定された時にその
タスクに対するメモリの割当てを抑止する手段とを含む
ことを特徴とする請求項1記載のメモリ管理装置。
2. A method according to claim 1, wherein a sum of priority information given at the time of a memory get request to a memory assigned to each of said plurality of tasks exceeds an initial value of priority for said memory preset for each of said plurality of tasks. 2. The memory management device according to claim 1, further comprising: means for determining whether or not the priority has been exceeded, and means for suppressing allocation of memory to the task when it is determined that the priority has exceeded the initial value.
【請求項3】 前記複数のタスク各々の前記メモリの種
類毎の割当て量が前記メモリの種類毎に予め定められた
上限値を越えたか否かを判定する手段と、前記上限値を
越えたと判定された時にそのタスクに対する前記上限値
に対応する種類のメモリの割当てを抑止する手段とを含
むことを特徴とする請求項1または請求項2記載のメモ
リ管理装置。
3. A means for judging whether an assigned amount of each of the plurality of tasks for each type of memory has exceeded an upper limit predetermined for each type of memory, and judging that the upper limit has been exceeded. 3. The memory management device according to claim 1, further comprising: means for suppressing allocation of a type of memory corresponding to the upper limit to the task when the task is performed.
【請求項4】 前記複数のタスク各々の前記メモリの種
類毎の割当て量が前記メモリの種類毎に予め定められた
下限値を満たしているか否かを判定する手段と、前記下
限値を満たしていないと判定された時にそのタスクの動
作を停止する手段とを含むことを特徴とする請求項1か
ら請求項3のいずれか記載のメモリ管理装置。
4. A means for determining whether or not the quota of each of the plurality of tasks for each type of memory satisfies a lower limit predetermined for each type of memory, and satisfies the lower limit. 4. The memory management device according to claim 1, further comprising: means for stopping the operation of the task when it is determined that the task is not present.
【請求項5】 前記複数のタスク各々のメモリゲット要
求に付与されかつ要求先のメモリの種類を指定する指定
候補毎に割当てが可能か否かを判定する手段と、前記割
当てが不可能と判定された時に次指定候補によって指定
される種類のメモリへの割当てを行う手段と、前記メモ
リゲット要求に付加された全ての指定候補に対する割当
てが不可能と判定された時にそのタスクに対するメモリ
の割当てを抑止する手段とを含むことを特徴とする請求
項1から請求項4のいずれか記載のメモリ管理装置。
5. A means for judging whether or not assignment is possible for each designation candidate assigned to a memory get request of each of the plurality of tasks and designating a type of requested memory, and judging that the assignment is impossible Means for allocating to the type of memory specified by the next specified candidate when the allocation is made, and allocating memory to the task when it is determined that allocation to all specified candidates added to the memory get request is impossible. The memory management device according to claim 1, further comprising a suppression unit.
【請求項6】 前記優先情報は、前記メモリゲット要求
毎の優先順位と前記メモリの種類毎の優先順位とを基に
前記メモリゲット要求毎に付与するようにしたことを特
徴とする請求項1から請求項4のいずれか記載のメモリ
管理装置。
6. The memory according to claim 1, wherein the priority information is assigned to each memory get request based on a priority order for each memory get request and a priority order for each type of memory. The memory management device according to any one of claims 1 to 4.
JP6309384A 1994-12-14 1994-12-14 Memory management device Expired - Fee Related JP2874571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6309384A JP2874571B2 (en) 1994-12-14 1994-12-14 Memory management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6309384A JP2874571B2 (en) 1994-12-14 1994-12-14 Memory management device

Publications (2)

Publication Number Publication Date
JPH08166888A JPH08166888A (en) 1996-06-25
JP2874571B2 true JP2874571B2 (en) 1999-03-24

Family

ID=17992363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6309384A Expired - Fee Related JP2874571B2 (en) 1994-12-14 1994-12-14 Memory management device

Country Status (1)

Country Link
JP (1) JP2874571B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028298B1 (en) * 1999-09-10 2006-04-11 Sun Microsystems, Inc. Apparatus and methods for managing resource usage
DE19951716A1 (en) * 1999-10-27 2001-05-03 Heidenhain Gmbh Dr Johannes Dynamic memory management procedures
US9110592B2 (en) * 2013-02-04 2015-08-18 Microsoft Technology Licensing, Llc Dynamic allocation of heterogenous memory in a computing system
JP2020154391A (en) * 2019-03-18 2020-09-24 富士ゼロックス株式会社 Information processing system and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03147137A (en) * 1989-11-02 1991-06-24 Nec Corp System for allocating resources to resources waiting process
JPH04100158A (en) * 1990-08-18 1992-04-02 Pfu Ltd Cache control method

Also Published As

Publication number Publication date
JPH08166888A (en) 1996-06-25

Similar Documents

Publication Publication Date Title
US7765545B2 (en) Method for automatically imparting reserve resource to logical partition and logical partitioned computer system
US5748468A (en) Prioritized co-processor resource manager and method
US7219347B1 (en) Resource scheduling
US7392524B2 (en) Method, system, and storage medium for managing computer processing functions
US8141096B1 (en) System, method, and computer program product for group scheduling of computer resources
US6834385B2 (en) System and method for utilizing dispatch queues in a multiprocessor data processing system
US6438553B1 (en) Distributed job integrated management system and method
US6976135B1 (en) Memory request reordering in a data processing system
US20020052909A1 (en) Efficient assignment of processing resources in a fair queuing system
CN109936604A (en) A resource scheduling method, device and system
JPS6130310B2 (en)
EP0817041A2 (en) Method for reserving resources
US7698529B2 (en) Method for trading resources between partitions of a data processing system
CN107491351A (en) A priority-based resource allocation method, device and equipment
US8024726B2 (en) System for correct distribution of hypervisor work
US7770177B2 (en) System for memory reclamation based on thread entry and release request times
JP2874571B2 (en) Memory management device
CN111813564B (en) Cluster resource management method and device and container cluster management system
JP2006323872A (en) Spare resource providing method and computer system for logical partition
JP2804478B2 (en) Task control system and online transaction system
WO2024164369A1 (en) Resource-aware task allocation method for mixed-criticality partitioned real-time operating system
JPH04314147A (en) Memory managing system
JPH08305560A (en) Licence management system
EP1182553A2 (en) Efficient assignment of processing resources in a fair queuing system
JP2001142723A (en) Resource allocation method, computer system and recording medium

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080114

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090114

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100114

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110114

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees