Claims
- 1. A file system in a computer system, comprising:
- a central processing unit;
- a main storage area within said central processing unit;
- a secondary storage device coupled to said main storage area;
- a plurality of buffer areas, coupled to said secondary storage device and said main storage area, to perform data transfer by file input and output between said main storage area and said secondary storage device; and
- a buffer management processing unit, operatively connected to said buffer--areas, dividing said buffer areas into predetermined fixed areas of different block sizes for a plurality of applications including at least a first buffer area for system data and a second buffer area for user data, providing independent management of said buffer areas of different block sizes and controlling acquisition and release of each buffer area.
- 2. A file system according to claim 1,
- further comprising a block size designating unit, operatively connected to said buffer management processing unit, for designating a block size as a buffer management unit for each of the predetermined fixed areas, and
- wherein said buffer management processing unit manages said first and second buffer areas depending on the block size designated for each of said first and second buffer areas to control acquisition and release of said first and second buffer areas in accordance with the block size.
- 3. A file system according to claim 1, wherein said buffer management processing unit returns, when a number of assignable blocks existing within one of said buffer areas becomes less than a predetermined number, blocks having data stored therein to said secondary storage device, thereby increasing the number of assignable blocks.
- 4. A file system according to claim 1,
- further comprising a lower limit value designating unit, operatively connected to said buffer management processing unit, for designating a lower limit value of a number of assignable blocks existing within each of said buffer areas as a buffer management unit for said buffer areas, and
- wherein said buffer management processing unit returns, when the number of assignable blocks existing within one of said buffer areas becomes less than the lower limit value of the number of assignable blocks designated for each of said buffer areas, blocks having data stored therein to said secondary storage device until the number of assignable blocks is greater than the lower limit value.
- 5. A file system in a computer system including a central processing unit, a main storage device and a secondary storage device, said file system comprising:
- a plurality of buffer areas, including blocks, to perform data transfer by file input and output between the main memory storage device and the secondary memory storage device;
- a swap control unit, operatively connected to said buffer areas, to manage swapping between the main storage device and the secondary storage device by acquiring a first one of said blocks as a swap area, performing a swap-out by writing from the main memory to the first one of said blocks, setting a dirty display mode indicating that contents of said first one of said blocks is not yet written into the secondary storage device, returning the first one of said blocks to the main memory if valid when a swap-in of the first one of said blocks is requested and otherwise acquiring a second one of said blocks as a swap area and reading the contents of the first one of said blocks from the secondary memory into the second one of said blocks prior to performing the swap-in of the second one of said blocks, and releasing whichever of the first and second ones of said blocks was used for the swap-in by cancelling said dirty display mode after the swap-in has been completed; and
- a buffer management processing unit, operatively connected to said buffer areas, for managing said buffer areas and acquiring assignable blocks so that a number of the assignable blocks is greater than a lower limit value of said number of the assignable blocks when said number of the assignable blocks within said buffer areas becomes less than said lower limit value, by returning the contents of said first one of said blocks to which said dirty display mode is set to said secondary storage device through repeated writing thereof.
- 6. A file system in a computer system including a main storage device and a secondary storage device, comprising:
- a plurality of buffer areas, including blocks, to perform data transfer by file input and output between the main storage device and the secondary storage device;
- a buffer management processing unit, operatively connected to said buffer areas, for dividing said buffer areas into predetermined fixed areas including at least a first buffer area and a second buffer area, providing independent management of respective buffer areas and controlling acquisition and release of each buffer area;
- a lower limit value designating unit, operatively connected to said buffer management processing unit, for designating a lower limit value of a number of assignable blocks within the respective buffer areas, said buffer management processing unit returning said blocks having data stored therein to said secondary storage device until the number of the assignable blocks is greater than the lower limit value when the number of the assignable blocks existing within said buffer areas becomes less than the lower limit value; and
- swap control means for managing swapping between the main storage device and the secondary storage device by acquiring one of said blocks as a swap area and setting a dirty display mode indicating the one of said blocks is not yet written into the secondary storage device when a swap-out occurs and releasing the one of said blocks by cancelling said dirty display mode after a swap-in occurs.
Priority Claims (1)
| Number |
Date |
Country |
Kind |
| 5-317832 |
Dec 1993 |
JPX |
|
RELATED APPLICATION
This application is a continuation of U.S. patent application Ser. No. 08/296,247, filed Aug. 25, 1994, abandoned.
US Referenced Citations (22)
Continuations (1)
|
Number |
Date |
Country |
| Parent |
296247 |
Aug 1994 |
|