WO2017063495A1 - Data migration method and apparatus - Google Patents

Data migration method and apparatus Download PDF

Info

Publication number
WO2017063495A1
WO2017063495A1 PCT/CN2016/099934 CN2016099934W WO2017063495A1 WO 2017063495 A1 WO2017063495 A1 WO 2017063495A1 CN 2016099934 W CN2016099934 W CN 2016099934W WO 2017063495 A1 WO2017063495 A1 WO 2017063495A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
cache
migrated
address space
module
Prior art date
Application number
PCT/CN2016/099934
Other languages
French (fr)
Chinese (zh)
Inventor
张翼
秦长鹏
戴庆军
舒坦
刘卯银
牛克强
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017063495A1 publication Critical patent/WO2017063495A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers

Definitions

  • the present invention relates to the field of communications, and in particular, to a data migration method and apparatus.
  • Storage media supported by the storage system include: SSD (Solid State Drive), SAS (Serial Attached SCSI) hard disk, and NL (Near Line) SAS hard disk.
  • SSD Solid State Drive
  • SAS Serial Attached SCSI
  • NL Near Line
  • Storage resource (SSD, SAS, NL_SAS) provisioning is a highly repetitive and time-consuming task. It is difficult to balance the performance requirements and capacity requirements of the storage system through the previous planning, even if it is reached initially. The balance, performance and capacity requirements will also change. The storage system's resource allocation needs constant adjustment. Therefore, the industry storage system generally supports the tiered storage function. The purpose of this function is to intelligently manage data through the active level of statistical data.
  • the storage location improves the overall performance of the storage system and reduces the user cost.
  • the user cost usually includes the cost of equipment procurement, space, energy consumption and management.
  • the automatic allocation of resources through tiered storage can greatly reduce the difficulty of the previous planning, and the later maintenance and expansion becomes easier.
  • tiered storage in the industry is basically carried out through three stages of statistics, analysis, and migration, that is, by periodically counting the frequency of access to a certain area of data, periodically analyzing whether it is hot data, and then through data migration.
  • the migration method generally involves the storage system relocating data through the background program without affecting the host IO. For example, the data to be migrated is read from the hard disk and then written to the destination hard disk address to be migrated.
  • Specific to the storage system, by The tiered storage is located under the Cache.
  • the traditional process is shown in Figure 1.
  • the hotspot migration of the tiered storage is the read and write operations of the tiered storage module on the hotspot area of the hard disk.
  • the tiered storage module collects the hotspot area of the hard disk, and the migration process periodically performs data relocation on the hotspot area.
  • the relocation process first reads a piece of data from the disk that needs to be relocated, and the read data is stored through temporary memory resources, and then The tiered storage module writes the data to the destination hard disk address space that needs to be migrated, and releases the temporary memory resources after writing, so that a normal relocation operation is completed, and the relocation process involves one read of the disc and one memory resource application release. And write the disk once.
  • the granularity of the hotspot statistics area in the storage system does not match the granularity of the one-time relocation.
  • the granularity of the hotspot area (usually the upper logical volume address to the hard disk address mapping granularity) is greater than the granularity of one relocation.
  • the logical volume address to hard disk address mapping can be modified only after all data in the hotspot area has been relocated. In this way, when the data of the hotspot area has not been relocated, if there is just a write IO access to the part of the data that has been relocated, the tiered storage processing of the write IO needs to write two copies of the data at the same time, and one copy is written to the original old hard disk. The area needs to be written to the new hard disk area. The purpose of this is to ensure data consistency.
  • This process is the double-write process of the hierarchical storage module.
  • the overview is the traditional data storage process of hierarchical storage. It can be seen that the traditional tiered storage data migration process has more read times on the hard disk, which reduces the internal performance of the storage system.
  • the embodiment of the invention provides a data migration method and device, which are used to solve the problem that the number of hard disk readings is large and the internal performance of the system is reduced during the traditional hierarchical storage data migration process.
  • a data migration method including: a cache cache module obtains an address space of a hotspot data to be migrated from a hierarchical storage module; and a cache module writes a hot spot to be migrated according to the address space.
  • the Cache module notifies the tiered storage module of the address data to be migrated in the address space of the Cache module.
  • the Cache module writes the hotspot data to be migrated according to the address space, including: when not The Cache module sends a pre-read request to the tiered storage module in the Cache module, and the Cache module receives the hotspot data to be migrated sent by the tiered storage module, and writes the received hotspot data. Into the Cache module.
  • a data migration method includes: a hierarchical storage module notifying an address space of a hotspot data to be migrated to a cache cache module; and the hierarchical storage module knowing that the data to be migrated is in the cache module After the address space, the hotspot data is written to the address space of the new medium; the hierarchical storage module modifies the correspondence between the logical volume and the medium mapping table according to the address space of the new medium.
  • the tiered storage module After the tiered storage module learns the address space in the Cache module, the tiered storage module writes the hotspot data to the address space of the new medium, including: when receiving the hotspot data access request forwarded by the Cache module, according to the hotspot data
  • the migration progress determines whether the data to be read is the migrated data, and the judgment result is obtained; the data is read according to the judgment result, and after the data is read, the Cache module is notified that the data is read.
  • the method further includes: before the Cache module of the hotspot data to be migrated is notified to the Cache module, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN; the tiered storage module The spatial address of the hotspot data to be migrated is analyzed according to the statistical data.
  • a data migration apparatus including: an learning unit, configured to learn, by using a cache cache module, an address space of a hotspot data to be migrated from a hierarchical storage module; The unit is configured to write the hotspot data to be migrated according to the address space by using the Cache module, and the notification unit is configured to notify the tiered storage module of the address space in the Cache module by the Cache module.
  • the first write unit includes: a pre-read sub-unit, configured to send a pre-read request to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module; Write to the subunit, set to receive the rating through the Cache module The hotspot data to be migrated sent by the storage module, and the received hotspot data is written into the Cache module.
  • a data migration apparatus includes: a notification unit configured to notify a cache cache module of an address space of hotspot data to be migrated by a hierarchical storage module; and a second write unit After the aging storage module learns the address space of the data to be migrated in the Cache module, the hotspot data is written to the address space of the new medium; the modifying unit is set to the tiered storage module to modify the logic according to the address space of the new medium. The correspondence between the volume and the media mapping table.
  • the second writing unit includes: a determining subunit configured to, when receiving the hotspot data access request forwarded by the Cache module, determine whether the data to be read is the migrated data according to the migration progress of the hotspot data, The judgment result; the notification subunit is set to read data according to the judgment result, and after the data is read, the Cache module is notified that the data reading is completed.
  • the device further includes: a statistic unit, configured to: before the Cache module of the address space of the hotspot data to be migrated, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN.
  • the analysis unit is configured to analyze the spatial address of the hotspot data to be migrated according to the statistical data.
  • the solution provided by the embodiment of the present invention can reduce the disk read operation and the memory usage during the data migration process.
  • the disk disk migration process involves only one write disk operation, which improves the internal performance of the storage system.
  • FIG. 3 is a flowchart of a data migration method according to Embodiment 1 of the present invention.
  • FIG. 4 is a basic schematic diagram of a Cache in Embodiment 1 of the present invention.
  • FIG. 5 is a flowchart of a data migration method according to Embodiment 2 of the present invention.
  • FIG. 6 is a flowchart of data migration in a case where all migrated data is hit in a Cache in Embodiment 3 of the present invention.
  • FIG. 7 is a flowchart of data migration in the case where the Cache misses all migration data in Embodiment 3 of the present invention.
  • FIG. 8 is a flowchart of data migration in the case where there is a write IO access migration area in a data migration process according to Embodiment 3 of the present invention.
  • FIG. 9 is a flowchart of data migration in the case where there is a read IO access migration area in a data migration process according to Embodiment 3 of the present invention.
  • FIG. 10 is a structural block diagram of a data migration apparatus according to Embodiment 4 of the present invention.
  • Figure 11 is a block diagram showing the structure of a data migration apparatus according to Embodiment 5 of the present invention.
  • the present invention provides a data migration method and apparatus for solving the problem that the hard disk is read frequently in the traditional hierarchical storage data migration process, and the internal performance of the system is reduced.
  • the present invention further proceeds to the present invention with reference to the accompanying drawings and embodiments. Detailed description. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
  • FIG. 3 is a flowchart of a data migration method according to Embodiment 1 of the present invention, as shown in FIG. The method comprises the following steps:
  • Step 301 The Cache module learns, from the tiered storage module, an address space of the hotspot data to be migrated.
  • Step 302 The Cache module writes the hotspot data to be migrated according to the address space.
  • Step 303 The Cache module notifies the hierarchical storage module of the address space in the Cache module.
  • the step of the Cache module writing the hotspot data to be migrated according to the address space may include:
  • the Cache module sends a pre-read request to the tiered storage module when the address space of the hotspot data to be migrated is not found in the Cache module.
  • the Cache module receives the hotspot data to be migrated sent by the tiered storage module, and receives the received hotspot data. Hotspot data is written to the Cache module.
  • the data space LUN accessed by the host is represented as a tree in the storage system Cache.
  • the function of the Cache is to manage the tree.
  • the access of the host IO is actually the access of the tree. Hit the tree, read ahead, etc.
  • Cache also performs operations such as eliminating and dirty data on the tree. Thereby, the feedback of the Cache to the host IO is realized.
  • the host IO reaches the storage system Cache phase, it will reside in the Cache for a period of time, thereby achieving the cache hit effect, which is also the meaning of the Cache existence.
  • the migration operation of the original hierarchical storage module is performed by the cache module, and is decomposed into the cache module, which is a brush operation, and the flash operation of the cache module triggers the single write of the hierarchical storage migration module to achieve data migration. effect.
  • the cache module can use its own existing cache resources. If it hits, it can reduce the disk read operation and a temporary memory occupation.
  • the data in the Cache module is directly brushed to the hierarchical storage module, and the data is written through the hierarchical storage module. To the destination address, only the data is written to the destination address at this time without writing to the original media address. Therefore, reduce one write operation.
  • the Cache module needs to pre-read the data to the tiered storage module, and then write the data to the destination address by brushing the disk. At this time, like the traditional process, it needs to read the disk once, but the use of temporary memory. Still has the advantage, at the same time, the pre-read page increases the Cache hit rate.
  • the cooperation between the hierarchical storage module and the cache module completes the entire process of data migration, and uses the cache disk operation to replace the hierarchical storage migration operation, thereby reducing the one-time disk reading and memory occupation of the migration process.
  • FIG. 5 is a flowchart of a data migration method according to Embodiment 2 of the present invention, as shown in FIG. The method comprises the following steps:
  • Step 501 The tiered storage module notifies the Cache module of the address space of the hotspot data to be migrated;
  • Step 502 After the tiered storage module knows the address space of the data to be migrated in the Cache module, the hotspot data is written to the address space of the new medium.
  • Step 503 The hierarchical storage module modifies a correspondence between the logical volume and the medium mapping table according to the address space of the new medium.
  • the tiered storage module After the tiered storage module learns the address space of the data to be migrated in the Cache module, the tiered storage module writes the hotspot data to the address space of the new media, which may include:
  • the Cache module When receiving the hotspot data access request forwarded by the Cache module, determining, according to the migration progress of the hotspot data, whether the data requested to be requested is the migrated data, and obtaining the judgment result; reading the data according to the judgment result, after the data is read, The Cache module is notified that the data has been read.
  • the foregoing method may further include:
  • the tiered storage module Before the Cache module of the hotspot data to be migrated is sent to the Cache module, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space where the logical volume LUN is located; the tiered storage module analyzes the hotspot to be migrated according to the statistical data. The spatial address of the data.
  • the statistics of the hotspots in the tiered storage are the access frequencies of a certain address space on the disk, and in the storage system, the Cache perspective is mainly the Cache brush dirty data for the disk and the Cache transparent write access to the disk. frequency.
  • the Cache perspective is mainly the Cache brush dirty data for the disk and the Cache transparent write access to the disk. frequency.
  • the Cache is required to pre-read the data that is not hit by the tiered storage module, and then write the new performance hard disk area through the tiered storage function module, and if When the storage system is in the hot spot caused by the write-through state, the data from the pre-reading just meets the cache hit and improves the performance of the system.
  • the tiered storage module receives the hotspot data swiped under the Cache, and needs to write the Cache data to the new media address area according to the migration progress indicator. Because the hotspot statistics need to be larger than the migration granularity, the hierarchical storage is a mapping table that cannot modify the logical volume address to the disk address before the hotspot area data is migrated. The logical volume to disk address is modified only after the hotspot data is migrated. Mapping table. In this way, when the next IO accesses the logical volume area, the area of the new medium is accessed.
  • the direct access Cache can be returned if the request data is not in the Cache, or partially in the Cache.
  • the Cache is required to send a pre-read request to the tiered storage module.
  • the tiered storage module determines whether to read the old media data or read the new media data by migrating the bitmap information, thereby achieving the purpose of data access.
  • the Cache and the grading are performed by the migration of the data cache hit, the migration when the migration data cache misses, the write IO access migration area during the migration process, and the read IO access migration area during the migration process.
  • the process of data migration between storage modules is described as follows:
  • the hierarchical storage function module stores the hierarchical hard disk address space where the LUN is located according to the hierarchical storage system. Calculate hotspot data statistics by granularity;
  • the hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics
  • the tiered storage function module notifies the Cache module which addresses need to be hotspot migration
  • the Cache function module performs a data write operation according to the address space provided by the hierarchical storage. At this time, the write disk address area hits the Cache exactly;
  • the tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
  • the tiered storage module modifies the logical volume to media map to the new media address space.
  • the tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
  • the hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics
  • the tiered storage function module notifies the Cache which addresses need to be hotspot migration
  • the Cache function module performs a data write operation according to the address space provided by the hierarchical storage. At this time, the write disk address area is not in the Cache or partially in the Cache;
  • the Cache sends a prefetch request to the tiered storage module, and the tiered storage module prefetches the data and returns the Cache;
  • the Cache continues to deliver the address space required by the tiered storage to the tiered storage module
  • the tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
  • the tiered storage module modifies the logical volume to media map to the new media address space.
  • the tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
  • the hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics
  • the tiered storage function module notifies the Cache which addresses need to be hotspot migration
  • the Cache function module performs a data write operation according to the address space provided by the hierarchical storage, and at this time, the write disk address area is in the Cache;
  • the Cache continues to deliver the address space required by the tiered storage to the tiered storage module
  • the tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
  • the tiered storage module modifies the logical volume to the media mapping table to a new media address space
  • the tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
  • the hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics
  • the tiered storage function module notifies the Cache which addresses need to be hotspot migration
  • the Cache function module performs a data write operation according to the address space provided by the hierarchical storage, and at this time, the write disk address area is in the Cache;
  • the Cache continues to deliver the address space required by the tiered storage to the tiered storage module
  • the tiered storage writes data to the address space of the new medium according to the write request sent by the Cache. But only part of the data was written, and the entire hotspot area data was not written;
  • the Cache If the cache hits, the Cache returns directly. If it does not hit, the Cache sends a request to the tiered storage module.
  • the tiered storage module determines, according to the migration progress flag, whether the read request needs to read the new data that has been migrated or the old data, and if the migrated data has been written, it is new data; otherwise, the old data;
  • the tiered storage reads the data to the Cache, and the Cache returns the data to the host to read the request;
  • the tiered storage module modifies the logical volume to media map to the new media address space.
  • FIG. 10 is a structural block diagram of a data migration device according to Embodiment 4 of the present invention. As shown in FIG. 10, the device 100 includes the following components:
  • the learning unit 101 is configured to learn, by using the Cache module, an address space of the hotspot data to be migrated from the hierarchical storage module;
  • the first writing unit 102 is configured to write the hotspot data to be migrated according to the address space by using the Cache module;
  • the notification unit 103 is configured to notify, by using the Cache module, the hotspot data to be migrated in the address space in the Cache module to the hierarchical storage module.
  • the first writing unit 102 may specifically include: a pre-reading sub-unit, configured to send a pre-read to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module.
  • the request is written into the sub-unit, and is configured to receive the hot-spot data to be migrated sent by the hierarchical storage module through the Cache module, and write the received hot-spot data into the Cache module.
  • FIG. 11 is a structural block diagram of the data migration device according to Embodiment 5 of the present invention. As shown in FIG. component:
  • the notification unit 111 is configured to notify the Cache module of the address space of the hotspot data to be migrated through the hierarchical storage module;
  • the second writing unit 112 is configured to write the hotspot data to the address space of the new medium after the address storage space in the Cache module is obtained by the tiered storage module;
  • the modifying unit 113 is configured to modify the correspondence between the logical volume and the media mapping table according to the address space of the new medium.
  • the second writing unit 112 may specifically include: a determining subunit, configured to determine, according to the migration progress of the hotspot data, whether the data to be read is the migrated data according to the migration progress of the hotspot data when receiving the hotspot data access request forwarded by the Cache module. The judgment result is obtained; the notification subunit is set to read the data according to the judgment result, and after the data is read, the Cache module is notified that the data is read.
  • the device 110 may further include: a statistic unit, configured to: before the Cache module of the address space of the hotspot data to be migrated, the tiered storage module performs a hotspot according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN. Data statistics; the analysis unit is configured to analyze the spatial address of the hotspot data to be migrated according to the statistical data.
  • a statistic unit configured to: before the Cache module of the address space of the hotspot data to be migrated, the tiered storage module performs a hotspot according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN.
  • Data statistics the analysis unit is configured to analyze the spatial address of the hotspot data to be migrated according to the statistical data.
  • the solution provided by the embodiment of the present invention reduces the disk read operation and the memory usage during the data migration process.
  • the disk migration process involves only one write operation, and the traditional migration method requires double write when the disk is saved. Data consistency.
  • the pre-read data can improve the system hit rate, thereby improving the system performance to a certain extent.
  • the data migration method and apparatus provided by the embodiments of the present invention have the following beneficial effects: in the process of data migration, one disk read operation and one memory occupation can be reduced, and only one write operation is involved in the process of brush disk migration. Improves the internal performance of the storage system.

