摘要 |
PURPOSE: A method for operating a memory of a RAID controller is provided to enhance storing devices and a control period processing velocity by operating a memory installed in a controller for controlling a plurality of the storing devices being connected to a RAID system as a cache memory operating method. CONSTITUTION: If a RAID controller waits a transmission of a command from a host system and receives a data processing related command of a storing device from the host system(S401), the kind of the command is perceived(S402). If the kind is reading, the host system searches whether wanted data exist in a memory(S410). If the corresponding data are stored in the memory(S411), the data of the corresponding cache line are transmitted to the host system(S412). If the data wanted in the host system does not exist in the memory, writing cache area, that is, a line having largest value of a frequency number display area(LRU) out of an invalid status or an exclusive line is selected by searching a tag area by lines of the memory and frequency number display area(LRU)(S413). The data wanted in the host system are searched in a hard disk and the data are stored(S414) in data area of the line selected in the above (S413) stage, and the tag area of the line is converted into the exclusive status(S415), and the data of the corresponding cache line are transmitted to the host system(S416).
|