JPH01226032A - Data saving/reconstituting system at check point restart - Google Patents

Data saving/reconstituting system at check point restart

Info

Publication number
JPH01226032A
JPH01226032A JP63051733A JP5173388A JPH01226032A JP H01226032 A JPH01226032 A JP H01226032A JP 63051733 A JP63051733 A JP 63051733A JP 5173388 A JP5173388 A JP 5173388A JP H01226032 A JPH01226032 A JP H01226032A
Authority
JP
Japan
Prior art keywords
data
saving
backup
backup data
space
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
JP63051733A
Other languages
Japanese (ja)
Inventor
Koichi Toyoda
豊田 幸一
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 JP63051733A priority Critical patent/JPH01226032A/en
Publication of JPH01226032A publication Critical patent/JPH01226032A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To reduce a file space for receding a data space and to reduce overhead by saving/reconstituting only data specifying backup attribution at the time of saving/reconstituting a user data space in check point restart. CONSTITUTION:A backup data control table in a load module 25 outputted by a linker 22 is referred on a check point at the time of executing restart and backup data are receded to a backup data storing file 4. At the time of reexecution, the backup data are restored from the file 4 and restarted. Since only the data specifying backup attribution are saved/reconstituted in the saving/ reconstituting data of the user data space at the time of check point restart, the file space for receding the user data space can be miniaturized and overhead based upon saving/reconstituting can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、チェックポイントリスタート方式に関し2%
に、チェックポイントリスタートにおけるユーザデータ
空間の退避・復元方式に関するものである。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to a checkpoint restart method.
Second, it relates to a method for saving and restoring user data space in checkpoint restart.

〔従来の技術〕[Conventional technology]

従来、チェックポイントリスタートにおけるユーザデー
タ空間の退避・復元方式では、ユーザデータ空間全体を
退避・復元していた。
Conventionally, in the user data space save/restore method in checkpoint restart, the entire user data space is saved/restored.

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

従来チェックポイントリスタートにおけるユーザデータ
空間の退避・復元方式では、ユーザデータ空間全体を退
避・復元していたため、ユーザデータ空間を退避するた
めに膨大なファイルスイースを必要とし、退避・復元に
よるオーバーヘッドが大きいという欠点がある。
In the conventional method for saving and restoring user data space in checkpoint restart, the entire user data space was saved and restored, which required a huge file sweep to save the user data space, resulting in the overhead of saving and restoring. The disadvantage is that it is large.

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

本発明によるチェックポイントリスタートにおけるデー
タの退避・復元方式は、チエ、クポイントにおいて、退
避すべきバックアップデータを指定する指定手段と、チ
ェックポイントで、指定手段によって指定されたバック
アップデータをパッファツジデータ格納ファイルに退避
する退避手段と、退避手段によって退避されたバックア
ップデータt−パ、クア、fデータ格納ファイルから復
元する手段とから成る。
The data backup/restoration method in checkpoint restart according to the present invention includes a specification means for specifying backup data to be saved at checkpoints, and a buffer data for backup data specified by the specification means at the checkpoint. It consists of a saving means for saving to a storage file, and a means for restoring from the backup data t-pa, qua, f data storage file saved by the saving means.

〔実施例〕〔Example〕

以下2本発明の実施例を図面を参照して説明すすO 第1図を参照すると2本発明によるチェックポイントリ
スタートにおけるユーザデータ空間の退る手段2と、パ
ックア、fデータ退避手段2によって、退避されたバッ
クアップデータをパックア、fデータ格納フ・1イル4
から復元する手段3とから構成される。
Hereinafter, two embodiments of the present invention will be explained with reference to the drawings. Referring to FIG. Pack the evacuated backup data and save it to the data storage file 4
and means 3 for restoring from.

以下、バックアップデータを指定する手段1として、ソ
ースプログラム上でデータ定義としてパ、クア、f属性
を指定する場合を例にとって具体的に説明する。
Hereinafter, as means 1 for specifying backup data, a case will be specifically explained using an example in which the pa, qua, and f attributes are specified as data definitions on the source program.

