JPH0497463A - Real memory refilling system for message buffer - Google Patents

Real memory refilling system for message buffer

Info

Publication number
JPH0497463A
JPH0497463A JP2215591A JP21559190A JPH0497463A JP H0497463 A JPH0497463 A JP H0497463A JP 2215591 A JP2215591 A JP 2215591A JP 21559190 A JP21559190 A JP 21559190A JP H0497463 A JPH0497463 A JP H0497463A
Authority
JP
Japan
Prior art keywords
message buffer
message
buffers
real memory
buffer
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
JP2215591A
Other languages
Japanese (ja)
Inventor
Chifuyu Tamiya
田宮 千冬
Koji Imokawa
芋川 孝次
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2215591A priority Critical patent/JPH0497463A/en
Publication of JPH0497463A publication Critical patent/JPH0497463A/en
Pending legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To evade temporary communication infeasibility by monitoring the working status of a message buffer at a constant cycle, and refilling real memory fitting in the number of increment when the number of message buffers in use in remarkably increased. CONSTITUTION:A message buffer monitoring start-up part 1 starts up a message buffer monitoring part 2 at the constant cycle by a timer. Meanwhile, a message buffer securing and releasing part 3 updates the number of message buffers in use of the message buffer use number managing table 7 of a message buffer working status managing part 6 corresponding to the securing and releasing request of the message buffer from the user of the message buffer. The number of increment of the number of message buffers in use by start-up this time for that of the message buffers in use saved in a message buffer use number saving area 5 in the start-up last time is found at the message buffer monitoring part 2, and the real memory fitting in the number of increment is refilled at the message buffer securing and releasing part 3, and it is allocated to the message buffer. Thereby, it is possible to evade the temporary communication infeasibility.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は通信制御システムのメツセージバッファに対す
る実メモリ補給方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a real memory replenishment system for message buffers in communication control systems.

〔従来の技術〕[Conventional technology]

従来のメツセージバッファに対する実メモリ補給方式は
、実メモリを補給する契機となるメツセージバッファ使
用率である実メモリ補給比率を指定しておき、一定周期
でメツセージバッファの使用状況を監視する際に、実メ
モリを割付は済みのメツセージバッファ数に対するメツ
セージバッファ使用数の比率であるメツセージバッファ
使用率が、指定した実メモリ補給比率を越えていた場合
に、1ページずつの実メモリを補給していた。
In the conventional real memory replenishment method for message buffers, the real memory replenishment ratio, which is the message buffer usage rate that triggers replenishment of real memory, is specified, and when the message buffer usage status is monitored at regular intervals, the actual memory replenishment ratio is specified. When the message buffer usage rate, which is the ratio of the number of message buffers in use to the number of message buffers for which memory has been allocated, exceeds a specified real memory replenishment ratio, real memory is replenished one page at a time.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のメツセージバッファに対する実メモリ補
給方式は、通信負荷の増大時に、メツセージバッファ使
用率が指定した実メモリ補給比率を越えたときに初めて
一定周期で1ページずつの実メモリを補給するために、
メツセージバッファ使用率が短期間のうちに急増すると
実メモリの補給が間に合わなくなるという問題点を有し
ている。
The conventional real memory replenishment method for message buffers described above replenishes real memory one page at a time at regular intervals only when the message buffer usage rate exceeds the specified real memory replenishment ratio when the communication load increases. ,
There is a problem in that if the message buffer usage rate increases rapidly in a short period of time, real memory cannot be replenished in time.

