发明名称 Data cache method, device, and system in a multi-node system
摘要 A data cache method, device, and system in a multi-node system are provided. The method includes: dividing a cache area of a cache medium into multiple sub-areas, where each sub-area is corresponding to a node in the system; dividing each of the sub-areas into a thread cache area and a global cache area; when a process reads a file, detecting a read frequency of the file; when the read frequency of the file is greater than a first threshold and the size of the file does not exceed a second threshold, caching the file in the thread cache area; or when the read frequency of the file is greater than the first threshold and the size of the file exceeds the second threshold, caching the file in the global cache area. Thus overheads of remote access of a system are reduced, and I/O performance of the system is improved.
申请公布号 US9223712(B2) 申请公布日期 2015.12.29
申请号 US201313968714 申请日期 2013.08.16
申请人 Huawei Technologies Co., Ltd. 发明人 Zhang Xiaofeng
分类号 G06F12/00;G06F12/08 主分类号 G06F12/00
代理机构 Conley Rose, P.C. 代理人 Conley Rose, P.C. ;Rodolph Grant;Stegge Adam J.
主权项 1. A data cache method in a multi-node system, wherein the multi-node system comprises a cache medium and a disk array, and wherein the method comprises: dividing a cache area in the cache medium into multiple sub-areas, wherein each sub-area corresponds to a node in the multi-node system; dividing each of the sub-areas into a thread cache area and a global cache area, wherein a mapping is established between the thread cache area and the disk array by adopting an associative mapping manner, and wherein a mapping is established between the global cache area and the disk array by adopting a set-associative mapping manner; detecting a read frequency of a file when a process reads the file from the disk array; caching the file in the thread cache area when the read frequency of the file is greater than a first threshold and a size of the file does not exceed a second threshold; and caching the file in the global cache area when the read frequency of the file is greater than the first threshold and the size of the file exceeds the second threshold.
地址 Shenzhen CN