第2図は、その場合のリンカ22とコンノ9イラ21に
よる処理の概要である。コンパイラ21は一ソースプロ
グラムで記述されたバックアップデータ23を翻訳し、
バックアップデータ制御情報をオブジェクトモジュール
24に出力する。リンカ22は、コンパイラ21によっ
て出力されたバックアップデータ制御情報をオブジェク
トモジュール24から入力し、バックアップデータ制御
テーブルをロードモジュール25に出力スル。
FIG. 2 shows an overview of the processing by the linker 22 and controller 21 in that case. The compiler 21 translates backup data 23 written in one source program,
Backup data control information is output to the object module 24. The linker 22 inputs the backup data control information output by the compiler 21 from the object module 24 and outputs the backup data control table to the load module 25.

次に、コンパイラ21.リンカ22.及びチェックポイ
ントリスタートの具体的な処理方式について、第3図、
第4図、第5図、第6図を参照しながら説明する。
Next, the compiler 21. Linker 22. The specific processing method for checkpoint restart is shown in Figure 3.
This will be explained with reference to FIGS. 4, 5, and 6.

コンパイラ21は、翻訳時、データ定義の記述にバック
アップ属性が指定されていると(第3図参照)、バック
アップデータに関する制御情報として、バックアップデ
ータのアドレス格納域とパ、クア、fデータ長を対にし
た制御データと、リンク時、バックアップデータのアド
レス格納域にバックアップデータの定義アドレスが設定
されるようなバックアップデータへの参照情報とを、オ
ブジェクトモジュール24に出力する(第4図参照)。
At the time of translation, if the backup attribute is specified in the data definition description (see Figure 3), the compiler 21 will match the address storage area of the backup data and the data lengths of the backup data, such as the address storage area and the data length of the data. It outputs to the object module 24 the control data that has been set and reference information to the backup data such that the definition address of the backup data is set in the address storage area of the backup data at the time of linking (see FIG. 4).

リンカ22は、バックアップデータをユーザデータ空間
に割シ当てた後、バックアップデータへの参照を解決す
ることによって、バックアップデータのアドレス格納域
に割シ当てられたアドレスを設定し、バックアップデー
タ長と共にバックアップデータ制御テーブルに登録する
。オブジェクトモジュールの入力が全て終了すると、バ
ックアップデータ制御テーブルにバックアップデータの
エントリ数を設定し、ロードモジュール25に出力する
(第5図参照)。
After allocating the backup data to the user data space, the linker 22 sets the allocated address in the address storage area of the backup data by resolving references to the backup data, and stores the backup data along with the backup data length. Register in the data control table. When all inputs to the object module are completed, the number of backup data entries is set in the backup data control table and output to the load module 25 (see FIG. 5).

実行時、チェックポイントにおいて、リンカ22によっ
て出力されたロードモジュール25中のパ、クア、プデ
ータ制御テーブルを参照し、バックアップデータをバッ
クアップデータ格納ファイル4に退避し、再実行時、バ
ックアップデータ格納ファイル4からバックアップデー
タを復元してリスタートさせる(第6図参照)。
During execution, at a checkpoint, the backup data is saved to the backup data storage file 4 by referring to the backup data control table in the load module 25 output by the linker 22, and when re-executed, the backup data storage file 4 is saved. Restore the backup data and restart (see Figure 6).

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

以上説明したように2本発明では、チェックポイントリ
スタートにおけるユーザデータ空間の退避・復元におい
て、バックアップ属性を指定したデータだけを退避・復
元することによって、ユーザデータ空間を退避するため
のファイルスペースを極小化し、退避・復元によるオー
バーヘッドを小さくすることができるという効果がある
As explained above, in the present invention, when saving and restoring the user data space during checkpoint restart, by saving and restoring only data with backup attributes specified, the file space for saving the user data space is saved. This has the effect of minimizing the overhead caused by saving and restoring.

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

