JPS6027963A - Measurement processing system for use state of memory - Google Patents

Measurement processing system for use state of memory

Info

Publication number
JPS6027963A
JPS6027963A JP58136141A JP13614183A JPS6027963A JP S6027963 A JPS6027963 A JP S6027963A JP 58136141 A JP58136141 A JP 58136141A JP 13614183 A JP13614183 A JP 13614183A JP S6027963 A JPS6027963 A JP S6027963A
Authority
JP
Japan
Prior art keywords
program
area
queue
management queue
data 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
JP58136141A
Other languages
Japanese (ja)
Inventor
Koichi Furugaki
古垣 幸一
Tatsunori Takaboso
高細 辰憲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP58136141A priority Critical patent/JPS6027963A/en
Publication of JPS6027963A publication Critical patent/JPS6027963A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Memory System (AREA)

Abstract

PURPOSE:To obtain an accurate memory estimate by generating a request instruction for area acquisition while a program is in processing execution, and generating an individual program use area control queue corresponding to the ID number of a program which generates an instruction in response. CONSTITUTION:When the area that a program A uses is measured, its ID number is written in a macro instruction GETMAiN, and the individual use area control queue 8 corresponding to the ID number is set up in an operating system OS2. Then if a macro instruction GETMAiN whose ID number is A is generated while the program A is run, the OS2 acquires an area 5-5 on the basis of it to delete desired information in an unused area control queue 7 through the operation of a queue processing part 9, and also add queue information 6-2 into a used area control queue 6 and queue information 8-1 into the queue 8. Then, the contents of the queue 8 are referred to know the area that the program A uses up to the point of time, thus taking a measurement.

Description

【発明の詳細な説明】 囚発明の技術分野 本発明は、メモリ使用状況測定処理方式、特に。[Detailed description of the invention] Technical field of prison invention The present invention particularly relates to a memory usage measurement processing method.

例えばシステム・チューニング時やシステム・デバッグ
時などにおいて動作するプログラムが、現実にどれだけ
の量のデータ・バッファ域を使用するかを処理実行中に
測定できるようにしたメモリ使用状況測定処理方式に関
するものである。
This relates to a memory usage measurement processing method that makes it possible to measure how much data buffer area is actually used by a program running during system tuning or system debugging, for example, during execution. It is.

■技術の背景と問題点 従来から、成るプログラムがデータ・バッファ域上の領
域を獲得しようとする場合には1例えばGETMAIN
 マクロの如き命令を発し、オペレーショナル・システ
ム(以下O8と略す)にその獲得処理を依頼するように
されている。O8は、これに対応して、データ・バッフ
ァ域上に所定量の領域を獲得して当該プログラムに通知
すると共に。
■Technical background and problems Conventionally, when a program consisting of
It issues a command such as a macro and requests the operational system (hereinafter abbreviated as O8) to acquire the command. In response, O8 acquires a predetermined amount of space on the data buffer area and notifies the program.

メモリ管理キュー処理によって、使用領域管理キューと
未使用領域管理キューとを更新するよう゛に一゛してい
る。
The used area management queue and the unused area management queue are updated through memory management queue processing.

このことから、データ・バッファ域の使用状況は、上記
使用領域管理キューを参照することによってこれを知る
ことができる。しかし1例えば新らたにプログラムAを
作成したなどの場合に、当該プログラムAが現実に処理
中にどの程度の量の領域を使用するかを予め知見いわゆ
るメモ、す、見積9を行うことが必要であるが、上記使
用領域管理キューは各プログラムにまとめて共通に管理
を行っているものであって、上記の希望を満足させるも
のではない。このために、従来では、いわゆる机上計算
によって見積シを行っているが、実際にプログラムAを
走行せしめてみて、現実に使用される領域の量を把握す
ることが望まれる。
Therefore, the usage status of the data buffer area can be known by referring to the usage area management queue. However, 1. For example, when a new program A is created, it is necessary to know in advance how much space the program A will actually use during processing, and to make a so-called memo or estimate9. Although necessary, the used area management queue is collectively managed for each program and does not satisfy the above desire. For this reason, conventionally, estimates have been made by so-called desk calculations, but it is desirable to actually run program A and understand the amount of area that will actually be used.

