Determination of working sets by logging and simulating filesystem operations
First Claim
1. A computer-implemented method for determining the size of a file cache on a computer, the computer-implemented method comprising the computer-implemented steps of:
- activating a filesystem logging mechanism under computer control to monitor filesystem transactions performed on the computer;
providing under computer control a file cache for storing at least a portion of at least one computer file and a filesystem log file for storing records of filesystem transactions invoked by the computer;
performing under computer control a user work cycle during which user work cycle the filesystem logging mechanism monitors under computer control filesystem transactions invoked by the computer and stores records of certain filesystem transactions to the filesystem log file; and
determining under computer control an appropriate size of the file cache based at least in part on the records stored in the filesystem log file.
2 Assignments
0 Petitions
Accused Products
Abstract
A method and apparatus for determining the size of a file cache for storing data is described. The method includes activating a filesystem logging mechanism to monitor filesystem transactions performed on the computer by the user. Next, a file cache is provided under computer control for storing at least a portion of at least one computer file. Also, a filesystem log file is provided for storing records of filesystem transactions invoked by the computer. A user work cycle is then performed during which the filesystem logging mechanism monitors filesystem transactions invoked by the computer and stores records of certain filesystem transactions to the filesystem log file. Finally, the size of the file cache required to store the information cached during the work cycle is determined by processing the log file. Also provided is a computer program product having computer readable code for determining the size of a file cache.
-
Citations
30 Claims
-
1. A computer-implemented method for determining the size of a file cache on a computer, the computer-implemented method comprising the computer-implemented steps of:
-
activating a filesystem logging mechanism under computer control to monitor filesystem transactions performed on the computer; providing under computer control a file cache for storing at least a portion of at least one computer file and a filesystem log file for storing records of filesystem transactions invoked by the computer; performing under computer control a user work cycle during which user work cycle the filesystem logging mechanism monitors under computer control filesystem transactions invoked by the computer and stores records of certain filesystem transactions to the filesystem log file; and determining under computer control an appropriate size of the file cache based at least in part on the records stored in the filesystem log file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 23, 24, 25, 26)
-
-
10. A computer system for determining the size of a file cache, the computer system comprising:
-
a file cache for storing at least a portion of at least one computer file; a filesystem log file for storing records of filesystem transactions; a filesystem logging mechanism that monitors filesystem transactions performed during a user work cycle and stores records of certain filesystem transactions to the filesystem log file; and a filesystem log file processing mechanism for determining an appropriate size of the file cache based at least in part on the records stored in the filesystem log file. - View Dependent Claims (11, 12, 13, 14, 15, 16)
-
-
17. A computer program product comprising a computer usable medium having computer readable code embodied thereon for determining the size of a file cache, the computer program product comprising:
-
computer readable program code devices configured to cause a computer to activate a filesystem logging mechanism that operates under computer control to monitor filesystem transactions performed on the computer; computer readable program code devices configured to cause a computer to provide a file cache for storing a least a portion of at least one computer file therein and a filesystem log file for storing records of filesystem transactions invoked by the computer while the filesystem logging mechanism is monitoring filesystem transactions performed on the computer; computer readable program code devices configured to cause a computer to store records of certain filesystem transactions invoked by the computer while the filesystem logging mechanism is monitoring filesystem transactions performed on the computer to the filesystem log file; and computer readable program code devices configured to cause a computer to determine an appropriate size of the file cache based at least in part on the records stored in the filesystem log file. - View Dependent Claims (18, 19, 20, 21, 22, 27, 28, 29, 30)
-
Specification