第1図は本発明の一実施例の構成を示すプロ。 り図、第2図はソースプログラム上でバックアップデー
タを指定する場合のリンカとコン・ぐイラによる処理の
流れを示す図、第3図はソースプログラム中のバックア
ップデータ定義例を示す図、第4図はオブジェクトモジ
ュール中のバックアップデータ制御情報を示す図、第5
図はロードモジュール中のバックアップデータ制御テー
ブルを示す図、第6図はチェックポイントリスタートの
流しを示す図である。 1・・・バックアップデータ指定手段、2・・・バック
アップデータ退避手段、3・・・バックアップデータ復
元手段、4・・・・ぐックアッグデータ格納ファイル。 21・・・コンパイラ、22・・・リンカ、23・・・
ソースプログラム、24・・・オブジェクトモジュール
。 25・・・ロードモジュール。 第1図 第3図 第4図
FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. Figure 2 is a diagram showing the flow of processing by the linker and compiler when specifying backup data on a source program, Figure 3 is a diagram showing an example of backup data definition in a source program, and Figure 4 is a diagram showing an example of backup data definition in a source program. Figure 5 shows backup data control information in the object module.
The figure shows the backup data control table in the load module, and FIG. 6 shows the flow of checkpoint restart. 1... Backup data designating means, 2... Backup data saving means, 3... Backup data restoring means, 4... Guk-a-gg data storage file. 21... Compiler, 22... Linker, 23...
Source program, 24...object module. 25...Load module. Figure 1 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] 1、チェックポイントにおいて退避すべきデータを指定
する指定手段と、前記チェックポイントで、前記指定手
段によって指定されたデータをデータ格納ファイルに退
避する退避手段と、該退避手段によって退避されたデー
タを前記データ格納ファイルから復元する手段とを有す
ることを特徴とするチェックポイントリスタートにおけ
るデータの退避・復元方式。
1. A specifying means for specifying data to be saved at a checkpoint; a saving means for saving data specified by the specifying means to a data storage file at the checkpoint; A method for saving and restoring data in a checkpoint restart, comprising means for restoring from a data storage file.
JP63051733A 1988-03-07 1988-03-07 Data saving/reconstituting system at check point restart Pending JPH01226032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63051733A JPH01226032A (en) 1988-03-07 1988-03-07 Data saving/reconstituting system at check point restart

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63051733A JPH01226032A (en) 1988-03-07 1988-03-07 Data saving/reconstituting system at check point restart

Publications (1)

Publication Number Publication Date
JPH01226032A true JPH01226032A (en) 1989-09-08

Family

ID=12895099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63051733A Pending JPH01226032A (en) 1988-03-07 1988-03-07 Data saving/reconstituting system at check point restart

Country Status (1)

Country Link
JP (1) JPH01226032A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5903719A (en) * 1997-02-27 1999-05-11 Mitsubishi Electric Semiconductor Software Co., Ltd. Emulator apparatus and emulation method for efficiently analyzing program faults

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5903719A (en) * 1997-02-27 1999-05-11 Mitsubishi Electric Semiconductor Software Co., Ltd. Emulator apparatus and emulation method for efficiently analyzing program faults

Similar Documents

Publication Publication Date Title
JP4419884B2 (en) Data replication apparatus, method, program, and storage system
CN111722800A (en) Method for realizing ROW snapshot of distributed storage system and related components
JPWO2022098450A5 (en)
JPH01226032A (en) Data saving/reconstituting system at check point restart
Cores et al. Reducing the overhead of an MPI application-level migration approach
JPH02165344A (en) Hot stand-by system
JPH03271841A (en) Recovery system for data base
JPH0279129A (en) Check point restarting system
JPH02245828A (en) Stopping/resuming device of job in the middle of execution
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JPH04113431A (en) Virtual storage system
JPH0259837A (en) Data recovery processing system
JPH0552538B2 (en)
JPH02178847A (en) System for generating data table for reexecution of program
JPH04106632A (en) Debug processor
JPH02123426A (en) Microprocessor
JPS63262737A (en) Data base updating and recording processing method
JPH04105159A (en) Work substitute system
JPH03105625A (en) Reserving/restoring system for intermediate language
JPH01201728A (en) Program correcting system
JPS63228245A (en) Automatic restoration system for data base
JPH04264625A (en) Register control system
JPS6266345A (en) File restoration system
JPH03230237A (en) Fault countermeasure system for standard sequential file processing
JPS63155338A (en) Control system for record of program executing history