JPH0239342A - Memory ensuring system for ram disk - Google Patents

Memory ensuring system for ram disk

Info

Publication number
JPH0239342A
JPH0239342A JP63190063A JP19006388A JPH0239342A JP H0239342 A JPH0239342 A JP H0239342A JP 63190063 A JP63190063 A JP 63190063A JP 19006388 A JP19006388 A JP 19006388A JP H0239342 A JPH0239342 A JP H0239342A
Authority
JP
Japan
Prior art keywords
disk
magnetic disk
ram
ram disk
semiconductor memory
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
JP63190063A
Other languages
Japanese (ja)
Inventor
Shigeru Tanaka
滋 田中
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 JP63190063A priority Critical patent/JPH0239342A/en
Publication of JPH0239342A publication Critical patent/JPH0239342A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To minimize the destruction of the storage contents of a RAM disk due to the break of a power supply, etc., by transferring in DMA the contents of the RAM disk to the saving area of a magnetic disk device when a CPU has no access to the RAM disk or a magnetic disk. CONSTITUTION:The storage contents of a semiconductor memory 3a is transferred in DMA to a saving area 2b' of a magnetic disk 2b under the control of an MPU 3b forming a RAM disk 3 and a magnetic disk control part 2a forming a magnetic disk device 2 when a CPU 1 has no access to the storage contents of the memory 3a forming the disk 3. Thus it is possible to obtain the contents equal to the storage contents of the disk 3 from the disk 2b even though the contents of the disk 3 are destroyed owing to the break of power supply or the hardware reset during the operation of a computer system.

Description

【発明の詳細な説明】 〔概要〕 2次記憶媒体として磁気ディスクとRAMディスクとを
備えたコンピュータシステムにおいて、RAMディスク
の記憶の保全性を向上させるためのRAMディスクの記
憶保全方式に関し、運用途中での電源切断やハードウェ
アのリセットによるRAMディスク内の記憶内容の破壊
を、最小限に食い止めることを目的とし、 CPUと2次記憶媒体として磁気ディスク装置とRAM
ディスクとを備えたコンピュータシステムにおいて、R
AMディスクには、少なくとも半導体メモリと、この半
導体メモリと磁気ディスク装置との間でDMA (Di
rect Memory Access)転送を行わせ
る機能を有するMPUとを有し、このMPUと磁気ディ
スク装置の制御部との制御により、前記半導体メモリの
記憶内容を、前記磁気ディスク装置に装填した磁気ディ
スクのRAMディスク記憶内容の退避領域に前記CPU
が半導体メモリへアクセスしていないときにDMA転送
し得るように構成する。
[Detailed Description of the Invention] [Summary] In a computer system equipped with a magnetic disk and a RAM disk as secondary storage media, the present invention relates to a RAM disk storage maintenance method for improving the storage integrity of the RAM disk. The purpose of this system is to minimize the destruction of the storage contents in the RAM disk due to power-off or hardware reset.
In a computer system equipped with a disk,
The AM disk has at least a semiconductor memory and a DMA (Di) between the semiconductor memory and the magnetic disk device.
Rect Memory Access) has an MPU that has a function of performing transfer, and under the control of this MPU and a control unit of the magnetic disk device, the storage contents of the semiconductor memory are transferred to the RAM of the magnetic disk loaded in the magnetic disk device. The CPU saves the disk storage contents.
The configuration is such that DMA transfer can be performed when the device is not accessing the semiconductor memory.

〔産業上の利用分野〕[Industrial application field]

本発明は、2次記憶媒体として磁気ディスクとRAMデ
ィスクとを備えたコンピュータシステムにおいて、RA
Mディスクの記憶の保全性を向上させるためのRAMデ
ィスクの記憶保全方式に関する。
The present invention provides a computer system equipped with a magnetic disk and a RAM disk as secondary storage media.
The present invention relates to a RAM disk storage integrity method for improving storage integrity of an M disk.

〔従来の技術〕[Conventional technology]

近年、ワークステーションとして使用されるコンピュー
タシステムでは、磁気ディスクやRAMディスクのアク
セスが頻繁に行われるため、そのアクセスの高速化が要
求されている。
In recent years, in computer systems used as workstations, magnetic disks and RAM disks are frequently accessed, so there is a demand for faster access.