このために、従来のメツセージバッファに対する実メモ
リ補給方式は、通信制御システムの通信負荷の急増時に
、システム全体としては実メモリに余裕があるにもかか
わらず、メッセージバ、7・ファへの実メモリの割当が
間に合わないので、−時的に通信が不能になるという欠
点を有している。
For this reason, the conventional method for replenishing real memory for message buffers is such that when the communication load on the communication control system increases rapidly, the real memory for the message buffer, 7. This has the disadvantage that communications may become temporarily unavailable because the allocation of information is not done in time.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のメツセージバッファに対する実メモリ補給方式
は、通信電文の格納のためのメツセージバッファを使用
し、メツセージバッファの使用状況に応じて、メツセー
ジバッファに実メモリを割付ける負荷制御機能を有する
通信制御システムのメツセージバッファに対する実メモ
リ補給方式において、 メツセージバッファの使用状況を監視するメツセージバ
ッファ監視部と、 前記メツセージバッファ監視部をタイマにより一定周期
で起動するメツセージバッファ監視起動部と、 メツセージバッファの利用者からの要求に応じて、メツ
セージバッファを確保したり解放したりするメツセージ
バッファ確保・解放部と、メツセージバッファの使用数
および実メモリ割付済のメツセージバッファ数、実メモ
リの補給・返却の契機となる実メモリ割付済のメツセー
ジバッファ数に対するメツセージバッファ便用数の比率
を管理するメツセージバッファ使用状況管理部と、 を有するとともに、 一定周期でタイマによる監視を行いながら、前記メツセ
ージバッファ監視部で前回の起動時にメツセージバッフ
ァ使用数退避域に退避しておいたメツセージバッファの
使用数に対して、今回の起動でメツセージバッファの使
用数の増加数を求め、前記メツセージバッファ確保・解
放部でその増加数に見合った実メモリを補給してメツセ
ージバッファに割付ける、 ことにより構成されている。
The real memory replenishment method for a message buffer of the present invention is a communication control system that uses a message buffer for storing communication messages and has a load control function that allocates real memory to the message buffer according to the usage status of the message buffer. A real memory replenishment method for a message buffer includes: a message buffer monitoring section that monitors the usage status of the message buffer; a message buffer monitoring activation section that starts the message buffer monitoring section at regular intervals using a timer; A message buffer securing/releasing unit that secures and releases message buffers in response to requests from users, the number of message buffers in use, the number of message buffers that have allocated real memory, and the actual memory that triggers the replenishment and return of real memory. a message buffer usage management unit that manages the ratio of the number of message buffers in use to the number of message buffers that have been allocated to memory; Calculate the increase in the number of message buffers used at this startup from the number of message buffers used that was saved in the message buffer usage number save area, and use the message buffer securing/release section to match the increase. It consists of replenishing real memory and allocating it to the message buffer.

〔実施例〕〔Example〕

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

第1図は本発明のメツセージバッファに対する実メモリ
補給方式の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a real memory replenishment method for a message buffer according to the present invention.

第1図に示すように、メツセージバッファ監視起動部1
は、タイマにより一定の周期でメツセージバッファ監視
部2を起動する。
As shown in FIG. 1, the message buffer monitoring starting section 1
starts the message buffer monitoring section 2 at regular intervals using a timer.

一方、メツセージバッファ確保・解放部3は、メツセー
ジバッファの利用者からのメツセージバッファの確保お
よび解放要求に応じて、メツセージバッファ使用状況管
理部6のメツセージバッファ使用数管理テーブル7のメ
ツセージバッファ使用数を更新する。
On the other hand, the message buffer reservation/release unit 3 updates the message buffer usage number in the message buffer usage number management table 7 of the message buffer usage status management unit 6 in response to a message buffer reservation and release request from a message buffer user. Update.

また、メツセージバッファ監視部2は、1ページ当りの
メツセージバッファ数4、前回の起動時に退避しておい
たメツセージバッファ使用数退避域5のメツセージバッ
ファ前回使用数、メツセージバッファ使用数管理テーブ
ル7のメッセージバソファ現在使用数、実メモリ割付は
済みメ、7セージバツフア数管理テーブル8の実メモリ
割付は済みメツセージバッファ数、実メモリ補給・返却
比率9の実メモリ補給比率を基にして、補給すべき実メ
モリのページ数を計算することにより、実メモリを補給
する。
In addition, the message buffer monitoring unit 2 also checks the number of message buffers per page (4), the previous number of message buffers used in the message buffer usage number save area 5 that was saved at the previous startup, and the messages in the message buffer usage number management table 7. Based on the current number of bus buffers in use, the number of message buffers that have been allocated in real memory, the number of message buffers that have been allocated in real memory in 7 sage buffer number management table 8, and the real memory replenishment ratio in real memory replenishment/return ratio 9, Replenish real memory by calculating the number of pages of memory.

