A cache server receives wear usage information associated with a storage device, and receives an object to be cached in the storage device. The cache server also determines whether to store the object in the storage device based on the wear usage information. The cache server provides the object to the storage device for storage when it is determined that the object is to be stored in the storage device, and prevents the object from being stored in the storage device when it is determined that the object is not to be stored in the storage device.
|
9. A device, comprising:
a processor to:
receive wear usage information associated with a storage device,
receive an object to be cached in the storage device,
determine whether to store the object in the storage device based on the wear usage information,
when determining whether to store the object, the processor is to:
determine that the object is to be stored in the storage device when at least one of:
a portion of the object is already stored in the storage device, or
a temporal limit of the storage device has not been reached,
the temporal limit indicating a quantity of erase/write operations permitted by the storage device within a particular period of time and
determine that the object is not to be stored in the storage device when at least one of:
the portion of the object is not already stored in the storage device, or
the temporal limit of the storage device has been reached,
provide the object to the storage device for storage when the object is to be stored in the storage device, and
prevent the object from being stored in the storage device when the object is not to be stored in the storage device.
1. A method, comprising:
receiving, by a device, wear usage information associated with a storage device;
receiving, by the device, an object to be cached in the storage device;
determining, by the device, whether to store the object in the storage device based on the wear usage information,
determining whether to store the object including:
determining that the object is to be stored in the storage device when at least one of:
a portion of the object is already stored in the storage device, or
a temporal limit of the storage device has not been reached,
the temporal limit indicating a quantity of erase/write operations permitted by the storage device within a particular period of time and
determining that the object is not to be stored in the storage device when at least one of:
the portion of the object is not already stored in the storage device, or
the temporal limit of the storage device has been reached;
providing, by the device, the object to the storage device for storage when the object is to be stored in the storage device; and
preventing, by the device, the object from being stored in the storage device when the object is not to be stored in the storage device.
16. A non-transitory computer-readable medium storing instructions, the instructions comprising:
one or more instructions that, when executed by a processor of a device, cause the processor to:
receive wear usage information associated with a storage device,
receive an object to be cached in the storage device,
determine whether to store the object in the storage device based on the wear usage information,
the one or more instructions to determine whether to store the object including:
one or more instructions to determine that the object is to be stored in the storage device when at least one of:
a portion of the object is already stored in the storage device, or
a temporal limit of the storage device has not been reached,
the temporal limit indicating a quantity of erase/write operations permitted by the storage device within a particular period of time; and
one or more instructions to determine that the object is not to be stored in the storage device when at least one of:
the portion of the object is not already stored in the storage device, or
the temporal limit of the storage device has been reached,
provide the object to the storage device for storage when the object is to be stored in the storage device, and
prevent the object from being stored in the storage device when the object is not to be stored in the storage device.
2. The method of
providing the object to another storage device for storage when the object is not to be stored in the storage device.
3. The method of
storing information associated with the object in a memory associated with the device.
4. The method of
5. The method of
retrieving, from a memory associated with the device, previously stored information associated with the object;
comparing the previously stored information associated with the object with information associated with the object;
determining a number of times the object has been requested based on comparing the previously stored information associated with the object with the information associated with the object; and
determining whether to store the object in the storage device based on the wear usage information and the number of times the object has been requested.
6. The method of
determining that the object is to be stored in the storage device when the number of times the object has been requested is greater than a particular threshold;
and
determining that the object is not to be stored in the storage device when:
the number of times the object has been requested is less than or equal to the particular threshold.
7. The method of
disabling wear functionality associated with the storage device.
8. The method of
10. The device of
provide the object to another storage device for storage when the object is not to be stored in the storage device.
11. The device of
store information associated with the object in a memory associated with the device.
12. The device of
retrieve, from the memory associated with the device, previously stored information associated with the object,
compare the previously stored information associated with the object with the information associated with the object,
determine a number of times the object has been requested based on comparing the previously stored information associated with the object with the information associated with the object, and
determine whether to store the object in the storage device based on the wear usage information and the number of times the object has been requested.
13. The device of
determine that the object is to be stored in the storage device when the number of times the object has been requested is greater than a particular threshold,
and
determine that the object is not to be stored in the storage device when:
the number of times the object has been requested is less than or equal to the particular threshold.
14. The device of
disable wear functionality associated with the storage device.
15. The device of
17. The non-transitory computer-readable medium of
one or more instructions that, when executed by the processor, cause the processor to:
provide the object to another storage device for storage when the object is not to be stored in the storage device.
18. The non-transitory computer-readable medium of
one or more instructions that, when executed by the processor, cause the processor to:
store information associated with the object in a memory associated with the device.
19. The non-transitory computer-readable medium of
one or more instructions that, when executed by the processor, cause the processor to:
retrieve, from the memory associated with the device, previously stored information associated with the object,
compare the previously stored information associated with the object with the information associated with the object,
determine a number of times the object has been requested based on the comparison, and
determine whether to store the object in the storage device based on the wear usage information and the number of times the object has been requested.
20. The non-transitory computer-readable medium of
one or more instructions that, when executed by the processor, cause the processor to:
determine that the object is to be stored in the storage device when the number of times the object has been requested is greater than a particular threshold,
and
determine that the object is not to be stored in the storage device when:
the number of times the object has been requested is less than or equal to the particular threshold.
21. The non-transitory computer-readable medium of
one or more instructions that, when executed by the processor, cause the processor to:
disable erase/write cycle throttling performed by the storage device.
|
A service provider is an entity (e.g., a business or an organization) that sells bandwidth provided by a network (e.g., the Internet, a data network, a telecommunication network, etc.) associated with the service provider. Service providers may include telecommunications companies, data carriers, wireless communications providers, Internet service providers, cable television operators offering high-speed Internet access, etc. The rapid growth in the transmission of, for example, video content, audio content, images, and software downloads, is creating much higher bandwidth demands on service providers, with sharp bandwidth peaks that may be due to suddenly popular objects or the occurrence of events.
In order to address such higher bandwidth demands, service providers deploy proxy cache devices, such as, cache servers, in their networks. The cache servers can cache popular objects (e.g., data corresponding to video content, audio content, images, software downloads, etc.), which enables the service providers to optimize network utilization and to save on the backhaul bandwidth costs. In one example, the cache servers may store the objects in storage devices that have a limited number of write operations before failure, referred to as limited usage storage devices herein. Examples of such limited use storage devices include storage devices based on NAND flash technology.
In limited usage storage devices, each storage unit or page has a limited number of erase/write cycles before the page can no longer retain data reliably. Erase/write cycles are required when content of a physical page must change or update, such as when new content needs to be written to the page. In order to guarantee the lifetime (e.g., three years, five years, etc.) of a limited usage storage device, the limited usage storage device must perform some type of erase/write cycle throttling. For example, the storage device may utilize the erase limitations to lengthen write operation times, which may ensure that device usage remains under a particular number of erase/write operations for a given period of time. However, lengthening write operations times may degrade the performance of the storage device. Wear leveling is an industry standard technique used to lengthen the lifetime of a limited usage storage device, but wear leveling fails to provide lifetime guarantees. Wear leveling changes the mapping of logical storage addresses to physical storage addresses over time, so that repeated writes to the same storage address will not wear out a specific part of the storage device.
According to one aspect, a method may include receiving, by a device, wear usage information associated with a storage device; and receiving, by the device, an object to be cached in the storage device. The method may also include determining, by the device, whether to store the object in the storage device based on the wear usage information, and providing, by the device, the object to the storage device for storage when it is determined that the object is to be stored in the storage device. The method may further include preventing, by the device, the object from being stored in the storage device when it is determined that the object is not to be stored in the storage device.
According to another aspect, a device may include a processor to: receive wear usage information associated with a storage device; receive an object to be cached in the storage device; determine whether to store the object in the storage device based on the wear usage information; provide the object to the storage device for storage when it is determined that the object is to be stored in the storage device; and prevent the object from being stored in the storage device when it is determined that the object is not to be stored in the storage device.
According to still another aspect, a computer-readable medium may include one or more instructions that, when executed by a processor of a device, cause the processor to: receive wear usage information associated with a storage device; receive an object to be cached in the storage device; determine whether to store the object in the storage device based on the wear usage information; provide the object to the storage device for storage when it is determined that the object is to be stored in the storage device; and prevent the object from being stored in the storage device when it is determined that the object is not to be stored in the storage device.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate one or more implementations described herein and, together with the description, explain these implementations. In the drawings:
The following detailed description refers to the accompanying drawings. The same reference numbers in different drawings may identify the same or similar elements.
Systems and/or methods described herein may enable a caching system to manage lifetimes (or lives) of limited usage storage devices, such as NAND flash storage devices.
As further shown in
The cache server may receive the wear usage information from the first storage device and the second storage device, and may receive an object to be cached (e.g., in one of the first storage device or the second storage device). The cache server may determine whether to store the object in the first storage device based on the wear usage information associated with the first storage device and/or based on information associated with the object (e.g., whether the object is popular content, new content, old content, etc.). If the cache server determines that the object should be stored in the first storage device, the cache server may provide the object to the first storage device for storage. If the cache server determines that the object should not be stored in the first storage device, the cache server may skip storing (i.e., prevent storage) the object in the first storage device. Alternatively, or additionally, if the cache server determines that the object should not be stored in the first storage device, the cache server may provide the object to the second storage device (or one or more other storage devices) for storage.
The cache server may store (e.g., in a memory associated with the cache server) the information associated with the object so that the cache server may utilize such information if the object is provided to the cache server in the future. As further shown in
The term “object,” as used herein, is to be broadly interpreted to include content, such as video, audio, images, text, software downloads, combinations of video, audio, images, and/or text, etc.
The term “component,” as used herein, is intended to be broadly construed to include hardware (e.g., a processor, a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a chip, a memory device (e.g., a read only memory (ROM), a random access memory (RAM), etc.), etc.) or a combination of hardware and software (e.g., a processor, microprocessor, ASIC, etc. executing software contained in a memory device).
Cache server 210 may include one or more server devices, or other types of computation or communication devices, that gather, process, search, and/or provide information in a manner described herein. In one example implementation, cache server 210 may include one or more server devices that may cache (or store) an object in storage devices 220. In one example, cache server 210 may store popular objects, which may enable a service provider to optimize network utilization and to save on backhaul bandwidth costs. Cache server 210 may receive an object to be cached in one of storage devices 220. Cache server 210 may determine whether to store the object in storage device 220-1 based on wear usage information associated with storage device 220-1 and/or based on information associated with the object (e.g., whether the object is popular content, new content, old content, the size of the object, the rate at which a write of an object needs to be performed (e.g., video transmission rate), an object type, etc.).
If cache server 210 determines that the object should be stored in storage device 220-1, cache server 210 may provide the object to storage device 220-1 for storage. If cache server 210 determines that the object should not be stored in storage device 220-1, cache server 210 may skip storing the object in storage device 220-1. Alternatively, or additionally, if cache server 210 determines that the object should not be stored in storage device 220-1, cache server 210 may provide the object to another storage device (e.g., storage device 220-N) for storage.
Storage device 220 may include one or more storage devices that may store objects, and/or a magnetic and/or optical recording medium and its corresponding drive. In one example implementation, storage device 220 may include a limited usage storage device, such as a storage device based on NAND flash technology, a storage device based on NOR flash technology, and/or storage devices based on other types of non-volatile storage technology. In one example implementation, storage device 220 may receive objects from cache server 210, and may store the received objects. In order to guarantee the lifetime (e.g., three years, five years, etc.) of storage device 220, storage device 220 may perform some type of erase/write cycle throttling. For example, storage device 220 may utilize the erase limitations to lengthen write operation times, which may ensure that storage device 220 usage remains under a particular number of erase/write operations. Storage device 220 may also utilize wear leveling to lengthen the lifetime of storage device 220.
Network 230 may include a service provider network, such as a local area network (LAN); a wide area network (WAN); a metropolitan area network (MAN); a telephone network (e.g., the Public Switched Telephone Network (PSTN) or a cell network); the Internet; or a combination of networks.
Although
Processing unit 320 may include one or more processors, microprocessors, or other types of processing units that may interpret and execute instructions. In one example, processing unit 320 may be implemented as or include one or more ASICs, FPGAs, or the like. Main memory 330 may include one or more RAMs or other types of dynamic storage devices that may store information and/or instructions for execution by processing unit 320. ROM 340 may include one or more ROM devices or other types of static storage devices that may store static information and/or instructions for use by processing unit 320. Storage device 350 may include a magnetic and/or optical recording medium and its corresponding drive.
Input device 360 may include a mechanism that permits a user to input information to device 300, such as a keyboard, a mouse, a pen, a microphone, voice recognition and/or biometric mechanisms, a remote control, a touch screen, etc. Output device 370 may include a mechanism that outputs information to the user, including a display, a printer, a speaker, etc. Communication interface 380 may include any transceiver-like mechanism that enables device 300 to communicate with other devices, networks, and/or systems. For example, communication interface 380 may include mechanisms for communicating with another device or system via a network.
As described herein, device 300 may perform certain operations in response to processing unit 320 executing software instructions contained in a computer-readable medium, such as main memory 330. A computer-readable medium may be defined as a non-transitory memory device. A memory device may include space within a single physical memory device or spread across multiple physical memory devices. The software instructions may be read into main memory 330 from another computer-readable medium, such as storage device 350, or from another device via communication interface 380. The software instructions contained in main memory 330 may cause processing unit 320 to perform processes described herein. Alternatively, hardwired circuitry may be used in place of or in combination with software instructions to implement processes described herein. Thus, implementations described herein are not limited to any specific combination of hardware circuitry and software.
Although
As further shown in
Second storage device 220-2 may provide wear usage information 410-2 to cache server 210. Wear usage information 410-2 may be compared, by cache server 210, to a temporal limit of second storage device 220-2, such as number of daily erase/write operations permitted by second storage device 220-2 in accordance with a guaranteed life of second storage device 220-2, in order to determine whether to store an object in second storage device 220-2. Wear usage information 410-2 may also include an actual number of erase/write operations (or cycles) performed by second storage device 220-2 since second storage device 220-2 was first used.
Cache server 210 may receive wear usage information 410-1 and 410-2 from first storage device 220-1 and second storage device 220-2, and may receive an object 420 to be cached in one of first storage device 220-1 or second storage device 220-2. Cache server 210 may determine whether to store object 420 in first storage device 220-1 based on wear usage information 410-1 associated with first storage device 220-1 and/or based on information associated with object 420 (e.g., whether object 420 is popular content, new content, old content, the size of object 420, the rate at which a write of object 420 needs to be performed (e.g., video transmission rate), etc.). If cache server 210 determines that object 420 should be stored in first storage device 220-1, cache server 210 may provide object 420 to first storage device 220-1 for storage, as indicated by reference number 430. If cache server 210 determines that object 420 should not be stored in first storage device 220-1, cache server 210 may skip storing object 420 in first storage device 220-1, as indicated by reference number 440. Alternatively, or additionally, if cache server 210 determines that object 420 should not be stored in first storage device 220-1, cache server 210 may provide object 420 to second storage device 220-2 for storage, as indicated by reference number 450.
Cache server 210 may store (e.g., in a memory associated with cache server 210) the information associated with object 420 so that cache server 210 may utilize such information if object 420 is provided to cache server 210 in the future. As further shown in
Although
Wear usage component 500 may receive wear usage information 410 from storage device 220 (not shown in
Cache determiner component 510 may receive wear usage information 410 from wear usage component 500, and may receive object 420 to be cached in storage device 220. Cache determiner component 510 may determine whether to store object 420 in storage device 220 based on wear usage information 410 and/or based on information associated with object 420 (e.g., whether object 420 is popular content, new content, old content, etc.). For example, if a portion of object 420 is already stored in storage device 220, cache determiner component 510 may determine that a remaining portion of object 420 should be stored in storage device 220, as indicated by reference number 430. If object 420 is a new object, cache determiner component 510 may determine that object 420 should not be stored in storage device 220, as indicated by reference number 440. Alternatively, or additionally, if object 420 is a new object, cache determiner component 510 may determine that object 420 should be stored in another storage device 220, as indicated by reference number 450.
In one example implementation, cache determiner component 510 may retrieve (or request and receive) previously stored information 530 associated with object 420 (if any) from object information storage 520. If cache determiner component 510 cannot retrieve previously stored information 530, cache determiner component 510 may determine that object is a new object and should not be stored in storage device 220. Cache determiner component 510 may compare previously stored information 530 with the information associated with object 420 to determine a number of times that object 420 has been requested. Cache determiner component 510 may determine whether to store object 420 in storage device 220 based on the number of times that object 420 has been requested and/or based on wear usage information 410.
In one example, cache determiner component 510 may decide to store object 420 in storage device 220 when the number of times that object 420 has been requested is greater than a particular threshold number (e.g., three, four, five, etc.). Alternatively, or additionally, cache determiner component 510 may decide to store object 420 in storage device 220 when a temporal limit (e.g., a number of daily erase/write operations permitted by storage device 220 in accordance with a guaranteed life) of storage device 220 has not been reached. Alternatively, or additionally, cache determiner component 510 may skip storing object 420 in storage device 220 when the number of times that object 420 has been requested is less than or equal to the particular threshold number, and/or when the temporal limit of storage device 220 has been reached.
As further shown in
Object information storage 520 may include one or more RAMs or other types of dynamic storage devices that may store information associated with objects, one or more ROM devices or other types of static storage devices that may store information associated with objects, etc. In one example, object information storage 520 may store information associated with one or more objects previously received by cache server 210, the information associated with object 420, etc.
Although
As shown in
As illustrated in
As further shown in
Returning to
As further shown in
Process block 730 may include the process blocks depicted in
As further shown in
Process block 830 may include the process blocks depicted in
For example, in an implementation described above in connection with
Systems and/or methods described herein may enable a caching system to manage lifetimes (or lives) of limited usage storage devices, such as NAND flash storage devices.
The foregoing description of implementations provides illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention.
For example, while series of blocks have been described with regard to
It will be apparent that example aspects, as described above, may be implemented in many different forms of software, firmware, and hardware in the implementations illustrated in the figures. The actual software code or specialized control hardware used to implement these aspects should not be construed as limiting. Thus, the operation and behavior of the aspects were described without reference to the specific software code—it being understood that software and control hardware could be designed to implement the aspects based on the description herein.
Even though particular combinations of features are recited in the claims and/or disclosed in the specification, these combinations are not intended to limit the disclosure of the invention. In fact, many of these features may be combined in ways not specifically recited in the claims and/or disclosed in the specification. Although each dependent claim listed below may directly depend on only one other claim, the disclosure of the invention includes each dependent claim in combination with every other claim in the claim set.
No element, act, or instruction used in the present application should be construed as critical or essential to the invention unless explicitly described as such. Also, as used herein, the article “a” is intended to include one or more items and may be used interchangeably with ‘one or more. Where only one item is intended, the term “one” or similar language is used. Further, the phrase “based on” is intended to mean “based, at least in part, on” unless explicitly stated otherwise.
Kohli, Jaspal, Nishimoto, Michael
Patent | Priority | Assignee | Title |
10102381, | Nov 05 2010 | FEDEX SUPPLY CHAIN LOGISTICS & ELECTRONICS, INC | Testing device for removing customer personal information from an electronic device |
10284299, | Jun 02 2014 | BELKIN INTERNATIONAL, INC. | Optimizing placement of a wireless range extender |
10313467, | Sep 22 2014 | BELKIN INTERNATIONAL INC | Contextual routing device caching |
10325098, | Nov 05 2010 | FEDEX SUPPLY CHAIN LOGISTICS & ELECTRONICS, INC | Method for removing customer personal information from an electronic device |
10455046, | Sep 22 2014 | BELKIN INTERNATIONAL, INC. | Choreographed caching |
10496290, | Apr 11 2017 | EMC IP HOLDING COMPANY LLC | Method and system for window-based churn handling in data cache |
10756818, | Jun 02 2014 | BELKIN INTERNATIONAL, INC. | Optimizing placement of a wireless range extender |
10810141, | Sep 29 2017 | Intel Corporation | Memory control management of a processor |
10852979, | Jun 19 2019 | Dell Products L.P. | System and method of utilizing a non-volatile solid state storage device |
9936039, | Sep 22 2014 | BELKIN INTERNATIONAL INC | Choreographed caching |
Patent | Priority | Assignee | Title |
7747813, | Nov 24 2006 | Seagate Technology LLC | Multi-memory device system and method for managing a lifetime thereof |
7904619, | Nov 24 2006 | Seagate Technology LLC | System, method, and computer program product for reducing memory write operations using difference information |
8554983, | May 27 2008 | U S BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT | Devices and methods for operating a solid state drive |
20070260811, | |||
20080114930, | |||
20080126685, | |||
20080126720, | |||
20100064096, | |||
20100077096, | |||
20110131367, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Jun 14 2012 | NISHIMOTO, MICHAEL | JUNIPER NETWORK, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028382 | /0822 | |
Jun 14 2012 | KOHLI, JASPAL | JUNIPER NETWORK, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 028382 | /0822 | |
Jun 15 2012 | Juniper Networks, Inc. | (assignment on the face of the patent) | / |
Date | Maintenance Fee Events |
Nov 04 2014 | ASPN: Payor Number Assigned. |
Jun 04 2018 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 19 2022 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Dec 02 2017 | 4 years fee payment window open |
Jun 02 2018 | 6 months grace period start (w surcharge) |
Dec 02 2018 | patent expiry (for year 4) |
Dec 02 2020 | 2 years to revive unintentionally abandoned end. (for year 4) |
Dec 02 2021 | 8 years fee payment window open |
Jun 02 2022 | 6 months grace period start (w surcharge) |
Dec 02 2022 | patent expiry (for year 8) |
Dec 02 2024 | 2 years to revive unintentionally abandoned end. (for year 8) |
Dec 02 2025 | 12 years fee payment window open |
Jun 02 2026 | 6 months grace period start (w surcharge) |
Dec 02 2026 | patent expiry (for year 12) |
Dec 02 2028 | 2 years to revive unintentionally abandoned end. (for year 12) |