Abstract

A data migration method and apparatus, for use in resolving the problem of lowered internal performance of a system due to the great quantity of times of reading hard disks in a conventional data migration process in tiered storage. The data migration method comprises: a high-speed buffering memory Cache module acquires, from a tiered storage module, an address space of to-be-migrated hotspot data; the Cache module writes the to-be-migrated hotspot data according to the address space; and the Cache module notifies the tiered storage module of the address space of the to-be-migrated hotspot data in the Cache module. The method improves performance of a storage system.

Description

数据迁移方法及装置Data migration method and device 技术领域Technical field
本发明涉及通讯领域,特别是涉及数据迁移方法及装置。The present invention relates to the field of communications, and in particular, to a data migration method and apparatus.
背景技术Background technique
随着硬盘技术的进步,存储系统支持的存储介质类型和数量已显著增加。存储系统支持的存储介质包括:SSD(Solid StateDrive,固态硬盘)、SAS(Serial Attached SCSI,串行连接SCSI)硬盘和NL(Near Line)SAS硬盘。存储资源(SSD、SAS、NL_SAS)调配是重复性高且耗时较长的任务,通过前期的规划使存储系统在性能需求和容量需求之间达到平衡是一件比较困难的事情,即使初期达到了平衡,性能和容量的需求也会发生变化,存储系统的资源调配需要不断的调整,因此,业界存储系统一般都支持分级存储功能,该功能的目的就是通过统计数据的活跃级别智能的管理数据的存放位置,提高存储系统整体性能并降低用户成本,其中,用户成本通常包括设备采购、空间、能耗和管理的成本。通过分级存储自动进行资源的调配,可以大大降低前期规划的难度,后期的维护和扩容也变得更容易。With the advancement of hard disk technology, the types and number of storage media supported by storage systems have increased significantly. Storage media supported by the storage system include: SSD (Solid State Drive), SAS (Serial Attached SCSI) hard disk, and NL (Near Line) SAS hard disk. Storage resource (SSD, SAS, NL_SAS) provisioning is a highly repetitive and time-consuming task. It is difficult to balance the performance requirements and capacity requirements of the storage system through the previous planning, even if it is reached initially. The balance, performance and capacity requirements will also change. The storage system's resource allocation needs constant adjustment. Therefore, the industry storage system generally supports the tiered storage function. The purpose of this function is to intelligently manage data through the active level of statistical data. The storage location improves the overall performance of the storage system and reduces the user cost. The user cost usually includes the cost of equipment procurement, space, energy consumption and management. The automatic allocation of resources through tiered storage can greatly reduce the difficulty of the previous planning, and the later maintenance and expansion becomes easier.
目前,业界对分级存储的实现基本上是通过统计、分析、迁移三个阶段进行的,也即通过对一定区域数据的访问频度统计,周期性的分析出是否为热点数据,然后通过数据迁移的手段实现从一个数据空间迁移至另外一个数据空间。而迁移的方式一般是在不影响主机IO的前提下,存储系统通过后台程序进行数据搬迁,如将需要迁移的数据从硬盘读出来,然后再写入到需要迁移的目的硬盘地址的方式实现。具体到存储系统来讲,由 于分级存储位于Cache之下,传统的流程如图1所示,分级存储的热点迁移是分级存储模块对硬盘热点区域的读写操作。分级存储模块统计出硬盘的热点区域,迁移流程周期性的对热点区域进行数据搬迁,一般情况下搬迁过程首先是从需要搬迁的盘上读取一段数据,读取数据通过临时内存资源存放,然后分级存储模块将这块数据写到需要迁移的目的硬盘地址空间上,写完后释放掉临时内存资源,这样一次正常的搬迁动作完毕,此时搬迁过程会涉及一次读盘,一次内存资源申请释放和一次写盘。同时,考虑到存储系统中热点统计区域的粒度和一次搬迁的粒度不匹配,如图2,通常是热点区域统计粒度(通常是上层逻辑卷地址到硬盘地址映射粒度)大于一次搬迁粒度,所以,只有当热点区域的所有数据搬迁完成后,才能修改逻辑卷地址到硬盘地址映射。这样当热点区域数据没有搬迁完之前,如果此时正好有写IO访问到已经搬迁的部分数据内容时候,此时分级存储处理该写IO需要同时写两份数据,一份写到原来老的硬盘区域,一份需要写到新的硬盘区域,这样做的目的是为了保证数据一致性,此过程即为分级存储模块的双写流程,综述就是传统上的分级存储的数据迁移过程。可见,传统的分级存储数据迁移过程中对硬盘的读取次数较多,降低了存储系统内部性能。At present, the implementation of tiered storage in the industry is basically carried out through three stages of statistics, analysis, and migration, that is, by periodically counting the frequency of access to a certain area of data, periodically analyzing whether it is hot data, and then through data migration. The means to move from one data space to another. The migration method generally involves the storage system relocating data through the background program without affecting the host IO. For example, the data to be migrated is read from the hard disk and then written to the destination hard disk address to be migrated. Specific to the storage system, by The tiered storage is located under the Cache. The traditional process is shown in Figure 1. The hotspot migration of the tiered storage is the read and write operations of the tiered storage module on the hotspot area of the hard disk. The tiered storage module collects the hotspot area of the hard disk, and the migration process periodically performs data relocation on the hotspot area. In general, the relocation process first reads a piece of data from the disk that needs to be relocated, and the read data is stored through temporary memory resources, and then The tiered storage module writes the data to the destination hard disk address space that needs to be migrated, and releases the temporary memory resources after writing, so that a normal relocation operation is completed, and the relocation process involves one read of the disc and one memory resource application release. And write the disk once. At the same time, the granularity of the hotspot statistics area in the storage system does not match the granularity of the one-time relocation. As shown in Figure 2, the granularity of the hotspot area (usually the upper logical volume address to the hard disk address mapping granularity) is greater than the granularity of one relocation. The logical volume address to hard disk address mapping can be modified only after all data in the hotspot area has been relocated. In this way, when the data of the hotspot area has not been relocated, if there is just a write IO access to the part of the data that has been relocated, the tiered storage processing of the write IO needs to write two copies of the data at the same time, and one copy is written to the original old hard disk. The area needs to be written to the new hard disk area. The purpose of this is to ensure data consistency. This process is the double-write process of the hierarchical storage module. The overview is the traditional data storage process of hierarchical storage. It can be seen that the traditional tiered storage data migration process has more read times on the hard disk, which reduces the internal performance of the storage system.
发明内容Summary of the invention
本发明实施例提供了一种数据迁移方法及装置,用以解决传统的分级存储数据迁移过程中对硬盘读取次数较多,降低了系统内部性能的问题。The embodiment of the invention provides a data migration method and device, which are used to solve the problem that the number of hard disk readings is large and the internal performance of the system is reduced during the traditional hierarchical storage data migration process.
根据本发明实施例的第一个方面,提供了一种数据迁移方法,包括:高速缓冲存储器Cache模块从分级存储模块处获知待迁移热点数据的地址空间;Cache模块根据地址空间写入待迁移热点数据;Cache模块将待迁移热点数据在Cache模块内的地址空间通知给分级存储模块。According to a first aspect of the present invention, a data migration method is provided, including: a cache cache module obtains an address space of a hotspot data to be migrated from a hierarchical storage module; and a cache module writes a hot spot to be migrated according to the address space. The Cache module notifies the tiered storage module of the address data to be migrated in the address space of the Cache module.
其中,Cache模块根据地址空间写入待迁移热点数据,包括:当未在 Cache模块中查找到所有待迁移热点数据的地址空间的情况下,Cache模块向分级存储模块下发预读请求;Cache模块接收分级存储模块发送的待迁移热点数据,并将接收到的热点数据写入Cache模块。The Cache module writes the hotspot data to be migrated according to the address space, including: when not The Cache module sends a pre-read request to the tiered storage module in the Cache module, and the Cache module receives the hotspot data to be migrated sent by the tiered storage module, and writes the received hotspot data. Into the Cache module.
根据本发明实施例的第二个方面,提供了一种数据迁移方法包括:分级存储模块将待迁移热点数据的地址空间告知高速缓冲存储器Cache模块;分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间;分级存储模块根据新的介质的地址空间修改逻辑卷与介质映射表的对应关系。According to a second aspect of the embodiments of the present invention, a data migration method includes: a hierarchical storage module notifying an address space of a hotspot data to be migrated to a cache cache module; and the hierarchical storage module knowing that the data to be migrated is in the cache module After the address space, the hotspot data is written to the address space of the new medium; the hierarchical storage module modifies the correspondence between the logical volume and the medium mapping table according to the address space of the new medium.
其中,分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间,包括:当接收来自Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断请求需要读取的数据是否为已迁移数据,得到判断结果;根据判断结果读取数据,数据读取完毕后,通知Cache模块数据读取完毕。After the tiered storage module learns the address space in the Cache module, the tiered storage module writes the hotspot data to the address space of the new medium, including: when receiving the hotspot data access request forwarded by the Cache module, according to the hotspot data The migration progress determines whether the data to be read is the migrated data, and the judgment result is obtained; the data is read according to the judgment result, and after the data is read, the Cache module is notified that the data is read.
进一步的,上述方法还包括:在将待迁移热点数据的地址空间告知述Cache模块之前,分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。Further, the method further includes: before the Cache module of the hotspot data to be migrated is notified to the Cache module, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN; the tiered storage module The spatial address of the hotspot data to be migrated is analyzed according to the statistical data.
根据本发明实施例的第三个方面,提供了一种数据迁移装置,包括:获知单元,设置为通过高速缓冲存储器Cache模块从分级存储模块处获知待迁移热点数据的地址空间;第一写入单元,设置为通过Cache模块根据地址空间写入待迁移热点数据;通知单元,设置为通过Cache模块将待迁移热点数据在Cache模块内的地址空间通知给分级存储模块。According to a third aspect of the embodiments of the present invention, a data migration apparatus is provided, including: an learning unit, configured to learn, by using a cache cache module, an address space of a hotspot data to be migrated from a hierarchical storage module; The unit is configured to write the hotspot data to be migrated according to the address space by using the Cache module, and the notification unit is configured to notify the tiered storage module of the address space in the Cache module by the Cache module.
其中,上述第一写入单元,包括:预读子单元,设置为当未在Cache模块中查找到所有待迁移热点数据的地址空间的情况下,Cache模块向分级存储模块下发预读请求;写入子单元,设置为通过Cache模块接收分级 存储模块发送的待迁移热点数据,并将接收到的热点数据写入Cache模块。The first write unit includes: a pre-read sub-unit, configured to send a pre-read request to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module; Write to the subunit, set to receive the rating through the Cache module The hotspot data to be migrated sent by the storage module, and the received hotspot data is written into the Cache module.
根据本发明实施例的第四个方面,提供了一种数据迁移装置,包括:告知单元,设置为通过分级存储模块将待迁移热点数据的地址空间告知高速缓冲存储器Cache模块;第二写入单元,设置为通过分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间;修改单元,设置为分级存储模块根据新的介质的地址空间修改逻辑卷与介质映射表的对应关系。According to a fourth aspect of the present invention, a data migration apparatus includes: a notification unit configured to notify a cache cache module of an address space of hotspot data to be migrated by a hierarchical storage module; and a second write unit After the aging storage module learns the address space of the data to be migrated in the Cache module, the hotspot data is written to the address space of the new medium; the modifying unit is set to the tiered storage module to modify the logic according to the address space of the new medium. The correspondence between the volume and the media mapping table.
其中,上述第二写入单元,包括:判断子单元,设置为当接收来自Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断请求需要读取的数据是否为已迁移数据,得到判断结果;通知子单元,设置为根据判断结果读取数据,数据读取完毕后,通知Cache模块数据读取完毕。The second writing unit includes: a determining subunit configured to, when receiving the hotspot data access request forwarded by the Cache module, determine whether the data to be read is the migrated data according to the migration progress of the hotspot data, The judgment result; the notification subunit is set to read data according to the judgment result, and after the data is read, the Cache module is notified that the data reading is completed.
进一步的,上述装置还包括:统计单元,设置为在将待迁移热点数据的地址空间告知Cache模块之前,分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;分析单元,设置为分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。Further, the device further includes: a statistic unit, configured to: before the Cache module of the address space of the hotspot data to be migrated, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN. The analysis unit is configured to analyze the spatial address of the hotspot data to be migrated according to the statistical data.
本发明有益效果如下:The beneficial effects of the present invention are as follows:
本发明实施例提供的方案,在进行数据迁移过程中可以减少一次读盘操作和一次内存占用,刷盘迁移过程中只涉及一次写盘操作,提高了存储系统内部性能。The solution provided by the embodiment of the present invention can reduce the disk read operation and the memory usage during the data migration process. The disk disk migration process involves only one write disk operation, which improves the internal performance of the storage system.
附图说明DRAWINGS
图1是现有技术中分级存储的热点数据迁移的流程图;1 is a flow chart of hotspot data migration of hierarchical storage in the prior art;
图2是现有技术中分级存储的热点数据迁移过程中的双写流程图;2 is a double-write flowchart in a hot-spot data migration process of hierarchical storage in the prior art;
图3是本发明实施例1提供的一种数据迁移方法的流程图;3 is a flowchart of a data migration method according to Embodiment 1 of the present invention;
图4是本发明实施例1中Cache的基本原理图; 4 is a basic schematic diagram of a Cache in Embodiment 1 of the present invention;
图5是本发明实施例2提供的数据迁移方法的流程图;5 is a flowchart of a data migration method according to Embodiment 2 of the present invention;
图6是本发明实施例3中在Cache中命中所有迁移数据情况下的数据迁移流程图;6 is a flowchart of data migration in a case where all migrated data is hit in a Cache in Embodiment 3 of the present invention;
图7是本发明实施例3中在Cache未命中所有迁移数据情况下的数据迁移流程图;FIG. 7 is a flowchart of data migration in the case where the Cache misses all migration data in Embodiment 3 of the present invention; FIG.
图8是本发明实施例3中在数据迁移过程中有写IO访问迁移区域情况下的数据迁移流程图;8 is a flowchart of data migration in the case where there is a write IO access migration area in a data migration process according to Embodiment 3 of the present invention;
图9是本发明实施例3中在数据迁移过程中有读IO访问迁移区域情况下的数据迁移流程图;9 is a flowchart of data migration in the case where there is a read IO access migration area in a data migration process according to Embodiment 3 of the present invention;
图10是本发明实施例4提供的数据迁移装置的结构框图;10 is a structural block diagram of a data migration apparatus according to Embodiment 4 of the present invention;
图11是本发明实施例5提供的数据迁移装置的结构框图。Figure 11 is a block diagram showing the structure of a data migration apparatus according to Embodiment 5 of the present invention.
具体实施方式detailed description
为了解决传统的分级存储数据迁移过程中对硬盘读取次数较多,降低了系统内部性能的问题,本发明提供了一种数据迁移方法及装置,以下结合附图以及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。The present invention provides a data migration method and apparatus for solving the problem that the hard disk is read frequently in the traditional hierarchical storage data migration process, and the internal performance of the system is reduced. The present invention further proceeds to the present invention with reference to the accompanying drawings and embodiments. Detailed description. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
实施例1Example 1
本实施例提供了一种数据迁移方法,该方法应用于Cache模块,即由Cahche模块来实现,图3是本发明实施例1提供的一种数据迁移方法的流程图,如图3所示,该方法包括如下步骤:The present embodiment provides a data migration method, which is applied to a Cache module, which is implemented by a Cahche module. FIG. 3 is a flowchart of a data migration method according to Embodiment 1 of the present invention, as shown in FIG. The method comprises the following steps:
步骤301:Cache模块从分级存储模块处获知待迁移热点数据的地址空间;Step 301: The Cache module learns, from the tiered storage module, an address space of the hotspot data to be migrated.
步骤302:Cache模块根据地址空间写入待迁移热点数据;Step 302: The Cache module writes the hotspot data to be migrated according to the address space.
步骤303:Cache模块将待迁移热点数据在Cache模块内的地址空间通知给分级存储模块。 Step 303: The Cache module notifies the hierarchical storage module of the address space in the Cache module.
其中,Cache模块根据地址空间写入待迁移热点数据的步骤具体可以包括:The step of the Cache module writing the hotspot data to be migrated according to the address space may include:
当未在Cache模块中查找到所有待迁移热点数据的地址空间的情况下,Cache模块向分级存储模块下发预读请求;Cache模块接收分级存储模块发送的待迁移热点数据,并将接收到的热点数据写入Cache模块。The Cache module sends a pre-read request to the tiered storage module when the address space of the hotspot data to be migrated is not found in the Cache module. The Cache module receives the hotspot data to be migrated sent by the tiered storage module, and receives the received hotspot data. Hotspot data is written to the Cache module.
如图4所示,首先主机访问的数据空间LUN在存储系统Cache中表示为一颗树,而Cache的功能就是对这个树进行一定的管理,主机IO的访问其实就是这棵树的访问,如对这棵树进行命中,预读等。同时Cache还对这棵树进行淘汰和刷脏数据等操作。从而实现Cache对主机IO的访问的回馈。再者主机IO一旦到达存储系统Cache阶段,都会在Cache中驻留一段时间,从而达到Cache命中效果,这也是Cache存在的意义。As shown in Figure 4, the data space LUN accessed by the host is represented as a tree in the storage system Cache. The function of the Cache is to manage the tree. The access of the host IO is actually the access of the tree. Hit the tree, read ahead, etc. At the same time, Cache also performs operations such as eliminating and dirty data on the tree. Thereby, the feedback of the Cache to the host IO is realized. In addition, once the host IO reaches the storage system Cache phase, it will reside in the Cache for a period of time, thereby achieving the cache hit effect, which is also the meaning of the Cache existence.
本实施例中,将原分级存储模块的迁移动作交给cache模块来实施,分解到cache模块,是一个刷盘操作,cache模块的刷盘操作触发分级存储迁移模块的单写,达到数据迁移的效果。基于此,cache模块可以利用自身已经存在的缓存资源,若命中,可以减少一次读盘操作和一次临时内存占用,直接将Cache模块中的数据下刷到分级存储模块,通过分级存储模块将数据写到目的地址,此时只是将数据写到目的地址而不需要写到原介质地址。因此,减少一次写操作。如果不命中,Cache模块需要向分级存储模块预读数据,然后在通过刷盘的方式将数据写到目的地址,此时即和传统的流程一样,需要一次读盘操作,但是对临时内存的使用还是具有优势,同时,预读到的页面增加了Cache的命中率。在本实施例中,分级存储模块和cache模块之间的协作完成数据迁移的整个流程,利用cache的刷盘操作替代分级存储的迁移操作,从中减少迁移过程的一次读盘和内存占用。In this embodiment, the migration operation of the original hierarchical storage module is performed by the cache module, and is decomposed into the cache module, which is a brush operation, and the flash operation of the cache module triggers the single write of the hierarchical storage migration module to achieve data migration. effect. Based on this, the cache module can use its own existing cache resources. If it hits, it can reduce the disk read operation and a temporary memory occupation. The data in the Cache module is directly brushed to the hierarchical storage module, and the data is written through the hierarchical storage module. To the destination address, only the data is written to the destination address at this time without writing to the original media address. Therefore, reduce one write operation. If it does not hit, the Cache module needs to pre-read the data to the tiered storage module, and then write the data to the destination address by brushing the disk. At this time, like the traditional process, it needs to read the disk once, but the use of temporary memory. Still has the advantage, at the same time, the pre-read page increases the Cache hit rate. In this embodiment, the cooperation between the hierarchical storage module and the cache module completes the entire process of data migration, and uses the cache disk operation to replace the hierarchical storage migration operation, thereby reducing the one-time disk reading and memory occupation of the migration process.
实施例2 Example 2
本实施例提供了一种数据迁移方法,该方法应用于分级存储模块侧,由分级存储模块来实现,图5是本发明实施例2提供的数据迁移方法的流程图,如图5所示,该方法包括如下步骤:The present embodiment provides a data migration method, which is applied to the hierarchical storage module side, and is implemented by a hierarchical storage module. FIG. 5 is a flowchart of a data migration method according to Embodiment 2 of the present invention, as shown in FIG. The method comprises the following steps:
步骤501:分级存储模块将待迁移热点数据的地址空间告知Cache模块;Step 501: The tiered storage module notifies the Cache module of the address space of the hotspot data to be migrated;
步骤502:分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间;Step 502: After the tiered storage module knows the address space of the data to be migrated in the Cache module, the hotspot data is written to the address space of the new medium.
步骤503:分级存储模块根据新的介质的地址空间修改逻辑卷与介质映射表的对应关系。Step 503: The hierarchical storage module modifies a correspondence between the logical volume and the medium mapping table according to the address space of the new medium.
其中,分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间,具体可以包括:After the tiered storage module learns the address space of the data to be migrated in the Cache module, the tiered storage module writes the hotspot data to the address space of the new media, which may include:
当接收来自Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断请求需要请求访问的数据是否为已迁移数据,得到判断结果;根据判断结果读取数据,待数据读取完毕后,通知Cache模块数据读取完毕。When receiving the hotspot data access request forwarded by the Cache module, determining, according to the migration progress of the hotspot data, whether the data requested to be requested is the migrated data, and obtaining the judgment result; reading the data according to the judgment result, after the data is read, The Cache module is notified that the data has been read.
进一步的,上述方法还可以包括:Further, the foregoing method may further include:
在将待迁移热点数据的地址空间告知Cache模块之前,分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。Before the Cache module of the hotspot data to be migrated is sent to the Cache module, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space where the logical volume LUN is located; the tiered storage module analyzes the hotspot to be migrated according to the statistical data. The spatial address of the data.
在本实施例中,分级存储中热点的统计是对盘上某段地址空间的访问频率,而在存储系统中Cache的角度看来主要是Cache刷脏数据对于盘和Cache透写对于盘的访问频率。此时,如果盘上某段地址空间被统计视为热点数据时候,则是由于Cache对这段地址空间进行刷盘导致的,或是由主机频繁透写该区域地址空间导致的。而此时Cache中还可能驻留着这些 热点数据。一旦这些热点数据在Cache没有被淘汰掉,那么就可以通过分级存储功能模块将这部分热点数据写到新性能的硬盘区域。但是如果此时被视为热点数据没有在Cache中,则需要Cache把这部分没有命中的数据通过分级存储模块预读出来,再通过分级存储功能模块写到新的性能硬盘区域,同时,如果此时存储系统正处于透写状态导致的热点,那么该预读上来的数据正好满足Cache命中从而提升了系统的性能。In this embodiment, the statistics of the hotspots in the tiered storage are the access frequencies of a certain address space on the disk, and in the storage system, the Cache perspective is mainly the Cache brush dirty data for the disk and the Cache transparent write access to the disk. frequency. At this time, if a certain address space on the disk is counted as hot data, it is caused by the Cache brushing the address space, or the host frequently writes the address space of the area. At this time, the Cache may still reside in these Hot data. Once the hotspot data is not eliminated in the Cache, then the hotspot data can be written to the new performance hard disk area through the hierarchical storage function module. However, if the hotspot data is not in the Cache at this time, the Cache is required to pre-read the data that is not hit by the tiered storage module, and then write the new performance hard disk area through the tiered storage function module, and if When the storage system is in the hot spot caused by the write-through state, the data from the pre-reading just meets the cache hit and improves the performance of the system.
分级存储模块则接收到Cache下刷的热点数据,需要根据迁移进度标示决定将Cache数据写到新介质地址区域。因为热点统计需要往往大于迁移粒度,因此在热点区域数据没有迁移完成前,分级存储是不能修改逻辑卷地址到盘地址的映射表,只有当热点数据都迁移完成后才修改逻辑卷到盘的地址映射表。这样下次IO访问到该逻辑卷区域的时候,访问的则是新介质的区域。为此热点数据没有迁移完成前,如果有读请求访问到热点区域,则如果该读请求数据正在Cache中,则直接访问Cache返回即可,如果该请求数据没有在Cache中,或部分在Cache中,则需要Cache向分级存储模块下发预读请求,分级存储模块通过迁移位图信息判断是读取旧介质数据还是读取新介质数据,从而达到数据访问的目的。The tiered storage module receives the hotspot data swiped under the Cache, and needs to write the Cache data to the new media address area according to the migration progress indicator. Because the hotspot statistics need to be larger than the migration granularity, the hierarchical storage is a mapping table that cannot modify the logical volume address to the disk address before the hotspot area data is migrated. The logical volume to disk address is modified only after the hotspot data is migrated. Mapping table. In this way, when the next IO accesses the logical volume area, the area of the new medium is accessed. For this reason, before the hot data is migrated, if there is a read request to access the hotspot area, if the read request data is in the Cache, the direct access Cache can be returned if the request data is not in the Cache, or partially in the Cache. The Cache is required to send a pre-read request to the tiered storage module. The tiered storage module determines whether to read the old media data or read the new media data by migrating the bitmap information, thereby achieving the purpose of data access.
实施例3Example 3
本实施例分别通过迁移数据Cache命中时的迁移、迁移数据Cache未命中时的迁移、迁移过程中有写IO访问迁移区域以及迁移过程中有读IO访问迁移区域这四种情况下来对Cache与分级存储模块之间协同实现数据迁移的流程进行描述:In this embodiment, the Cache and the grading are performed by the migration of the data cache hit, the migration when the migration data cache misses, the write IO access migration area during the migration process, and the read IO access migration area during the migration process. The process of data migration between storage modules is described as follows:
迁移数据过程中,在Cache中命中所有迁移数据情况下的数据迁移流程:During the migration of data, the data migration process in the case of hitting all migrated data in the Cache:
如图6所示,具体包括如下处理:As shown in FIG. 6, the following specifically includes the following processing:
分级存储功能模块对LUN所在的层级硬盘地址空间按照分级存储统 计粒度进行热点数据统计;The hierarchical storage function module stores the hierarchical hard disk address space where the LUN is located according to the hierarchical storage system. Calculate hotspot data statistics by granularity;
分级存储功能模块根据粒度统计数据分析出哪些地址区域为热点区域;The hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics;
分级存储功能模块通知Cache模块哪些地址需要进行热点迁移;The tiered storage function module notifies the Cache module which addresses need to be hotspot migration;
Cache功能模块根据分级存储提供的地址空间进行数据写盘操作,此时写盘地址区域正好在Cache中命中;The Cache function module performs a data write operation according to the address space provided by the hierarchical storage. At this time, the write disk address area hits the Cache exactly;
Cache下刷分级存储模块请求的地址空间;Cache the address space requested by the hierarchical storage module;
分级存储根据Cache下发的写盘请求将数据写到新介质的地址空间;The tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
分级存储模块修改逻辑卷到介质映射表为新介质地址空间。The tiered storage module modifies the logical volume to media map to the new media address space.
迁移数据过程中,在Cache未命中所有迁移数据情况下的数据迁移流程:During the migration of data, the data migration process in the case of Cache miss all migration data:
如图7所示,具体包括如下处理:As shown in FIG. 7, the following specifically includes the following processing:
分级存储功能模块对LUN所在的层级硬盘地址空间按照分级存储统计粒度进行热点数据统计;The tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
分级存储功能模块根据粒度统计数据分析出哪些地址区域为热点区域;The hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics;
分级存储功能模块通知Cache哪些地址需要进行热点迁移;The tiered storage function module notifies the Cache which addresses need to be hotspot migration;
Cache功能模块根据分级存储提供的地址空间进行数据写盘操作,此时写盘地址区域不在Cache中或者部分在Cache中;The Cache function module performs a data write operation according to the address space provided by the hierarchical storage. At this time, the write disk address area is not in the Cache or partially in the Cache;
Cache向分级存储模块下发预读请求,分级存储模块预读好数据返回Cache;The Cache sends a prefetch request to the tiered storage module, and the tiered storage module prefetches the data and returns the Cache;
Cache继续下发分级存储要求的地址空间到分级存储模块;The Cache continues to deliver the address space required by the tiered storage to the tiered storage module;
分级存储根据Cache下发的写盘请求将数据写到新介质的地址空间;The tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
分级存储模块修改逻辑卷到介质映射表为新介质地址空间。The tiered storage module modifies the logical volume to media map to the new media address space.
迁移数据过程中,在数据迁移过程中有写IO访问迁移区域情况下的 数据迁移流程:During the process of migrating data, there is a case of writing IO access to the migration area during the data migration process. Data migration process:
如图8所示,具体包括如下处理:As shown in FIG. 8, the following specifically includes the following processing:
分级存储功能模块对LUN所在的层级硬盘地址空间按照分级存储统计粒度进行热点数据统计;The tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
分级存储功能模块根据粒度统计数据分析出哪些地址区域为热点区域;The hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics;
分级存储功能模块通知Cache哪些地址需要进行热点迁移;The tiered storage function module notifies the Cache which addresses need to be hotspot migration;
Cache功能模块根据分级存储提供的地址空间进行数据写盘操作,此时写盘地址区正在Cache中;The Cache function module performs a data write operation according to the address space provided by the hierarchical storage, and at this time, the write disk address area is in the Cache;
Cache继续下发分级存储要求的地址空间到分级存储模块;The Cache continues to deliver the address space required by the tiered storage to the tiered storage module;
分级存储根据Cache下发的写盘请求将数据写到新介质的地址空间;The tiered storage writes data to the address space of the new medium according to the write request sent by the Cache;
分级存储模块修改逻辑卷到介质映射表为新介质地址空间;The tiered storage module modifies the logical volume to the media mapping table to a new media address space;
如果此时正好有写请求访问热点区域数据,此时请求访问Cache页面,正好命中,则直接返回主机。If there is a write request to access the hot spot data at this time, at this time, request to access the Cache page, just hit, return directly to the host.
迁移数据过程中,在数据迁移过程中有读IO访问迁移区域情况下的数据迁移流程:During the data migration process, there is a data migration process in the case of reading the IO access migration area during the data migration process:
如图9所示,具体包括如下处理:As shown in FIG. 9, the following specifically includes the following processing:
分级存储功能模块对LUN所在的层级硬盘地址空间按照分级存储统计粒度进行热点数据统计;The tiered storage function module performs hotspot data statistics on the hierarchical hard disk address space where the LUN is located according to the hierarchical storage statistical granularity;
分级存储功能模块根据粒度统计数据分析出哪些地址区域为热点区域;The hierarchical storage function module analyzes which address areas are hotspot areas according to the granularity statistics;
分级存储功能模块通知Cache哪些地址需要进行热点迁移;The tiered storage function module notifies the Cache which addresses need to be hotspot migration;
Cache功能模块根据分级存储提供的地址空间进行数据写盘操作,此时写盘地址区正在Cache中;The Cache function module performs a data write operation according to the address space provided by the hierarchical storage, and at this time, the write disk address area is in the Cache;
Cache继续下发分级存储要求的地址空间到分级存储模块; The Cache continues to deliver the address space required by the tiered storage to the tiered storage module;
分级存储根据Cache下发的写盘请求将数据写到新介质的地址空间。但是只写了部分数据,整个热点区域数据没有写完;The tiered storage writes data to the address space of the new medium according to the write request sent by the Cache. But only part of the data was written, and the entire hotspot area data was not written;
此时正好有读请求访问热点数据,且是已经迁移的了区域数据;At this point, there is a read request to access the hotspot data, and the area data has been migrated;
如果cache命中则直接Cache返回,如果不命中则Cache下发请求到分级存储模块;If the cache hits, the Cache returns directly. If it does not hit, the Cache sends a request to the tiered storage module.
分级存储模块根据迁移进度标记判断此次读请求需要读取的是已经迁移的新数据还是旧数据,如果迁移数据已经被写了则为新数据,否则为旧数据;The tiered storage module determines, according to the migration progress flag, whether the read request needs to read the new data that has been migrated or the old data, and if the migrated data has been written, it is new data; otherwise, the old data;
分级存储读取数据给Cache,Cache返回数据给主机读请求;The tiered storage reads the data to the Cache, and the Cache returns the data to the host to read the request;
分级存储模块修改逻辑卷到介质映射表为新介质地址空间。The tiered storage module modifies the logical volume to media map to the new media address space.
实施例4Example 4
本实施例提供了一种数据迁移装置,该装置设置于Cache一侧,图10是本发明实施例4提供的数据迁移装置的结构框图,如图10所示,该装置100包括如下组成部分:The embodiment of the present invention provides a data migration device, which is disposed on the Cache side. FIG. 10 is a structural block diagram of a data migration device according to Embodiment 4 of the present invention. As shown in FIG. 10, the device 100 includes the following components:
获知单元101,设置为通过Cache模块从分级存储模块处获知待迁移热点数据的地址空间;The learning unit 101 is configured to learn, by using the Cache module, an address space of the hotspot data to be migrated from the hierarchical storage module;
第一写入单元102,设置为通过Cache模块根据地址空间写入待迁移热点数据;The first writing unit 102 is configured to write the hotspot data to be migrated according to the address space by using the Cache module;
通知单元103,设置为通过Cache模块将待迁移热点数据在Cache模块内的地址空间通知给分级存储模块。The notification unit 103 is configured to notify, by using the Cache module, the hotspot data to be migrated in the address space in the Cache module to the hierarchical storage module.
其中,上述第一写入单元102具体可以包括:预读子单元,设置为当未在Cache模块中查找到所有待迁移热点数据的地址空间的情况下,Cache模块向分级存储模块下发预读请求;写入子单元,设置为通过Cache模块接收分级存储模块发送的待迁移热点数据,并将接收到的热点数据写入Cache模块。 The first writing unit 102 may specifically include: a pre-reading sub-unit, configured to send a pre-read to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module. The request is written into the sub-unit, and is configured to receive the hot-spot data to be migrated sent by the hierarchical storage module through the Cache module, and write the received hot-spot data into the Cache module.
实施例5Example 5
本实施例提供了一种数据迁移装置,该装置设置于分级存储模块一侧,图11是本发明实施例5提供的数据迁移装置的结构框图,如图11所示,该装置110具体包括如下组成部分:The embodiment of the present invention provides a data migration device, which is disposed on the side of the hierarchical storage module. FIG. 11 is a structural block diagram of the data migration device according to Embodiment 5 of the present invention. As shown in FIG. component:
告知单元111,设置为通过分级存储模块将待迁移热点数据的地址空间告知Cache模块;The notification unit 111 is configured to notify the Cache module of the address space of the hotspot data to be migrated through the hierarchical storage module;
第二写入单元112,设置为通过分级存储模块在获知待迁移数据在Cache模块内的地址空间后,将热点数据写到新的介质的地址空间;The second writing unit 112 is configured to write the hotspot data to the address space of the new medium after the address storage space in the Cache module is obtained by the tiered storage module;
修改单元113,设置为分级存储模块根据新的介质的地址空间修改逻辑卷与介质映射表的对应关系。The modifying unit 113 is configured to modify the correspondence between the logical volume and the media mapping table according to the address space of the new medium.
其中,上述第二写入单元112具体可以包括:判断子单元,设置为当接收来自Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断请求需要读取的数据是否为已迁移数据,得到判断结果;通知子单元,设置为根据判断结果读取数据,待读取数据完毕后,通知Cache模块数据读取完毕。The second writing unit 112 may specifically include: a determining subunit, configured to determine, according to the migration progress of the hotspot data, whether the data to be read is the migrated data according to the migration progress of the hotspot data when receiving the hotspot data access request forwarded by the Cache module. The judgment result is obtained; the notification subunit is set to read the data according to the judgment result, and after the data is read, the Cache module is notified that the data is read.
进一步的,上述装置110还可以包括:统计单元,设置为在将待迁移热点数据的地址空间告知Cache模块之前,分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;分析单元,设置为分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。Further, the device 110 may further include: a statistic unit, configured to: before the Cache module of the address space of the hotspot data to be migrated, the tiered storage module performs a hotspot according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN. Data statistics; the analysis unit is configured to analyze the spatial address of the hotspot data to be migrated according to the statistical data.
本发明实施例提供的方案,在进行数据迁移过程中减少一次读盘操作和一次内存占用,刷盘迁移过程中只涉及一次写盘操作,而传统迁移方法在刷盘时候需要进行双写从而保证数据一致性。同时,相对于传统迁移方法,本发明实施例的方案在Cache中未命中迁移数据的场景下,预读到的数据可以提高系统命中率,从而一定程度提升系统性能。 The solution provided by the embodiment of the present invention reduces the disk read operation and the memory usage during the data migration process. The disk migration process involves only one write operation, and the traditional migration method requires double write when the disk is saved. Data consistency. At the same time, compared with the traditional migration method, in the scenario that the Cache does not hit the migration data in the scenario of the Cache, the pre-read data can improve the system hit rate, thereby improving the system performance to a certain extent.
尽管为示例目的,已经公开了本发明的优选实施例,本领域的技术人员将意识到各种改进、增加和取代也是可能的,因此,本发明的范围应当不限于上述实施例。While the preferred embodiments of the present invention have been disclosed for purposes of illustration, those skilled in the art will recognize that various modifications, additions and substitutions are possible, and the scope of the invention should not be limited to the embodiments described above.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种数据迁移方法及装置具有以下有益效果:在进行数据迁移过程中可以减少一次读盘操作和一次内存占用,刷盘迁移过程中只涉及一次写盘操作,提高了存储系统内部性能。 As described above, the data migration method and apparatus provided by the embodiments of the present invention have the following beneficial effects: in the process of data migration, one disk read operation and one memory occupation can be reduced, and only one write operation is involved in the process of brush disk migration. Improves the internal performance of the storage system.

