Search International and National Patent Collections

1. (WO2018121455) CACHED-DATA PROCESSING METHOD AND DEVICE, AND STORAGE CONTROLLER

Pub. No.:    WO/2018/121455    International Application No.:    PCT/CN2017/118147
Publication Date: Fri Jul 06 01:59:59 CEST 2018 International Filing Date: Sun Dec 24 00:59:59 CET 2017
IPC: G06F 3/06
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: JIANG, Wuhan
江武汉
MEN, Yong
门勇
Title: CACHED-DATA PROCESSING METHOD AND DEVICE, AND STORAGE CONTROLLER
Abstract:
A data processing method, a corresponding device, and a storage controller are disclosed. The data processing method comprises: obtaining a data compression ratio D, a data deduplication ratio C, an average stripe filling rate I, a size S of a target stripe in a cache, and a valid data volume W in the target stripe; and according to the obtained parameters, using a formula (A) to obtain a data eviction volume N, and performing one of the following operations according to the value of N: if Tmin ≤ N ≤ Tmax, writing data with the volume being N into the target stripe, evicting the data from the target stripe to a storage medium, wherein Tmin is a preset first threshold, and Tmax is a preset second threshold; if N > Tmax, writing data with the volume being N into the target stripe; and if N < Tmin, evicting data from the target stripe to the storage medium. A time point of evicting cached data is appropriately designed by using the solution of the invention.