File system and file caching method in the same
First Claim
1. A file system which reads a file from an external storage in response to a request from a user and transfers the read file to the user, comprising:
- means for receiving the request from the user and transferring the read file to the user;
means for reading the requested file from the external storage;
a memory;
a file manager which provides the read file to the receiving/transferring means and stores the read file in the memory in units of file;
a table; and
a table manager which records, in the table, an access count to each file stored in the memory;
wherein the file manager, when a requested file is stored in the memory at the time of being received the request, reads the requested file from the memory and provides it to the receiving/transferring means, and, when there is no space for storing the read file in the memory, ejects a file having the least access count among the files stored in the memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A file system that reads a file, in response to a request from a user, from an external storage, transfers the read file to the user, and also stores a copy of the read file in a cache memory in consideration of the file'"'"'s frequency in access so that the cache hit ratio may be improved. In response to a following request for the file stored in both the memory and the external storage, the file system transfers, to the user, the copy file stored in the memory instead of the file stored in the external storage in order to speed up the file access processing. The file system ejects a file having the least access count among the files stored in the memory when there is no space for storing the copy file in the memory.
101 Citations
9 Claims
-
1. A file system which reads a file from an external storage in response to a request from a user and transfers the read file to the user, comprising:
-
means for receiving the request from the user and transferring the read file to the user;
means for reading the requested file from the external storage;
a memory;
a file manager which provides the read file to the receiving/transferring means and stores the read file in the memory in units of file;
a table; and
a table manager which records, in the table, an access count to each file stored in the memory;
whereinthe file manager, when a requested file is stored in the memory at the time of being received the request, reads the requested file from the memory and provides it to the receiving/transferring means, and, when there is no space for storing the read file in the memory, ejects a file having the least access count among the files stored in the memory. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A caching method in a file system which reads a file from an external storage in response to a request from a user and transfers the read file to the user, comprising:
-
receiving the request from the user;
reading the requested file from the external storage;
transferring the read file to the user;
storing the read file in a memory in units of file;
recording, in the table, an access count to each file stored in a memory;
reading the requested file from the memory when a requested file is stored in the memory at the time of being received the request; and
ejecting a file having the least access count among the files stored in the memory when there is no space for storing the read file in the memory. - View Dependent Claims (7, 8, 9)
-
Specification