そして、メツセージバッファ監視部2は、メツセージバ
ッファ使用数退避域5及び実メモリ割付は済みメツセー
ジバッファ数管理テーブル8を更新する。
Then, the message buffer monitoring unit 2 updates the message buffer usage number save area 5 and the real memory allocated message buffer number management table 8.

第2図は本実施例のメツセージバッファ監視部2の処理
の一例を示す流れ図である。
FIG. 2 is a flowchart showing an example of the processing of the message buffer monitoring section 2 of this embodiment.

メツセージバッファ監視部2は、第2図に示すように、
メツセージバッファ監視起動部1から起動されると、ス
テップ21で、メツセージバッファ使用数管理テーブル
7のメツセージバッファ現在使用数(A)と前回の起動
時に退避しておいたメツセージバッファ使用数退避域5
のメツセージバッファ前回使用数(B)との差であるメ
ツセージバッファ使用伸び数(C)を計算する。
The message buffer monitoring unit 2, as shown in FIG.
When started by the message buffer monitoring starting unit 1, in step 21, the current number of message buffers in use (A) in the message buffer usage number management table 7 and the number of message buffers in use save area 5 saved at the time of the previous startup.
The number of increases in message buffer usage (C), which is the difference between the number of message buffers used last time (B), is calculated.

今後のメツセージバッファ使用伸び数(C)に変化がな
いと仮定すると、次回のメツセージバッファ監視起動部
1からメツセージバッファ監視部2が起動されるときに
、メツセージバッファ現在使用数(A)+メツセージバ
ッファ使用伸び数(C)分のメツセージバッファが必要
であるから、メツセージバッファ現在使用数(A)+メ
ツセージバッファ使用伸び数(C)−実メモリ割付は済
みメツセージバッファ数(D)分のメツセージバッファ
が、次回までに不足することになる。
Assuming that there is no change in the future increase in the number of message buffers used (C), the next time the message buffer monitoring unit 2 is activated from the message buffer monitoring activation unit 1, the current number of message buffers used (A) + message buffer Since message buffers for the number of increased usage (C) are required, the number of message buffers currently used (A) + the increased number of message buffer usage (C) - real memory has been allocated and the number of message buffers for the number of message buffers (D) is now available. , there will be a shortage by the next time.

そこで、ステップ22で、上記の計算を行って不足メツ
セージバッファ数(E)を求める。
Therefore, in step 22, the above calculation is performed to determine the number of insufficient message buffers (E).

次に、判定ステップ23で、不足メツセージバッファ数
(E)が正かどうかを判定し、正の場合には、補給する
実メモリのページ数を計算するためにステップ24へ制
御を渡し、正でない場合には、現在の実メモリ割付は済
みメツセージバッファ数(D)に対するメツセージバッ
ファ現在使用数(A)の比率が実メモリ補給比率(Q)
を越えているかどうかを判定するステップ25へ制御を
渡す。
Next, in judgment step 23, it is judged whether the number of insufficient message buffers (E) is positive or not. If it is positive, control is passed to step 24 to calculate the number of real memory pages to be replenished; In this case, the ratio of the number of message buffers currently in use (A) to the number of message buffers that have been allocated (D) is the real memory replenishment ratio (Q).
Control is passed to step 25 where it is determined whether or not the value exceeds .

ステップ24ては、次回までの不足メツセージバッファ
数(E)を1ページ当りのメツセージバッファ数4(F
)で除算して1を加えることにより、補給する実メモリ
ページ数(P)を求め、ステップ27て、Pページの実
メモリを補給してメツセージバッファに割付ける処理を
行う。
In step 24, the number of missing message buffers (E) until the next time is calculated as the number of message buffers per page 4 (F).
) and add 1 to find the number of real memory pages (P) to be replenished, and in step 27, processing is performed to replenish P pages of real memory and allocate it to the message buffer.

一方、判定ステップ25では、従来の処理と同様に、メ
ツセージバッファの使用状態が実メモリ補給比率(Q)
を越えているかどうかを判断し、越えている場合には、
ステップ26およびステップ27で、1ページの実メモ
リを補給する。
On the other hand, in judgment step 25, as in the conventional process, the usage state of the message buffer is determined by the real memory replenishment ratio (Q).
Determine whether it exceeds the limit, and if it does,
In steps 26 and 27, one page of real memory is replenished.