一般に磁気ディスクのアクセス・タイムは比較的長いの
で、ディスクキャッシュやRAMディスクなどが使用さ
れる傾向にある。
In general, the access time of magnetic disks is relatively long, so there is a tendency for disk caches, RAM disks, etc. to be used.

ディスクキャッシュとは、CPUとメモリ(磁気ディス
ク)との間に、例えば5−RAMのようなメモリを配設
し、CPUが磁気ディスクのあるデータをアクセスした
とき、そのアドレスとデータを5−RAMに記憶させて
おいて、CPUが同じデータを次にアクセスするときに
、5−RAMに記憶しておいたデータを読出すことによ
って、アクセス速度を高めるようにしたものである。
A disk cache is a memory such as 5-RAM that is placed between the CPU and memory (magnetic disk), and when the CPU accesses certain data on the magnetic disk, the address and data are transferred to the 5-RAM. The access speed is increased by reading the data stored in the 5-RAM when the CPU next accesses the same data.

RAMディスクは、論理上は磁気ディスクと同じように
アクセスする半導体メモリである。
A RAM disk is a semiconductor memory that is logically accessed in the same way as a magnetic disk.

〔発明が解決しようとする課題] ディスクキャッシュは、磁気ディスク上に格納されたデ
ータのファイルが分散する場合には、アクセス速度を高
める効果を失い、かえって、アクセスの性能を低下させ
る状況が発生するおそれがある。
[Problem to be solved by the invention] When data files stored on a magnetic disk are dispersed, a disk cache loses its effect of increasing access speed, and a situation arises in which access performance is degraded instead. There is a risk.

一方、RAMディスクは、アクセスは常に高速で行われ
るが、異常による電源切断やハードウェアのリセット時
にはその記憶されたデータが破壊されて保存されないた
め、RAMディスクに記憶されているデータのファイル
を、磁気ディスクに転送して記憶保存させておく必要が
ある。
On the other hand, RAM disks are always accessed at high speed, but when the power is turned off due to an abnormality or the hardware is reset, the stored data is destroyed and cannot be saved. It is necessary to transfer it to a magnetic disk and store it in memory.

従来のRAMディスクにおいては、電源切断やハードウ
ェアのリセット時にその記憶が破壊されても支障のない
データのファイルを選択し、それをRAMディスクに転
送して使用していた。ところが、この使用法では、アク
セスの高速性が要求されるが、記憶されたデータが破壊
されては困るというデータのファイルは、このRAMデ
ィスクに転送して記憶させておくことができなかった。
In a conventional RAM disk, a data file that does not cause any problem even if its memory is destroyed when the power is turned off or the hardware is reset is selected, and the file is transferred to the RAM disk for use. However, in this usage, data files that require high-speed access but do not want the stored data to be destroyed cannot be transferred and stored on the RAM disk.

したがって、従来のRAMディスクでは、コンピュータ
システムの性能を向上させようとした場合、アクセスの
高速性が要求され記憶が破壊されると支障を来すデータ
のファイルを、CPUが本来の処理を中断して、そのデ
ータのファイルを磁気ディスクに記憶しなければならな
いので、CPUが木来しなければならない処理作業が遅
れるという問題を生じていた。
Therefore, with conventional RAM disks, when trying to improve the performance of a computer system, high-speed access is required, and the CPU interrupts the original processing of data files that would be a problem if the memory was destroyed. Then, the data file must be stored on the magnetic disk, which causes a problem in that processing work that must be performed by the CPU is delayed.

本発明は、アクセスを高速化するためにRAMディスク
を使用したコンピュータシステムにおいて、運用途中で
の電源切断やハードウェアのりセントにより記憶が破壊
されるおそれのあるRAMディスク内の記憶内容(デー
タ)を、CPUがRAMディスクあるいは磁気ディスク
をアクセスする前あるいはアクセスしていないときに、
RAMディスクに備えたMPUが磁気ディスク装置に装
填された磁気ディスクのRAMディスク記憶内容の退避
領域に前記CPUが半導体メモリへアクセスしていない
ときにDMA転送し得るようにしたRAMディスクの記
憶保全方式を提供することを目的とする。
In a computer system that uses a RAM disk to speed up access, the present invention protects the storage contents (data) in the RAM disk, which may be destroyed due to a power cut or hardware failure during operation. , before or when the CPU accesses the RAM disk or magnetic disk,
A RAM disk storage maintenance system that allows an MPU provided in a RAM disk to perform DMA transfer to a save area for RAM disk storage contents of a magnetic disk loaded in a magnetic disk device when the CPU is not accessing semiconductor memory. The purpose is to provide

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

