Cache control program and computer for performing cache processes utilizing cache blocks ranked according to their order of reuse

A cache control program that maintains a high cache hit ratio even in the case of a file of large size being accessed. A computer that executes the cache control program judges whether transferred data specified by a data read request and data following the transferred data are stored in a cache are...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yamauchi, Katsutoshi, Kawase, Yoshitake, Hosokawa, Isao
Format: Patent
Sprache:eng
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A cache control program that maintains a high cache hit ratio even in the case of a file of large size being accessed. A computer that executes the cache control program judges whether transferred data specified by a data read request and data following the transferred data are stored in a cache area including a plurality of blocks (step S). The plurality of blocks are ranked according to order of reuse. The computer preferentially selects a block of high rank in order of reuse as a block for storing nonstored data that is not stored in the cache area (step S). The computer transfers in order the nonstored data in a storage device to the storage block (step S) and reads the transferred data into a predetermined storage area (step S). The computer judges whether there is continuity between the transferred data and data transferred just before the transferred data. If they are a continuous series of pieces of data, the rank in order of reuse of a block which stores a predetermined number of pieces of data from the head of the series of pieces of data is lowered (step S).