JPH04296927A - High speed processing method for computer system - Google Patents

High speed processing method for computer system

Info

Publication number
JPH04296927A
JPH04296927A JP6153891A JP6153891A JPH04296927A JP H04296927 A JPH04296927 A JP H04296927A JP 6153891 A JP6153891 A JP 6153891A JP 6153891 A JP6153891 A JP 6153891A JP H04296927 A JPH04296927 A JP H04296927A
Authority
JP
Japan
Prior art keywords
disk
memory
computer system
main memory
speed processing
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
JP6153891A
Other languages
Japanese (ja)
Inventor
Hideji Nikaido
二階堂 秀治
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP6153891A priority Critical patent/JPH04296927A/en
Publication of JPH04296927A publication Critical patent/JPH04296927A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To increase the processing speed of a computer system by storing the files and the date having the high access frequency in a main storage so as to reduce as much as possible the overhead caused by 8 disk I/O. CONSTITUTION:Each of files 15, 16, 17 and 18 having the high access frequency is provided in a main memory 1 as a memory disk 13. Thus the disk I/O processing time can be omitted and the processing speed of a computer system is extremely increased.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】この発明は、電算機システムの高
速処理方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high-speed processing method for a computer system.

【0002】0002

【従来の技術】図4は従来例のシステム環境を示す図、
図5は図4のソフトウェアの構成を示す構成図である。 前記図4は現在一般的に使用されているEWS(Eng
ineering work station)のハー
ドウェアおよびソフトウェア環境を示している。図4に
おいて、1はEWS主記憶メモリ、2はバスで接続され
た外部ディスク、12はオペレーティングシステムの中
の核部分であるカーネル空間、11はユーザ空間、21
はカーネル12がアクセス可能なファイルシステムであ
る。
[Prior Art] FIG. 4 is a diagram showing a conventional system environment.
FIG. 5 is a configuration diagram showing the configuration of the software in FIG. 4. FIG. 4 shows EWS (Eng.
1 shows the hardware and software environment of a growing work station. In FIG. 4, 1 is an EWS main memory, 2 is an external disk connected by a bus, 12 is a kernel space which is the core part of the operating system, 11 is a user space, and 21 is a kernel space which is the core part of the operating system.
is a file system that can be accessed by the kernel 12.

【0003】また、図5において、11aはアプリケー
ションプログラム、21はカーネル、22はディスクド
ライバ、31は外部ディスク上に存在するファイルシス
テム、32,33,34,35はそれぞれ外部ディスク
上のファイルを表わしている。
Further, in FIG. 5, 11a is an application program, 21 is a kernel, 22 is a disk driver, 31 is a file system existing on an external disk, and 32, 33, 34, and 35 each represent a file on the external disk. ing.

【0004】次に前記従来例の動作について図5を用い
て例示して説明する。図5において、アプリケーション
プログラム(以下APという)11aはファイルシステ
ム31上のファイル32をコピーするプログラムである
と仮定した場合、AP11aからの要求でカーネル21
は、ディスクドライバ22に対し、ファイル32の位置
、つまりディレクトリをサーチするための要求およびフ
ァイル32の実体コピーのための要求を行う必要がある
。そしてその度、ディスクドライバ22に対しI/Oが
発生し、I/O待ちの時間がかかる。具体的には、ディ
スクドライバ22はディスクコントローラに対し、ディ
スク上の物理位置(シリンダ番号,トラック番号,セク
タ番号)およびカーネル空間内への転送先アドレス,サ
イズを指定し、デバイス起動する。そしてデバイス終了
割込みを待つといった流れを繰返す。
Next, the operation of the conventional example will be explained using FIG. 5 as an example. In FIG. 5, assuming that an application program (hereinafter referred to as AP) 11a is a program that copies a file 32 on a file system 31, the kernel 21 receives a request from the AP 11a.
needs to make a request to the disk driver 22 to search for the location of the file 32, that is, the directory, and to make a physical copy of the file 32. Each time, I/O occurs to the disk driver 22, and it takes time to wait for the I/O. Specifically, the disk driver 22 specifies the physical location on the disk (cylinder number, track number, sector number), transfer destination address and size in the kernel space to the disk controller, and starts the device. Then, the process of waiting for a device termination interrupt is repeated.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来例
においては、ソフトウェア環境は、実行したいファイル
,データが外部ディスク上にあるので、実行毎およびフ
ァイルアクセス毎にディスクI/O(INPUT/OU
TPUT)が入り処理時間が多くかかるという問題点が
あった。特に、そのシステムにおいてアクセス頻度の高
いファイルについては、ディスクI/Oの影響は大きい
という問題点があった。
As described above, in the conventional software environment, files and data to be executed are located on an external disk, so disk I/O (INPUT/ OU
There was a problem that the process took a lot of time due to the input (TPUT). In particular, there is a problem in that the influence of disk I/O is large for files that are frequently accessed in the system.

【0006】この発明は、上記のような問題点を解消す
るためになされたもので、外部ディスク上のファイルシ
ステムを主記憶上で実現し、システム全体における処理
高速化を目的とする。
The present invention has been made to solve the above-mentioned problems, and aims to realize a file system on an external disk on the main memory, and to speed up processing in the entire system.

【0007】[0007]

【課題を解決するための手段】このため、この発明にお
いては、主記憶メモリ上にメモリディスクを搭載し、ア
クセス頻度の高いファイル,データを前記主記憶メモリ
に前記メモリディスクとして内置し、前記ディスクに対
しI/Oを発生させず、システムとして高速処理を行う
電算機システムの高速処理方法により、前記目的を達成
しようとするものである。
[Means for Solving the Problem] Therefore, in the present invention, a memory disk is mounted on the main memory, files and data that are frequently accessed are internally stored in the main memory as the memory disk, and the memory disk is mounted on the main memory. The purpose is to achieve the above object by using a high-speed processing method for a computer system that performs high-speed processing as a system without generating I/O.

【0008】[0008]

【作用】この発明の電算機システムの高速処理方法は、
主記憶メモリ上にメモリディスクを搭載することにより
、アクセス頻度の高いファイル,データを前記主記憶メ
モリに前記メモリディスクとして内置し、前記ディスク
に対してI/Oを発生させず、システムとして高速処理
を行う。
[Operation] The high-speed processing method of the computer system of this invention is as follows:
By installing a memory disk on the main memory, frequently accessed files and data can be stored in the main memory as the memory disk, and the system can perform high-speed processing without generating I/O to the disk. I do.

【0009】[0009]

【実施例】以下、この発明の2実施例を図面に基づいて
説明する。まず、この発明の第1実施例を図1および図
2を用いて説明する。図1はこの発明の第1実施例のシ
ステム環境を示す図、図2は図1のソフトウェア構成を
示す構成図である。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Two embodiments of the present invention will be described below with reference to the drawings. First, a first embodiment of the present invention will be described using FIGS. 1 and 2. FIG. 1 is a diagram showing the system environment of a first embodiment of the present invention, and FIG. 2 is a configuration diagram showing the software configuration of FIG. 1.

【0010】図1において、1は主記憶メモリ、2は外
部ディスクであり、11はユーザ空間、12はカーネル
空間、13は主記憶メモリ1上に搭載されたメモリディ
スク、14は主記憶メモリ1にメモリディスク13とし
て内置したアクセス頻度の高いファイルシステム21と
同等であるファイルシステムである。
In FIG. 1, 1 is a main memory, 2 is an external disk, 11 is a user space, 12 is a kernel space, 13 is a memory disk mounted on the main memory 1, and 14 is a main memory 1. This file system is equivalent to the frequently accessed file system 21 which is installed internally as a memory disk 13 in the computer.

【0011】図2は第1実施例のソフトウェア構成であ
り、図2において、11aはアプリケーションプログラ
ム(AP)、210はカーネル、220はメモリディス
クドライバ、31は主記憶メモリ1上に存在するファイ
ルシステム、32,33,34,35のそれぞれはファ
イルを表わしている。
FIG. 2 shows the software configuration of the first embodiment. In FIG. 2, 11a is an application program (AP), 210 is a kernel, 220 is a memory disk driver, and 31 is a file system existing on the main memory 1. , 32, 33, 34, and 35 each represent a file.

【0012】次に、第1実施例の動作について図1およ
び図2を用いて説明する。AP11a(図2)の要求で
カーネル210は、メモリディスクドライバ220に対
して主記憶上にあるファイル32のディレクトリのサー
チおよびファイル32の実体コピーのための要求を行う
必要がある。ここまでは前記従来の動作と同様である。
Next, the operation of the first embodiment will be explained using FIGS. 1 and 2. In response to a request from the AP 11a (FIG. 2), the kernel 210 needs to request the memory disk driver 220 to search the directory of the file 32 on the main memory and to make a physical copy of the file 32. The operation up to this point is the same as the conventional operation.

【0013】しかしながら、第1実施例では、ディスク
に対しI/Oは発生せず、メモリ1からのコピーだけで
済むためI/O待ち時間はかからない。メモリディスク
ドライバ220はディスク上の物理位置に相当するファ
イルシステム31上のアドレスを計算し、カーネル21
0内にコピーするだけでよい。
However, in the first embodiment, no I/O is performed on the disk, and only copying from the memory 1 is required, so there is no I/O waiting time. The memory disk driver 220 calculates the address on the file system 31 that corresponds to the physical location on the disk, and
Just copy it into 0.

【0014】メモリディスクドライバ220のプログラ
ムは、ディスクドライバを流用し、H/Wとのインタフ
ェースだけを単にメモリコピーというロジックに換えれ
ばよい。
The program for the memory disk driver 220 can be implemented by using the disk driver and simply replacing the interface with the H/W with a logic called memory copy.

【0015】次にこの発明の第2実施例について図3を
用いて説明する。図3はこの発明の第2実施例のシステ
ム環境を示す図である。図3中、前記第1実施例と同一
符号は同一部分又は相当部分を示し、その重複説明は省
略する。
Next, a second embodiment of the present invention will be explained using FIG. 3. FIG. 3 is a diagram showing the system environment of the second embodiment of this invention. In FIG. 3, the same reference numerals as those in the first embodiment indicate the same or corresponding parts, and redundant explanation thereof will be omitted.

【0016】第2実施例が前記第1実施例と相異する点
は、前記第1実施例では、主記憶メモリ1上にアクセス
頻度の高いファイルを集め、システムの高速処理化を実
現する場合について説明したが、この第2実施例は図3
に示すように、主記憶メモリ1上にはファイルは内置し
ていなくても、空のファイルシステム14だけがあれば
、その運用方法により前記第1実施例と同様の効果を得
ることができる点である。以下にその運用方法について
例示して説明する。
The difference between the second embodiment and the first embodiment is that in the first embodiment, frequently accessed files are collected on the main memory 1 to realize high-speed processing of the system. However, this second embodiment is shown in FIG.
As shown in FIG. 2, even if no files are stored in the main memory 1, as long as there is only an empty file system 14, the same effect as in the first embodiment can be obtained depending on the operating method. It is. The operating method will be illustrated and explained below.

【0017】例えば、プログラム開発支援ツールである
コンパイラやリンカは、最終オブジェクトを生成する途
中で中間コードを数多く作る必要があり、このコードは
ディスク上のワークエリアに通常置いている。
For example, compilers and linkers, which are program development support tools, need to create a large number of intermediate codes in the process of generating final objects, and these codes are usually placed in a work area on a disk.

【0018】したがって、このワークエリアを主記憶メ
モリに内置することにより速度向上が図れる。特にコン
パイラはディスクアクセスが多いため、この方法による
効果は大きい。
Therefore, by locating this work area in the main memory, the speed can be improved. This method is especially effective because compilers often access disks.

【0019】[0019]

【発明の効果】以上のように、この発明によれば外部デ
ィスク上のファイルシステムを主記憶上で実現したので
、システム全体として高速処理化が図れる。
As described above, according to the present invention, the file system on the external disk is realized on the main memory, so that the entire system can be processed at high speed.

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

【図1】  この発明の第1実施例のシステム環境を示
す図
[Figure 1] Diagram showing the system environment of the first embodiment of this invention

【図2】  図1のソフトウェア構成を示す構成図[Figure 2] Block diagram showing the software configuration in Figure 1

【図
3】  この発明の第2実施例のシステム環境を示す図
[Figure 3] Diagram showing the system environment of the second embodiment of this invention

【図4】  従来例のシステム環境を示す図[Figure 4] Diagram showing the system environment of the conventional example

【図5】 
 図4のソフトウェアの構成を示す構成図
[Figure 5]
Configuration diagram showing the software configuration in Figure 4

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

1    主記憶メモリ 2    外部ディスク 11    ユーザ空間 12    カーネル空間 13    メモリディスク 14,21  フィイルシステム 15,16,17,18,22,23,24,25  
ファイル なお、図中同一符号は同一部分又は相当部分を示す。
1 Main storage memory 2 External disk 11 User space 12 Kernel space 13 Memory disks 14, 21 File system 15, 16, 17, 18, 22, 23, 24, 25
File Note that the same reference numerals in the figures indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  主記憶メモリ上にメモリディスクを搭
載し、アクセス頻度の高いファイル,データを前記主記
憶メモリに前記メモリディスクとして内置し、前記ディ
スクに対しI/Oを発生させず、システムとして高速処
理を行うことを特徴とする電算機システムの高速処理方
法。
Claim 1: A memory disk is mounted on a main memory, and frequently accessed files and data are internally stored in the main memory as the memory disk, and no I/O is performed on the disk, and the system is A high-speed processing method for a computer system characterized by high-speed processing.
JP6153891A 1991-03-26 1991-03-26 High speed processing method for computer system Pending JPH04296927A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6153891A JPH04296927A (en) 1991-03-26 1991-03-26 High speed processing method for computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6153891A JPH04296927A (en) 1991-03-26 1991-03-26 High speed processing method for computer system

Publications (1)

Publication Number Publication Date
JPH04296927A true JPH04296927A (en) 1992-10-21

Family

ID=13173990

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6153891A Pending JPH04296927A (en) 1991-03-26 1991-03-26 High speed processing method for computer system

Country Status (1)

Country Link
JP (1) JPH04296927A (en)

Similar Documents

Publication Publication Date Title
JP2582520B2 (en) Data transfer method between memory and auxiliary storage device
JP2000122902A (en) Method for writing data in log structure storage destination, medium and data storage system
JPH0351011B2 (en)
JPH04296927A (en) High speed processing method for computer system
US7681003B2 (en) Moving hardware context structures in memory while maintaining system operation
JP3480282B2 (en) Duplicated file I / O device and method and information processing device using the same
JPH05204817A (en) Data transfer equipment
JP2901543B2 (en) Magnetic disk file relocation method
JP2943693B2 (en) Sort work file space management method
JP3092663B2 (en) Main memory swapping method
JP2641399B2 (en) File management device
JPH02217942A (en) Automatic paging system for computer system
JPS593570A (en) Data transfer controlling system
JPS6374170A (en) Control system for magnetic disk
JPH04307652A (en) Inter-multiprocessor communication system
JPH04113432A (en) Virtual storage control method
JPH04299432A (en) Data base control system
JPH02308329A (en) Program correcting system
JPH05151089A (en) System for data guarantee in memory space
JPH02203480A (en) Magnetic disk controller
JPH05143643A (en) File retrieval system
JPH033184A (en) Disk controller
JPH0222415B2 (en)
JPS61264456A (en) Virtual storage system for garbage collection
JPH06242974A (en) Virtual disk system