(Q発明の目的と構成 本発明は、上記の点を解決することを目的とし ′てお
シ、いわばグログラム対応に使用領域管理キューを簡単
に作成し得るようにすることを目的としている。そして
そのため1本発明のメモリ使用状況測定処理方式は、プ
ログラムが処理実行中にオ°はレー′ショナル・システ
ムに対して領域ff1i要求命令を発してデータ・バッ
ファ域に領域を獲得するよう構成されると共に、上記オ
ペレーショナル・システムは上記データ・バッファ域に
所定量の領域を獲得して上記プログラムに通知しかつ上
記データ・バッファ域における使用領域管理を管理キュ
ー、によって実行するデータ処理装置において、与えら
れたプログラムの上記領域獲得要求命令に対応して当該
命令を発したプログラムのID≠ンバを上記オペレーシ
ョナル・シスチムニ通知するよう構成すると共に、当該
オはレーショナル・システムが当該IDナンバをチェッ
クして当該プログラムIDナンバ対応に個別プログラム
使用領域管理キューを作成するよう構成してなシ、上記
個別プログラム使用領域管理キューの内容を所定の時点
および/iたは随時参照できるようにしたことを特徴と
している。以下図面を参照しつつ説明する。
(QObject and Structure of the Invention The present invention aims to solve the above-mentioned problems.In other words, it aims to make it possible to easily create a used area management queue corresponding to a program. Therefore, the memory usage measurement processing method of the present invention is configured to issue an area ff1i request command to the operational system to acquire an area in the data buffer area while the program is executing the process. In addition, the operational system acquires a predetermined amount of area in the data buffer area, notifies the program, and manages the used area in the data buffer area using a management queue. In response to the area acquisition request command of the program that issued the command, the operational system is configured to notify the ID ≠ number of the program that issued the command, and the operational system checks the ID number and executes the program. The present invention is characterized in that the individual program used area management queue is not created in correspondence with the ID number, but the contents of the individual program used area management queue can be referred to at a predetermined time or at any time. This will be explained below with reference to the drawings.

0発明の実施例 図は本発明の一実施例を処理態様が明瞭になるよう表現
した構成図を示している。図中の符号lはデータ処理装
置であってメモリの内容をもって代表せしめているもの
、2はO8,3A、3Bは夫々プログラムであって例え
ばアプリケーション・プログラムの如きもの、4はデー
タ・バッファ域、5−0.5−1・・・・・・・・・・
・・は夫々本発明にいう領域に対応するもの、6は使用
領域管理キュー。
Embodiment 0 of the Invention The figure shows a configuration diagram that expresses an embodiment of the present invention so that the processing mode is clear. Reference numeral 1 in the figure indicates a data processing device, which is represented by the contents of the memory; 2 indicates programs O8, 3A, and 3B, such as application programs; 4 indicates a data buffer area; 5-0.5-1・・・・・・・・・・
. . . correspond to the areas referred to in the present invention, and 6 is a used area management queue.

6−0 、6−1 、・・・・・・は夫々キュー情報、
7は未使用領域管理キュー、7−0.’i’−1,,・
・曲は夫々キュー情報、8は個別プログラム使用領域管
理キュー、8−0.8−1.・・・・・・はキュー情報
、9はキュー処理部を表わしている。
6-0, 6-1, ... are respectively queue information,
7 is an unused area management queue, 7-0. 'i'-1,,・
- Each song has cue information, 8 is an individual program usage area management queue, 8-0.8-1. . . . represents queue information, and 9 represents a queue processing unit.

従来から、プログラム3Aやプログラム3Bがデータ・
バッファ域4上に領域を獲得しようとする場合には9図
示GETMAjN の如きマクロ命令を発し、O82に
処理を依頼する。O82は、これによって、データ・バ
ッファ域4上に例えば領域5−3を獲得し、あわせてキ
ュー処理部9の慟らきによって、未使用領域管理キュー
7上から所望の情報を抹消すると共に使用領域管理キュ
ー6上に例えばキュー情報6−1を附加し、メモリ管理
を行うようにしている。
Traditionally, program 3A and program 3B are data
When attempting to acquire an area on the buffer area 4, a macro command such as GETMAjN shown in 9 is issued and processing is requested to the O82. O82 thereby acquires, for example, an area 5-3 on data buffer area 4, and also deletes the desired information from unused area management queue 7 according to the direction of queue processing unit 9, and also clears the used area. For example, queue information 6-1 is added to the management queue 6 to perform memory management.

本発明の場合には、この点を積極的に利用するようにし
1例えばプログラムAが現実に使用する領域を測定しよ
うとする場合に、プログラムAにおけるGETMAiN
マクロ命令中に、当該プログラムAのIDナンバを記述
しておくようにする。
In the case of the present invention, this point is actively utilized.1 For example, when trying to measure the area actually used by program A, GETMAiN in program A
The ID number of the program A is written in the macro instruction.

一方O82においては、当該IDナンバに対応して。On the other hand, in O82, corresponding to the ID number.

個別プログラム使用領域管理キュー8を用意するように
する。
An individual program use area management queue 8 is prepared.

このようにすることによって1図示の如く2例えばプロ
グラムAが走行する間に、1D=hをもつaETyrh
iNマクロ命令が発せられたとするとき。
By doing this, 1. As shown in the figure, 2. For example, while program A is running, aETyrh with 1D=h
Assume that an iN macro instruction is issued.

O82は、これ−にもとづいて例えば領域5−5を獲得
して、キュー処理部9の働らきによシ、未使用領域管理
キュー7上から所望の情報を抹消すると共に使用領域管
理キュー6上にキュー情報6−2を附加し、更に個別プ
ログラム使用領域管理キュ−8上にキュー情報8−1を
附加する。
Based on this, O82 acquires, for example, area 5-5, improves the operation of queue processing section 9, deletes desired information from unused area management queue 7, and deletes desired information from used area management queue 6. The queue information 6-2 is added to the queue information 6-2, and the queue information 8-1 is added to the individual program usage area management queue-8.

このような制御が行われることによって1個別プログラ
ム使用領域管理キュー8の内容を所定の時点であるいは
随時参照することによって、当該時点までに(あるいは
当該時点に)プログラムAが使用した領域を知ることが
でき、その使用量を測定することが可能となる。
By performing such control, it is possible to know the area used by program A up to (or at) that point in time by referring to the contents of the individual program used area management queue 8 at a predetermined point in time or at any time. This makes it possible to measure the amount used.

(ト)発明の詳細 な説明した如く1本発明によれば、任意のプログラムが
夫々実際にどの程度の領域を使用するかを正確に測定す
ることが可能となり、いわゆるメモリ見積)が正確なも
のとなる。
(G) As described in detail, according to the present invention, it is possible to accurately measure how much area each arbitrary program actually uses, and so-called memory estimation is accurate. becomes.

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

図は本発明の一実施例を処理態様が明瞭になるように表
現した構成図を示す。 図中、1はデータ処理装置であってメモリの内容をもっ
て代表せしめているもの、2はO8,3はプログラム、
4はデータ・バッファ域、5は領域、6は使用領域管理
キュー、7は未使用領域管理キュー、8は個別プログラ
ム使用領域管理キュー、9はキュー処理部を表わす。 特許出願人 富士通株式会社
The figure shows a configuration diagram expressing an embodiment of the present invention so that the processing mode is clearly expressed. In the figure, 1 is a data processing device represented by the contents of memory, 2 is an O8, 3 is a program,
4 is a data buffer area, 5 is an area, 6 is a used area management queue, 7 is an unused area management queue, 8 is an individual program used area management queue, and 9 is a queue processing section. Patent applicant Fujitsu Limited

Claims (1)

【特許請求の範囲】[Claims] プログラムが処理実行中にオはレーショナル・システム
に対して領域獲得要求命令を発してデータ・バッファ域
に領域を獲得するよう構成されると共に、上記オペレー
ショナル・システムは上記データ・バッファ域に所定量
の領域を獲得して上記プログラムに通知しかつ上記デー
タ・バッファ域における使用領域管理を管理キューによ
って実行するデータ処理装置において、与えられたプロ
グラムの上記領域獲得要求命令に対応して当該命令を発
したプログラムのID7’ンバを上記オペレーショナル
・システムに通知するよう構成すると共に、当該オペレ
ーショナル・システムが当該lDナンバをチェックして
当該プログラムIDナンバ対応に個別プログラム使用領
域管理キューを作成するよう構成してなシ、上記個別プ
ログラム使用領域管理キューの内容を所定の時点および
/または随時参照できるようにしたことを特徴とするメ
モリ使用状況測定処理方式。
While the program is executing processing, the OS is configured to issue an area acquisition request command to the operational system to acquire an area in the data buffer area, and the operational system allocates a predetermined amount of space to the data buffer area. In a data processing device that acquires an area and notifies the program, and manages the used area in the data buffer area using a management queue, the command is issued in response to the area acquisition request command of a given program. The system is configured to notify the above-mentioned operational system of the ID number of the program, and the operational system is also configured to check the ID number and create an individual program usage area management queue corresponding to the program ID number. B. A memory usage status measurement processing method, characterized in that the contents of the individual program usage area management queue can be referenced at a predetermined time and/or at any time.
JP58136141A 1983-07-26 1983-07-26 Measurement processing system for use state of memory Pending JPS6027963A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58136141A JPS6027963A (en) 1983-07-26 1983-07-26 Measurement processing system for use state of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58136141A JPS6027963A (en) 1983-07-26 1983-07-26 Measurement processing system for use state of memory

Publications (1)

Publication Number Publication Date
JPS6027963A true JPS6027963A (en) 1985-02-13

Family

ID=15168261

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58136141A Pending JPS6027963A (en) 1983-07-26 1983-07-26 Measurement processing system for use state of memory

Country Status (1)

Country Link
JP (1) JPS6027963A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02277678A (en) * 1989-04-19 1990-11-14 Fuji Xerox Co Ltd Page printer
JPH03189842A (en) * 1989-12-20 1991-08-19 Matsushita Electric Ind Co Ltd Memory managing method
JPH08328944A (en) * 1995-05-31 1996-12-13 Nec Corp Memory managing system
KR100291778B1 (en) * 1997-12-26 2001-07-12 윤종용 Method and device for bonding outer lead

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02277678A (en) * 1989-04-19 1990-11-14 Fuji Xerox Co Ltd Page printer
JPH03189842A (en) * 1989-12-20 1991-08-19 Matsushita Electric Ind Co Ltd Memory managing method
JPH08328944A (en) * 1995-05-31 1996-12-13 Nec Corp Memory managing system
KR100291778B1 (en) * 1997-12-26 2001-07-12 윤종용 Method and device for bonding outer lead

Similar Documents

Publication Publication Date Title
US11086725B2 (en) Orchestration of heterogeneous multi-role applications
US11099937B2 (en) Implementing clone snapshots in a distributed storage system
JP4438807B2 (en) Virtual machine system, management server, virtual machine migration method and program
US9003149B2 (en) Transparent file system migration to a new physical location
US6526441B2 (en) Input/output device information management system for multi-computer system
US11113158B2 (en) Rolling back kubernetes applications
JP3270216B2 (en) File name detection method
JP4436036B2 (en) Information processing apparatus, trace processing method, program, and recording medium
US9489396B2 (en) Intermediation of hypervisor file system and storage device models
US10831387B1 (en) Snapshot reservations in a distributed storage system
US20190042406A1 (en) System and method to manage and share managed runtime memory for java virtual machine
US9886443B1 (en) Distributed NFS metadata server
US20190220361A1 (en) Monitoring Containers In A Distributed Computing System
TWI735542B (en) Data storage method and device of virtual machine
US10817380B2 (en) Implementing affinity and anti-affinity constraints in a bundled application
JP2008033483A (en) Computer system, computer, and moving method of computer operating environment
US10732841B2 (en) Tracking ownership of memory in a data processing system through use of a memory monitor
US11016886B2 (en) Multi-ring shared, traversable, and dynamic advanced database
US9251149B2 (en) Data set size tracking and management
US10845997B2 (en) Job manager for deploying a bundled application
US20210382636A1 (en) Customizable lock management for distributed resources
JP2014149606A (en) Resource usage totaling program, resource usage totaling method and resource usage totaling device
JPS6027963A (en) Measurement processing system for use state of memory
US9135457B1 (en) System and method for recording and applying access privileges in a virtualized environment
US20140082305A1 (en) Providing usage statistics for virtual storage