Distributed file system permitting each user to enhance cache hit ratio in file access mode
First Claim
1. In a distributed file system wherein a file server for administering a plurality of files, and clients for accessing the files administered by the file server are connected through a network;
- and each of the clients has a cache memory for administering copies of the files, and a priority table for storing therein priority levels which function as criteria for judging, when a copy of one of the files is to be expelled, if the copies of the files placed in the cache memory of the pertinent client through accesses from the pertinent client to the file server are to be kept in the cache memory;
a method of controlling a cache memory for files, comprising the steps of;
prestoring names of users and names of those ones of said files which are frequently accessed by the users, as an access frequency database in said file server, the user names and the file names being associated for the respective users who log into any of said clients, in the access frequency database;
recognizing the user name of a certain one of said users, in one client when the certain user is logging into said one client;
checking if a particular one of said files having a certain one of said file names is the file which is frequently accessed by the recognized user, in said one client and on the basis of the contents of said access frequency database when said recognized user has loaded the copy of the particular file from said file server into said cache memory;
setting the priority level of said particular file in accordance with the checked result so that the priority levels of the files of high access frequencies may become high, and then storing the set priority level in said priority table; and
determining the file whose priority level is low for the user currently operating said one client, as the file to-be-expelled on the basis of the contents of said priority table when said copy of one of said files is to be expelled from said cache memory of said one client.
1 Assignment
0 Petitions
Accused Products
Abstract
A distributed file system in which the cache hit ratio of a client is enhanced to speed up a file access for each of users logging into the client. A file server includes an access frequency database in which the names of users are listed in association with the names of files that are frequently accessed by the individual users. Each client includes a log-in user table for entering the name of a user who is logging in, and a cache priority control module. The cache priority control module sets priority levels for the copies of the files stored in a cache area, on the basis of the contents of the access frequency database and the log-in user table. The set priority levels function as criteria when any of the file copies is to be expelled from the cache area. Owing to this construction, the copies of the files of high usage frequencies are preferentially kept in the cache area of the client for each user logging into this client, whereby the cache hit ratio can be enhanced to speed up the file access.
-
Citations
19 Claims
-
1. In a distributed file system wherein a file server for administering a plurality of files, and clients for accessing the files administered by the file server are connected through a network;
- and each of the clients has a cache memory for administering copies of the files, and a priority table for storing therein priority levels which function as criteria for judging, when a copy of one of the files is to be expelled, if the copies of the files placed in the cache memory of the pertinent client through accesses from the pertinent client to the file server are to be kept in the cache memory;
a method of controlling a cache memory for files, comprising the steps of; prestoring names of users and names of those ones of said files which are frequently accessed by the users, as an access frequency database in said file server, the user names and the file names being associated for the respective users who log into any of said clients, in the access frequency database; recognizing the user name of a certain one of said users, in one client when the certain user is logging into said one client; checking if a particular one of said files having a certain one of said file names is the file which is frequently accessed by the recognized user, in said one client and on the basis of the contents of said access frequency database when said recognized user has loaded the copy of the particular file from said file server into said cache memory; setting the priority level of said particular file in accordance with the checked result so that the priority levels of the files of high access frequencies may become high, and then storing the set priority level in said priority table; and determining the file whose priority level is low for the user currently operating said one client, as the file to-be-expelled on the basis of the contents of said priority table when said copy of one of said files is to be expelled from said cache memory of said one client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
- and each of the clients has a cache memory for administering copies of the files, and a priority table for storing therein priority levels which function as criteria for judging, when a copy of one of the files is to be expelled, if the copies of the files placed in the cache memory of the pertinent client through accesses from the pertinent client to the file server are to be kept in the cache memory;
-
9. In a distributed file system wherein a file server for administering a plurality of files, and clients for accessing the files administered by the file server are connected through a network;
- and each of the clients has a cache memory for administering copies of the files;
a method of controlling a cache memory for files, comprising the steps of; prestoring names of users and names of those ones of said files which are frequently accessed by the users, as an access frequency database in said file server, the user names and the file names being associated for the respective users who log into any of said clients, in the access frequency database; recognizing the user name of a certain one of said users, in one client when the certain user is logging into said one client; checking if a particular one of said files having a certain one of said file names is the file which is frequently accessed by the recognized user, in said one client and on the basis of the contents of said access frequency database; and thenceforth loading said copy of said particular file whose access frequency is high in accordance with the checked result, from said file server into said cache memory without regard to the presence of the access to said particular file when said user has logged into said one client.
- and each of the clients has a cache memory for administering copies of the files;
-
10. In a distributed file system wherein at least one file server for administering a plurality of files, and clients for accessing the files administered by the file server are connected through a network;
a distributed file system wherein; said file server includes an access frequency database in which names of users to log into any ones of said clients and names of the files to be frequently accessed by the respective users are prestored in association; and each of said clients includes; a log-in user table for entering therein the name of the user who is logging in; a cache memory for administering copies of the files stored in said file server; and cache management means for setting priority levels for the respective copies of said files stored in said cache memory, and for performing a control in which the copy of low priority level is expelled from said cache memory when a sufficient free space cannot be reserved in said cache memory in the case of loading a copy of another of said files of said file server into said cache memory; said cache management means setting said priority levels for said respective copies of said files stored in said cache memory, on the basis of said log-in user table and said access frequency database. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 19)
Specification