JPS5994152A - High-speed logging system - Google Patents

High-speed logging system

Info

Publication number
JPS5994152A
JPS5994152A JP57203419A JP20341982A JPS5994152A JP S5994152 A JPS5994152 A JP S5994152A JP 57203419 A JP57203419 A JP 57203419A JP 20341982 A JP20341982 A JP 20341982A JP S5994152 A JPS5994152 A JP S5994152A
Authority
JP
Japan
Prior art keywords
logging
area
program
buffer area
real address
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
JP57203419A
Other languages
Japanese (ja)
Inventor
Hidetoshi Yasukawa
安川 英俊
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 JP57203419A priority Critical patent/JPS5994152A/en
Publication of JPS5994152A publication Critical patent/JPS5994152A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment

Landscapes

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

Abstract

PURPOSE:To perform the logging processing in a high speed, by providing collectively a program and a buffer for logging in an area corresponding to actual addresses following an NUCLIAS of a virtual storage area. CONSTITUTION:A program area 1b for logging and a logging buffer area 1c are provided collectively just after the NUCLIAS so that they correspond to actual addresses. Consequently, in the state where the program and the buffer area for logging are read into a main storage device 2, the program area 2b and the buffer area 2c for logging are stored collectively just after an NUCLIAS 2a. In this manner, the program area and the buffer area are read into actual addresses in the same unit as an NUCLIAS 1a.

Description

