JPH07306839A - How to speed up access to network files - Google Patents
How to speed up access to network filesInfo
- Publication number
- JPH07306839A JPH07306839A JP6097171A JP9717194A JPH07306839A JP H07306839 A JPH07306839 A JP H07306839A JP 6097171 A JP6097171 A JP 6097171A JP 9717194 A JP9717194 A JP 9717194A JP H07306839 A JPH07306839 A JP H07306839A
- Authority
- JP
- Japan
- Prior art keywords
- server machine
- main memory
- client
- network
- access
- 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
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】 (修正有)
【目的】本発明の目的は、サーバ機においてライト処理
が従来の方法よりも高速化すると共に、停電時のサーバ
機全体の動作を保証する、低価格なネットワークファイ
ルのアクセス高速化方法を提出することにある。
【構成】サーバ機にバッテリを搭載してサーバ機全体を
停電発生時に一定時間動作できるようにし、該一定時間
中に主記憶の内容を不揮発性記憶装置に退避し、ソフト
ウェアによるシステム停止処理を行うようにした。また
通常動作時にソフトウェアが主記憶を不揮発性メモリと
見做して動作するようにし、サーバ機がクライアントか
らライト処理の要求を受けた場合、該処理を不揮発性記
憶装置に書き込むのを待たずに、クライアントに対する
処理完了通知を行うようにした。
(57) [Summary] (Modified) [Objective] The object of the present invention is to make the write processing speed faster than the conventional method in the server machine, and to guarantee the operation of the entire server machine at the time of power failure. It is to submit a method for accelerating access to network files. [Configuration] A battery is installed in the server machine so that the entire server machine can be operated for a certain period of time when a power failure occurs, the contents of the main memory are saved in a non-volatile storage device during the certain period of time, and system stop processing is performed by software. I did it. Also, in normal operation, the software operates by considering main memory as a non-volatile memory, and when the server machine receives a request for a write process from the client, it does not wait for the process to be written to the non-volatile storage device. , The processing completion notification is sent to the client.
Description
【0001】[0001]
【産業上の利用分野】本発明は、パーソナルコンピュー
タ、ワークステーション、オフィスコンピュータ等の情
報処理装置の、LAN(ローカルエリアネットワーク)
等のネットワークを経由する、ファイルあるいはデータ
ベース等のファイル資源へのアクセスの高速化方法に関
する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a LAN (local area network) of an information processing device such as a personal computer, a workstation or an office computer.
The present invention relates to a method for speeding up access to file resources such as files or databases via a network such as.
【0002】[0002]
【従来の技術】近年情報処理システムにおいては、CS
S(クライアントサーバシステム)の普及に伴い、LA
N等のネットワークを経由するファイルあるいはデータ
ベース等のファイル資源へのアクセスの高速化が課題と
なっている。米国サンマイクロシステムズ社のネットワ
ークファイルシステムによって代表される、LAN等の
ネットワークを経由するファイルあるいはデータベース
等のファイル資源へのアクセスを行うシステムでは、停
電等に対するデータの保全性を保証するために、データ
の書き込みやディレクトリの変更等のライト処理につい
て、サーバ機側でハードディスク等の不揮発性記憶装置
に書き込むことが、クライアントに対する処理完了通知
の前提になっている。すなわち、サーバ機はクライアン
トからライト処理の要求を受けた場合、該処理をハード
ディスク等の不揮発性記憶装置に書き込んでから、クラ
イアントに対する処理完了通知を行わなければならな
い。この際、ハードディスク等の不揮発性記憶装置は主
記憶等の揮発性記憶装置に比べて一般に大幅に低速であ
るため、データの書き込みやディレクトリの変更等の処
理は常に低速になる。これは、データの読み出しやディ
レクトリの参照等のリード処理が、主記憶上にハードデ
ィスク等の内容をキャッシュする等の手法により、多く
の場合を高速化できることと合わせて見た場合、クライ
アントサーバシステム全体の性能上の隘路になってい
る。2. Description of the Related Art In recent years, in information processing systems, CS
With the spread of S (client server system), LA
There is a challenge to speed up access to file resources such as files or databases via a network such as N. In a system represented by the network file system of Sun Microsystems, Inc., which accesses a file resource such as a file or a database via a network such as a LAN, data is guaranteed in order to guarantee data integrity against power failure. In regard to write processing such as write of data and change of directory, writing to a non-volatile storage device such as a hard disk on the server machine side is a prerequisite for the processing completion notification to the client. That is, when the server machine receives a write processing request from the client, the server machine must write the processing to a non-volatile storage device such as a hard disk and then notify the client of the processing completion. At this time, since a non-volatile storage device such as a hard disk is generally much slower than a volatile storage device such as a main memory, processing such as data writing and directory change is always slow. This means that read processing such as data read and directory reference can be speeded up in many cases by a method such as caching the contents of the hard disk etc. in the main memory. Has become a bottleneck for performance.
【0003】従来この問題に対処するため、ファイルあ
るいはデータベース等のサーバ機での高速化方法とし
て、例えば「プレストサーブ、 ア エヌエスエフ ア
クセラレータ」;サンワールド(米国版)1992年1
月号第74頁から第76頁(“Prestoserv
e, an NFS Accelerator”;Su
nWorld,January,1992,pp.74
−76)に記載されているPrestoserveのよ
うに、高速の不揮発性バッファ記憶装置としてバックア
ップバッテリ付きRAM(ランダムアクセスメモリ)装
置をI/O装置として装備し、データの書き込みやディ
レクトリの変更等のライト処理を該バッファ記憶装置に
書き込んで、クライアントに対する処理完了通知を行
い、その後にサーバ機がクライアントと無関係に、非同
期にハードディスク等への書き込みを行う方法が知られ
ている。In order to deal with this problem, as a conventional method for speeding up a server machine such as a file or a database, for example, "Prestoserve, NASF accelerator"; Sunworld (US version) 1992 1
Month issue, pages 74 to 76 ("Prestoserv
e, an NFS Accelerator ”; Su
nWorld, January, 1992, pp. 74
-76), a RAM (random access memory) device with a backup battery is installed as a high-speed non-volatile buffer storage device as an I / O device to write data or change a directory. A method is known in which a process is written in the buffer storage device, a process completion notification is given to the client, and then the server machine asynchronously writes to the hard disk or the like regardless of the client.
【0004】[0004]
【発明が解決しようとする課題】上記従来技術は、サー
バ機におけるライト処理の高速化に寄与するものである
が、バックアップバッテリ付きRAM装置を使用するた
め停電時のサーバ機全体の動作を保証するためには無停
止電源装置等の装備の追加が必要である、バックアップ
バッテリ付きRAM装置のハードウェアコストがかか
る、書き込み速度がI/O装置としてのバックアップバ
ッテリ付きRAM装置の性能によって制限される、等の
問題があった。The above-mentioned prior art contributes to the speeding up of the write processing in the server machine, but since the RAM device with the backup battery is used, the operation of the entire server machine is guaranteed at the time of power failure. Therefore, it is necessary to add equipment such as a non-stop power supply device, the hardware cost of the RAM device with a backup battery is high, and the writing speed is limited by the performance of the RAM device with a backup battery as an I / O device. There was a problem such as.
【0005】本発明の目的は、サーバ機において、書き
込み速度がI/O装置としてのバックアップバッテリ付
きRAM装置の性能によって制限されることなく、ライ
ト処理を従来の方法よりも高速化すると共に、停電時の
サーバ機全体の動作を保証する、低価格な、ネットワー
クファイルのアクセス高速化方法を与えることにあり、
特に代表的なネットワークファイルシステムであるNF
Sにおいて、ライト処理を従来の方法よりも高速化する
ことにある。An object of the present invention is to speed up write processing as compared with the conventional method in a server machine without limiting the writing speed by the performance of a RAM device with a backup battery as an I / O device, and to perform a power failure. In order to guarantee the operation of the entire server machine at the time, it is to provide a low-priced method for accelerating network file access,
NF, which is a typical network file system
In S, the write processing is to be faster than the conventional method.
【0006】[0006]
【課題を解決するための手段】本発明では上記の目的を
達成するため、サーバ機にバッテリを搭載することによ
り、サーバ機全体を停電発生時に、例えば15分といっ
た、一定時間動作できることを保証するようにし、該一
定時間中に主記憶の内容中の保存が必要な部分をハード
ディスク等の不揮発性記憶装置に退避し、ソフトウェア
によるシステム停止処理を行うようにした。該退避動作
としては、一般にはファイルシステムソフトウェアによ
って主記憶の内容中の保存が必要な部分をハードディス
ク上のファイルシステムに書き込む動作が考えられる
が、該動作が上記一定時間中に終了しない場合には、該
動作として主記憶の内容の一部または全部がハードディ
スク上の予め用意された領域ににコピーするようにし
て、該動作が上記一定時間中に終了するようにした。In order to achieve the above object, the present invention mounts a battery on the server machine to ensure that the entire server machine can be operated for a fixed time such as 15 minutes when a power failure occurs. Thus, the portion of the contents of the main memory that needs to be saved is saved in a non-volatile storage device such as a hard disk during the fixed time, and system stop processing is performed by software. As the evacuation operation, generally, an operation of writing the portion of the contents of the main memory that needs to be saved in the file system on the hard disk by the file system software can be considered, but if the operation does not end within the above-mentioned fixed time, As the operation, a part or all of the content of the main memory is copied to an area prepared in advance on the hard disk so that the operation is completed within the fixed time.
【0007】また、上記バッテリの搭載を前提として、
通常動作時にソフトウェアが主記憶を不揮発性メモリと
見做して動作するようにし、サーバ機がクライアントか
らライト処理の要求を受けた場合、該処理をハードディ
スク等の不揮発性記憶装置に書き込むのを待たずに、ク
ライアントに対する処理完了通知を行うようにした。Further, assuming that the above battery is mounted,
In normal operation, the software considers the main memory as a non-volatile memory and operates, and when the server machine receives a write processing request from the client, waits for the processing to be written to a non-volatile storage device such as a hard disk. Instead, the processing completion notification is sent to the client.
【0008】[0008]
【作用】本発明によれば、サーバ機の通常動作時にソフ
トウェアが主記憶を不揮発性メモリと見做して動作し、
サーバ機がクライアントからライト処理の要求を受けた
場合、該処理を不揮発性記憶装置に書き込むのを待たず
に、クライアントに対する処理完了通知を行うので、デ
ータの書き込みやディレクトリの変更等のライト処理
を、主記憶への書き込みのみで完了することができる。
これにより、書き込み速度がI/O装置としてのバック
アップバッテリ付きRAM装置の性能によって制限され
ることがなく、ライト処理を従来の方法よりも高速に行
うことができる。According to the present invention, during normal operation of the server machine, the software operates by considering the main memory as a non-volatile memory,
When the server machine receives a write processing request from the client, it sends a process completion notification to the client without waiting for the write processing to be written to the non-volatile storage device, so that write processing such as data writing or directory change can be performed. , Can be completed only by writing to the main memory.
As a result, the write speed is not limited by the performance of the RAM device with the backup battery as the I / O device, and the write process can be performed faster than the conventional method.
【0009】また本発明によれば、サーバ機全体を停電
発生時に、例えば15分といった、一定時間動作でき、
該一定時間中に主記憶の内容中の保存が必要な部分をハ
ードディスク等の不揮発性記憶装置に退避し、ソフトウ
ェアによるシステム停止処理を行うので、停電時のサー
バ機全体の動作を保証する、低価格な、ネットワークフ
ァイルのアクセス高速化方法を与えることができる。According to the present invention, the entire server machine can be operated for a certain period of time, for example, 15 minutes when a power failure occurs,
During the fixed time, the portion of the main memory that needs to be saved is saved in a non-volatile storage device such as a hard disk, and system stop processing is performed by software, so the operation of the entire server machine at the time of power failure is guaranteed. It can provide a cheap and fast way to access network files.
【0010】[0010]
【実施例】以下本発明の一実施例を図1から図4によっ
て説明する。図1は本発明によるサーバ機のライト処理
動作フローと、従来技術によるサーバ機のライト処理動
作フローを示す処理動作フロー図、図2は本発明の適用
されるサーバ機を含むCSS環境を示す構成図、図3は
本発明及び従来方法によるサーバ機のブロック構成図、
図4は本発明によるサーバ機の停電時の動作を示す動作
フロー図である。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is a processing operation flow chart showing a write processing operation flow of a server machine according to the present invention and a write processing operation flow of a server machine according to the prior art, and FIG. 2 is a configuration showing a CSS environment including a server machine to which the present invention is applied. FIG. 3 is a block diagram of a server machine according to the present invention and the conventional method,
FIG. 4 is an operation flow chart showing an operation at the time of a power failure of the server machine according to the present invention.
【0011】本発明は図2に示すようなCSS環境にお
いて、22に示すサーバ機に適用される。図2におい
て、21は例えばCSMA/CD,Tokenrin
g,FDDI、あるいはATMネットワーク等のLA
N、22はネットワークファイルあるいはデータベース
等の保有、管理を行うサーバ機、23はPCやワークス
テーションによる複数のクライアントである。図2に示
すようなCSS環境においては、NFS等のシステムを
用いることにより、クライアントがサーバ機上のファイ
ル、データベース等にアクセスすることが一般的に行わ
れている。CSS環境では、1つのLANの複数のサー
バ機が接続している場合、あるいは1つのサーバ機が複
数のLANに接続している場合等の構成もあり、またL
AN22の代わりにWAN(Wide Area Ne
twork)あるいはISDN等の公衆網を用いる構成
もあるが、本発明はいずれの構成においてもサーバ機2
2に適用することができる。The present invention is applied to the server machine indicated by 22 in the CSS environment as shown in FIG. In FIG. 2, reference numeral 21 indicates, for example, CSMA / CD, Tokenrin.
LA such as g, FDDI, or ATM network
N and 22 are server machines for holding and managing network files or databases, and 23 is a plurality of clients such as PCs and workstations. In the CSS environment as shown in FIG. 2, a client generally accesses a file, a database or the like on a server machine by using a system such as NFS. In the CSS environment, there are configurations such as a case where a plurality of server machines of one LAN are connected, or a case where one server machine is connected to a plurality of LAN, and L
WAN (Wide Area Ne) instead of AN22
There is also a configuration using a public network such as a network) or ISDN, but the present invention is not limited to the server machine 2 in any configuration.
2 can be applied.
【0012】次にサーバ機22のハードウェア構成につ
いて、図3を用いて説明する。図3において(a)は本
発明によるサーバ機の構成、(b)は従来方法によるサ
ーバ機の構成の例である。(a),(b)共に基本構成
要素として、プロセッサユニット31、主記憶32、ハ
ードディスク33、LANインタフェースユニット34
を有し、これらがシステムバス35で接続されている。Next, the hardware configuration of the server machine 22 will be described with reference to FIG. In FIG. 3, (a) is an example of the configuration of the server machine according to the present invention, and (b) is an example of the configuration of the server machine according to the conventional method. Both (a) and (b) have a processor unit 31, a main memory 32, a hard disk 33, and a LAN interface unit 34 as basic constituent elements.
And these are connected by the system bus 35.
【0013】プロセッサユニット31は単数または複数
のCPUおよびCPUキャッシュメモリを有するユニッ
トであり、プロセッサユニット31を複数有する構成の
サーバ機もある。主記憶32はデバイスの特性として揮
発性記憶素子であるDRAM等によって構成された主記
憶ユニットであり、主記憶32を複数ユニットで構成す
るサーバ機もある。ハードディスク33は、不揮発性記
憶装置の代表として示してある。不揮発性記憶装置とし
ては、他に光ディスク、光磁気ディスク、磁気テープ、
フロッピーディスク等を使用する構成、あるいはハード
ディスクまたは前記各デバイスを複数用いたアレイ構成
も考えられる。LANインタフェースユニット34は、
ネットワーク接続インタフェースを示しており、ネット
ワークとしては上述のように、WAN、公衆網等を使用
する構成もある。システムバス35はプロセッサユニッ
ト31、主記憶32、ハードディスク33、LANイン
タフェースユニット34を相互接続するデータ転送路を
代表して示しており、バスの他にパス、チャネル、リン
グ等の接続形態もある。本発明は上記の基本構成要素に
ついては、いずれの構成についても適用することができ
る。The processor unit 31 is a unit having a single or a plurality of CPUs and a CPU cache memory, and there is also a server machine having a plurality of processor units 31. The main memory 32 is a main memory unit configured by a DRAM or the like which is a volatile memory element as a device characteristic, and there is also a server machine in which the main memory 32 is configured by a plurality of units. Hard disk 33 is shown as a representative of non-volatile storage. Other non-volatile storage devices include optical disks, magneto-optical disks, magnetic tapes,
A configuration using a floppy disk or the like, or an array configuration using a plurality of hard disks or each of the above devices is also conceivable. The LAN interface unit 34 is
A network connection interface is shown, and as described above, a WAN, a public network, or the like may be used as the network. The system bus 35 represents a data transfer path interconnecting the processor unit 31, the main memory 32, the hard disk 33, and the LAN interface unit 34 as a representative, and there are also connection forms such as paths, channels, and rings other than the bus. The present invention can be applied to any of the above basic components.
【0014】従来方法によるサーバ機の構成(b)で
は、上記基本構成要素の他に、バックアップバッテリ付
きRAM装置(バッファRAM)303がシステムバス
35に接続されている。また電源は、一般的なAC電源
36から直接サーバ機全体に供給される。構成(b)で
は、停電時のサーバ機全体の動作を保証しようとする
と、AC電源36に一般的な無停止電源装置304を付
加する必要がある。従って停電時のサーバ機全体の動作
を保証しようとする場合、構成(b)ではバッファRA
M303のハードウェアコストと、無停止電源装置30
4のハードウェアコストが必要となる。In the configuration (b) of the server machine according to the conventional method, a RAM device (buffer RAM) 303 with a backup battery is connected to the system bus 35 in addition to the above basic components. In addition, power is directly supplied from the general AC power supply 36 to the entire server machine. In the configuration (b), in order to guarantee the operation of the entire server machine at the time of power failure, it is necessary to add a general non-stop power supply device 304 to the AC power supply 36. Therefore, in order to guarantee the operation of the entire server machine at the time of power failure, the buffer RA is configured in the configuration (b).
Hardware cost of M303 and non-stop power supply 30
A hardware cost of 4 is required.
【0015】これに対して本発明による構成(a)で
は、バッファRAM303は不要である。また電源は、
一般的なAC電源36から電源制御回路302を経由し
てサーバ機全体に供給される。電源制御回路302には
バッテリ301が接続されており、停電時等AC電源3
6からの給電が途絶えた場合には、例えば15分等の一
定時間バッテリ301からサーバ機全体に電源が供給さ
れるようになっている。また構成(a)では、電源制御
回路302はシステムバス35に接続されているが、こ
れは電源制御回路302がプロセッサユニット31と情
報を送受する機能を有している事を示している。電源制
御回路302は、バッテリ搭載型パーソナルコンピュー
タに一般的に用いられている電源制御回路等を流用する
ことにより、容易に構成することができる。構成(a)
におけるバッテリ301および電源制御回路302のハ
ードウェアとしての構成は、一般の無停止電源装置を内
臓させた場合の構成にほぼ等しい。従って構成(a)に
おけるバッテリ301および電源制御回路302のハー
ドウェアコストは、構成(b)における無停止電源装置
304のハードウェアコストにほぼ等しく、構成(a)
と構成(b)を比較すると、構成(a)ではバッファR
AM303のハードウェアコストが不要で、サーバ機を
低価格にできることがわかる。On the other hand, in the configuration (a) according to the present invention, the buffer RAM 303 is unnecessary. The power source is
The power is supplied from the general AC power supply 36 to the entire server machine via the power supply control circuit 302. The battery 301 is connected to the power supply control circuit 302, and the AC power supply 3 is used in the event of a power failure.
When the power supply from 6 is interrupted, the power is supplied from the battery 301 to the entire server machine for a fixed time such as 15 minutes. Further, in the configuration (a), the power supply control circuit 302 is connected to the system bus 35, which means that the power supply control circuit 302 has a function of transmitting and receiving information to and from the processor unit 31. The power supply control circuit 302 can be easily configured by diverting a power supply control circuit or the like generally used in a battery-mounted personal computer. Configuration (a)
The hardware configurations of the battery 301 and the power supply control circuit 302 are substantially the same as the configuration when a general non-stop power supply device is incorporated. Therefore, the hardware cost of the battery 301 and the power supply control circuit 302 in the configuration (a) is almost equal to the hardware cost of the non-stop power supply device 304 in the configuration (b).
And the configuration (b) are compared, the buffer R is
It can be seen that the hardware cost of the AM303 is unnecessary and the server machine can be made low in price.
【0016】次に図1を用いて、本発明および従来方法
によるサーバ機のライト処理動作について説明する。図
1において(a)は本発明によるサーバ機のライト処理
動作フロー、(b)は従来技術によるサーバ機のライト
処理動作フローである。図3(b)に示した構成の従来
方法によるサーバ機では、図1(b)に示すように、L
AN経由でクライアントからのライト要求を受け付ける
(11)と、まずライトデータあるいはディレクトリの
変更等のライト処理を主記憶32に書き込み(12)、
主記憶32上での処理が終了すると書き込んだ内容をバ
ッファRAM303に書き込み(13)、該書き込みが
終了した時点で不揮発性記憶への書き込みが行われたの
で、クライアントへのライト処理完了通知がLAN経由
で行われる(14)。バッファRAM303からハード
ディスク33への書き込み(15)はクライアントへの
ライト処理完了通知後に、非同期に行われる。Next, the write processing operation of the server machine according to the present invention and the conventional method will be described with reference to FIG. In FIG. 1, (a) is a write processing operation flow of the server machine according to the present invention, and (b) is a write processing operation flow of the server machine according to the related art. In the server machine according to the conventional method having the configuration shown in FIG. 3B, as shown in FIG.
When a write request from a client is accepted via the AN (11), first, write processing such as change of write data or directory is written in the main memory 32 (12),
When the processing on the main memory 32 is completed, the written contents are written to the buffer RAM 303 (13), and when the writing is completed, the nonvolatile memory is written. Therefore, the write processing completion notification to the client is sent to the LAN. Via (14). Writing (15) from the buffer RAM 303 to the hard disk 33 is performed asynchronously after the write processing completion notification to the client.
【0017】これに対し、図3(a)に示した構成の本
発明によるサーバ機では、図1(a)に示すように、L
AN経由でクライアントからのライト要求を受け付ける
(11)と、まずライトデータあるいはディレクトリの
変更等のライト処理を主記憶32に書き込み(12)、
本発明ではソフトウェアが主記憶を不揮発性メモリと見
做して動作するので、主記憶32上での処理が終了する
と不揮発性記憶への書き込みが行われたと見做して、ク
ライアントへのライト処理完了通知がLAN経由で行わ
れる(14)。主記憶32からハードディスク33への
書き込み(15)はクライアントへのライト処理完了通
知後に、非同期に行われる。On the other hand, in the server machine according to the present invention having the configuration shown in FIG. 3A, as shown in FIG.
When a write request from a client is accepted via the AN (11), first, write processing such as change of write data or directory is written in the main memory 32 (12),
In the present invention, the software operates by considering the main memory as a non-volatile memory, and therefore, when the processing on the main memory 32 is completed, it is considered that the writing to the non-volatile memory is performed, and the write process to the client is performed. A completion notification is given via the LAN (14). Writing (15) from the main memory 32 to the hard disk 33 is performed asynchronously after the write processing completion notification to the client.
【0018】以上のように本発明によれば、従来方法で
必要だった主記憶32からバッファRAM303への書
き込み(13)が不要となる。これにより書き込み速度
がI/O装置としてのバックアップバッテリ付きRAM
装置の性能によって制限されることがなく、クライアン
トからのライト要求を受け付け(11)からクライアン
トへのライト処理完了通知(14)までの時間を短縮し
て、サーバ機のライト処理を高速化することができる。As described above, according to the present invention, the writing (13) from the main memory 32 to the buffer RAM 303, which is required in the conventional method, is unnecessary. As a result, a RAM with a backup battery that has a writing speed as an I / O device
Without being limited by the performance of the device, the time from receiving a write request from the client (11) to the write processing completion notification (14) to the client is shortened to speed up the write processing of the server machine. You can
【0019】本発明ではソフトウェアが主記憶を不揮発
性メモリと見做して動作するが、該動作を行うために
は、停電等に対するデータの保全性を保証する手段を設
ける必要がある。本発明では、図3(a)におけるバッ
テリ301と電源制御回路302の存在が、停電等に対
するデータの保全性を保証する前提となる。以下図4を
用いて、本発明によるサーバ機の停電時の動作について
説明する。In the present invention, the software operates by considering the main memory as a non-volatile memory, but in order to perform the operation, it is necessary to provide a means for guaranteeing the data integrity against a power failure or the like. In the present invention, the existence of the battery 301 and the power supply control circuit 302 in FIG. 3A is a premise for guaranteeing the data integrity against a power failure or the like. The operation of the server machine according to the present invention during a power failure will be described below with reference to FIG.
【0020】図4は本発明によるサーバ機の停電時の動
作を示す動作フロー図である。図3(a)に示す構成の
本発明によるサーバ機では、電源制御回路302が停電
等によってAC電源26からの供給が中断したのを検出
する(41)と、電源をバッテリ301に切り替え(4
2)、サーバ機全体が例えば15分等の一定時間継続し
て動作できるようにする。さらに電源制御回路302
は、プロセッサユニット31に割り込み等の手段によっ
て、電源断を通知し、プロセッサユニット31はソフト
ウェアによるシステム停止処理を開始(43)する。該
システム停止処理では、主記憶32の内容等のハードデ
ィスク33への書き込みによる退避(44)が行われ
る。本退避動作としては、ファイルシステムソフトウェ
アによって主記憶32上の変更部分の一部または全部が
ハードディスク33上のファイルシステムに書き込まれ
る場合、主記憶32の内容の一部または全部がハードデ
ィスク33上の予め用意された領域ににコピーされる場
合等が考えられ、いづれの場合でも通常動作中のライト
処理で主記憶32に書き込まれたデータの保全性を保証
するように動作する。またシステム停止処理は、バッテ
リ301によってサーバ機全体が継続して動作できる、
例えば15分等の上記一定時間中に終了するように設計
される。システム停止処理が完了すると、プロセッサユ
ニット31は電源制御回路302に対してシステム停止
の指示を出し、電源制御回路302はバッテリ301か
らの電源供給を止め、システムを停止(45)する。以
上の動作により、本発明によるサーバ機では停電等に対
するデータの保全性を保証することができるので、通常
動作時にソフトウェアが主記憶を不揮発性メモリと見做
して動作することができる。FIG. 4 is an operation flow chart showing the operation at the time of power failure of the server machine according to the present invention. In the server machine according to the present invention having the configuration shown in FIG. 3A, when the power supply control circuit 302 detects that the supply from the AC power supply 26 is interrupted due to a power failure or the like (41), the power supply is switched to the battery 301 (4).
2) The entire server machine can be operated continuously for a fixed time such as 15 minutes. Further, the power supply control circuit 302
Notifies the processor unit 31 of the power interruption by means such as an interrupt, and the processor unit 31 starts the system stop processing by software (43). In the system stop process, the contents of the main memory 32 are saved in the hard disk 33 by writing (44). As the main saving operation, when a part or all of the changed portion on the main memory 32 is written to the file system on the hard disk 33 by the file system software, a part or all of the content of the main memory 32 is previously stored on the hard disk 33. It is conceivable that the data is copied to a prepared area, and in any case, it operates so as to guarantee the integrity of the data written in the main memory 32 in the write processing during the normal operation. Further, in the system stop processing, the entire server machine can be continuously operated by the battery 301.
For example, it is designed to finish within the fixed time such as 15 minutes. When the system stop processing is completed, the processor unit 31 issues a system stop instruction to the power supply control circuit 302, and the power supply control circuit 302 stops the power supply from the battery 301 and stops the system (45). With the above operation, the server machine according to the present invention can guarantee the data integrity against a power failure or the like, so that the software can operate by considering the main memory as a non-volatile memory during normal operation.
【0021】[0021]
【発明の効果】本発明によれば、サーバ機において書き
込み速度がI/O装置としてのバックアップバッテリ付
きRAM装置の性能によって制限されることがなく、ラ
イト処理を従来の方法よりも高速化することができる。
また、停電時のサーバ機全体の動作を保証し、またバッ
クアップバッテリの寿命による不揮発性の制限がなく、
低価格な、ネットワークファイルのアクセス高速化方法
を与えることができる。According to the present invention, the writing speed in the server machine is not limited by the performance of the RAM device with the backup battery as the I / O device, and the write processing is made faster than the conventional method. You can
In addition, it guarantees the operation of the entire server machine at the time of power failure, and there is no limitation of non-volatility due to the life of the backup battery.
It is possible to provide an inexpensive method for accelerating access to network files.
【図1】本発明によるサーバ機のライト処理動作フロー
と、従来技術によるサーバ機のライト処理動作フローを
示す処理動作フロー図である。FIG. 1 is a processing operation flow chart showing a write processing operation flow of a server machine according to the present invention and a write processing operation flow of a server machine according to a conventional technique.
【図2】本発明の適用されるサーバ機を含むCSS環境
を示す構成図である。FIG. 2 is a configuration diagram showing a CSS environment including a server machine to which the present invention is applied.
【図3】本発明及び従来方法によるサーバ機のブロック
構成図である。FIG. 3 is a block diagram of a server machine according to the present invention and a conventional method.
【図4】本発明によるサーバ機の停電時の動作を示す動
作フロー図である。FIG. 4 is an operation flow chart showing an operation at the time of a power failure of the server machine according to the present invention.
21…LAN、 22…サーバ機、 23…クライアント、 31…プロセッサユニット、 32…主記憶、 33…ハードディスク、 34…LANインタフェース、 35…システムバス、 36…AC電源、 301…バッテリ、 302…電源制御回路、 303…バックアップバッテリ付きRAM装置。 21 ... LAN, 22 ... Server machine, 23 ... Client, 31 ... Processor unit, 32 ... Main memory, 33 ... Hard disk, 34 ... LAN interface, 35 ... System bus, 36 ... AC power supply, 301 ... Battery, 302 ... Power supply control Circuit, 303 ... RAM device with backup battery.
Claims (5)
アクセスを行うクライアントサーバシステムにおける、
停電発生時にサーバ機全体が一定時間動作するためのバ
ッテリ手段を有するサーバ機において、該サーバ機がク
ライアントからライト処理の要求を受けた場合に、該処
理を揮発性記憶装置である主記憶上での処理終了後、不
揮発性記憶装置への書き込み前に、クライアントに対す
る処理完了通知を行うことを特徴とするネットワークフ
ァイルのアクセス高速化方法。1. A client-server system for accessing a file resource via a network,
In a server machine having battery means for allowing the entire server machine to operate for a certain period of time when a power failure occurs, when the server machine receives a request for a write process from a client, the process is performed on a main memory, which is a volatile storage device. A method for accelerating access to a network file, characterized in that a processing completion notification is sent to a client after completion of the processing and before writing to the nonvolatile storage device.
時間中に主記憶の内容中の保存が必要な部分を不揮発性
記憶装置に退避し、ソフトウェアによるシステム停止処
理を行うことを特徴とするネットワークファイルのアク
セス高速化方法。2. The system according to claim 1, wherein a portion of the contents of the main memory that needs to be saved is saved in a non-volatile storage device during the above-mentioned certain time when a power failure occurs, and system stop processing is performed by software. How to speed up access to network files.
への退避動作として、ファイルシステムソフトウェアに
よって主記憶の保存が必要な部分が該不揮発性記憶装置
上のファイルシステムに書き込まれることを特徴とする
ネットワークファイルのアクセス高速化方法。3. The non-volatile memory device according to claim 2, wherein a part of the main memory that needs to be saved is written into the file system on the non-volatile memory device as a saving operation to the non-volatile memory device. How to speed up access to network files.
への退避動作として、主記憶の内容の一部または全部が
該不揮発性記憶装置上の予め用意された領域にコピーさ
れることを特徴とするネットワークファイルのアクセス
高速化方法。4. The non-volatile memory device according to claim 2, wherein part or all of the contents of the main memory are copied to an area prepared in advance in the non-volatile memory device. How to speed up access to network files.
速化方法を実装し、かつ停電発生時に一定時間動作する
ためのバッテリ手段を有することを特徴とする、ネット
ワークを経由してファイル資源へのアクセスを行うシス
テムにおけるサーバ機。5. A file via a network, characterized in that the method for speeding up access according to claim 1, 2, 3, or 4 is implemented and has battery means for operating for a certain period of time when a power failure occurs. A server machine in a system that accesses resources.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6097171A JPH07306839A (en) | 1994-05-11 | 1994-05-11 | How to speed up access to network files |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6097171A JPH07306839A (en) | 1994-05-11 | 1994-05-11 | How to speed up access to network files |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH07306839A true JPH07306839A (en) | 1995-11-21 |
Family
ID=14185141
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6097171A Pending JPH07306839A (en) | 1994-05-11 | 1994-05-11 | How to speed up access to network files |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH07306839A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002524793A (en) * | 1998-09-08 | 2002-08-06 | メタフォリクス エルエルシー | Virtual file server |
| JP2012060868A (en) * | 2010-09-13 | 2012-03-22 | Mitsubishi Electric Corp | Protection control device |
| JP2019510284A (en) * | 2016-01-22 | 2019-04-11 | マイクロソフト テクノロジー ライセンシング,エルエルシー | Use of volatile memory as non-volatile memory |
-
1994
- 1994-05-11 JP JP6097171A patent/JPH07306839A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002524793A (en) * | 1998-09-08 | 2002-08-06 | メタフォリクス エルエルシー | Virtual file server |
| JP2012060868A (en) * | 2010-09-13 | 2012-03-22 | Mitsubishi Electric Corp | Protection control device |
| JP2019510284A (en) * | 2016-01-22 | 2019-04-11 | マイクロソフト テクノロジー ライセンシング,エルエルシー | Use of volatile memory as non-volatile memory |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7373438B1 (en) | System and method for reprioritizing high-latency input/output operations | |
| US7260695B2 (en) | Scanning modified data during power loss | |
| US7788453B2 (en) | Redirection of storage access requests based on determining whether write caching is enabled | |
| US6618736B1 (en) | Template-based creation and archival of file systems | |
| US7124128B2 (en) | Method, system, and program for managing requests to tracks subject to a relationship | |
| EP0853412B1 (en) | System method for efficiently transferring datastreams in a multimedia system | |
| US6848021B2 (en) | Efficient data backup using a single side file | |
| US7543123B2 (en) | Multistage virtual memory paging system | |
| JP2002007304A5 (en) | ||
| JPS62186349A (en) | Maintaining of data usability in data base system | |
| WO1996003704A1 (en) | Computer method and apparatus for asynchronous ordered operations | |
| US6901481B2 (en) | Method and apparatus for storing transactional information in persistent memory | |
| JP2004127295A (en) | Virtual storage system and its operation method | |
| JP2001188710A (en) | Method and system for performing access to data set and product | |
| EP0536375A1 (en) | Fault tolerant network file system | |
| JP3741345B2 (en) | Network connection disk unit | |
| US6643772B1 (en) | Universal boot code for a computer network | |
| JP4727800B2 (en) | Digital data subsystem including a directory for efficiently providing format information about stored records | |
| CN102326151B (en) | Storage system | |
| JP3848268B2 (en) | Computer system, computer apparatus, data access method and program in computer system | |
| JPH0916531A (en) | Data transmission method | |
| JPH07306839A (en) | How to speed up access to network files | |
| US20010011335A1 (en) | Data processing system having a network and method for managing memory by storing discardable pages in a local paging device | |
| WO2008074613A2 (en) | Data copy system apparatus and method | |
| JP4076316B2 (en) | Data writing system using non-volatile cache memory |