Claims (10)

  1. 一种数据迁移方法,包括:A data migration method, including:
    高速缓冲存储器Cache模块从分级存储模块处获知待迁移热点数据的地址空间;The cache Cache module learns the address space of the hotspot data to be migrated from the hierarchical storage module;
    所述Cache模块根据所述地址空间写入所述待迁移热点数据;The Cache module writes the hotspot data to be migrated according to the address space;
    所述Cache模块将待迁移热点数据在所述Cache模块内的地址空间通知给所述分级存储模块。The Cache module notifies the hierarchical storage module of the address space in the Cache module.
  2. 根据权利要求1所述的方法,其中,所述Cache模块根据所述地址空间写入所述待迁移热点数据,包括:The method of claim 1, wherein the Cache module writes the hotspot data to be migrated according to the address space, including:
    当未在所述Cache模块中查找到所有待迁移热点数据的地址空间的情况下,所述Cache模块向所述分级存储模块下发预读请求;The Cache module sends a pre-read request to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module;
    所述Cache模块接收所述分级存储模块发送的待迁移热点数据,并将接收到的热点数据写入所述Cache模块。The Cache module receives the hotspot data to be migrated sent by the tiered storage module, and writes the received hotspot data to the Cache module.
  3. 一种数据迁移方法,包括:A data migration method, including:
    分级存储模块将待迁移热点数据的地址空间告知高速缓冲存储器Cache模块;The tiered storage module notifies the cache Cache module of the address space of the hotspot data to be migrated;
    所述分级存储模块在获知待迁移数据在所述Cache模块内的地址空间后,将所述热点数据写到新的介质的地址空间;After the tiered storage module learns that the data to be migrated is in the address space in the Cache module, the hotspot data is written to the address space of the new medium;
    所述分级存储模块根据所述新的介质的地址空间修改逻辑卷与介质映射表的对应关系。The hierarchical storage module modifies a correspondence between the logical volume and the medium mapping table according to the address space of the new medium.
  4. 根据权利要求3所述的方法,其中,所述所述分级存储模块在获知待迁移数据在所述Cache模块内的地址空间后,将所述热点数据写到新的介质的地址空间,包括:The method of claim 3, wherein the tiered storage module writes the hotspot data to an address space of a new medium after learning that the data to be migrated is in an address space in the Cache module, including:
    当接收来自所述Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断所述请求需要读取的数据是否为已迁移数据,得到判断 结果;When receiving the hotspot data access request forwarded by the Cache module, determining, according to the migration progress of the hotspot data, whether the data that the request needs to read is the migrated data, and determining result;
    根据判断结果读取数据,在数据读取完毕后,通知所述Cache模块数据读取完毕。The data is read according to the judgment result, and after the data is read, the Cache module is notified that the data is read.
  5. 根据权利要求3或4所述的方法,其中,所述方法还包括:The method of claim 3 or 4, wherein the method further comprises:
    在将待迁移热点数据的地址空间告知述Cache模块之前,所述分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;Before the Cache module of the hotspot data to be migrated is notified to the Cache module, the tiered storage module performs hotspot data statistics according to the hierarchical storage statistical granularity of the hard disk address space of the logical volume LUN.
    所述分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。The tiered storage module analyzes the spatial address of the hotspot data to be migrated according to the statistical data.
  6. 一种数据迁移装置,包括:A data migration device comprising:
    获知单元,设置为通过高速缓冲存储器Cache模块从分级存储模块处获知待迁移热点数据的地址空间;The learning unit is configured to learn, by using the cache Cache module, an address space of the hotspot data to be migrated from the hierarchical storage module;
    第一写入单元,设置为通过所述Cache模块根据所述地址空间写入所述待迁移热点数据;a first writing unit, configured to write, by using the Cache module, the hotspot data to be migrated according to the address space;
    通知单元,设置为通过所述Cache模块将待迁移热点数据在所述Cache模块内的地址空间通知给所述分级存储模块。The notification unit is configured to notify, by the Cache module, the hotspot data to be migrated in the address space in the Cache module to the hierarchical storage module.
  7. 根据权利要求6所述的装置,其中,所述第一写入单元,包括:The apparatus of claim 6, wherein the first writing unit comprises:
    预读子单元,设置为当未在所述Cache模块中查找到所有待迁移热点数据的地址空间的情况下,所述Cache模块向所述分级存储模块下发预读请求;The pre-reading sub-unit is configured to send a pre-read request to the hierarchical storage module when the address space of the hot-spot data to be migrated is not found in the Cache module;
    写入子单元,设置为通过所述Cache模块接收所述分级存储模块发送的待迁移热点数据,并将接收到的热点数据写入所述Cache模块。The write subunit is configured to receive the hot spot data to be migrated sent by the hierarchical storage module by using the Cache module, and write the received hot spot data into the Cache module.
  8. 一种数据迁移装置,包括:A data migration device comprising:
    告知单元,设置为通过分级存储模块将待迁移热点数据的地址空间告知高速缓冲存储器Cache模块; The notification unit is configured to notify the cache Cache module of the address space of the hotspot data to be migrated through the hierarchical storage module;
    第二写入单元,设置为通过所述分级存储模块在获知待迁移数据在所述Cache模块内的地址空间后,将所述热点数据写到新的介质的地址空间;a second writing unit, configured to: write, by the hierarchical storage module, the hot spot data to an address space of the new medium after learning that the data to be migrated is in an address space in the Cache module;
    修改单元,设置为所述分级存储模块根据所述新的介质的地址空间修改逻辑卷与介质映射表的对应关系。And a modifying unit, configured to modify, by the hierarchical storage module, a correspondence between the logical volume and the media mapping table according to the address space of the new medium.
  9. 根据权利要求8所述的装置,其中,所述第二写入单元,包括:The apparatus of claim 8, wherein the second writing unit comprises:
    判断子单元,设置为当接收来自所述Cache模块转发的热点数据访问请求时,根据热点数据的迁移进度判断所述请求需要读取的数据是否为已迁移数据,得到判断结果;The determining subunit is configured to: when receiving the hotspot data access request forwarded by the Cache module, determine, according to the migration progress of the hotspot data, whether the data that the request needs to read is migrated data, and obtain a determination result;
    通知子单元,设置为根据判断结果读取数据,待数据读取完毕后,通知所述Cache模块数据读取完毕。The notification subunit is configured to read data according to the judgment result, and after the data is read, notify the Cache module that the data reading is completed.
  10. 根据权利要求8或9所述的装置,其中,所述装置还包括:The device according to claim 8 or 9, wherein the device further comprises:
    统计单元,设置为在将待迁移热点数据的地址空间告知所述Cache模块之前,所述分级存储模块对逻辑卷LUN所在的层级的硬盘地址空间按照分级存储统计粒度进行热点数据统计;The statistic unit is configured to perform hotspot data statistics on the hard disk address space of the hierarchical level of the logical volume LUN according to the hierarchical storage statistical granularity before the Cache module of the hotspot data to be migrated is notified to the Cache module;
    分析单元,设置为所述分级存储模块根据统计的数据分析出待迁移热点数据的空间地址。 The analyzing unit is configured to analyze, according to the statistical data, a spatial address of the hotspot data to be migrated.