ステップ27で、実メモリの補給を行って実メモリをメ
ツセージバッファに割付けた後には、ステップ28で、
実メモリ割付は済みメツセージバッファ数管理テーブル
8の実メモリ割付は済みメツセージバッファ数(D)を
更新する。
After replenishing the real memory and allocating the real memory to the message buffer in step 27, in step 28,
The number of real memory allocated message buffers (D) in the real memory allocated message buffer number management table 8 is updated.

最後に、ステップ29で、いずれの場合にも、メツセー
ジバッファ使用数退避域5のメツセージバッファ前回使
用数(B)に、メツセージバッファ現在使用数(A)を
退避して、メツセージバッファ監視部2の処理を終る。
Finally, in step 29, in either case, the current message buffer usage number (A) is saved in the message buffer usage number (B) in the message buffer usage number save area 5 in the message buffer usage number save area 5, and the message buffer monitoring unit 2 Finish processing.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明のメツセージバッファに対
する実メモリ補給方式は、メツセージバッファの使用状
況を一定周期で監視して、メッセージバッファの使用数
が急増している場合には、増加数に合わせて実メモリの
補給を行うので、通信制御システムで通信負荷が急増し
ても、メツセージバッファへの実メモリの割当てが間に
合わないために一時的に通信不能になる危険性が大幅に
低下するという効果を有している。
As explained above, the real memory replenishment method for message buffers of the present invention monitors the usage status of message buffers at regular intervals, and when the number of message buffers in use increases rapidly, the real memory replenishment method for message buffers according to the present invention By replenishing real memory, even if the communication load suddenly increases in the communication control system, the risk of temporary communication failure due to not being able to allocate real memory to the message buffer in time is greatly reduced. have.

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

第1図は本発明のメツセージバッファに対する実メモリ
補給方式の一実施例を示すブロック図、第2図は本実施
例のメツセージバッファ監視部2の処理の一例を示す流
れ図である。 1・・・メツセージバッファ監視起動部、2・・・メツ
セージバッファ監視部、3・・・メッセージバッファ確
保・解放部、4・・・1ページ当りのメツセージバッフ
ァ数、5・・・メツセージバッファ使用数退避域、6・
・・メツセージバッファ使用状況管理部、7・・・メツ
セージバッファ使用数管理テーブル、8・・・実メモリ
割付は済みメツセージバッファ数管Fl y−プル、9
・・・実メモリ補給・返却比率。
FIG. 1 is a block diagram showing an embodiment of a real memory replenishment method for a message buffer according to the present invention, and FIG. 2 is a flowchart showing an example of the processing of the message buffer monitoring section 2 of this embodiment. 1... Message buffer monitoring startup section, 2... Message buffer monitoring section, 3... Message buffer securing/release section, 4... Number of message buffers per page, 5... Number of message buffers used Evacuation area, 6.
... Message buffer usage status management section, 7... Message buffer usage number management table, 8... Real memory allocation has been completed, message buffer number control Fl y-pull, 9
...Actual memory replenishment/return ratio.

Claims (1)