本発明において前記のような課題を解決するための手段
を、第1図を参照して説明すると、CPU1と2次記憶
媒体として磁気ディスク装置2とRAMディスク3とを
備えたコンピュータシステムにおいて、RAMディスク
3には、少なくとも半導体メモリ3aと、この半導体メ
モリ3aと磁気ディスク装置2との間でDMA転送を行
わせる機能を有するMPU3bとを有し、このMPU3
bと磁気ディスク装置2の制御部2aとの制御により、
前記半導体メモリ3aの記憶内容を、前記磁気ディスク
装置2に装填した磁気ディスク2bのRAMディスク記
憶内容の退避領域2b’に前記CPUIが半導体メモリ
3aヘアクセスしていないときにDMA転送し得るよう
にしたRAMディスクの記憶保全方式としたものである
Means for solving the above-mentioned problems in the present invention will be explained with reference to FIG. The disk 3 includes at least a semiconductor memory 3a and an MPU 3b having a function of performing DMA transfer between the semiconductor memory 3a and the magnetic disk device 2.
b and the control unit 2a of the magnetic disk device 2,
The storage contents of the semiconductor memory 3a can be DMA transferred to the RAM disk storage contents save area 2b' of the magnetic disk 2b loaded in the magnetic disk device 2 when the CPU is not accessing the semiconductor memory 3a. This is a storage preservation method for RAM disks.

〔作用〕[Effect]

前記のような手段により、CPUIが、RAMディスク
3を形成する半導体メモリ3aの記憶内容(データ)を
アクセスする前またはアクセスしていないときに、RA
Mディスク3を形成するMPU3bと磁気ディスク装置
2を形成する制御部2aとの制御により、前記半導体メ
モリ3aの記憶内容を、前記磁気ディスク装置2に装填
した磁気ディスク2bのRAMディスク記憶内容の退避
領域2b’にDMA転送しておき、コンピュータシステ
ムの運用途中での電源切断やハードウェアのリセットに
より、RAMディスクの記憶内容が破壊されたとしても
、その記憶内容と同じものを磁気ディスクに記憶保全さ
せておくことができる。
By the means described above, before or when the CPUI accesses the storage contents (data) of the semiconductor memory 3a forming the RAM disk 3, the RA
Under the control of the MPU 3b forming the M disk 3 and the control unit 2a forming the magnetic disk device 2, the storage contents of the semiconductor memory 3a are saved to the RAM disk storage contents of the magnetic disk 2b loaded in the magnetic disk device 2. By transferring DMA to area 2b', even if the memory contents of the RAM disk are destroyed due to a power cut or hardware reset during computer system operation, the same memory contents can be preserved on the magnetic disk. You can leave it there.

〔実施例〕〔Example〕

第1図は本発明の第1実施例の構成図であり、lはCP
U、2は磁気ディスク装置で、例えばMPUなどで形成
された制御部2aと、装填された磁気ディスク2bなど
で構成されている。
FIG. 1 is a block diagram of the first embodiment of the present invention, where l is CP
Reference numeral 2 denotes a magnetic disk device, which includes a control section 2a formed of, for example, an MPU, and a loaded magnetic disk 2b.

3はRAMディスクで、これは少なくとも半導体メモリ
3aと、この半導体メモリ3aと前記磁気ディスク装置
2に装填された磁気ディスク2bとの間でDMA転送を
行わせる機能を有するMPU3bとを有し、このMPU
3bと磁気ディスク装置20制御部2aとの制御により
、前記半導体メモリ3aの記憶内容(データ)を、前記
磁気ディスク装置2に装填した磁気ディスク2bのRA
Mディスク記憶内容の退避領域2b’にDMA転送し得
るようにしたものである。
3 is a RAM disk, which has at least a semiconductor memory 3a and an MPU 3b having a function of performing DMA transfer between the semiconductor memory 3a and the magnetic disk 2b loaded in the magnetic disk device 2; MPU
3b and the control unit 2a of the magnetic disk device 20, the storage contents (data) of the semiconductor memory 3a are transferred to the RA of the magnetic disk 2b loaded in the magnetic disk device 2.
It is designed to enable DMA transfer to the save area 2b' for the contents stored in the M disk.