PCT/CN2016/099934 2015-10-12 2016-09-23 Data migration method and apparatus WO2017063495A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510655794.XA CN106569732B (en) 2015-10-12 2015-10-12 Data migration method and device
CN201510655794.X 2015-10-12

Publications (1)

Publication Number Publication Date
WO2017063495A1 true WO2017063495A1 (en) 2017-04-20

Family

ID=58506322

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099934 WO2017063495A1 (en) 2015-10-12 2016-09-23 Data migration method and apparatus

Country Status (2)

Country Link
CN (1) CN106569732B (en)
WO (1) WO2017063495A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124307A (en) * 2019-12-20 2020-05-08 北京浪潮数据技术有限公司 Data downloading and brushing method, device, equipment and readable storage medium
CN111722797A (en) * 2020-05-18 2020-09-29 西安交通大学 SSD and HA-SMR hybrid storage system oriented data management method, storage medium and device
CN112667525A (en) * 2020-12-23 2021-04-16 北京浪潮数据技术有限公司 Used space measuring method and component of persistent memory

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162376A (en) * 2018-02-12 2019-08-23 杭州宏杉科技股份有限公司 A kind of data read-write method and device
CN108519860B (en) * 2018-03-31 2021-01-19 深圳忆联信息系统有限公司 SSD read hit processing method and device
CN109376094A (en) * 2018-09-27 2019-02-22 郑州云海信息技术有限公司 A kind of method of the cold and hot Data Migration of garbage reclamation in storage system
CN111273861B (en) * 2020-01-15 2022-07-29 苏州浪潮智能科技有限公司 Method and system for setting data volume Bitmap
CN112214169B (en) * 2020-09-28 2021-08-10 深圳大学 Data storage device and stored data migration method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7756943B1 (en) * 2006-01-26 2010-07-13 Symantec Operating Corporation Efficient data transfer between computers in a virtual NUMA system using RDMA
CN102215268A (en) * 2011-07-14 2011-10-12 北京飞杰信息技术有限公司 Method and device for transferring file data
CN102968498A (en) * 2012-12-05 2013-03-13 华为技术有限公司 Method and device for processing data
CN103106045A (en) * 2012-12-20 2013-05-15 华为技术有限公司 Data migration method, system and device at host machine end
CN104917784A (en) * 2014-03-10 2015-09-16 华为技术有限公司 Data migration method and device, and computer system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8688904B1 (en) * 2005-05-23 2014-04-01 Hewlett-Packard Development Company, L.P. Method for managing data storage
CN103186350B (en) * 2011-12-31 2016-03-30 北京快网科技有限公司 The moving method of mixing storage system and hot spot data block
CN102799390B (en) * 2012-06-14 2015-06-03 国家超级计算深圳中心(深圳云计算中心) Cooperative adaptive pre-fetching method for sensing energy consumption and device
CN102831087B (en) * 2012-07-27 2016-05-11 国家超级计算深圳中心(深圳云计算中心) Data read-write processing method based on mixing memory and device
CN104321754B (en) * 2012-12-21 2017-12-15 华为技术有限公司 A kind of method to set up and device of Cache mode of operations

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7756943B1 (en) * 2006-01-26 2010-07-13 Symantec Operating Corporation Efficient data transfer between computers in a virtual NUMA system using RDMA
CN102215268A (en) * 2011-07-14 2011-10-12 北京飞杰信息技术有限公司 Method and device for transferring file data
CN102968498A (en) * 2012-12-05 2013-03-13 华为技术有限公司 Method and device for processing data
CN103106045A (en) * 2012-12-20 2013-05-15 华为技术有限公司 Data migration method, system and device at host machine end
CN104917784A (en) * 2014-03-10 2015-09-16 华为技术有限公司 Data migration method and device, and computer system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124307A (en) * 2019-12-20 2020-05-08 北京浪潮数据技术有限公司 Data downloading and brushing method, device, equipment and readable storage medium
CN111124307B (en) * 2019-12-20 2022-06-07 北京浪潮数据技术有限公司 Data downloading and brushing method, device, equipment and readable storage medium
CN111722797A (en) * 2020-05-18 2020-09-29 西安交通大学 SSD and HA-SMR hybrid storage system oriented data management method, storage medium and device
CN111722797B (en) * 2020-05-18 2021-06-29 西安交通大学 SSD and HA-SMR hybrid storage system oriented data management method, storage medium and device
CN112667525A (en) * 2020-12-23 2021-04-16 北京浪潮数据技术有限公司 Used space measuring method and component of persistent memory