【発明の詳細な説明】 (a1発明の技術分野 本発明は仮想記憶方式のデータ処理システにおけるロギ
ング方式に関する。
DETAILED DESCRIPTION OF THE INVENTION (a1) Technical Field of the Invention The present invention relates to a logging method in a virtual memory data processing system.

(bl技術の背景 データ処理システムの誤動作の形態は、ハードウェアの
故障、設計の過誤などハードウェアだけに原因がある場
合と、マイクロプログラムやソフトウェアの設計などに
原因がある場合、ハードウェア、マイクロプログラムお
よびソフトウェアが複雑にからみ合って発生する場合な
ど様々である。
(Background of BL technology) Malfunctions in data processing systems can be caused by hardware alone, such as hardware failure or design error, or if the cause is due to microprogram or software design. There are various cases where programs and software are intricately intertwined.

一般に、このような障害が発生ずると、その原因解明も
困難で、長時間を要する。このような障害の原因を究明
するための障害調査や性能測定を行なうのに、システム
の動作状態をトレースするロギングが行なわれる。
Generally, when such a failure occurs, it is difficult to find out the cause and it takes a long time. Logging is performed to trace the operational status of the system in order to investigate the cause of such failures and measure performance.

(11,1従来技術とその問題点 従来のロギング方式としては、常時ロギング方式と途中
起動ロギング方式とがある。常時ロギング方式は、常に
主記憶装置にロギングプログラムとロギング結果を記憶
するバッファ領域を確保しておく方式で、通常の運用で
必要のないロギングが行なわれるのでシステム全体とし
て効率が低下し、またロギングに必要な実記憶領域を占
有したままとなるので、主記憶装置の記憶容量を低下さ
せる。
(11.1 Prior Art and Its Problems Conventional logging methods include a constant logging method and a mid-start logging method.The constant logging method always uses a buffer area in the main memory to store the logging program and logging results. This method reduces the efficiency of the system as a whole because logging that is not necessary in normal operation is performed, and the real storage area required for logging remains occupied, so the storage capacity of the main storage device is reduced. lower.

第1図は途中起動ロギング方式を示すもので、仮想記憶
領域1中に、仮想アドレスと実アドレスが一致する領域
NUCLIUS  (核)のほかにロギング用のプログ
ラム領域1bやロギングのへソファ領域1c、通常のデ
ータ処理のためのプログラムやデータ領域1dが設けら
れている。NUCLIUSは、システムの0番地から固
定の領域を持っていて、ハードウェアとソフトウェアと
のインターフェースとなったり、常駐化しておかなけれ
ばならないプログラムが配置されている。2は主記憶装
置で、ロギングを実行する際は、仮想記憶領域1中のロ
ギング用プログラム領域1bおよびバッファ領域ICの
内容が主記憶装置2のページングされたアドレス2b、
2Cに転送され、ロギングが実行される。
FIG. 1 shows the mid-startup logging method, in which in the virtual storage area 1, in addition to the area NUCLIUS (nucleus) where the virtual address and the real address match, there is a program area 1b for logging, a sofa area 1c for logging, A program and data area 1d for normal data processing are provided. NUCLIUS has a fixed area starting from address 0 of the system, in which programs that serve as an interface between hardware and software and must be made resident are located. 2 is a main storage device, and when executing logging, the contents of the logging program area 1b and buffer area IC in the virtual storage area 1 are stored at the paged address 2b of the main storage device 2;
The data is transferred to 2C and logging is performed.

このようにロギング用のプログラム領域1bおよびバッ
ファ領域1cは、仮想記憶上は連続であるが、実アドレ
スは不連続であるため、実アドレス上のページが異なる
場合は、各ページごとにページングのためのチャネルコ
マンドを生成しなければならないので、入出力のチャネ
ルコマンI・が大きくなり、入出力のエラーリトライ処
理も複雑になり、効率が低下するという欠点がある。ま
た性能測定などの場合は、測定結果を磁気テープ装置3
に退避させるが、そのような場合、チャネルコマンドで
磁気テープ装置に書込みを行なう際に、バッファ領域中
の測定結果が実アドレス上で非連続になっていると、磁
気テープなどの外部媒体3に退避させるのに時間がかか
り、システム全体としての効率が低下する。そのため特
に小型のシステムにおいては問題が大きい。
In this way, the program area 1b and buffer area 1c for logging are contiguous in virtual memory, but the real addresses are discontinuous, so if the pages at the real addresses are different, paging is performed for each page. Since channel commands must be generated, the input/output channel command I. becomes large, input/output error retry processing becomes complicated, and efficiency decreases. In addition, in the case of performance measurement, etc., the measurement results are transferred to the magnetic tape device 3.
However, in such a case, when writing to the magnetic tape device using a channel command, if the measurement results in the buffer area are discontinuous on the real address, the data will be saved to the external medium 3 such as magnetic tape. It takes time to evacuate, and the efficiency of the system as a whole decreases. This poses a serious problem, especially in small systems.

fd+発明の目的 本発明は、従来のロギング方式におけるこのような問題
を解決し、主記憶装置の記憶容量を低下させたり、効率
低下を来すことがなく、且つロギング処理を高速に行な
えるようにすることを目的とする。
fd+ Purpose of the Invention The present invention solves these problems in the conventional logging method, and provides a method that allows high-speed logging processing without reducing the storage capacity of the main storage device or reducing efficiency. The purpose is to

(e1発明の構成 この目的を達成するために本発明は、仮想アドレスと実
アドレスが一致する領域(NUCLIUS )を持つ仮
想アドレス方式のデータ処理装置において、仮想記憶領
域のNUCLIUSの後に実アドレスと対応する領域に
、ロギング用のプログラムおよびロギング・バッファ領
域をまとめて設け、IPL時の設定により、上記NUC
LIUSの直後のロギング用プログラムおよびバッファ
領域を主記憶装置の対応する実アドレスに読み込んでロ
ギングを実行する方式を採っている。
(e1 Structure of the Invention In order to achieve this object, the present invention provides a data processing device using a virtual address system that has an area (NUCLIUS) where virtual addresses and real addresses match. The logging program and logging buffer area are provided together in the area where the NUC
A method is adopted in which the logging program and buffer area immediately after LIUS are read into the corresponding real address of the main storage device and logging is executed.

ff)発明の実施例 次に本発明による高速ロギング方式が実際上どのように
具体化されるかを実施例で説明する。第2図、第3図は
本発明による高速ロギング方式の実施例を示した図であ
る。第2図のような方式を採るか第3図のような方式を
採るかは、IPL時に設定される。
ff) Embodiments of the Invention Next, examples will explain how the high-speed logging method according to the present invention is actually implemented. FIGS. 2 and 3 are diagrams showing an embodiment of the high-speed logging method according to the present invention. Whether to adopt the method shown in FIG. 2 or the method shown in FIG. 3 is set at the time of IPL.

第2図において、■は仮想記憶領域、2は主記憶装置で
ある。仮想記憶領域1中には、NUCLItlSのほか
にロギング用のプログラム領域1bやロギングのバッフ
ァ領域ICが設けられているが、これらの領域は、N[
ICLIUSのすぐ後に、まとめて設5− けられている。しかもNUCLIUSの領域と同様に、
主記憶装置の対応する実アドレスと対応するように配置
される。1dは、データ処理用のプログラムおよびデー
タ領域である。
In FIG. 2, ■ is a virtual storage area, and 2 is a main storage device. In addition to NUCLItlS, the virtual storage area 1 includes a logging program area 1b and a logging buffer area IC.
It is located all together immediately after ICLIUS. Moreover, like the NUCLIUS area,
It is arranged so as to correspond to the corresponding real address in the main memory. 1d is a program and data area for data processing.

上記のようにロギング用のプログラム領域1bおよびロ
ギングのバッファ領域1cは、NUCLItlSのすぐ
後に、実アドレスと対応するようにまとめて設けられて
いるので、ロギング用のプログラムおよびバッファ領域
を主記憶装置2に読み込んだ状態では、NUCLIUS
 2 aの直後に、ロギング用のプログラム領域2bと
バッファ領域2cがまとめて記憶される。
As mentioned above, the logging program area 1b and the logging buffer area 1c are provided together immediately after NUCLItlS so as to correspond to the real address, so the logging program and buffer area are stored in the main memory 2. When loaded into NUCLIUS,
Immediately after 2a, a logging program area 2b and a buffer area 2c are stored together.

このようにN[1CLtllSと同様に、ロギング用の
プログラム領域もバッファ領域も、仮想記憶領域と実ア
ドレスが対応しているので、プログラム領域およびバッ
ファ領域もNUCLIUS 1 aと同じ単位で実アド
レスに読み込めるようにしておけば、ページングのため
の効率低下が防止され、ロギングの実行を迅速に行なう
ことができる。
In this way, similar to N[1CLtllS, the virtual memory area and real address of the logging program area and buffer area correspond, so the program area and buffer area can also be read into the real address in the same unit as NUCLIUS 1 a. By doing so, a decrease in efficiency due to paging can be prevented and logging can be executed quickly.

領域2dには、データ処理用のプログラムおよ6− びデータが記憶される。Area 2d contains data processing programs and 6- and data are stored.

上記のようにしてロギングを行なうかどうかは、運用に
より、IPL時の設定で選択される。即ちIPl1時に
ロギングを行なうように指定しておけば、IPL時にN
UCLIUSプログラムを実アドレスに読み込んでシス
テムを初期化するプログラムを読み込んだ隊に、自動的
に仮想記憶領域のプログラム1bおよびバッファ領域I
Cが実アドレスに読み込まれ、ロギングが行なわれる。
Whether or not to perform logging as described above is determined by the settings at IPL depending on the operation. In other words, if you specify to perform logging at IPL1, N
When the program that loads the UCLIUS program to the real address and initializes the system is loaded, the program 1b in the virtual storage area and the buffer area I are automatically loaded.
C is read into the real address and logging is performed.

IPL時にロギングを行なわないとの指定がなされてい
る場合は、プログラム1bおよびバッファ領域ICは実
アドレスに読み込まれず、ロギングも行なわれない。即
ち第3図のように、NUCLIUSを実アドレスに読み
込んでも、ロギング用プログラムおよびバッファ領域は
読み込まれず、ロギング領域は使用されない。
If it is specified that logging will not be performed during IPL, the program 1b and buffer area IC will not be read into the real address and no logging will be performed. That is, as shown in FIG. 3, even if NUCLIUS is read into a real address, the logging program and buffer area are not read and the logging area is not used.

このようにロギングを行なわない場合は、実アドレスの
領域は、第2図のようにロギングを行なう場合に比べて
大きくなり、従来の常時ロギング方式のように実アドレ
スの領域が占有されて、オーハーヘソドを招くようなこ
とはない。
When logging is not performed in this way, the real address area is larger than when logging is performed as shown in Figure 2, and as in the conventional constant logging method, the real address area is occupied and the There is no such thing as inviting.

+g+発明の効果 以上のように本発明によれば、仮想記憶領域にロギング
用のプログラム領域とバッファ領域を、NUCLIUS
の直後に同じ単位で設け、NUCLIUSと同時に実ア
ドレス上読み込まれるようにすると共に、ロギングを行
なうかどうかは、IPL時に指定するようにしている。
+g+Effects of the Invention As described above, according to the present invention, the logging program area and buffer area are provided in the virtual storage area by NUCLIUS.
is provided in the same unit immediately after NUCLIUS so that it is read at the real address at the same time as NUCLIUS, and whether or not to perform logging is specified at IPL.

そのためロギングを要する場合のみIPLでロギングを
指定し、ロギングを要しない場合はロギングを指定しな
ければ、ロギングによる通電のシステム稼働への影響を
最低限に抑えることができ、システムを最大限に効率化
できる。
Therefore, by specifying logging in IPL only when logging is required, and not specifying logging when logging is not required, you can minimize the impact of logging on system operation due to power supply, and maximize system efficiency. can be converted into

ロギングを行なう場合でも、ページングによる速度低下
を来すことがなく、またデータの外部媒体への退避が1
つのコマンドで迅速に行なわれるので、ロギング動作が
高速化される。したがって本発明は、ロギングを比較的
頻繁に行なう小型のシステムに極めて有効である。
Even when logging is performed, there is no speed reduction due to paging, and data can only be saved to external media once.
This speeds up the logging operation as it can be done quickly with just one command. Therefore, the present invention is extremely effective for small-sized systems that perform logging relatively frequently.

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

第1図は従来の途中起動によるロギング方式を示す図、
第2図と第3図は本発明による高速ロギング方式を示す
図である。 図において、■は仮想記憶領域、1aはNUCLIIJ
S、1bはロギング用プログラム領域、ICはロギング
用バッファ領域、1dは通電のデータ処理用プログラム
およびデータ領域、2は実アドレス、2aは実アドレス
上のNUCLI[IS 、 2 bは実アドレス上のロ
ギング用プログラム領域、2Cは実アドレス上のロギン
グ用バッファ領域、2dは実アドレス上のデータ処理用
プログラムおよびデータ領域、3は外部媒体をそれぞれ
示す。 特許出願人      富士通株式会社代理人 弁理士
    青 柳   稔9−
Figure 1 is a diagram showing the conventional logging method using mid-start.
FIGS. 2 and 3 are diagrams illustrating a high-speed logging method according to the present invention. In the figure, ■ is a virtual storage area, and 1a is NUCLIIJ
S, 1b is the logging program area, IC is the logging buffer area, 1d is the energized data processing program and data area, 2 is the real address, 2a is the NUCLI [IS] on the real address, 2b is on the real address A logging program area, 2C a logging buffer area on a real address, 2d a data processing program and data area on a real address, and 3 an external medium. Patent applicant Fujitsu Ltd. agent Patent attorney Minoru Aoyagi 9-

Claims (1)

【特許請求の範囲】 仮想アドレスと実アドレスが一致する領域(NOCLI
US )を持つ仮想アドレス方式のデータ処理装置にお
いて、 仮想記憶領域のNUCLI[ISの後に実アドレスと対
応する領域に、ロギング用のプログラムおよびロギング
・バッファ領域をまとめて設け、IPL時の設定により
、上記NUCLIUSの直後のロギング用プログラムお
よびバッファ領域を主記憶装置の対応する実アドレスに
読み込んでロギングを実行することを特徴とする高速ロ
ギン、グ方式。
[Claims] Area where virtual address and real address match (NOCLI
In a data processing device using a virtual address system that has a virtual memory area (NUCLI A high-speed logging method characterized in that logging is executed by reading the logging program and buffer area immediately after the NUCLIUS into the corresponding real address of the main storage device.
JP57203419A 1982-11-19 1982-11-19 High-speed logging system Pending JPS5994152A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57203419A JPS5994152A (en) 1982-11-19 1982-11-19 High-speed logging system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57203419A JPS5994152A (en) 1982-11-19 1982-11-19 High-speed logging system

Publications (1)

Publication Number Publication Date
JPS5994152A true JPS5994152A (en) 1984-05-30

Family

ID=16473757

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57203419A Pending JPS5994152A (en) 1982-11-19 1982-11-19 High-speed logging system

Country Status (1)

Country Link
JP (1) JPS5994152A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076055A (en) * 1993-04-22 1995-01-10 Bull Sa Tool for debugging of operating system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH076055A (en) * 1993-04-22 1995-01-10 Bull Sa Tool for debugging of operating system

Similar Documents

Publication Publication Date Title
US7864465B2 (en) Hard disk drive with reduced power consumption, related data processing apparatus, and I/O method
US6775744B2 (en) Disk memory device
US7406562B2 (en) Information read/write device
JPS5994152A (en) High-speed logging system
US6430660B1 (en) Unified memory hard disk drive system
US4652994A (en) System for transmitting data to auxiliary memory device
JP3350198B2 (en) Storage system with backup function
JPS6331806B2 (en)
JPH06314359A (en) Ic memory card
JPH0612342A (en) Fault detecting method for ram
KR0181487B1 (en) Driving apparatus and method of program using buffer ram
EP0358224A2 (en) Semiconductor disk device useful in transaction processing system
JPS61156348A (en) Memory device
JP2876488B2 (en) Semiconductor file memory device
JPH04167031A (en) Tracing system
JPS6235146B2 (en)
JPH0239342A (en) Memory ensuring system for ram disk
JPH10333980A (en) Memory accessing method and information processor
JPS59133656A (en) Data processing system
JPS6125260A (en) Double storage processing system using incorporated program
JPH0487077A (en) Data processor
JPH04102117A (en) Magnetic disk device
JPH04153852A (en) Test system for storage device
JPH0451344A (en) Image processing device with memory check function
JPH02165247A (en) Memory device