なお、3cはRAMディスク3を構成する作業用レジス
タで、前記半導体メモリ3aから前記磁気ディスク2b
のRAMディスク記憶内容の退避領域2b’への記憶内
容の転送時のアドレスを記憶するものであり、その動作
の詳細な説明は後述する。4は前記CPUl0主メモリ
である。
Note that 3c is a working register constituting the RAM disk 3, which is used to transfer data from the semiconductor memory 3a to the magnetic disk 2b.
It stores an address at the time of transferring the stored contents of the RAM disk to the save area 2b', and a detailed explanation of its operation will be described later. 4 is the main memory of the CPU10.

次にその動作を説明すると、CPUIがRAMディスク
3を形成する半導体メモリ3aの記憶内容をアクセスす
る前に、RAMディスク3を形成する作業用レジスタ3
cに、磁気ディスク2b上のRAMディスク記憶内容の
退避領域2b’の先頭アドレスをCPUIが書込む。書
込んだ後は、CPUIはこのRAMディスクを通常の磁
気ディスクと同じように使用する(通常のRAMディス
クの使い方)。
Next, to explain its operation, before the CPUI accesses the storage contents of the semiconductor memory 3a that forms the RAM disk 3, the working register 3 that forms the RAM disk 3
In c, the CPU writes the start address of the save area 2b' for the RAM disk storage contents on the magnetic disk 2b. After writing, the CPUI uses this RAM disk in the same way as a normal magnetic disk (how to use a normal RAM disk).

RAMディスク3では、CPU1からのデータの半導体
メモリ3aへの書込みをMPU3 bが監視し、半導体
メモリ3a内に有効なデータが格納されていることをM
PU3bが確認した後、CPU1が半導体メモリ3aに
格納されたデータをアクセスしていないときに、そのデ
ータを磁気ディスク2bの退避領域2b’にMPU3b
および磁気ディスク装置2の制御部2aの制御によって
書込む。
In the RAM disk 3, the MPU 3b monitors the writing of data from the CPU 1 to the semiconductor memory 3a, and checks whether valid data is stored in the semiconductor memory 3a.
After the PU 3b confirms, when the CPU 1 is not accessing the data stored in the semiconductor memory 3a, the data is transferred to the save area 2b' of the magnetic disk 2b by the MPU 3b.
and is written under the control of the control unit 2a of the magnetic disk device 2.

第2図は本発明の第2実施例の構成図であり、RAMデ
ィスク3の前記構成要素の他に、バス5からのアドレス
信号を受けるためのバスレシーバ−3dと、バスにアド
レス信号を出力するためのバスドライバー3eと、バス
全体のアドレス信号を解読するとともにCPUIからの
半導体メモリ3aのデータのアクセスを監視するアドレ
スデコーダ・アクセス監視回路3fとを付加したもので
ある。
FIG. 2 is a block diagram of a second embodiment of the present invention, in which, in addition to the above-mentioned components of the RAM disk 3, there is also a bus receiver 3d for receiving address signals from the bus 5, and a bus receiver 3d for outputting address signals to the bus. The bus driver 3e is added to the bus driver 3e, and an address decoder/access monitoring circuit 3f that decodes the address signals of the entire bus and monitors data access from the CPUI to the semiconductor memory 3a.

このアドレスデコーダ・アクセス監視回路3fは次のよ
うな諸機能を有する。すなわち、バス全体のアドレス信
号を監視して半導体メモリ3aが選択されたことを確認
すると、選択信号を半導体メモリ3aに入力してこの半
導体メモリ3aを書込み読出し状態にし、また、作業用
レジスタ3cが選択されたことを確認すると、選択信号
を作業用レジスタ3cに入力してこの作業用レジスタ3
cにRAMディスク記憶内容の退避領域の先頭アドレス
および次回転送先アドレスの記憶状態にする。
This address decoder/access monitoring circuit 3f has the following functions. That is, when it is confirmed that the semiconductor memory 3a has been selected by monitoring the address signals of the entire bus, a selection signal is input to the semiconductor memory 3a to put the semiconductor memory 3a into a write/read state, and the work register 3c is When it is confirmed that the selection has been made, the selection signal is input to the working register 3c and the selection signal is input to the working register 3c.
c, the storage state is set to the start address of the save area of the RAM disk storage contents and the next transfer destination address.