Also Published As

Publication number Publication date
CN106569732A (en) 2017-04-19
CN106569732B (en) 2021-04-20

Similar Documents

Publication Publication Date Title
WO2017063495A1 (en) Data migration method and apparatus
US10761777B2 (en) Tiered storage using storage class memory
US10776278B2 (en) Storage control apparatus and computer-readable storage medium storing storage control program
US20180121351A1 (en) Storage system, storage management apparatus, storage device, hybrid storage apparatus, and storage management method
US9135181B2 (en) Management of cache memory in a flash cache architecture
KR101852668B1 (en) Address mapping
US8914340B2 (en) Apparatus, system, and method for relocating storage pool hot spots
US20190138517A1 (en) Hot-Spot Adaptive Garbage Collection
US9244618B1 (en) Techniques for storing data on disk drives partitioned into two regions
TWI531963B (en) Data storage systems and their specific instruction enforcement methods
WO2021218038A1 (en) Storage system, memory management method, and management node
CN108595349B (en) Address translation method and device for mass storage device
WO2017148242A1 (en) Method for accessing shingled magnetic recording (smr) hard disk, and server
AU2016397188B2 (en) Storage system and system garbage collection method
Chang et al. Stable greedy: Adaptive garbage collection for durable page-mapping multichannel SSDs
US20120254532A1 (en) Method and apparatus to allocate area to virtual volume
US10133517B2 (en) Storage control device
US11138104B2 (en) Selection of mass storage device streams for garbage collection based on logical saturation
US11144224B2 (en) Locality-aware, memory-efficient, time-efficient hot data identification using count-min-sketch for flash or streaming applications
Chang et al. Profit data caching and hybrid disk‐aware Completely Fair Queuing scheduling algorithms for hybrid disks
CN103176753A (en) Storage device and data management method of storage device
Zeng et al. CosaFS: A cooperative shingle-aware file system
WO2024021487A1 (en) Data processing method and apparatus, and computer device and storage medium
CN111796757B (en) Solid state disk cache region management method and device
US11249646B1 (en) Large segment management

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16854875

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16854875

Country of ref document: EP

Kind code of ref document: A1