【特許請求の範囲】 通信電文の格納のためのメッセージバッファを使用し、
メッセージバッファの使用状況に応じて、メッセージバ
ッファに実メモリを割付ける負荷制御機能を有する通信
制御システムのメッセージバッファに対する実メモリ補
給方式において、 メッセージバッファの使用状況を監視するメッセージバ
ッファ監視部と、 前記メッセージバッファ監視部をタイマにより一定周期
で起動するメッセージバッファ監視起動部と、 メッセージバッファの利用者からの要求に応じて、メッ
セージバッファを確保したり解放したりするメッセージ
バッファ確保・解放部と、 メッセージバッファの使用数および実メモリ割付済のメ
ッセージバッファ数、実メモリの補給・返却の契機とな
る実メモリ割付済のメッセージバッファ数に対するメッ
セージバッファ使用数の比率を管理するメッセージバッ
ファ使用状況管理部と、 を有するとともに、 一定周期でタイマによる監視を行いながら、前記メッセ
ージバッファ監視部で前回の起動時にメッセージバッフ
ァ使用数退避域に退避しておいたメッセージバッファの
使用数に対して、今回の起動でメッセージバッファの使
用数の増加数を求め、前記メッセージバッファ確保・解
放部でその増加数に見合った実メモリを補給してメッセ
ージバッファに割付ける、 ことを特徴とするメッセージバッファに対する実メモリ
補給方式。
[Claims] Using a message buffer for storing communication messages,
In a real memory replenishment method for a message buffer of a communication control system having a load control function that allocates real memory to a message buffer according to the usage status of the message buffer, a message buffer monitoring unit that monitors the usage status of the message buffer; a message buffer monitoring activation unit that activates the message buffer monitoring unit at regular intervals using a timer; a message buffer securing/releasing unit that secures and releases message buffers in response to requests from message buffer users; a message buffer usage status management unit that manages the number of buffers in use, the number of message buffers with real memory allocated, and the ratio of the number of message buffers in use to the number of message buffers with real memory allocated, which is a trigger for replenishing and returning real memory; At the same time, while monitoring with a timer at regular intervals, the message buffer monitoring unit calculates the number of message buffers used at the current startup, based on the number of message buffers used that was saved in the message buffer usage number save area at the previous startup. A method for replenishing real memory for message buffers, characterized in that an increase in the number of used buffers is determined, and the message buffer securing/releasing unit replenishes real memory corresponding to the increase in number and allocates it to the message buffer.
JP2215591A 1990-08-15 1990-08-15 Real memory refilling system for message buffer Pending JPH0497463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2215591A JPH0497463A (en) 1990-08-15 1990-08-15 Real memory refilling system for message buffer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2215591A JPH0497463A (en) 1990-08-15 1990-08-15 Real memory refilling system for message buffer

Publications (1)

Publication Number Publication Date
JPH0497463A true JPH0497463A (en) 1992-03-30

Family

ID=16674967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2215591A Pending JPH0497463A (en) 1990-08-15 1990-08-15 Real memory refilling system for message buffer

Country Status (1)

Country Link
JP (1) JPH0497463A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009530753A (en) * 2006-03-21 2009-08-27 フリースケール セミコンダクター インコーポレイテッド Data processor with dynamic control of instruction prefetch buffer depth and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009530753A (en) * 2006-03-21 2009-08-27 フリースケール セミコンダクター インコーポレイテッド Data processor with dynamic control of instruction prefetch buffer depth and method
US9304773B2 (en) 2006-03-21 2016-04-05 Freescale Semiconductor, Inc. Data processor having dynamic control of instruction prefetch buffer depth and method therefor

Similar Documents

Publication Publication Date Title
EP0646872B1 (en) Method and apparatus for multimedia data interchange with pacing capability in a distributed data processing system
US5948065A (en) System for managing processor resources in a multisystem environment in order to provide smooth real-time data streams while enabling other types of applications to be processed concurrently
JP2006260565A (en) Process scheduler using adaptive partitioning of process thread
CN105159782A (en) Cloud host based method and apparatus for allocating resources to orders
JPH07319715A (en) Hierarchical resource management method
US10686728B2 (en) Systems and methods for allocating computing resources in distributed computing
JPH07141305A (en) Control method for execution of parallel computer
EP0653080A1 (en) Method for managing resources allocated in a computer
JPH07231327A (en) Method for dynamic decision of allocation of access to shared resources and communication system
CN113037794A (en) Computing resource allocation scheduling method, device and system
JP2000293386A (en) Memory management system
CN113110927A (en) Task scheduling method and device, computer equipment and storage medium
US20080022287A1 (en) Method And System For Transferring Budgets In A Technique For Restrained Budget Use
JPH0497463A (en) Real memory refilling system for message buffer
Bestavros Load profiling: A methodology for scheduling real-time tasks in a distributed system
CN110955504A (en) Method, server, system and storage medium for intelligently distributing rendering tasks
JPH09222986A (en) Image processor and information processor
CN111857992B (en) Method and device for allocating linear resources in Radosgw module
CN114706663A (en) Computing resource scheduling method, medium and computing device
JPH10198643A (en) Distributed computer system
CN114489978A (en) Resource scheduling method, device, equipment and storage medium
JPH1173364A (en) Memory buffer management system
JP3778099B2 (en) Memory management method, computer system, and program
JPH04145560A (en) Optimum buffer assigning system
JPH09292998A (en) Thread generating method