摘要 |
The invention is a method and system for optimizing data transfer from non-volatile memory (e.g. floppy or hard disk) into random-access memory. Upon opening a file, an access log is created. File access behaviour for the file is monitored and recorded in the file access log. A determination is made whether the file access behaviour was sequential, or sequential and fast. If the access behaviour is determined to have been sequential and fast, then relatively large amounts of data are cached. If the access behaviour was sequential but not fast then relatively small amounts of data are cached. The access behaviour is recorded in an area associated with the file upon closing the file and may be read upon opening the file.
|