また、CPUIが半導体メモリ3aにデータを書込み中
あるいは半導体メモリ3aのデータを読出し中であるか
どうかを監視する。
It also monitors whether the CPUI is writing data to the semiconductor memory 3a or reading data from the semiconductor memory 3a.

前記作業用レジスタ3cは、第3図に示すように、第1
のレジスタ3cIと第2のレジスタ3czとで形成され
、第1のレジスタ3c、には前記退避領域の先頭アドレ
スとそのアドレスが有効(ビット1)か無効(ビット0
)かのビットが格納されている。また、第2のレジスタ
3czには、RAMディスク3を形成する半導体メモリ
3aと磁気ディスク2bとの間のアクセスが、cpui
からのアクセスにより中断された場合に、次にデータ転
送するためのアドレス(次回転送先アドレス)が格納さ
れている。
As shown in FIG. 3, the work register 3c has a first
The first register 3c contains the start address of the save area and whether the address is valid (bit 1) or invalid (bit 0).
) bits are stored. Further, the second register 3cz is configured such that access between the semiconductor memory 3a forming the RAM disk 3 and the magnetic disk 2b is controlled by the CPU.
Stores the address for the next data transfer (next transfer destination address) when the access is interrupted by an access from.

前記のような第1のレジスタ3c、への退避領域の先頭
アドレスの書込みはCPUIによって行われ、RAMデ
ィスク3を形成するMPU3bからはリードオンリーで
ある。また、第2のレジスタ3czへの次回転送先アド
レスの書込み読出しくリード・ライト)はRAMディス
ク3を形成するMPU3 bのみが行う。
Writing of the start address of the save area to the first register 3c as described above is performed by the CPUI, and is read-only from the MPU 3b forming the RAM disk 3. Further, only the MPU 3b forming the RAM disk 3 performs writing/reading (reading/writing) of the next transfer destination address to the second register 3cz.

CPUIが前記作業用レジスタ3cを形成する第1のレ
ジスタ3c、に退避領域の先頭アドレスを書込む場合、
必ずビットを1にする。前記MPU3bはこのビット1
を監視し、ビット1でなければ退避領域が準備されてい
ないものと判断し、DMAによる半導体メモリ3aから
磁気ディスク2bのRAMディスク記憶内容の退避領域
2b’へのデータの退避は行わない。
When the CPUI writes the start address of the save area to the first register 3c forming the working register 3c,
Always set the bit to 1. The MPU3b selects this bit 1.
If the bit is not 1, it is determined that the save area is not prepared, and data is not saved from the semiconductor memory 3a to the save area 2b' of the RAM disk storage contents of the magnetic disk 2b by DMA.

