WO2018005041A1 - Methods for minimizing fragmentation in ssd within a storage system and devices thereof - Google Patents
Methods for minimizing fragmentation in ssd within a storage system and devices thereof Download PDFInfo
- Publication number
- WO2018005041A1 WO2018005041A1 PCT/US2017/036680 US2017036680W WO2018005041A1 WO 2018005041 A1 WO2018005041 A1 WO 2018005041A1 US 2017036680 W US2017036680 W US 2017036680W WO 2018005041 A1 WO2018005041 A1 WO 2018005041A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- allocation area
- cache
- computing device
- previously stored
- data
- 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.)
- Ceased
Links
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/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
- G06F12/0868—Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
-
- 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/0629—Configuration or reconfiguration of storage systems
- G06F3/0631—Configuration or reconfiguration of storage systems by allocating resources to storage systems
-
- 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/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/10—Providing a specific technical effect
- G06F2212/1041—Resource optimization
- G06F2212/1044—Space efficiency improvement
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/21—Employing a record carrier using a specific recording technology
- G06F2212/214—Solid state disk
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/28—Using a specific disk cache architecture
- G06F2212/281—Single cache
Definitions
- This technology generally relates to data storage management and, more particularly, methods for minimizing fragmentation in solid state devices (SSD) within a storage system and devices thereof.
- SSD solid state devices
- Fragmentation within the data storage mediums phenomenon reduces storage capacity, and increases access and read times. Fragmentation occurs when a computing device does not allocate enough contiguous storage space to encode a complete data set as a single sequence, and instead divides the data set into portions which are encoded in gaps between other data sets. Typically, these data storage medium gaps arise because an earlier data set was deleted, or excess space was allocated to another stored data set. The degree to which a data storage medium is fragmented heavily dependent upon the size and number of data sets stored on it.
- prior technologies uses the technique of defragmentation where the datasets written to a data storage medium is rearranged such that segments of each data set are written contiguously.
- the technique used in the prior technologies fails to significantly reduce fragmentation and are time consuming, memory intensive operations that can significantly reduce the performance of a computer system while being executed.
- FIG. 1 is a block diagram of an environment with a storage management computing device that minimizes fragmentation in SSD within a storage system;
- FIG. 2 is a block diagram of the exemplary storage management computing device shown in FIG. 1;
- FIG. 3 is an exemplary flow chart of an example of a method for minimizing fragmentation in SSD within a storage system.
- FIG. 1 An environment 10 with a plurality of client computing devices 12(l)-12(n), an exemplary storage management computing device 14, a plurality of storage devices 16(l)-16(n) is illustrated in FIG. 1.
- the environment 10 in FIG. 1 includes the plurality of client computing devices 12(l)-12(n), the storage management computing device 14 and a plurality of storage devices 16(l)-16(n) coupled via one or more communication networks 30, although the environment could include other types and numbers of systems, devices, components, and/or other elements.
- the example of a method for minimizing fragmentation in SSD within a storage system is executed by the storage management computing device 14, although the approaches illustrated and described herein could be executed by other types and/or numbers of other computing systems and devices.
- the environment 10 may include other types and numbers of other network elements and devices, as is generally known in the art and will not be illustrated or described herein.
- This technology provides a number of advantages including providing methods, non-transitory computer readable media and devices for minimizing fragmentation in SSD within a storage system.
- the storage management computing device 14 includes a processor 18, a memory 20, and a communication interface 24 which are coupled together by a bus 26, although the storage management computing device 14 may include other types and numbers of elements in other configurations.
- the processor 18 of the storage management computing device 14 may execute one or more programmed instructions stored in the memory 20 for dynamic resource reservation based on classified input/output requests as illustrated and described in the examples herein, although other types and numbers of functions and/or other operation can be performed.
- the processor 18 of the storage management computing device 14 may include one or more central processing units ("CPUs") or general purpose processors with one or more processing cores, such as AMD® processor(s), although other types of processor(s) could be used (e.g., Intel®).
- CPUs central processing units
- AMD® processor(s) e.g., Intel®
- the memory 20 of the storage management computing device 14 stores the programmed instructions and other data for one or more aspects of the present technology as described and illustrated herein, although some or all of the programmed instructions could be stored and executed elsewhere.
- RAM random access memory
- ROM read only memory
- floppy disk hard disk
- CD ROM compact disc-read only memory
- DVD ROM digital versatile disc-read only memory
- a variety of different types of memory storage devices such as a non-volatile memory, random access memory (RAM) or a read only memory (ROM) in the system or a floppy disk, hard disk, CD ROM, DVD ROM, or other computer readable medium which is read from and written to by a magnetic, optical, or other reading and writing system that is coupled to the processor 18, can be used for the memory 20.
- RAM random access memory
- ROM read only memory
- the communication interface 24 of the storage management computing device 14 operatively couples and communicates with the plurality of client computing devices 12(l)-12(n) and the plurality of storage devices 16(l)-16(n), which are all coupled together by the communication network 30, although other types and numbers of communication networks or systems with other types and numbers of connections and configurations to other devices and elements.
- the communication network 30 can use TCP/IP over Ethernet and industry-standard protocols, including NFS, CIFS, SOAP, XML, LDAP, and SNMP, although other types and numbers of communication networks, can be used.
- the communication networks 30 in this example may employ any suitable interface mechanisms and network communication technologies, including, for example, any local area network, any wide area network (e.g., Internet), teletraffic in any suitable form (e.g., voice, modem, and the like), Public Switched Telephone Network (PSTNs), Ethernet-based Packet Data Networks (PDNs), and any combinations thereof and the like.
- the bus 26 is a universal serial bus, although other bus types and links may be used, such as PCI-Express or hyper-transport bus.
- Each of the plurality of client computing devices 12(l)-12(n) includes a central processing unit (CPU) or processor, a memory, and an I/O system, which are coupled together by a bus or other link, although other numbers and types of network devices could be used.
- the plurality of client computing devices 12(l)-12(n) communicates with the storage management computing device 14 for storage management, although the client computing devices 12(l)-12(n) can interact with the storage management computing device 14 for other purposes.
- the plurality of client computing devices 12(l)-12(n) may run application(s) that may provide an interface to make requests to access, modify, delete, edit, read or write data within storage management computing device 14 or the plurality of storage devices 16(l)-16(n) via the communication network 30.
- Each of the plurality of storage devices 16(l)-16(n) includes a central processing unit (CPU) or processor, and an I/O system, which are coupled together by a bus or other link, although other numbers and types of network devices could be used.
- Each plurality of storage devices 16(l)-16(n) assists with storing data, although the plurality of storage devices 16(1)- 16(n) can assist with other types of operations such as storing of files or data.
- Various network processing applications may be operating on the plurality of storage devices 16(l)-16(n) and transmitting data (e.g., files or web pages) in response to requests from the storage management computing device 14 and the plurality of client computing devices 12(l)-12(n).
- the plurality of storage devices 16(l)-16(n) may be hardware such as hard disk drives, solid state devices (SSD), or magnetic tapes, or software or may represent a system with multiple external resource servers, which may include internal or external networks. While in this example it is illustrated that the plurality of storage devices 16(l)-16(n) are outside the storage management computing device 14, the plurality of storage devices 16(l)-16(n) can reside within the storage management computing device 14 in other examples.
- the exemplary network environment 10 includes the plurality of client computing devices 12(l)-12(n), the storage management computing device 14, and the plurality of storage devices 16(l)-16(n) described and illustrated herein, other types and numbers of systems, devices, components, and/or other elements in other topologies can be used. It is to be understood that the systems of the examples described herein are for exemplary purposes, as many variations of the specific hardware and software used to implement the examples are possible, as will be appreciated by those of ordinary skill in the art.
- two or more computing systems or devices can be substituted for any one of the systems or devices in any example. Accordingly, principles and advantages of distributed processing, such as redundancy and replication also can be implemented, as desired, to increase the robustness and performance of the devices and systems of the examples.
- the examples may also be implemented on computer system(s) that extend across any suitable network using any suitable interface mechanisms and traffic technologies, including by way of example only teletraffic in any suitable form (e.g., voice and modem), wireless traffic media, wireless traffic networks, cellular traffic networks, G3 traffic networks, Public Switched Telephone Network (PSTNs), Packet Data Networks (PDNs), the Internet, intranets, and combinations thereof.
- PSTNs Public Switched Telephone Network
- PDNs Packet Data Networks
- the Internet intranets, and combinations thereof.
- the examples also may be embodied as a non-transitory computer readable medium having instructions stored thereon for one or more aspects of the present technology as described and illustrated by way of the examples herein, as described herein, which when executed by the processor, cause the processor to carry out the steps necessary to implement the methods of this technology as described and illustrated with the examples herein.
- the exemplary method begins at step 305 where the storage management computing device 14 receives a data operation request, such as a read request or a write request by way of example, from one of the plurality of client computing devices 12(l)-12(n), although the storage management computing device 14 can receive other types and/or numbers of requests from other devices.
- a data operation request such as a read request or a write request by way of example
- the storage management computing device 14 can receive other types and/or numbers of requests from other devices.
- the received data operation request includes a write request on an object, although the storage management computing device 14 can receive other types and/or numbers of data operation requests from other devices.
- step 310 the storage management computing device 14 caches the received write data operation into the cache within memory 20 of the storage management computing device 14, although the storage management computing device 14 can cache or otherwise store the operations at other memory locations.
- step 315 upon caching the received write data operation the storage management computing device 14 may determine when the cache within memory 20 has reached a threshold size.
- the cache within the memory 20 has a stored or otherwise set threshold size after which the cache cannot receive further data. Accordingly, when the storage management computing device 14 determines that the cache has not yet reached the threshold size, then the No branch is taken back to step 305 where the storage management computing device 14 continues to receive the data operation request from the plurality of client computing devices 12(l)-12(n).
- step 320 the storage management computing device 14 identifies an allocation area in one of the plurality of storage devices 16(l)-16(n) which is a solid state drive (SSD), although the storage management computing device 14 can identify the allocation area at other memory locations, such as in memory 20.
- allocation area relates to the memory space in the SSD where the contents from the cache could be transferred.
- the storage management computing device 14 includes metadata stored in the memory 20 that includes the address range in the memory strip within the SSD that can stage the data being flushed out of the cache within the memory 20.
- the storage management computing device 14 may use the metadata to identify the allocation area, although the storage management computing device 14 can use other types and/or amounts of information to identify the allocation area.
- the size allocation area identified by the storage management computing device 14 is at least equal to the size of the data in the cache that is going to be transferred, although the size of the allocation area can be more than the size of the data being transferred.
- the address range of the identified allocation area can include a combination of free space and previously stored data (due to fragmented data that was previously stored) in this example.
- step 325 the storage management computing device 14 determines or identifies the amount of data in the cache that can be transferred to the identified allocation area sequentially from the starting of the address range of the identified allocation area to the end of the address range of the identified allocation area.
- step 330 during the traversing the storage management computing device 14 determines when there is data stored in the address range of the identified allocation area, although the storage management computing device 14 can use other techniques to make the determination.
- the allocation area identified by the storage management computing device 14 can include data that was previously transferred from the cache within memory 20, although the identified allocation area can include other types and/or amounts of data. Accordingly, when the storage management computing device 14 determines that the data is present in the address range, then the Yes branch is taken in to step 335.
- step 335 the storage management computing device 14 reads the previously stored data in the address range of the allocation area.
- the storage management computing device 14 is required to read the previously stored data within the address range in the allocation area as the data has to be first read before writing the data back into the SSD.
- step 340 the storage management computing device 14 combines the read data from step 335 with the cache data that is required to be transferred to the allocation area, although the storage management computing device 14 can add other types and/or amounts of information.
- step 345 the storage management computing device 14 writes or transfers the data present in the cache within the memory 20 and the previously stored data that was read back into the identified allocation area within the SSD.
- step 330 when the storage management computing device 14 determines that there was no data found during the traversing, then the No branch is taken to this step 345.
- the storage management computing device 14 When the exemplary flow proceeds to step 345 with no data in the address range of the identified allocation area, then the storage management computing device 14 only writes or transfers the data from the cache within memory 20 to the identified allocation area.
- the storage management computing device 14 begins the write or transfers the data from the start of the address range of the identified allocation and proceeds to write or transfer the data sequentially in the address range.
- the technology is able to reduce the fragmentation in the SSD within the plurality of storage devices 16(l)-16(n) and the exemplary method ends at step 350.
- this technology provides a number of advantages including providing methods, non-transitory computer readable media and devices for minimizing fragmentation in SSD within an enterprise storage system.
- the technology By writing the data sequentially into the allocation area in the SSD, the technology able to significantly reduce the fragmentation in SSD thereby increases the memory utilization of the SSD.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A method, non-transitory computer readable medium, and device that assists with reducing memory fragmentation in solid state devices includes identifying an allocation area within an address range to write data from a cache. Next, the identified allocation area is determined for including previously stored data. The previously stored data is read from the identified allocation area when it is determined that the identified allocation area comprises previously stored data. Next, both the write data from the cache and the read previously stored data are written back into the identified allocation area sequentially through the address range.
Description
METHODS FOR MINIMIZING FRAGMENTATION IN SSD WITHIN A STORAGE
SYSTEM AND DEVICES THEREOF
FIELD
[0001] This application claims priority benefit of U.S. Utlity Patent Application Serial No. 15/195,093, filed June 28, 2016 and is hereby incorporated by reference in its entirety.
[0002] This technology generally relates to data storage management and, more particularly, methods for minimizing fragmentation in solid state devices (SSD) within a storage system and devices thereof.
BACKGROUND [0003] Repeated writing data sets to, and erasing data sets from, a data storage medium causes storage space to be used inefficiently and this phenomenon is called fragmentation within the data storage medium. Fragmentation within the data storage mediums phenomenon reduces storage capacity, and increases access and read times. Fragmentation occurs when a computing device does not allocate enough contiguous storage space to encode a complete data set as a single sequence, and instead divides the data set into portions which are encoded in gaps between other data sets. Typically, these data storage medium gaps arise because an earlier data set was deleted, or excess space was allocated to another stored data set. The degree to which a data storage medium is fragmented heavily dependent upon the size and number of data sets stored on it. [0004] To address the fragmentation issue, prior technologies uses the technique of defragmentation where the datasets written to a data storage medium is rearranged such that segments of each data set are written contiguously. Unfortunately, the technique used in the prior technologies fails to significantly reduce fragmentation and are time consuming, memory intensive operations that can significantly reduce the performance of a computer system while being executed.
BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIG. 1 is a block diagram of an environment with a storage management computing device that minimizes fragmentation in SSD within a storage system;
[0006] FIG. 2 is a block diagram of the exemplary storage management computing device shown in FIG. 1; and
[0007] FIG. 3 is an exemplary flow chart of an example of a method for minimizing fragmentation in SSD within a storage system. DETAILED DESCRIPTION
[0008] An environment 10 with a plurality of client computing devices 12(l)-12(n), an exemplary storage management computing device 14, a plurality of storage devices 16(l)-16(n) is illustrated in FIG. 1. In this particular example, the environment 10 in FIG. 1 includes the plurality of client computing devices 12(l)-12(n), the storage management computing device 14 and a plurality of storage devices 16(l)-16(n) coupled via one or more communication networks 30, although the environment could include other types and numbers of systems, devices, components, and/or other elements. The example of a method for minimizing fragmentation in SSD within a storage system is executed by the storage management computing device 14, although the approaches illustrated and described herein could be executed by other types and/or numbers of other computing systems and devices. The environment 10 may include other types and numbers of other network elements and devices, as is generally known in the art and will not be illustrated or described herein. This technology provides a number of advantages including providing methods, non-transitory computer readable media and devices for minimizing fragmentation in SSD within a storage system. [0009] Referring to FIG. 2, in this example the storage management computing device 14 includes a processor 18, a memory 20, and a communication interface 24 which are coupled together by a bus 26, although the storage management computing device 14 may include other types and numbers of elements in other configurations.
[0010] The processor 18 of the storage management computing device 14 may execute one or more programmed instructions stored in the memory 20 for dynamic resource reservation based on classified input/output requests as illustrated and described in the examples herein, although other types and numbers of functions and/or other operation can be performed. The processor 18 of the storage management computing device 14 may include one or more central processing units ("CPUs") or general purpose processors with one or more processing cores, such as AMD® processor(s), although other types of processor(s) could be used (e.g., Intel®).
[0011] The memory 20 of the storage management computing device 14 stores the programmed instructions and other data for one or more aspects of the present technology as described and illustrated herein, although some or all of the programmed instructions could be stored and executed elsewhere. A variety of different types of memory storage devices, such as a non-volatile memory, random access memory (RAM) or a read only memory (ROM) in the system or a floppy disk, hard disk, CD ROM, DVD ROM, or other computer readable medium which is read from and written to by a magnetic, optical, or other reading and writing system that is coupled to the processor 18, can be used for the memory 20.
[0012] The communication interface 24 of the storage management computing device 14 operatively couples and communicates with the plurality of client computing devices 12(l)-12(n) and the plurality of storage devices 16(l)-16(n), which are all coupled together by the communication network 30, although other types and numbers of communication networks or systems with other types and numbers of connections and configurations to other devices and elements. By way of example only, the communication network 30 can use TCP/IP over Ethernet and industry-standard protocols, including NFS, CIFS, SOAP, XML, LDAP, and SNMP, although other types and numbers of communication networks, can be used. The communication networks 30 in this example may employ any suitable interface mechanisms and network communication technologies, including, for example, any local area network, any wide area network (e.g., Internet), teletraffic in any suitable form (e.g., voice, modem, and the like), Public Switched Telephone Network (PSTNs), Ethernet-based Packet Data Networks (PDNs), and any combinations thereof and the like. In this example, the bus 26 is a universal serial bus, although other bus types and links may be used, such as PCI-Express or hyper-transport bus.
[0013] Each of the plurality of client computing devices 12(l)-12(n) includes a central processing unit (CPU) or processor, a memory, and an I/O system, which are coupled together by a bus or other link, although other numbers and types of network devices could be used. The plurality of client computing devices 12(l)-12(n) communicates with the storage management computing device 14 for storage management, although the client computing devices 12(l)-12(n) can interact with the storage management computing device 14 for other purposes. By way of example, the plurality of client computing devices 12(l)-12(n) may run application(s) that may provide an interface to make requests to access, modify, delete, edit, read or write data within storage management computing device 14 or the plurality of storage devices 16(l)-16(n) via the communication network 30.
[0014] Each of the plurality of storage devices 16(l)-16(n) includes a central processing unit (CPU) or processor, and an I/O system, which are coupled together by a bus or other link, although other numbers and types of network devices could be used. Each plurality of storage devices 16(l)-16(n) assists with storing data, although the plurality of storage devices 16(1)- 16(n) can assist with other types of operations such as storing of files or data. Various network processing applications, such as CIFS applications, NFS applications, HTTP Web Data storage device applications, and/or FTP applications, may be operating on the plurality of storage devices 16(l)-16(n) and transmitting data (e.g., files or web pages) in response to requests from the storage management computing device 14 and the plurality of client computing devices 12(l)-12(n). It is to be understood that the plurality of storage devices 16(l)-16(n) may be hardware such as hard disk drives, solid state devices (SSD), or magnetic tapes, or software or may represent a system with multiple external resource servers, which may include internal or external networks. While in this example it is illustrated that the plurality of storage devices 16(l)-16(n) are outside the storage management computing device 14, the plurality of storage devices 16(l)-16(n) can reside within the storage management computing device 14 in other examples.
[0015] Although the exemplary network environment 10 includes the plurality of client computing devices 12(l)-12(n), the storage management computing device 14, and the plurality of storage devices 16(l)-16(n) described and illustrated herein, other types and numbers of systems, devices, components, and/or other elements in other topologies can be used. It is to be understood that the systems of the examples described herein are for exemplary purposes, as many variations of the specific hardware and software used to implement the examples are possible, as will be appreciated by those of ordinary skill in the art.
[0016] In addition, two or more computing systems or devices can be substituted for any one of the systems or devices in any example. Accordingly, principles and advantages of distributed processing, such as redundancy and replication also can be implemented, as desired, to increase the robustness and performance of the devices and systems of the examples. The examples may also be implemented on computer system(s) that extend across any suitable network using any suitable interface mechanisms and traffic technologies, including by way of example only teletraffic in any suitable form (e.g., voice and modem), wireless traffic media, wireless traffic networks, cellular traffic networks, G3 traffic networks, Public Switched
Telephone Network (PSTNs), Packet Data Networks (PDNs), the Internet, intranets, and combinations thereof.
[0017] The examples also may be embodied as a non-transitory computer readable medium having instructions stored thereon for one or more aspects of the present technology as described and illustrated by way of the examples herein, as described herein, which when executed by the processor, cause the processor to carry out the steps necessary to implement the methods of this technology as described and illustrated with the examples herein.
[0018] An example of a method for minimizing fragmentation in SSD within a storage system will now be described herein with reference to FIGS.1-3. The exemplary method begins at step 305 where the storage management computing device 14 receives a data operation request, such as a read request or a write request by way of example, from one of the plurality of client computing devices 12(l)-12(n), although the storage management computing device 14 can receive other types and/or numbers of requests from other devices. In this particular example, the received data operation request includes a write request on an object, although the storage management computing device 14 can receive other types and/or numbers of data operation requests from other devices.
[0019] Next in step 310, the storage management computing device 14 caches the received write data operation into the cache within memory 20 of the storage management computing device 14, although the storage management computing device 14 can cache or otherwise store the operations at other memory locations.
[0020] Next in step 315, upon caching the received write data operation the storage management computing device 14 may determine when the cache within memory 20 has reached a threshold size. In this particular example, the cache within the memory 20 has a stored or otherwise set threshold size after which the cache cannot receive further data. Accordingly, when the storage management computing device 14 determines that the cache has not yet reached the threshold size, then the No branch is taken back to step 305 where the storage management computing device 14 continues to receive the data operation request from the plurality of client computing devices 12(l)-12(n).
[0021] However, if back in step 315 when the storage management computing device 14 determines that the cache is full, then the Yes branch is taken to step 320. In step 320, the
storage management computing device 14 identifies an allocation area in one of the plurality of storage devices 16(l)-16(n) which is a solid state drive (SSD), although the storage management computing device 14 can identify the allocation area at other memory locations, such as in memory 20. In this example, allocation area relates to the memory space in the SSD where the contents from the cache could be transferred. Additionally in this example, the storage management computing device 14 includes metadata stored in the memory 20 that includes the address range in the memory strip within the SSD that can stage the data being flushed out of the cache within the memory 20. The storage management computing device 14 may use the metadata to identify the allocation area, although the storage management computing device 14 can use other types and/or amounts of information to identify the allocation area. Further in this example, the size allocation area identified by the storage management computing device 14 is at least equal to the size of the data in the cache that is going to be transferred, although the size of the allocation area can be more than the size of the data being transferred. Furthermore, the address range of the identified allocation area can include a combination of free space and previously stored data (due to fragmented data that was previously stored) in this example.
[0022] Next in step 325, the storage management computing device 14 determines or identifies the amount of data in the cache that can be transferred to the identified allocation area sequentially from the starting of the address range of the identified allocation area to the end of the address range of the identified allocation area. [0023] In step 330, during the traversing the storage management computing device 14 determines when there is data stored in the address range of the identified allocation area, although the storage management computing device 14 can use other techniques to make the determination. In this example, the allocation area identified by the storage management computing device 14 can include data that was previously transferred from the cache within memory 20, although the identified allocation area can include other types and/or amounts of data. Accordingly, when the storage management computing device 14 determines that the data is present in the address range, then the Yes branch is taken in to step 335.
[0024] In step 335, the storage management computing device 14 reads the previously stored data in the address range of the allocation area. In this example, the storage management computing device 14 is required to read the previously stored data within the address range in the allocation area as the data has to be first read before writing the data back into the SSD.
[0025] Next in step 340, the storage management computing device 14 combines the read data from step 335 with the cache data that is required to be transferred to the allocation area, although the storage management computing device 14 can add other types and/or amounts of information. [0026] Next in step 345, the storage management computing device 14 writes or transfers the data present in the cache within the memory 20 and the previously stored data that was read back into the identified allocation area within the SSD. Additionally back in step 330, when the storage management computing device 14 determines that there was no data found during the traversing, then the No branch is taken to this step 345. When the exemplary flow proceeds to step 345 with no data in the address range of the identified allocation area, then the storage management computing device 14 only writes or transfers the data from the cache within memory 20 to the identified allocation area. In this example, the storage management computing device 14 begins the write or transfers the data from the start of the address range of the identified allocation and proceeds to write or transfer the data sequentially in the address range. By writing the data into the allocation area sequentially, the technology is able to reduce the fragmentation in the SSD within the plurality of storage devices 16(l)-16(n) and the exemplary method ends at step 350.
[0027] Accordingly, as illustrated and described by way of the examples herein, this technology provides a number of advantages including providing methods, non-transitory computer readable media and devices for minimizing fragmentation in SSD within an enterprise storage system. By writing the data sequentially into the allocation area in the SSD, the technology able to significantly reduce the fragmentation in SSD thereby increases the memory utilization of the SSD.
[0028] Having thus described the basic concept of the technology, it will be rather apparent to those skilled in the art that the foregoing detailed disclosure is intended to be presented by way of example only, and is not limiting. Various alterations, improvements, and modifications will occur and are intended to those skilled in the art, though not expressly stated herein. These alterations, improvements, and modifications are intended to be suggested hereby, and are within the spirit and scope of the technology. Additionally, the recited order of processing elements or sequences, or the use of numbers, letters, or other designations therefore, is not intended to limit the claimed processes to any order except as may be specified in the
claims. Accordingly, the invention is limited only by the following claims and equivalents thereto.
Claims
1. A method for reducing fragmentation in a solid state device (SSD), the method comprising:
identifying, by a storage management computing device, an allocation area within an address range to write data from a cache;
determining, by the storage management computing device, when there is previously stored data in the identified allocation area;
reading, by the storage management computing device, the previously stored data in the identified allocation area when the determination indicates that the identified allocation area comprises previously stored data; and
writing, by the storage management computing device, both the write data from the cache and the read previously stored data back into the identified allocation area sequentially through the address range.
2. The method as set forth in claim 1 further comprising writing, by the storage
management computing device, only write data from the cache to the identified allocation area sequentially through the address range when the previously stored data is not determined to be present in the identified allocation area.
3. The method as set forth in claim 1 or 2 further comprising receiving, by the storage management computing device, a write data operation from a client computing device.
4. The method as set forth in claim 3 further comprising:
caching, by the storage management computing device, the received write data operation in the cache; and
determining, by the storage management computing device, when the cache has reach a threshold memory size.
5. The method as set forth in claim 4 further comprising identifying, by the storage management computing device, the allocation area to transfer data from the cache when the cache is determined to have reached the threshold memory size.
6. A non-transitory computer readable medium having stored thereon instructions for reducing fragmentation in a solid state device (SSD) comprising executable code which when executed by a processor, causes the processor to perform steps comprising:
identifying an allocation area within an address range to write data from a cache;
determining when there is previously stored data in the identified allocation area;
reading the previously stored data in the identified allocation area when the determination indicates that the identified allocation area comprises previously stored data; and
writing both the write data from the cache and the read previously stored data back into the identified allocation area sequentially through the address range.
7. The medium as set forth in claim 6 further comprising writing only write data from the cache to the identified allocation area sequentially through the address range when the previously stored data is not determined to be present in the identified allocation area.
8. The medium as set forth in claim 6 or 7 further comprising receiving a write data operation from a client computing device.
9. The medium as set forth in claim 8 further comprising:
caching the received write data operation in the cache; and
determining when the cache has reached a threshold memory size.
10. The medium as set forth in claim 9 further comprising identifying the allocation area to transfer data from the cache when the cache is determined to have reached the threshold memory size.
11. A storage management computing device comprising:
a processor;
a memory coupled to the processor, wherein the processor is configured to execute program instructions stored in the memory to:
identify an allocation area within an address range to write data from a cache; determine when there is previously stored data in the identified allocation area; read the previously stored data in the identified allocation area when the determination indicates that the identified allocation area comprises previously stored data; and
write both the write data from the cache and the read previously stored data back into the identified allocation area sequentially through the address range.
12. The device as set forth in claim 11 wherein the processor coupled to the memory is further configured to execute at least one additional program instruction stored in the memory to write only write data from the cache to the identified allocation area sequentially through the address range when the previously stored data is not determined to be present in the identified allocation area.
13. The device as set forth in claim 11 or 12 wherein the processor coupled to the memory is further configured to execute at least one additional program instruction stored in the memory to receive a write data operation from a client computing device.
14. The device as set forth in claim 13 wherein the processor coupled to the memory is further configured to execute at least one additional program instruction stored in the memory to: cache the received write data operation in the cache; and
determine when the cache has reached a threshold memory size.
15. The device as set forth in claim 14 wherein the processor coupled to the memory is further configured to execute at least one additional program instruction stored in the memory to identify the allocation area to transfer data from the cache when the cache is determined to have reached the threshold memory size.
16. The device as set forth in any of claims 11 to 15, wherein the allocation area comprises memory space in one or more solid state devices.
17. A computer program comprising program instructions that when executed by one or more processors in a computing system cause the computing system to perform the method of any of claims 1 to 5.
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| DE112017003232.6T DE112017003232T5 (en) | 2016-06-28 | 2017-06-09 | A method of minimizing fragmentation in an SSD in a storage system and apparatus therefor |
| CN201780040295.7A CN109416663B (en) | 2016-06-28 | 2017-06-09 | Method for minimizing fragmentation in SSDs within storage systems and devices thereof |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US15/195,093 | 2016-06-28 | ||
| US15/195,093 US10430081B2 (en) | 2016-06-28 | 2016-06-28 | Methods for minimizing fragmentation in SSD within a storage system and devices thereof |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018005041A1 true WO2018005041A1 (en) | 2018-01-04 |
Family
ID=59091609
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/US2017/036680 Ceased WO2018005041A1 (en) | 2016-06-28 | 2017-06-09 | Methods for minimizing fragmentation in ssd within a storage system and devices thereof |
Country Status (4)
| Country | Link |
|---|---|
| US (3) | US10430081B2 (en) |
| CN (1) | CN109416663B (en) |
| DE (1) | DE112017003232T5 (en) |
| WO (1) | WO2018005041A1 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111045732B (en) * | 2019-12-05 | 2023-06-09 | 腾讯科技(深圳)有限公司 | Data processing method, chip, device and storage medium |
| US12541312B1 (en) | 2024-10-25 | 2026-02-03 | Netapp, Inc. | Storage operations based on enhanced contiguity awareness |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110320733A1 (en) * | 2010-06-04 | 2011-12-29 | Steven Ted Sanford | Cache management and acceleration of storage media |
| US20140289449A1 (en) * | 2012-09-25 | 2014-09-25 | Toshiba Solutions Corporation | Storage apparatus, storage controller and method for relocating data in solid state drive |
| US20150106410A1 (en) * | 2013-10-10 | 2015-04-16 | Apple Inc. | Memory System with Shared File System |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8108590B2 (en) * | 2000-01-06 | 2012-01-31 | Super Talent Electronics, Inc. | Multi-operation write aggregator using a page buffer and a scratch flash block in each of multiple channels of a large array of flash memory to reduce block wear |
| US6418510B1 (en) * | 2000-09-14 | 2002-07-09 | International Business Machines Corporation | Cooperative cache and rotational positioning optimization (RPO) scheme for a direct access storage device (DASD) |
| JP4418439B2 (en) * | 2006-03-07 | 2010-02-17 | パナソニック株式会社 | Nonvolatile storage device and data writing method thereof |
| US8135933B2 (en) * | 2007-01-10 | 2012-03-13 | Mobile Semiconductor Corporation | Adaptive memory system for enhancing the performance of an external computing device |
| KR101717644B1 (en) * | 2009-09-08 | 2017-03-27 | 샌디스크 테크놀로지스 엘엘씨 | Apparatus, system, and method for caching data on a solid-state storage device |
| US9003159B2 (en) * | 2009-10-05 | 2015-04-07 | Marvell World Trade Ltd. | Data caching in non-volatile memory |
| KR101638061B1 (en) * | 2009-10-27 | 2016-07-08 | 삼성전자주식회사 | Flash memory system and flash defrag method thereof |
| US8407403B2 (en) * | 2009-12-07 | 2013-03-26 | Microsoft Corporation | Extending SSD lifetime using hybrid storage |
| US20130019057A1 (en) * | 2011-07-15 | 2013-01-17 | Violin Memory, Inc. | Flash disk array and controller |
| KR101824295B1 (en) * | 2011-08-12 | 2018-01-31 | 샌디스크 테크놀로지스 엘엘씨 | Cache management including solid state device virtualization |
| CN102968380B (en) * | 2012-11-02 | 2016-12-07 | 深圳市同洲电子股份有限公司 | The management method of memory partitioning and device in memory file system |
| US20140173178A1 (en) * | 2012-12-19 | 2014-06-19 | Apple Inc. | Joint Logical and Physical Address Remapping in Non-volatile Memory |
| US10203876B2 (en) * | 2013-11-22 | 2019-02-12 | Nec Corporation | Storage medium apparatus, method, and program for storing non-contiguous regions |
| JP6171084B2 (en) * | 2014-03-27 | 2017-07-26 | 株式会社日立製作所 | Storage system |
| US9483402B2 (en) * | 2014-09-24 | 2016-11-01 | Netapp, Inc. | Methods and systems for dynamically controlled caching |
| US10235044B2 (en) * | 2015-07-27 | 2019-03-19 | Datrium, Inc. | System and methods for storage data deduplication |
-
2016
- 2016-06-28 US US15/195,093 patent/US10430081B2/en active Active
-
2017
- 2017-06-09 DE DE112017003232.6T patent/DE112017003232T5/en active Pending
- 2017-06-09 CN CN201780040295.7A patent/CN109416663B/en active Active
- 2017-06-09 WO PCT/US2017/036680 patent/WO2018005041A1/en not_active Ceased
-
2019
- 2019-09-26 US US16/584,025 patent/US11132129B2/en active Active
-
2021
- 2021-09-27 US US17/486,160 patent/US11592986B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20110320733A1 (en) * | 2010-06-04 | 2011-12-29 | Steven Ted Sanford | Cache management and acceleration of storage media |
| US20140289449A1 (en) * | 2012-09-25 | 2014-09-25 | Toshiba Solutions Corporation | Storage apparatus, storage controller and method for relocating data in solid state drive |
| US20150106410A1 (en) * | 2013-10-10 | 2015-04-16 | Apple Inc. | Memory System with Shared File System |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109416663B (en) | 2023-07-21 |
| DE112017003232T5 (en) | 2019-03-28 |
| US20220083232A1 (en) | 2022-03-17 |
| US20200019321A1 (en) | 2020-01-16 |
| US20170371556A1 (en) | 2017-12-28 |
| CN109416663A (en) | 2019-03-01 |
| US11592986B2 (en) | 2023-02-28 |
| US10430081B2 (en) | 2019-10-01 |
| US11132129B2 (en) | 2021-09-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI476676B (en) | File system for storage device which uses different cluster sizes | |
| US7844681B2 (en) | Network file sharing method and system | |
| US8135918B1 (en) | Data de-duplication for iSCSI | |
| EP4087212B1 (en) | Method and apparatus for cloning file system | |
| US11592986B2 (en) | Methods for minimizing fragmentation in SSD within a storage system and devices thereof | |
| CN103140839B (en) | The memory storage that can carry out high-speed cache carries out the system and method for efficient journal | |
| WO2017042978A1 (en) | Computer system, storage device, and data management method | |
| US6614709B2 (en) | Method and apparatus for processing commands in a queue coupled to a system or memory | |
| US10311026B2 (en) | Compressed data layout for optimizing data transactions | |
| US8595430B2 (en) | Managing a virtual tape library domain and providing ownership of scratch erased volumes to VTL nodes | |
| US10387043B2 (en) | Writing target file including determination of whether to apply duplication elimination | |
| CN107924405A (en) | Data are stored in storage device | |
| US20180246666A1 (en) | Methods for performing data deduplication on data blocks at granularity level and devices thereof | |
| EP3616044B1 (en) | Methods for performing global deduplication on data blocks and devices thereof | |
| WO2012053152A1 (en) | Storage system, data management device, method and program | |
| US10057350B2 (en) | Methods for transferring data based on actual size of a data operation and devices thereof | |
| US12373120B2 (en) | Method, distributed controller, and system for managing sequential storage devices in distributed storage environment | |
| US9773004B2 (en) | Methods for replicating data and enabling instantaneous access to data and devices thereof | |
| CN121116866A (en) | Data processing methods, apparatus, computer equipment, storage media and software products | |
| US20110173288A1 (en) | Network storage system and related method for network storage | |
| AU2002248644A1 (en) | Network file sharing method and system |
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: 17731713 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 17731713 Country of ref document: EP Kind code of ref document: A1 |