CN115033180A - Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness - Google Patents
Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness Download PDFInfo
- Publication number
- CN115033180A CN115033180A CN202210720229.7A CN202210720229A CN115033180A CN 115033180 A CN115033180 A CN 115033180A CN 202210720229 A CN202210720229 A CN 202210720229A CN 115033180 A CN115033180 A CN 115033180A
- Authority
- CN
- China
- Prior art keywords
- band
- cache
- locality
- cost
- block
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/064—Management of blocks
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0659—Command handling arrangements, e.g. command buffers, queues, command scheduling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0685—Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Memory System Of A Hierarchy Structure (AREA)
Abstract
Description
技术领域technical field
本发明属于计算机系统架构技术领域,具体涉及一种基于局部性感知的SMR-SSD混合存储系统缓存替换方法及系统。The invention belongs to the technical field of computer system architecture, and in particular relates to a method and system for cache replacement of an SMR-SSD hybrid storage system based on locality awareness.
背景技术Background technique
叠瓦式磁纪录(Shingled Magnetic Recording,SMR)是一种用于磁盘的磁存储数据记录技术,它通过将磁道重叠来提高磁道密度,相较于使用传统磁记录(ConventionalMagnetic Recording,CMR)技术的磁盘,可以提供更高的磁道密度,从而提高存储容量。SMR磁盘由于其大容量、低成本优势,广泛应用于数据中心冷归档存储、低频存储等领域。然而随着对低成本存储需求的扩张,如何将SMR磁盘应用于标准存储领域的挑战愈发明显。Shingled Magnetic Recording (SMR) is a magnetic storage data recording technology for magnetic disks, which increases track density by overlapping tracks, compared with conventional magnetic recording (Conventional Magnetic Recording, CMR) technology. Disk, which can provide higher track density and thus increase storage capacity. Due to its large capacity and low cost, SMR disks are widely used in data center cold archive storage, low frequency storage and other fields. However, with the expansion of the demand for low-cost storage, the challenge of how to apply SMR disks to the standard storage field becomes more and more obvious.
目前,SMR管理可以在磁盘设备内部、主机端、主机端和磁盘协作这三个层面实现,分别对应DM-SMR、HM-SMR以及HA-SMR三类磁盘设备。驱动管理的SMR磁盘(DM-SMR)兼容传统磁盘IO栈,软件无需修改,即插即用;但该类设备内部存在服务非顺序写请求的持久缓冲区,在面对非顺序写密集的场景时,STL算法会对缓冲区进行周期性清理,此时将阻塞上层IO请求引起应用性能的极大抖动。本专利优化方案针对的是DM-SMR磁盘,后续文中默认SMR磁盘代指DM-SMR磁盘。Currently, SMR management can be implemented at three levels: the internal disk device, the host side, the host side, and disk collaboration, corresponding to three types of disk devices: DM-SMR, HM-SMR, and HA-SMR. The driver-managed SMR disk (DM-SMR) is compatible with the traditional disk IO stack, and the software does not need to be modified, and it is plug-and-play; however, there is a persistent buffer inside this type of device that serves non-sequential write requests, and in the face of non-sequential write intensive scenarios At this time, the STL algorithm will periodically clean up the buffer, which will block the upper-layer IO request and cause great jitter in application performance. The optimization scheme of this patent is aimed at DM-SMR disks, and the default SMR disks in subsequent texts refer to DM-SMR disks.
由于SMR磁盘内部磁道重叠,SMR磁盘在写数据时不能直接进行原地更新写,而是以RMW(Read-Modify-Write)操作进行。RMW操作在解决SMR磁盘随机写问题的同时,也带来了严重写放大和性能波动的问题。SUN等人通过分析Pearson Correlation Coefficients(PCC)得出RMW是影响SMR磁盘性能的关键。Since the internal tracks of the SMR disk overlap, the SMR disk cannot directly perform in-situ update and write when writing data, but performs the RMW (Read-Modify-Write) operation. While solving the random write problem of SMR disks, RMW operation also brings serious write amplification and performance fluctuation problems. By analyzing Pearson Correlation Coefficients (PCC), SUN et al. concluded that RMW is the key to affecting the performance of SMR disks.
SSD和SMR磁盘组成的混合存储系统可以在一定程度上缓解上述问题,但是由于传统的缓存替换算法,如LRU等,并没有考虑到SMR磁盘的内部组织结构特征,因此对降低RMW的触发不能产生任何帮助。目前,针对SSD-SMR磁盘的缓存替换算法主要包含两类,其一为LRU-like,另一类是Band-based。The hybrid storage system composed of SSD and SMR disk can alleviate the above problems to a certain extent, but because traditional cache replacement algorithms, such as LRU, etc., do not take into account the internal organizational structure characteristics of SMR disk, the trigger for reducing RMW cannot be generated. Any help. At present, the cache replacement algorithms for SSD-SMR disks mainly include two categories, one is LRU-like and the other is Band-based.
LRU-like:LRU-like算法仍以LRU队列为核心,PORE算法以LRU组织缓存队列,通过限制缓存块的淘汰范围,间接的减小了写放大产生的可能性,但是由于该算法并未区分干净块和脏块。SAC算法则在PORE算法上更进一步,加入干净块脏块的动态管理,将干净块和脏块分为两个LRU队列进行管理,但是由于其核心算法仍为LRU,并未脱离传统算法的约束。LRU-like: The LRU-like algorithm still uses the LRU queue as the core. The PORE algorithm uses the LRU to organize the cache queue. By limiting the elimination range of cache blocks, the possibility of write amplification is indirectly reduced, but because the algorithm does not distinguish between Clean and dirty blocks. The SAC algorithm goes a step further on the PORE algorithm, adding dynamic management of clean and dirty blocks, dividing clean blocks and dirty blocks into two LRU queues for management, but because its core algorithm is still LRU, it does not break away from the constraints of traditional algorithms .
band-based:MOST将策略倾向于减缓写放大,首次提出band-based的管理方式,但是其不考虑缓存命中率的影响,仅仅以band中缓存块的数量为依据进行淘汰,忽略了缓存的核心要素。但是基于band的管理方式可以最大程度上提升淘汰缓存块的聚集程度,也就是空间局部性。Band-based: MOST tends to slow down the write amplification strategy, and proposes the band-based management method for the first time, but it does not consider the impact of the cache hit rate, and only eliminates the cache based on the number of cache blocks in the band, ignoring the core of the cache elements. However, the band-based management method can maximize the aggregation degree of eliminated cache blocks, that is, spatial locality.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题在于针对上述现有技术中的不足,提供一种基于局部性感知的SMR-SSD混合存储系统缓存替换方法及系统,解决传统band-based算法命中率低下的问题;最大程度上降低RMW产生的数量,提升系统性能。The technical problem to be solved by the present invention is to provide a locality-aware-based SMR-SSD hybrid storage system cache replacement method and system to solve the problem of low hit rate of traditional band-based algorithms; To a certain extent, the amount of RMW generated is reduced and the system performance is improved.
本发明采用以下技术方案:The present invention adopts following technical scheme:
基于局部性感知的SMR-SSD混合存储系统缓存替换方法,基于局部性感知的SMR-SSD混合存储系统缓存替换方法,其特征在于,包括以下步骤:A locality-aware SMR-SSD hybrid storage system cache replacement method, and a locality-aware SMR-SSD hybrid storage system cache replacement method, characterized in that it includes the following steps:
将缓存块的数据按照物理位置、访问新近度和干净/脏数据进行划分;Divide cache block data by physical location, access recency, and clean/dirty data;
根据缓存块的物理位置,采用Band-based管理方式,根据band权重建立band的淘汰顺序,根据权重选择对应的band进行淘汰;According to the physical location of the cache block, the Band-based management method is adopted, the band elimination order is established according to the band weight, and the corresponding band is selected for elimination according to the weight;
根据缓存块的访问新近度,采用双重局部性比较策略DLC对缓存块的band权重进行排序,将空间局部性最好且时间局部性最差的k个Band放置在队列末端作为候选淘汰band;According to the access recency of the cache block, the double locality comparison strategy DLC is used to sort the band weights of the cache block, and the k Bands with the best spatial locality and the worst temporal locality are placed at the end of the queue as candidate elimination bands;
根据缓存块的干净/脏数据,采用干净band优先策略对候选淘汰band的权重进行重新计算排序,选择权重最低的Band进行淘汰;将淘汰的缓存块写回磁盘,释放的SSD空间作为新写入块的地址空间,完成缓存替换过程。According to the clean/dirty data of the cache block, the clean band priority strategy is used to recalculate and sort the weights of the candidate bands for elimination, and select the band with the lowest weight for elimination; write the eliminated cache blocks back to the disk, and the freed SSD space is used as a new write. block address space to complete the cache replacement process.
具体的,双重局部性比较策略DLC具体为:Specifically, the double locality comparison strategy DLC is as follows:
将band中的缓存块按照访问频率和访问新近度进行区分;按照时间局部性的计算公式,对band中缓存块的时间局部性权重进行计算;按照空间局部性的计算公式,对band中缓存块的空间局部性权重进行计算;对band的总权重表现进行计算并排序。Distinguish the cache blocks in the band according to the access frequency and access recency; calculate the temporal locality weight of the cache blocks in the band according to the calculation formula of time locality; according to the calculation formula of spatial locality, calculate the cache blocks in the band The spatial locality weight of the band is calculated; the total weight performance of the band is calculated and sorted.
进一步的,时间局部性权重WTPL(b)具体计算如下:Further, the temporal locality weight W TPL (b) is specifically calculated as follows:
WTPL(b)=∑F(cur_time-reference_time)W TPL (b)=∑F(cur_time-reference_time)
其中,F(x)为单个块的时间局部性,cur_time为当前时间戳,reference_time为被访问时的时间戳。Among them, F(x) is the time locality of a single block, cur_time is the current timestamp, and reference_time is the timestamp when it was accessed.
进一步的,空间局部性权重WSPL(b)具体计算如下:Further, the spatial locality weight W SPL (b) is specifically calculated as follows:
WSPL(b)=SPLband(b)W SPL (b)=SPL band (b)
其中,F(x)为单个块的时间局部性,SPLband(b)为单个band的缓存块数。where F(x) is the temporal locality of a single block, and SPL band (b) is the number of cache blocks in a single band.
进一步的,band的总权重Wband(b)为:Further, the total weight of the band W band (b) is:
Wband(b)=αWSPL(b)-βWTPL(b)+γWW band (b)=αW SPL (b)-βW TPL (b)+γW
其中,W为与干净块与脏块相关的数值,α、β、γ为系数。Among them, W is a numerical value related to clean blocks and dirty blocks, and α, β, and γ are coefficients.
具体的,相对干净band优先RCBF策略中,band的淘汰代价Costband与其中脏块的淘汰数量呈正相关,具体为:Specifically, in the relatively clean band-first RCBF strategy, the cost of band elimination, Cost band , is positively correlated with the number of dirty blocks eliminated, as follows:
Timeband∝Writetime*Ndirty Time band ∝Write time *N dirty
其中,Timeband为淘汰band所需要的时间,Writetime为缓存块写回需要的时间,Ndirty为脏块的数量。Among them, Time band is the time required to eliminate the band, Write time is the time required to write back the cache block, and N dirty is the number of dirty blocks.
进一步的,干净块的淘汰代价Costclean和脏块的淘汰代价Costdirty如下:Further, the elimination cost of clean blocks, Cost clean , and the elimination cost of dirty blocks, Cost dirty , are as follows:
Costclean=Costaccess_miss*P(access)Cost clean =Cost access_miss *P(access)
Costdirty=Costwrite_back+Costaccess_miss*P(access)Cost dirty =Cost write_back +Cost access_miss *P(access)
其中,Cacheclean和Cachedirty代表块从缓存中淘汰需要的时间,P(access)表示该块被重新读取的概率,Costwrite_back表示脏块写回磁盘所需要的时间,Costaccess_miss表示访问未命中所需要花费的代价。Among them, Cache clean and Cache dirty represent the time it takes for a block to be eliminated from the cache, P(access) represents the probability that the block is re-read, Cost write_back represents the time it takes for a dirty block to be written back to disk, and Cost access_miss represents an access miss cost to be spent.
更进一步的,淘汰band的代价Costband为:Further, the cost of eliminating the band Cost band is:
Costband=Costwrite_back*Ndirty+Costaccess_miss*N*P(access)Cost band =Cost write_back *N dirty +Cost access_miss *N*P(access)
其中,Nclean和Ndirty分别代表band中干净块和脏块的数量,N代表band中所有块的数量。Among them, N clean and N dirty represent the number of clean and dirty blocks in the band, respectively, and N represents the number of all blocks in the band.
具体的,Band-based管理方式具体为:Specifically, the Band-based management method is as follows:
插入缓存块时,通过缓存块的offset计算缓存块所属band;根据缓存块的offset和缓存块所属band建立hash表;计算band的权重,根据计算的band权重建立band的淘汰顺序;当SSDcache空间不足时,根据权重在band淘汰顺序中选择适合的band进行淘汰。When inserting a cache block, calculate the band to which the cache block belongs based on the offset of the cache block; build a hash table according to the offset of the cache block and the band to which the cache block belongs; calculate the band weight, and establish the band elimination order according to the calculated band weight; when the SSDcache space is insufficient , select a suitable band in the band elimination order for elimination according to the weight.
第二方面,本发明实施例提供了一种基于局部性感知的SMR-SSD混合存储系统缓存替换系统,包括:In a second aspect, an embodiment of the present invention provides a locality awareness-based SMR-SSD hybrid storage system cache replacement system, including:
划分模块,将缓存块的数据按照物理位置、访问新近度和干净/脏数据进行划分;The division module divides the data of cache blocks according to physical location, access recency and clean/dirty data;
淘汰模块,根据缓存块的物理位置,采用Band-based管理方式,根据band权重建立band的淘汰顺序,根据权重选择对应的band进行淘汰;The elimination module, according to the physical location of the cache block, adopts the Band-based management method, establishes the elimination order of the bands according to the band weight, and selects the corresponding band for elimination according to the weight;
排序模块,根据缓存块的访问新近度,采用双重局部性比较策略DLC对缓存块的band权重进行排序,将空间局部性最好且时间局部性最差的k个Band放置在队列末端作为候选淘汰band;The sorting module uses the double locality comparison strategy DLC to sort the band weights of the cache blocks according to the access recency of the cache blocks, and places the k bands with the best spatial locality and the worst time locality at the end of the queue as candidates for elimination band;
替换模块,根据缓存块的干净/脏数据,采用干净band优先策略对候选淘汰band的权重进行重新计算排序,选择权重最低的Band进行淘汰;将淘汰的缓存块写回磁盘,释放的SSD空间作为新写入块的地址空间,完成缓存替换过程。The replacement module, according to the clean/dirty data of the cache block, adopts the clean band priority strategy to recalculate and sort the weights of the candidate bands for elimination, and select the band with the lowest weight for elimination; write the eliminated cache blocks back to the disk, and the freed SSD space is used as The address space of the newly written block completes the cache replacement process.
与现有技术相比,本发明至少具有以下有益效果:Compared with the prior art, the present invention at least has the following beneficial effects:
基于局部性感知的SMR-SSD混合存储系统缓存替换方法,将缓存块的数据按照物理位置、访问新近度和干净/脏数据分为三种;根据物理位置,采用Band-based管理方式,根据band权重建立band的淘汰顺序,根据权重选择对应的band进行淘汰,提升了算法的命中率;将空间局部性最好且时间局部性最差的k个Band放置在队列末端作为候选淘汰band;采用干净band优先策略对候选淘汰band的权重进行重新计算排序,选择权重最低的Band进行淘汰;将淘汰的缓存块写回磁盘,释放的SSD空间作为新写入块的地址空间,完成缓存替换过程,实现了最小化磁盘读改写操作数量的目标,提升了整体系统性能。The cache replacement method of SMR-SSD hybrid storage system based on locality awareness divides the data of cache blocks into three types according to physical location, access recency and clean/dirty data; The weight establishes the band elimination order, and selects the corresponding band for elimination according to the weight, which improves the hit rate of the algorithm; the k bands with the best spatial locality and the worst time locality are placed at the end of the queue as candidate elimination bands; clean The band priority strategy recalculates and sorts the weights of the candidate bands for elimination, and selects the band with the lowest weight for elimination; writes the eliminated cache blocks back to the disk, and the released SSD space is used as the address space for the newly written blocks to complete the cache replacement process. The goal of minimizing the number of disk read, modify, and write operations is achieved, improving overall system performance.
进一步的,双重局部性比较策略综合考虑了Band缓存块的时间局部性和空间局部性,避免了传统Band-based算法由于只依赖于空间局部性而导致的热块反复读写现象,以及传统LRU算法只依赖时间局部性导致的SMR磁盘写放大问题,从而提升了缓存系统的命中率。Further, the double locality comparison strategy comprehensively considers the temporal locality and spatial locality of the Band cache block, avoiding the repeated reading and writing of hot blocks caused by the traditional Band-based algorithm only relying on spatial locality, and the traditional LRU. The algorithm only relies on the SMR disk write amplification problem caused by time locality, thereby improving the hit rate of the cache system.
进一步的,时间局部性权重是衡量缓存块冷热度的指标,该指标利用缓存块的时间戳进行计算,充分考虑到Band内缓存块的冷热程度。Further, the temporal locality weight is an indicator to measure the hotness of the cache block, which is calculated by using the timestamp of the cache block, and fully considers the coldness and hotness of the cache block in the Band.
进一步的,空间局部性权重是衡量缓存块聚集程度的指标,该指标利用缓存块的物理位置信息,统计单个band的缓存块数量,根据缓存块的数量信息得到其空间局部性。Further, the spatial locality weight is an index to measure the aggregation degree of cache blocks. This index uses the physical location information of cache blocks to count the number of cache blocks in a single band, and obtains its spatial locality according to the number of cache blocks.
进一步的,band的总权重综合考虑时间局部性和空间局部性,该公式的选择是由于band的总权重Wband(b)与时间局部性成反比,与空间局部性成正比,而且局部性数值为线性积累。Further, the total weight of the band comprehensively considers the temporal locality and the spatial locality. The choice of this formula is that the total weight of the band W band (b) is inversely proportional to the temporal locality and proportional to the spatial locality, and the locality value for linear accumulation.
进一步的,相对干净band优先策略通过选择相对干净缓存块序列,这是由于淘汰代价和脏块数量呈正相关,也就是说淘汰的干净块数量越多其代价越低,因此可以通过最小化淘汰块的数量,实现最小化磁盘读改写操作数量的目标。Further, the relatively clean band priority strategy selects the relatively clean cache block sequence. This is because the elimination cost is positively correlated with the number of dirty blocks, that is to say, the more clean blocks eliminated, the lower the cost. Therefore, the elimination cost can be minimized by minimizing the number of eliminated blocks. , to achieve the goal of minimizing the number of disk read, modify, and write operations.
进一步的,干净块的淘汰代价Costdean是假设访问未命中后需要对干净数据块进行读取的开销进行计算的。脏块的淘汰代价Costdirty同样根据访问未命中后对脏块进行重新读取的开销进行计算的。通过这两个公式可以明显看出淘汰干净块的开销远低于脏块。Further, the cost dean of clean block elimination is calculated by assuming the cost of reading clean data blocks after an access miss. The elimination cost of dirty blocks, Cost dirty , is also calculated based on the cost of re-reading dirty blocks after an access miss. From these two formulas, it is obvious that the cost of eliminating clean blocks is much lower than dirty blocks.
进一步的,band的代价Costband是将上一步中的干净块和脏块代价结合在一起,更加直观的表明整个band淘汰代价和干净块数量的关系。Further, the cost of the band, Cost band , combines the clean block and dirty block costs in the previous step, which more intuitively shows the relationship between the entire band elimination cost and the number of clean blocks.
进一步的,Band-based算法通过对缓存块的物理位置进行计算,得到其band位置,通过对band进行统一管理可以在最大程度上提升淘汰缓存块的空间局部性。Further, the Band-based algorithm obtains the band position by calculating the physical position of the cache block, and the spatial locality of the cache block can be improved to the greatest extent by unified management of the band.
可以理解的是,上述第二方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。It can be understood that, for the beneficial effects of the foregoing second aspect, reference may be made to the relevant descriptions in the foregoing first aspect, which will not be repeated here.
综上所述,本发明改善了传统band-based算法命中率较低的问题,实际测试中可以达到与LRU类似的命中率。同时,本发明显著降低了基于SMR-SSD混合存储系统中RMW的触发数量,提升了系统性能。本发明在实际应用中,可以缓解SMR磁盘在标准存储场景下性能异常波动的现象,扩展SMR盘的应用领域,降低数据中心的成本开销。To sum up, the present invention improves the problem of the low hit rate of the traditional band-based algorithm, and can achieve a hit rate similar to that of the LRU in the actual test. At the same time, the invention significantly reduces the number of triggers of RMW in the SMR-SSD hybrid storage system, and improves the system performance. In practical application, the present invention can alleviate the phenomenon of abnormal performance fluctuation of SMR disks in standard storage scenarios, expand the application field of SMR disks, and reduce the cost of data centers.
下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solutions of the present invention will be further described in detail below through the accompanying drawings and embodiments.
附图说明Description of drawings
图1为本发明方法架构图。FIG. 1 is a schematic diagram of the method of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
在本发明的描述中,需要理解的是,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。In the description of the present invention, it is to be understood that the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or more other features, The existence or addition of a whole, step, operation, element, component, and/or a collection thereof.
还应当理解,在本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It should also be understood that the terminology used in the present specification is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should further be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items , for example, A and/or B, can mean that A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本发明实施例中可能采用术语第一、第二、第三等来描述预设范围等,但这些预设范围不应限于这些术语。这些术语仅用来将预设范围彼此区分开。例如,在不脱离本发明实施例范围的情况下,第一预设范围也可以被称为第二预设范围,类似地,第二预设范围也可以被称为第一预设范围。It should be understood that although the terms first, second, third, etc. may be used in the embodiments of the present invention to describe the preset range and the like, these preset ranges should not be limited to these terms. These terms are only used to distinguish preset ranges from one another. For example, without departing from the scope of the embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.
取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the word "if" as used herein can be interpreted as "at" or "when" or "in response to determining" or "in response to detecting." Similarly, the phrases "if determined" or "if detected (the stated condition or event)" can be interpreted as "when determined" or "in response to determining" or "when detected (the stated condition or event)," depending on the context )" or "in response to detection (a stated condition or event)".
在附图中示出了根据本发明公开实施例的各种结构示意图。这些图并非是按比例绘制的,其中为了清楚表达的目的,放大了某些细节,并且可能省略了某些细节。图中所示出的各种区域、层的形状及它们之间的相对大小、位置关系仅是示例性的,实际中可能由于制造公差或技术限制而有所偏差,并且本领域技术人员根据实际所需可以另外设计具有不同形状、大小、相对位置的区域/层。Various structural schematic diagrams according to the disclosed embodiments of the present invention are shown in the accompanying drawings. The figures are not to scale, some details have been exaggerated for clarity, and some details may have been omitted. The shapes of various regions and layers shown in the figures and their relative sizes and positional relationships are only exemplary, and in practice, there may be deviations due to manufacturing tolerances or technical limitations, and those skilled in the art should Regions/layers with different shapes, sizes, relative positions can be additionally designed as desired.
请参阅图1,本发明提供了一种基于局部性感知的SMR-SSD混合存储系统缓存替换方法,SLA(Structural Learning Algorithm)算法架构包括Band-based管理方式(BM),双重局部性比较策略(DLC)和相对干净band优先策略(RCBF);Referring to FIG. 1, the present invention provides a locality-aware-based SMR-SSD hybrid storage system cache replacement method. The SLA (Structural Learning Algorithm) algorithm architecture includes a Band-based management method (BM), a double locality comparison strategy ( DLC) and Relatively Clean Band Priority (RCBF);
Band-based管理方式和相对干净band优先策略负责降低RMW产生的数量,双重局部性比较策略负责解决Band-based管理方式带来的命中率低下问题,将缓存的数据按照物理位置、访问新近度和干净/脏数据分为三种,图1中相同颜色的数据块表示属于同一band,F代表band的数据块数,R代表最近访问过的数据,C代表干净的数据。The Band-based management method and the relatively clean band priority strategy are responsible for reducing the number of RMWs generated. The double locality comparison strategy is responsible for solving the problem of low hit rate caused by the Band-based management method. There are three types of clean/dirty data. Data blocks with the same color in Figure 1 represent the same band, F represents the number of data blocks in the band, R represents recently accessed data, and C represents clean data.
本发明一种基于局部性感知的SMR-SSD混合存储系统缓存替换方法,包括以下步骤:The present invention is a locality-aware-based SMR-SSD hybrid storage system cache replacement method, comprising the following steps:
S1、Band-based管理方式;S1, Band-based management method;
S101、插入缓存块时,通过缓存块的offset计算缓存块所属band;S101. When inserting a cache block, calculate the band to which the cache block belongs by using the offset of the cache block;
S102、根据缓存块的offset和步骤S101得到的缓存块所属band建立hash表;S102, build a hash table according to the offset of the cache block and the band to which the cache block obtained in step S101 belongs;
S103、计算band的权重,根据计算的band权重建立band的淘汰顺序;S103. Calculate the weight of the band, and establish the elimination order of the band according to the calculated weight of the band;
S104、当cache空间不足时,根据权重在步骤S103建立的band淘汰顺序中选择适合的band进行淘汰。S104 , when the cache space is insufficient, select a suitable band for elimination from the band elimination order established in step S103 according to the weight.
传统的band-based管理方式的权重计算仅仅以band中缓存块的数量为依据,淘汰是优先选择块数最多的band,不考虑数据的冷热,因此会带来严重的命中率下降问题。因此本发明将采用双重局部性比较策略DLC和相对干净band优先RCBF策略对band的权重进行重新的计算排序。具体步骤如下:The weight calculation of the traditional band-based management method is only based on the number of cache blocks in the band. Elimination is to give priority to the band with the largest number of blocks, regardless of whether the data is hot or cold, which will cause a serious hit rate drop. Therefore, the present invention will use the double locality comparison strategy DLC and the relatively clean band priority RCBF strategy to recalculate and sort the weights of the bands. Specific steps are as follows:
S2、双重局部性比较策略;S2, double locality comparison strategy;
S201、将band中的缓存块按照访问频率和访问新近度进行区分;S201. Distinguish the cache blocks in the band according to access frequency and access recency;
S202、按照时间局部性的计算公式,对band中缓存块的整体时间局部性进行计算;S202, according to the calculation formula of time locality, calculate the overall time locality of the cache block in the band;
对band的空间局部性和时间局部性进行分析,发现传统的band-based管理方式的问题在于,当优先淘汰块数最多的band时,会淘汰较多的热数据块,这也是band-based算法命中率低的原因。By analyzing the spatial locality and time locality of the band, it is found that the problem with the traditional band-based management method is that when the band with the largest number of blocks is eliminated first, more hot data blocks will be eliminated, which is also a band-based algorithm. The reason for the low hit rate.
时间局部性权重和空间局部性权重WTPL(b)具体计算如下:The temporal locality weight and the spatial locality weight W TPL (b) are calculated as follows:
WTPL(b)=∑F(cur_time-reference_time) (1)W TPL (b)=∑F(cur_time-reference_time) (1)
其中,F(x)为单个块的时间局部性,cur_time为当前时间戳,reference_time为被访问时的时间戳。Among them, F(x) is the time locality of a single block, cur_time is the current timestamp, and reference_time is the timestamp when it was accessed.
S203、按照空间局部性的计算公式,对band中缓存块的整体空间局部性进行计算;S203, according to the calculation formula of spatial locality, calculate the overall spatial locality of the cache block in the band;
空间局部性权重WSPL(b)具体计算如下:The spatial locality weight W SPL (b) is calculated as follows:
WSPL(b)=SPLband(b) (2)W SPL (b) = SPL band (b) (2)
其中,F(x)为单个块的时间局部性,SPLband(b)为band的缓存块数量。where F(x) is the temporal locality of a single block, and SPL band (b) is the number of cache blocks in the band.
单个块的时间局部性F(x)的计算公式为:The temporal locality F(x) of a single block is calculated as:
其中,F(x)为当前时间与该块最近一次访问时间的差值,整个band的SPLband(b)表示块数总和。Among them, F(x) is the difference between the current time and the last access time of the block, and the SPL band (b) of the entire band represents the total number of blocks.
S204、对band的整体局部性表现进行计算并排序。S204. Calculate and sort the overall locality performance of the band.
由于统计每个块的访问时间以及计算权重较为复杂,会增加算法的复杂度,这里使用微积分的思想,将相近时间内访问的多个块当作同一个计算,或者使用最近访问的次数来代替。Due to the complexity of counting the access time and calculation weight of each block, it will increase the complexity of the algorithm. The idea of calculus is used here, and multiple blocks accessed within a similar time period are regarded as the same calculation, or the number of recent accesses is used to calculate replace.
Wband(b)=αWSPL(b)-βWTPL(b)+γW (3)W band (b)=αW SPL (b)-βW TPL (b)+γW (3)
其中,W为与干净块与脏块相关的数值,α、β、γ为系数,默认为1。Among them, W is a value related to clean blocks and dirty blocks, α, β, γ are coefficients, and the default is 1.
由以上讨论可知,band的总权重Wband(b)与时间局部性成反比,与空间局部性成正比,而且由于局部性数值为线性积累,这里采用公式(3)的方式计算Wband(b)。It can be seen from the above discussion that the total weight of the band W band (b) is inversely proportional to the temporal locality and proportional to the spatial locality, and since the locality value is linearly accumulated, the formula (3) is used to calculate W band (b). ).
S3、相对干净band优先策略。S3, relatively clean band priority strategy.
在传统HDD中,干净块和脏块的代价并无太大区分,然而在SMR磁盘中,由于写放大问题的存在,脏块的淘汰代价远高于干净块;但是单纯的CF(clean first)策略并不能起到很好的效果,因为这会严重影响缓存的命中率。In traditional HDDs, the cost of clean blocks and dirty blocks is not much different. However, in SMR disks, due to the write amplification problem, the elimination cost of dirty blocks is much higher than that of clean blocks; but pure CF (clean first) The strategy doesn't work very well because it can seriously affect the cache hit rate.
考虑到未命中重新读取的问题,将干净块的淘汰代价Costclean和脏块的淘汰代价Costdirty表示如下:Considering the problem of miss rereading, the elimination cost of clean block Cost clean and the elimination cost of dirty block Cost dirty are expressed as follows:
Costclean=Costaccess_miss*P(access) (4)Cost clean =Cost access_miss *P(access) (4)
Costdirty=Costwrite_back+Costaccess_miss*P(access)Cost dirty =Cost write_back +Cost access_miss *P(access)
其中,Cacheclean和Cachedirty代表块从缓存中淘汰需要的时间,P(access)表示该块被重新读取的概率,Costwrite_back表示脏块写回磁盘所需要的时间,Costaccess_miss表示访问未命中所需要花费的代价。Among them, Cache clean and Cache dirty represent the time it takes for a block to be eliminated from the cache, P(access) represents the probability that the block is re-read, Cost write_back represents the time it takes for a dirty block to be written back to disk, and Cost access_miss represents an access miss cost to be spent.
淘汰机制以band为单位,用Costband表示淘汰band的代价,如式5所示:The elimination mechanism takes the band as the unit, and the Cost band is used to represent the cost of eliminating the band, as shown in Equation 5:
Costband=Costclean*Nclean+Costdirty*Ndirty (5)Cost band =Cost clean *N clean +Cost dirty *N dirty (5)
Costband=Costwrite_back*Ndirty+Costaccess_miss*N*P(access)Cost band =Cost write_back *N dirty +Cost access_miss *N*P(access)
其中,Nclean和Ndirty分别代表band中干净块和脏块的数量,N代表band中所有块的数量。Among them, N clean and N dirty represent the number of clean and dirty blocks in the band, respectively, and N represents the number of all blocks in the band.
在基于band的管理方式下,候选淘汰band拥有相似的N值,视为定值;而在固定的淘汰算法和trace中,P(access)同样视为定值。In the band-based management method, the candidate elimination band has a similar N value and is regarded as a fixed value; while in the fixed elimination algorithm and trace, P(access) is also regarded as a fixed value.
因此得到以下结论,band的淘汰代价与其中脏块的淘汰数量呈正相关。Therefore, it is concluded that the elimination cost of a band is positively related to the number of dirty blocks in it.
Timeband∝Writetime*Ndirty (6)Time band ∝Write time *N dirty (6)
考虑到候选band中块的数量近似相同,也就是说干净块的数量越多,脏块的数量也就越少,因此提出RCBF(Relatively Clean Band First)策略,该策略将band中干净块的数量作为积极因素,加入到Wband(b)的计算中,也就是式3中的W数值。Considering that the number of blocks in the candidate band is approximately the same, that is to say, the more the number of clean blocks, the less the number of dirty blocks. Therefore, the RCBF (Relatively Clean Band First) strategy is proposed, which combines the number of clean blocks in the band. As a positive factor, it is added to the calculation of W band (b), which is the value of W in Equation 3.
本发明再一个实施例中,提供一种基于局部性感知的SMR-SSD混合存储系统缓存替换系统,该系统能够用于实现上述基于局部性感知的SMR-SSD混合存储系统缓存替换方法,具体的,该基于局部性感知的SMR-SSD混合存储系统缓存替换系统包括划分模块、淘汰模块、排序模块以及替换模块。In yet another embodiment of the present invention, a locality-aware-based SMR-SSD hybrid storage system cache replacement system is provided, which can be used to implement the above-mentioned locality-aware-based SMR-SSD hybrid storage system cache replacement method, specifically , the locality-aware-based SMR-SSD hybrid storage system cache replacement system includes a partition module, an elimination module, a sorting module, and a replacement module.
其中,划分模块,将缓存块的数据按照物理位置、访问新近度和干净/脏数据进行划分;Among them, the division module divides the data of the cache block according to physical location, access recency and clean/dirty data;
淘汰模块,根据物理位置,采用Band-based管理方式,根据band权重建立band的淘汰顺序,根据权重选择对应的band进行淘汰;The elimination module adopts the Band-based management method according to the physical location, establishes the elimination order of the bands according to the band weight, and selects the corresponding band for elimination according to the weight;
排序模块,根据缓存块的访问新近度,采用双重局部性比较策略DLC对缓存块的band权重进行排序,将空间局部性最好且时间局部性最差的k个Band放置在队列末端作为候选淘汰band;The sorting module uses the double locality comparison strategy DLC to sort the band weights of the cache blocks according to the access recency of the cache blocks, and places the k bands with the best spatial locality and the worst time locality at the end of the queue as candidates for elimination band;
替换模块,根据缓存块的脏净,采用干净band优先策略对候选淘汰band的权重进行重新计算排序,选择权重最低的Band进行淘汰;将淘汰的缓存块写回磁盘,释放的SSD空间作为新写入块的地址空间,完成缓存替换过程。The replacement module, according to the dirtyness of the cache block, adopts the clean band priority strategy to recalculate and sort the weights of the candidate bands for elimination, and select the band with the lowest weight for elimination; write the eliminated cache blocks back to the disk, and the freed SSD space is used as a new write. into the address space of the block to complete the cache replacement process.
综上所述,本发明一种基于局部性感知的SMR-SSD混合存储系统缓存替换方法及系统,改善了传统band-based算法命中率较低的问题,实际测试中可以达到与LRU类似的命中率;同时,显著降低了基于SMR-SSD混合存储系统中RMW的触发数量,提升了系统性能;本发明在实际应用中,可以缓解SMR磁盘在标准存储场景下性能异常波动的现象,扩展SMR盘的应用领域,降低数据中心的成本开销。To sum up, a method and system for cache replacement of SMR-SSD hybrid storage system based on locality awareness of the present invention improves the problem of low hit rate of traditional band-based algorithms, and can achieve hits similar to LRU in actual tests At the same time, the number of triggers of RMWs in the SMR-SSD hybrid storage system is significantly reduced, and the system performance is improved; in practical applications, the present invention can alleviate the phenomenon of abnormal performance fluctuations of SMR disks in standard storage scenarios, and expand SMR disks application areas, reducing the cost of data centers.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process such that The instructions provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
以上内容仅为说明本发明的技术思想,不能以此限定本发明的保护范围,凡是按照本发明提出的技术思想,在技术方案基础上所做的任何改动,均落入本发明权利要求书的保护范围之内。The above content is only to illustrate the technical idea of the present invention, and cannot limit the protection scope of the present invention. Any changes made on the basis of the technical solution according to the technical idea proposed by the present invention all fall within the scope of the claims of the present invention. within the scope of protection.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210720229.7A CN115033180A (en) | 2022-06-23 | 2022-06-23 | Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210720229.7A CN115033180A (en) | 2022-06-23 | 2022-06-23 | Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115033180A true CN115033180A (en) | 2022-09-09 |
Family
ID=83126496
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210720229.7A Pending CN115033180A (en) | 2022-06-23 | 2022-06-23 | Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115033180A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115757211A (en) * | 2022-11-22 | 2023-03-07 | 华中科技大学 | Hybrid fingerprint cache management method, controller and system for deduplication SSD |
-
2022
- 2022-06-23 CN CN202210720229.7A patent/CN115033180A/en active Pending
Non-Patent Citations (1)
| Title |
|---|
| XUDA ZHENG等: "SLA: A Cache Algorithm for SSD-SMR Storage System with Minimum RMWs", ALGORITHMS AND ARCHITECTURES FOR PARALLEL PROCESSING, ICA3PP 2021, PT III, 8 April 2022 (2022-04-08), pages 587 - 601 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115757211A (en) * | 2022-11-22 | 2023-03-07 | 华中科技大学 | Hybrid fingerprint cache management method, controller and system for deduplication SSD |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110532200B (en) | A memory system based on hybrid memory architecture | |
| US9665293B2 (en) | Method for a storage device processing data and storage device | |
| CN108268219B (en) | Method and device for processing IO (input/output) request | |
| CN110795363B (en) | Hot page prediction method and paging method for storage medium | |
| CN102760101B (en) | SSD-based (Solid State Disk) cache management method and system | |
| CN101788995B (en) | Hotspot data identification method and device | |
| JP6711121B2 (en) | Information processing apparatus, cache memory control method, and cache memory control program | |
| CN103399823B (en) | The storage means of business datum, equipment and system | |
| JP2015508924A (en) | Data migration for composite non-volatile storage | |
| CN100426261C (en) | High-speed memory pre-read method and device | |
| CN106528451B (en) | Cloud storage framework and construction method for secondary cache prefetching of small files | |
| CN112051968B (en) | Automatic migration method of distributed data stream hierarchical cache based on Kafka | |
| CN110888600A (en) | A buffer management method for NAND flash memory | |
| CN110297787A (en) | The method, device and equipment of I/O equipment access memory | |
| CN106933516A (en) | A kind of storage controlling method and device of the storage system of blending agent | |
| CN109002400B (en) | Content-aware computer cache management system and method | |
| CN115033180A (en) | Cache replacement method and system for SMR-SSD hybrid storage system based on locality awareness | |
| CN111722797A (en) | Data management method, storage medium and device for SSD and HA-SMR hybrid storage system | |
| KR101105127B1 (en) | Buffer Cache Management Method using SSD Extended Buffer and Device Using SSD as Extended Buffer | |
| CN102097128A (en) | Self-adaptive buffer area replacement method based on flash memory | |
| Wu et al. | A data management method for databases using hybrid storage systems | |
| CN103399783A (en) | Storage method and device of mirror image documents of virtual machines | |
| CN115878677A (en) | Data processing method and device for distributed multi-level cache | |
| CN111913924B (en) | Log structure file system data management method based on heat | |
| Liu et al. | STAR: A zone translation scheme to improve the performance of host-aware SMR |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |