Cache hints for computer file access
First Claim
1. A computer program product comprising a computer program operable to control a computer to access a computer file, said computer program comprising:
- (i) file characterising logic operable to detect at least one characteristic of said computer file;
(ii) cache hint selecting logic operable in dependence upon said at least one characteristic to select from among a plurality of different possible cache hints a selected cache hint to use in association with said access to said computer file; and
(iii) file access request issuing logic operable to issue to an operating system a file access request for said computer file accompanied by said selected cache hint.
11 Assignments
0 Petitions
Accused Products
Abstract
An application program (6) may issue a file access request to an operating system (4) accompanied by a caching hint. This caching hint may be selected in dependence upon the file type and file size of the computer file to which access has been requested. The data defining which hint type is to be used for each combination of file type and file size may be adaptively updated depending upon measured performance for the different hint types. The hint defining data may be initialised in dependence upon the operating system version and the installed memory size of the computer system concerned.
10 Citations
27 Claims
-
1. A computer program product comprising a computer program operable to control a computer to access a computer file, said computer program comprising:
-
(i) file characterising logic operable to detect at least one characteristic of said computer file;
(ii) cache hint selecting logic operable in dependence upon said at least one characteristic to select from among a plurality of different possible cache hints a selected cache hint to use in association with said access to said computer file; and
(iii) file access request issuing logic operable to issue to an operating system a file access request for said computer file accompanied by said selected cache hint. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method of accessing a computer file, said method comprising the steps of:
-
(i) detecting at least one characteristic of said computer file;
(ii) selecting in dependence upon said at least one characteristic to select from among a plurality of different possible cache hints a selected cache hint to use in association with said access to said computer file; and
(iii) issuing to an operating system a file access request for said computer file accompanied by said selected cache hint. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22, 23, 24, 25, 26, 27)
-
-
19. Apparatus for accessing a computer file, said apparatus comprising:
-
a file characteriser operable to detect at least one characteristic of said computer file;
a cache hint selector operable in dependence upon said at least one characteristic to select from among a plurality of different possible cache hints a selected cache hint to use in association with said access to said computer file; and
file access request issuer operable to issue to an operating system a file access request for said computer file accompanied by said selected cache hint.
-
Specification