JPH0667954A - File access system - Google Patents
File access systemInfo
- Publication number
- JPH0667954A JPH0667954A JP4237645A JP23764592A JPH0667954A JP H0667954 A JPH0667954 A JP H0667954A JP 4237645 A JP4237645 A JP 4237645A JP 23764592 A JP23764592 A JP 23764592A JP H0667954 A JPH0667954 A JP H0667954A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- file
- shared memory
- file access
- common
- 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
- 230000015654 memory Effects 0.000 claims abstract description 37
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000010586 diagram Methods 0.000 description 2
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、UNIXオペレーテ
ィングシステムのファイルアクセス方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file access system of UNIX operating system.
【0002】[0002]
【従来の技術】従来のファイルアクセス方式は、UNI
Xオペレーティングシステムに依存し、このオペレーテ
ィングシステムが直接ディスクをアクセスしていた。2. Description of the Related Art The conventional file access method is UNI
It relied on the X operating system, which was directly accessing the disk.
【0003】[0003]
【発明が解決しようとする課題】しかしながら、この従
来のファイルアクセス方式においては、複数のプロセス
からファイルをアクセスするためには、ファイルを常に
ディスク上に置いておかなければならないため、ディス
クによるスピードの限界を直接受けることになり、ファ
イルの読み書きの多いプロセスは、CPUのパフォーマ
ンス、負荷にかかわらず大変遅くなる。そこで、この発
明は、ファイルアクセス方式において、ファイルを、デ
ィスクのそれより高速なスピードを可能にしたものであ
る。However, in this conventional file access method, in order to access a file from a plurality of processes, the file has to be always placed on the disk, and therefore the speed of the disk is limited. The limit is directly imposed, and a process that reads and writes many files becomes very slow regardless of CPU performance and load. Therefore, the present invention enables a file to be executed at a speed higher than that of a disk in the file access method.
【0004】[0004]
【課題を解決するための手段】この発明においては、U
NIXオペレーティングシステム上において、ユーザプ
ロセスに共有メモリをコントロールする機構を組み込
み、共有メモリ上に共有メモリ管理テーブルを置き、そ
の一元管理のもとに共有メモリをマッピングし、そこに
ファイルを展開してアクセスする。In the present invention, U
In the UNIX operating system, a mechanism for controlling the shared memory is installed in the user process, the shared memory management table is placed on the shared memory, the shared memory is mapped under the unified management, and the file is expanded and accessed there. To do.
【0005】[0005]
【作用】上記のファイルアクセス方式においては、ディ
スクを直接アクセスした場合に比べて、十分なスピード
の優位性を持つ。The above file access method has a sufficient speed advantage as compared with the case of directly accessing the disk.
【0006】[0006]
【実施例】図1は、この発明のファイルアクセス方式の
一例で、図2は、この発明で用いる共有メモリ管理テー
ブル1の内容である。この例では、ユーザプロセス3
が、アクセスしたいファイルを共有メモリ2に置くため
に、共有メモリ管理テーブル1にファイル名5、ユーザ
プロセス3が識別するための識別番号7、オペレーティ
ングシステムが管理するシステムID番号8および確保
するメモリサイズ9を登録し、実メモリ上に共有メモリ
2を確保する。そして、ユーザプロセス3はファイルの
データの整合性をとるために使用状態フラグ6をたて、
あたかも自分の管理下のメモリの様に、共有メモリ4を
アクセスする。これにより、各ユーザプロセス3は、複
数の共有メモリ4を自分の管理下のメモリとして扱う事
ができ、データやシステムとの整合性も共有メモリ管理
テーブル1上の使用状態フラグ6やシステムID番号8
でとることができる。なお、共有メモリ2やユーザプロ
セス3の数は、実メモリの制限以外に特に制限はない。1 shows an example of a file access system according to the present invention, and FIG. 2 shows the contents of a shared memory management table 1 used in the present invention. In this example, user process 3
However, in order to place the file to be accessed in the shared memory 2, the shared memory management table 1 has a file name 5, an identification number 7 for identifying the user process 3, a system ID number 8 managed by the operating system, and a memory size to be secured. 9 is registered, and the shared memory 2 is secured on the real memory. Then, the user process 3 sets the use state flag 6 in order to maintain the consistency of the file data,
The shared memory 4 is accessed as if it were a memory under its control. As a result, each user process 3 can handle the plurality of shared memories 4 as memories under its own control, and the consistency with the data and the system can also be used flag 6 and system ID number in the shared memory management table 1. 8
Can be taken at. Note that the number of shared memories 2 and user processes 3 is not particularly limited other than the limit of the actual memory.
【0007】[0007]
【発明の効果】上記のように構成された、この発明のフ
ァイルアクセス方式においては、ディスクアクセスに比
べて、十分なスピードの優位性を持つ。特に同一ファイ
ルを何度もアクセスするユーザプロセスは、大きくスピ
ードアップができる。According to the file access method of the present invention constructed as described above, it has a sufficient speed advantage over disk access. In particular, a user process that accesses the same file many times can greatly speed up.
【図1】この発明における各プロセスから認識されるメ
モリイメージを示す図の例である。FIG. 1 is an example of a diagram showing a memory image recognized from each process in the present invention.
【図2】この発明で用いる共有メモリ管理テーブルの内
容を示す図である。FIG. 2 is a diagram showing the contents of a shared memory management table used in the present invention.
1 共有メモリ管理テーブル 2 確保された共有メモリ 3 ユーザプロセス 4 プロセスがアクセスできる共有メモリ 5 ファイル名 6 使用状態フラグ 7 識別番号 8 システムID番号 9 メモリサイズ 1 shared memory management table 2 secured shared memory 3 user process 4 shared memory accessible by process 5 file name 6 usage status flag 7 identification number 8 system ID number 9 memory size
Claims (1)
おいて、ユーザプロセスに共有メモリをコントロールす
る機構を組み込み、共有メモリ上に共有メモリ管理テー
ブルを置き、その一元管理のもとに共有メモリをマッピ
ングし、そこにファイルを展開してアクセスするファイ
ルアクセス方式。1. On the UNIX operating system, a mechanism for controlling a shared memory is installed in a user process, a shared memory management table is placed on the shared memory, the shared memory is mapped under the unified management, and files are stored there. File access method to access by expanding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4237645A JPH0667954A (en) | 1992-08-14 | 1992-08-14 | File access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4237645A JPH0667954A (en) | 1992-08-14 | 1992-08-14 | File access system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0667954A true JPH0667954A (en) | 1994-03-11 |
Family
ID=17018397
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4237645A Pending JPH0667954A (en) | 1992-08-14 | 1992-08-14 | File access system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0667954A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0217196A (en) * | 1988-07-05 | 1990-01-22 | Dai Ichi Kogyo Seiyaku Co Ltd | Method for purifying sucrose ester of fatty acid having high hlb |
JPH0219394A (en) * | 1988-07-08 | 1990-01-23 | Dai Ichi Kogyo Seiyaku Co Ltd | Production of powdery high hlb sucrose fatty acid ester |
KR100344977B1 (en) * | 1999-11-22 | 2002-07-20 | 엘지정보통신주식회사 | Method for controlling a system call, and for changing kernel dynamically in an UNIX operating system |
-
1992
- 1992-08-14 JP JP4237645A patent/JPH0667954A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0217196A (en) * | 1988-07-05 | 1990-01-22 | Dai Ichi Kogyo Seiyaku Co Ltd | Method for purifying sucrose ester of fatty acid having high hlb |
JP2686971B2 (en) * | 1988-07-05 | 1997-12-08 | 第一工業製薬株式会社 | Method for purifying high HLB sucrose fatty acid ester |
JPH0219394A (en) * | 1988-07-08 | 1990-01-23 | Dai Ichi Kogyo Seiyaku Co Ltd | Production of powdery high hlb sucrose fatty acid ester |
JP2686972B2 (en) * | 1988-07-08 | 1997-12-08 | 第一工業製薬株式会社 | Method for producing powdery high HLB sucrose fatty acid ester |
KR100344977B1 (en) * | 1999-11-22 | 2002-07-20 | 엘지정보통신주식회사 | Method for controlling a system call, and for changing kernel dynamically in an UNIX operating system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4374348B2 (en) | How to store file data on disk | |
JPH07175698A (en) | File system | |
US20190026317A1 (en) | Memory use in a distributed index and query system | |
US10649967B2 (en) | Memory object pool use in a distributed index and query system | |
JPH0667954A (en) | File access system | |
JPH0887433A (en) | Block management system of file system | |
JPH05181735A (en) | Method for managing storage device to be shared among plural information processors | |
JP2746189B2 (en) | File access control system | |
JPH04223537A (en) | Image file storing system | |
Christensen et al. | The Control Data® STAR-100 file storage station | |
JP2817911B2 (en) | Access control method for keyed files | |
JPS63213043A (en) | File processing system for external memory | |
JPS637581A (en) | File managing device | |
JPH05158894A (en) | Distributed resource access device | |
JPH0498556A (en) | Network system | |
JP2507399B2 (en) | Database equipment | |
JPS61194948A (en) | Working directory setting system | |
JPS63192126A (en) | Processing system for space control of data set | |
JPS63216121A (en) | Auxiliary storage file access system | |
JPS63239540A (en) | Data management system in memory medium | |
JPH08328946A (en) | Managing method for secondary storage area | |
JPH03166635A (en) | Distributed data dictionary system | |
JPS62194555A (en) | Work file virtualizing system for compiler | |
JPS6024644A (en) | Inference processing system for knowledge engineering system | |
KR19990047123A (en) | Parallel network file system |