Claims
- 1. A method for improving the response time of a file system, comprising the steps of:
receiving a request to read at least a portion of a cluster of a file, wherein said cluster is a plurality of logically sequential file blocks; and reading said entire cluster each time at least a portion of said cluster is requested independent of whether said file is compressed.
- 2. The method of claim 1, further comprising the step of evaluating a model of said file system to determine the percentage of prefetched data that is utilized.
- 3. The method of claim 1, further comprising the step of returning a file system prefetching strategy for said file to a default prefetching strategy if said file is not read sequentially.
- 4. The method of claim 1, wherein said entire cluster is read into a file system cache.
- 5. The method of claim 1, further comprising the step of initializing a prefetching window of said file system to a maximum allowable value.
- 6. A method for improving the response time of a file system, said method comprising the steps of:
determining a number of concurrent requests that each read at least a portion of a unique file; modifying a number of disk cache segments to be at least said determined number; and reading each of said unique files into a corresponding disk cache segment.
- 7. The method of claim 6, further comprising the step of ensuring that each of said files are read sequentially.
- 8. The method of claim 6, wherein an entire cluster of each file is read into a file system cache.
- 9. The method of claim 6, wherein said modifying step sets the number of disk cache segments to one more than the number of said files being concurrently accessed from a disk.
- 10. The method of claim 9, wherein said one more cache segment services randomly-accessed files.
- 11. A system for improving the response time of a file system, comprising:
a memory for storing computer-readable code; and a processor operatively coupled to said memory, said processor configured to:
receive a request to read at least a portion of a cluster of a file, wherein said cluster is a plurality of logically sequential file blocks; and read said entire cluster each time at least a portion of said cluster is requested independent of whether said file is compressed.
- 12. The system of claim 11, wherein said processor is further configured to evaluate a model of said file system to determine the percentage of prefetched data that is utilized.
- 13. The system of claim 11, wherein said processor is further configured to return said file system to a default prefetching strategy if said file is not read sequentially.
- 14. The system of claim 1, wherein said entire cluster is read into a file system cache.
- 15. The system of claim 11, wherein said processor is further configured to initialize a prefetching window of said file system to a maximum allowable value.
- 16. A system for improving the response time of a file system, comprising:
a memory for storing computer-readable code; and a processor operatively coupled to said memory, said processor configured to:
determine a number of concurrent requests that each read at least a portion of a unique file; modify a number of said disk cache segments to be at least said determined number; and read each of said unique files into a corresponding disk cache segment.
- 17. The system of claim 16, wherein said processor is further configured to ensure that each of said file are read sequentially.
- 18. The system of claim 16, wherein an entire cluster of each file is read into a file system cache.
- 19. The system of claim 16, wherein said processor modifies the number of disk cache segments to one more than the number of said files being concurrently accessed from a disk.
- 20. The system of claim 19, wherein said one more cache segment services randomly-accessed files.
CROSS REFERENCE TO RELATED APPLICATIONS
[0001] This application is a continuation of U.S. patent application Ser. No. 09/325,069, filed Jun. 3, 1999, incorporated by reference herein.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09325069 |
Jun 1999 |
US |
Child |
10356306 |
Jan 2003 |
US |