主权项 |
1. A computer program product comprising a non-transitory computer readable storage medium having a computer readable program stored therein, wherein the computer readable program, when executed on a computing device, causes the computing device to:
monitor, by a home site in a separated distributed file system or clustered file system, file access by a plurality of cache sites in the separated distributed file system or clustered file system; record, by the home site, file accesses in an activity table, wherein the activity table is a two-dimensional table indexed by time over a predetermined interval P and a granularity G, wherein each element in the activity table is a linked list of read and write elements; identify, by the home site, access patterns by cache sites; and share the access patterns with the plurality of cache sites, wherein a given cache site within the plurality of cache sites combines the access patterns with local access information identifies files to pre-fetch based on the combined information, and generate a pre-fetch schedule. |