前記作業用レジスタ3Cを形成する第1のレジスタ3c
+に有効ビットとともに退避領域の先頭アドレスが記憶
されたこのRAMディスク3は、CPU1に対してバス
アクセス要求を上げる。CPUIがバスを使用していな
い場合に、CP[JlはRAMディスク3に対してバス
の使用許可を与え、RAMディスク3はDMAにより磁
気ディスク装置2に対してアクセスを開始する。この場
合、通常のDMAのアクセスはCPUより優先的にバス
を使用できるが、このRAMディスク3のバス使用優先
度はCPUIのそれよりも低くする。これによりCPU
Iがバスを使用していない時間に、RAMディスク3が
バスを使用することになり、コンピュータシステムの性
能の低下を防止することができる。
A first register 3c forming the working register 3C
This RAM disk 3, in which the start address of the save area is stored together with the valid bit, issues a bus access request to the CPU 1. When the CPUI is not using the bus, CP[Jl grants the RAM disk 3 permission to use the bus, and the RAM disk 3 starts accessing the magnetic disk device 2 by DMA. In this case, normal DMA access can use the bus with priority over the CPU, but the bus usage priority of this RAM disk 3 is set lower than that of the CPUI. This allows the CPU
The RAM disk 3 uses the bus during the time when I is not using the bus, and it is possible to prevent the performance of the computer system from deteriorating.

第4図はRAMディスク3と磁気ディスク装置2との間
のDMA(DwXi略タイムチャートを示す。
FIG. 4 shows a DMA (DwXi approximate time chart) between the RAM disk 3 and the magnetic disk device 2.

この図に示されるように、CPUIがRAMディスク3
または磁気ディスク2bをアクセスしている場合は、R
AMディスク3内で磁気ディスク2bへのアクセス要求
があったとしても、RAMディスク3は磁気ディスク2
bに対してDMAは行えない。
As shown in this figure, CPUI is connected to RAM disk 3.
Or, if you are accessing the magnetic disk 2b, R
Even if there is an access request to the magnetic disk 2b in the AM disk 3, the RAM disk 3 will not be able to access the magnetic disk 2b.
DMA cannot be performed on b.

RAMディスク3が磁気ディスク2bをアクセス中に、
CPUIのアクセスが始まった場合には、現在行ってい
るアクセスの終了を待って、次のアクセスのためのアド
レス(次回転送先アドレス)を作業用レジスタ3cを形
成する第2のレジスタ3ctに記憶し、RAMディスク
3はDMAを中断する。CPUIがバス5を使用しなく
なると、RAMディスク3は前記第2のレジスタ3ct
に記憶された次回転送先アドレスから磁気ディスク2b
の退避領域2b’へDMAを再開始する。
While the RAM disk 3 is accessing the magnetic disk 2b,
When the CPUI access starts, wait for the end of the current access, and then store the address for the next access (next transfer destination address) in the second register 3ct forming the working register 3c. , RAM disk 3 interrupts DMA. When the CPUI no longer uses the bus 5, the RAM disk 3 is transferred to the second register 3ct.
from the next transfer destination address stored in the magnetic disk 2b.
DMA is restarted to the save area 2b'.

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

以上説明したように、本発明によれば、アクセスを高速
化するためのRAMディスクと、アクセスは比較的に遅
いが不運発性の磁気ディスク装置を備えたコンピュータ
システムにおいて、運用途中での電源切断やハードウェ
アのリセットにより記憶が破壊されるおそれのあるRA
Mディスク内の記憶内容を、CPUがRAMディスクあ
るいは磁気ディスクをアクセスする前あるいはアクセス
していないときに、RAMディスクに備えたMPUと磁
気ディスク装置の制御部との制御により、磁気ディスク
装置に装填された磁気ディスクのRAMディスク記憶内
容の退避領域にDMA転送し得るので、RAMディスク
内のデータの破壊を最小限に食い止めることができ、R
AMディスク内のデータの保全性を向上させる効果があ
り、また、ソフトウェアに高速アクセスが要求されるデ
ータのファイルを全てRAMディスク上に格納できるた
め、コンピュータシステムとしての高速化を最適に行う
ことができ、コンピュータシステムの性能の向上に寄与
するところが大きい。
As explained above, according to the present invention, in a computer system equipped with a RAM disk for speeding up access and a magnetic disk device that is relatively slow in access but is unpredictable, power is cut off during operation. RA whose memory may be destroyed by resetting or hardware reset
The storage contents in the M disk are loaded into the magnetic disk device under the control of the MPU provided in the RAM disk and the control unit of the magnetic disk device before or when the CPU accesses the RAM disk or magnetic disk. DMA transfer can be performed to the save area of the RAM disk storage contents of the magnetic disk, which can minimize the destruction of data in the RAM disk.
It has the effect of improving the integrity of data in the AM disk, and since all data files that require high-speed access to software can be stored on the RAM disk, it is possible to optimally speed up the computer system. This greatly contributes to improving the performance of computer systems.

3d・・・バスレシーバ− 3e・・・バスドライバー 3r・・・アドレスデコーダ 4・・・主メモリ、 5・・・バス。3d...Bass receiver 3e・・・Bus driver 3r...address decoder 4...Main memory, 5...Bus.

・アクセス監視回路、・Access monitoring circuit,

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

第1図は本発明の第1実施例の構成図、第2図は本発明
の第2実施例の構成図、第3図は作業用レジスタの例を
示す図、第4図アクセスのタイムチャートである。 1・・・CPU。 2・・・磁気ディスク装置、 2a・・・制御部、 2b・・・磁気ディスク、 2b’・・・RAMディスク記憶内容の退避領域、3・
・・RAMディスク、 3a・・・半導体メモリ、 3b・・・MPU。 3c・・・作業用レジスタ、
Fig. 1 is a block diagram of the first embodiment of the present invention, Fig. 2 is a block diagram of the second embodiment of the present invention, Fig. 3 is a diagram showing an example of a working register, and Fig. 4 is an access time chart. It is. 1...CPU. 2... Magnetic disk device, 2a... Control unit, 2b... Magnetic disk, 2b'... Save area for RAM disk storage contents, 3.
...RAM disk, 3a...semiconductor memory, 3b...MPU. 3c...Work register,

Claims (1)

【特許請求の範囲】 CPU(1)と2次記憶媒体として磁気ディスク装置(
2)とRAMディスク(3)とを備えたコンピュータシ
ステムにおいて、 RAMディスク(3)には、少なくとも半導体メモリ(
3a)と、この半導体メモリ(3a)と磁気ディスク装
置(2)との間でDMA転送を行わせる機能を有するM
PU(3b)とを有し、このMPU(3b)と磁気ディ
スク装置(2)の制御部(2a)との制御により、前記
半導体メモリ(3a)の記憶内容を、前記磁気ディスク
装置(2)に装填した磁気ディスク(2b)のRAMデ
ィスク記憶内容の退避領域(2b′)に前記CPU(1
)が半導体メモリ(3a)へアクセスしていないときに
DMA転送し得るようにしたことを特徴とするRAMデ
ィスクの記憶保全方式。
[Claims] A CPU (1) and a magnetic disk device (as a secondary storage medium)
In a computer system equipped with a RAM disk (2) and a RAM disk (3), the RAM disk (3) includes at least a semiconductor memory (
3a) and an M having a function of performing DMA transfer between the semiconductor memory (3a) and the magnetic disk device (2).
Under the control of this MPU (3b) and a control unit (2a) of the magnetic disk device (2), the storage contents of the semiconductor memory (3a) are transferred to the magnetic disk device (2). The CPU (1) saves the RAM disk storage contents of the magnetic disk (2b) loaded into the
1. A RAM disk storage preservation system characterized in that DMA transfer can be performed when the semiconductor memory (3a) is not being accessed by the RAM disk.
JP63190063A 1988-07-29 1988-07-29 Memory ensuring system for ram disk Pending JPH0239342A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63190063A JPH0239342A (en) 1988-07-29 1988-07-29 Memory ensuring system for ram disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63190063A JPH0239342A (en) 1988-07-29 1988-07-29 Memory ensuring system for ram disk

Publications (1)

Publication Number Publication Date
JPH0239342A true JPH0239342A (en) 1990-02-08

Family

ID=16251729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63190063A Pending JPH0239342A (en) 1988-07-29 1988-07-29 Memory ensuring system for ram disk

Country Status (1)

Country Link
JP (1) JPH0239342A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997024655A1 (en) * 1995-12-28 1997-07-10 Ipl Systems, Inc. Virtual ramdisk
JP2010212990A (en) * 2009-03-10 2010-09-24 Oki Networks Co Ltd Call control unit, method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997024655A1 (en) * 1995-12-28 1997-07-10 Ipl Systems, Inc. Virtual ramdisk
JP2010212990A (en) * 2009-03-10 2010-09-24 Oki Networks Co Ltd Call control unit, method, and program

Similar Documents

Publication Publication Date Title
US4858111A (en) Write-back cache system using concurrent address transfers to setup requested address in main memory before dirty miss signal from cache
US6513102B2 (en) Internal copy for a storage controller
US5588128A (en) Dynamic direction look ahead read buffer
US7069409B2 (en) System for addressing a data storage unit used in a computer
JP2007041813A (en) Information processing system and information processing method
JPH0239342A (en) Memory ensuring system for ram disk
JPS59214952A (en) Processing system of fault
US5913225A (en) Cache flush mechanism for a secondary cache memory
JPH01303547A (en) Control system for information memory
JP3074817B2 (en) File backup circuit
JP2001265653A (en) Data processor
JP3162459B2 (en) Data processing device
EP0787326B1 (en) System and method for processing of memory data and communication system comprising such system
JPH0793101A (en) Data backup device
JPS6331806B2 (en)
JP2701739B2 (en) Processor switching method
JPH10254780A (en) Disk cache control system
JPH0239341A (en) Memory ensuring device for ram disk
JPH076117A (en) Data transfer system and data transfer equipment
JP3136681B2 (en) Data processing device
KR0181487B1 (en) Driving apparatus and method of program using buffer ram
JPH02165354A (en) Auxiliary storage device
JPH02307123A (en) Computer
US20030120862A1 (en) Controlling method of storage apparatus, and storage apparatus, disk array device, and disk controller used in the method thereof
JPH10105466A (en) Cache memory control method for disk device