The present invention relates generally to memory devices. In particular, the present invention relates to providing systems, methods and devices for run-time configuration of mass memory devices.
In a typical environment involving digital data processing and/or data communications, memory devices are invoked for a variety of reasons, for example, to read, write, modify, delete, or change the attributes of the data that resides on a memory device. These operations (hereinafter referred to as memory ‘access’ operations) may be targeted to access varying chunks of data according the needs of an application program that invokes the specific memory access operation. For example, an application may require access to a small chunk of data from random addresses, the same address, or sequential addresses on the memory device. Similarly, the same or a different application may require access to large chunks of data from random addresses, the same address, or sequential addresses on the memory device. Examples of the different applications that may access a memory device include file systems, different databases, kernel reading code pages, and other applications that use the memory device.
It is often the case that a mass memory device is optimized for one kind of application, or a defined group of applications, with particular memory access characteristics. This optimization, for example, may entail optimization of data throughput, life time and/or power consumption associated with the memory device. Due to this fixed optimization strategy, when a memory device is placed into a different environment with new access demands, it may fail to optimally perform under the requirements of the new environment. The lack of flexibility in optimizing such memory devices may be partly due to inherent limitations that render these memory devices incapable of accommodating optimized functionalities for multiple kinds of access operations. In other cases, however, the reason for electing to a memory device for a defined, and thus limited, group of applications is to simplify the design, and to effect cost savings. In addition, it is generally very difficult for a memory device to predict access requirements that are necessitated by yet-to-be determined future application needs.
A method, system and memory device are therefore provided to overcome the deficiencies of the prior art systems by allowing run-time configuration of a mass memory device. In one embodiment of the present invention a method for configuring access to a memory device is provided. The method comprises receiving one or more commands for activating one or more access profiles associated with the memory device, and configuring access to the memory device in accordance with at least one of the access profiles. The access profiles may correspond to at least one of a random and a sequential mode of access. The access profiles may further correspond to at least one of a read, a write, an erase, and a modify attribute operation.
In another embodiment of the present invention, one or more access profiles are adapted to accommodate repeated access requests to an identical address of the memory device. In another embodiment, one or more access profiles are adapted to produce an optimized performance associated with the memory device. Furthermore, the performance may be optimized in accordance with at least one of: data throughput, lifetime, and power consumption associated with the memory device.
In another embodiment of the present invention, one or more received commands comprise a metadata portion for designating a preferred access profile corresponding to the command. Furthermore, a specific memory location may be utilized in accordance with the access profile. In one embodiment, the specific memory location may comprise a section of the memory device with special characteristics. For example, it may include a more durable and performance-effective portion of the physical memory, or a portion of the memory that utilizes a specific memory technology. In another embodiment, the specific memory location may comprise a separate physical memory chip.
In another embodiment of the present invention, one or more access profiles are associated with one or more partitions of the memory device. Yet, in another embodiment, the configuring of the memory device is adapted in parallel for two or more parallel access profiles. In one embodiment, such configuring is carried out in accordance with JESD84 standard for eMMC. This configuring may further comprise designating access priority levels to resolve simultaneous access conflicts to memory resources. In another embodiment of the present invention, the memory device is used to effect both mass memory and system memory implementations. In another embodiment, a default access profile may be used to configure the memory device upon power up.
Another aspect of the present invention relates to a memory device that comprises one or more registers for storing one or more predefined access profiles associated with the memory device. The memory device also comprises receiving means for receiving one or more commands for activating one or more access profiles associated with the memory device, and configuring means for configuring access to the memory device in accordance with at least one of the predefined access profiles. In another embodiment, a currently active access profile may reside in a designated memory register. In another embodiment, one or more of the predefined access profiles may be updated with a new version of the access profile.
In another embodiment of the present invention, a computer program product embodied on a computer-readable medium is disclosed. The computer program product comprises a computer code for receiving one or more commands for activating one or more access profiles associated with the memory device, and a computer code for configuring access to the memory device in accordance with at least one of the access profiles. In another embodiment, a system for accessing a memory device is disclosed. The system comprises an entity for receiving one or more commands for activating one or more access types associated with the memory device, and an entity for configuring access to the memory device in accordance with at least one of the access profiles. In another embodiment, a system for accessing a memory device is disclosed. The system comprises a host for issuing one or more commands in accordance with access needs for the memory device, and an entity for receiving the commands and configuring access to the memory device in accordance with at least one or more access profiles.
Those skilled in the art will appreciate that various embodiments discussed above, or parts thereof, may be combined in a variety of ways to create further embodiments that are encompassed by the present invention.
In the following description, for purposes of explanation and not limitation, details and descriptions are set forth in order to provide a thorough understanding of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments that depart from these details and descriptions.
The problem of configuring a memory device for use in different environments has been traditionally addressed by using separate memory devices in systems with different use cases. For example, a system may utilize a mass memory device separate from a system memory device to accommodate different memory access demands.
The various embodiments of the present invention disclose methods, systems and devices to enable run-time configuration of a memory device in accordance with certain memory access profiles. The configuration may be effected for a portion of the memory device, a partition of the memory device, or even one single access location on the memory device. Since the system that accesses the memory device knows, or is capable of determining, the type of memory access needs (e.g., whether it is a read, write, erase, modify attribute, random, or a sequential operation), it can issue commands for configuring the memory device in accordance with an access profile that is most optimized/suitable for the particular access command. Such access profiles, for example, may be adapted for optimizing data throughput, lifetime and/or power consumption associated with particular uses of the memory device. In addition, according to the embodiments of the present invention, a default access profile may be defined to configure a memory device when, for example, the device or system initially boots up. Such a default profile, while providing a starting point for potential future modifications, may be pre-selected to accommodate the most likely access needs for that memory device. This profile may remain in effect until the memory device is powered down, or it may be replaced by another profile in accordance with the embodiments of the present invention.
In accordance with embodiments of the present invention, the information regarding the nature and type of memory access allows the memory device to organize itself in a manner that is most suited for a particular access command, resulting in improved performance and higher reliability. These improvements are largely due to the elimination of background operations and unnecessary data merging that are normally associated with traditional memory access methods. Although effective in both the random and sequential memory access modes, the techniques of the various embodiments of the present invention may be more effective in optimizing sequential memory access operations, where background processing and data merging are more abundant. These optimizations further extend the life of the storage device, and result in reduced energy consumption by the device.
The embodiments of the present invention further enable the utilization of the same memory device both as the mass storage memory and the system memory, thus eliminating the need for separate memory devices that are utilized in the systems of prior art. For example, all non-volatile memory needs of a system may be accommodated using a single eMMC memory, where the Operating System image, user data, and other parameters may be stored on the same device. Similarly, in multimedia applications that require very high density mass storage devices (e.g., in the order of several Gigabytes), the very same memory device may be used to store the various types of user applications, the Operating System and other system data files. This consolidation is expected to further spur the adoption of a standardized memory device with higher production volumes, and to eventually lead to lower-cost memory devices. The advent of such cost-effective, single-memory devices are particularly beneficial to the development of mobile devices in which size and cost constraints are most significant.
In accordance with one embodiment of the present invention, as illustrated in
By the way of example, and not limitation, one predefined access profile may be a burst mode profile that facilitates high-speed transfer of large data chunks and provides a ‘ready’ indication to the host prior to, or after, such transfer. In order to minimize the transfer time, the needed flash memory management operations may take place subsequent to the transfer at a convenient time, for example, while no other activities or memory access operations are taking place. Another example of an access profile includes a random mode profile which enables quick access to short, random memory locations on the device. The memory device in accordance with embodiments of the present invention may further comprise another register for accommodating the currently active access profile. This profile, which may be any one of the supported predefined profiles, governs the current access operations to the memory device. For example, such register may comprise a default profile that is activated during the boot up of the host system and/or the power up of the memory device. This active profile may remain in effect until the memory device is powered down, or it may be replaced by another profile in accordance with the embodiments of the present invention. Run-time configurability of the memory device in accordance with the present invention is effected by replacing the contents of the currently active profile register with one of the predefined profiles that resides on the first set of registers. Accordingly, when the need for a new type of memory access arises, a command may be issued to activate a suitable profile. The command may activate any one of the predefined access profiles, including but not limited to, the default profile.
In accordance with another embodiment, the various access profiles may be updated or uploaded onto the memory device. For example, an existing access profile may be augmented (or completely replaced with a new version) to add or remove certain features and functionalities. Alternatively, or additionally, an entirely new access profile may be uploaded to the memory device, thus increasing the number of available access profiles that can be readily used to configure the memory device. By the way of example, and not by limitation, an access profile may be implemented as a binary file that further comprises the required logic to implement an access profile. This way, the access profile may be considered part of the memory device firmware responsible for handling specific accesses needs in an optimized fashion.
As describe above, the example embodiment of the present invention as illustrated in
While the embodiment of the present invention in accordance with
When in burst profile mode, the memory device, immediately after receiving all the data, may indicate “exit busy” and set the transfer mode to “transfer state,” thus facilitating faster execution of subsequent accesses by the host. In addition, while the commands corresponding to the first access profile are still being executed, the memory device may also enable the host to send additional commands corresponding to a different access profile. This way, a degree of parallelism in the I/O operations is established. Furthermore, access priority levels may be defined to resolve access conflicts, where two or more profiles run in parallel and require access to the same memory resource at the same time. Examples of such a memory resources include a RAM buffer, a Flash bus, and other memory resources.
In accordance with another embodiment of the present invention, the access profile associated with a media device may be adapted to comprise different control and/or setting profiles that are associated with different partitions of the memory device. Such partitions may comprise logical or physical partitions of the memory device. For example, one partition may be configured for random read/write operations while another partition may be configured to provide sequential access.
In accordance with another embodiment of the present invention, a memory access (e.g., an I/O read/write) command may be configured to comprise a metadata portion for designating a preferred access profile corresponding to that access command. For example, the system in accordance with the present invention may recognize that one address is being continuously and frequently updated, and accordingly, it may set an appropriate access profile for that memory command. The memory device—depending on its internal implementations and capabilities—may map such sustained and specific access operations to certain sections of the physical memory with special characteristics. For example, the mapping may be directed to a more a more durable and performance-effective portion of the physical memory, a portion of the memory that utilizes a specific memory technology, or to a separate physical chip that is more suitably designed for such repeated access operations. Thus, the memory device firmware may take an action in accordance with the access profile request of an embodiment of the present invention and handle the 110 operation in a different way.
The various embodiments of the present invention are equally applicable to both the embedded memory devices, such as NAND, mass memory, XiP, and similar devices, as well as to removable memory cards.
The various embodiments described herein are described in the general context of method steps or processes, which may be implemented in one embodiment by a computer program product, embodied in a computer-readable medium, including computer-executable instructions, such as program code, executed by computers in networked environments. A computer-readable medium may include removable and non-removable storage devices including, but not limited to, Read Only Memory (ROM), Random Access Memory (RAM), compact discs (CDs), digital versatile discs (DVD), etc. Generally, program modules may include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer-executable instructions, associated data structures, and program modules represent examples of program code for executing steps of the methods disclosed herein. The particular sequence of such executable instructions or associated data structures represents examples of corresponding acts for implementing the functions described in such steps or processes.
The foregoing description of embodiments has been presented for purposes of illustration and description. The foregoing description is not intended to be exhaustive or to limit embodiments of the present invention to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of various embodiments. The embodiments discussed herein were chosen and described in order to explain the principles and the nature of various embodiments and its practical application to enable one skilled in the art to utilize the present invention in various embodiments and with various modifications as are suited to the particular use contemplated. The features of the embodiments described herein may be combined in all possible combinations of methods, apparatus, modules, systems, and computer program products.
This application is a continuation of and claims priority to U.S. patent application Ser. No. 13/645,588, filed Dec. 5, 2012, which was a continuation of U.S. patent application Ser. No. 12/039,672, filed Feb. 28, 2008, both of which are incorporated herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
5586291 | Lasker et al. | Dec 1996 | A |
5802069 | Coulson | Sep 1998 | A |
5809340 | Bertone et al. | Sep 1998 | A |
6373768 | Woo et al. | Apr 2002 | B2 |
6480936 | Ban et al. | Nov 2002 | B1 |
6513094 | Magro | Jan 2003 | B1 |
6522586 | Wong | Feb 2003 | B2 |
6665747 | Nazari | Dec 2003 | B1 |
6785764 | Roohparvar | Aug 2004 | B1 |
6842829 | Nichols et al. | Jan 2005 | B1 |
7136963 | Ogawa et al. | Nov 2006 | B2 |
7181574 | Lele | Feb 2007 | B1 |
7233538 | Wu et al. | Jun 2007 | B1 |
7321958 | Hofstee et al. | Jan 2008 | B2 |
7395176 | Chung et al. | Jul 2008 | B2 |
7450456 | Jain et al. | Nov 2008 | B2 |
7480749 | Danilak | Jan 2009 | B1 |
7571295 | Sakarda et al. | Aug 2009 | B2 |
7697311 | Fukuda et al. | Apr 2010 | B2 |
7760569 | Ruf et al. | Jul 2010 | B2 |
7809962 | Chang et al. | Oct 2010 | B2 |
8190803 | Hobson et al. | May 2012 | B2 |
8218137 | Noh et al. | Jul 2012 | B2 |
8321713 | Nobunaga | Nov 2012 | B2 |
20020087817 | Tomaiuolo et al. | Jul 2002 | A1 |
20020108014 | Lasser | Aug 2002 | A1 |
20030137860 | Khatri et al. | Jul 2003 | A1 |
20040010671 | Sampsa et al. | Jan 2004 | A1 |
20040049692 | Okamoto | Mar 2004 | A1 |
20040203670 | King et al. | Oct 2004 | A1 |
20040221124 | Beckert et al. | Nov 2004 | A1 |
20050010738 | Stockdale et al. | Jan 2005 | A1 |
20050071570 | Takasugl et al. | Mar 2005 | A1 |
20050204113 | Harper et al. | Sep 2005 | A1 |
20060041888 | Radulescu et al. | Feb 2006 | A1 |
20060069899 | Schoinas et al. | Mar 2006 | A1 |
20060075147 | Schoinas et al. | Apr 2006 | A1 |
20060075395 | Lee et al. | Apr 2006 | A1 |
20060174056 | Lambert et al. | Aug 2006 | A1 |
20060179212 | Kim et al. | Aug 2006 | A1 |
20060184758 | Satori et al. | Aug 2006 | A1 |
20060280077 | Suwa | Dec 2006 | A1 |
20070088867 | Cho et al. | Apr 2007 | A1 |
20070234006 | Radulescu et al. | Oct 2007 | A1 |
20070283078 | Li et al. | Dec 2007 | A1 |
20080080688 | Burgan et al. | Apr 2008 | A1 |
20080127131 | Gao et al. | May 2008 | A1 |
20080162792 | Wu et al. | Jul 2008 | A1 |
20080183954 | Lee et al. | Jul 2008 | A1 |
20080228984 | Yu et al. | Sep 2008 | A1 |
20080244173 | Takai | Oct 2008 | A1 |
20080281944 | Vorne et al. | Nov 2008 | A1 |
20080282030 | Kalwitz et al. | Nov 2008 | A1 |
20090106503 | Lee et al. | Apr 2009 | A1 |
20090157950 | Selinger | Jun 2009 | A1 |
20090182940 | Matsuda et al. | Jul 2009 | A1 |
20090182962 | Khmelnitsky et al. | Jul 2009 | A1 |
20090198871 | Tzeng | Aug 2009 | A1 |
20090198872 | Tzeng | Aug 2009 | A1 |
20090216937 | Yasufuku | Aug 2009 | A1 |
20090222629 | Yano et al. | Sep 2009 | A1 |
20090307377 | Anderson et al. | Dec 2009 | A1 |
20090313420 | Wiesz et al. | Dec 2009 | A1 |
20090327584 | Tetrick et al. | Dec 2009 | A1 |
20100005281 | Buchmann et al. | Jan 2010 | A1 |
20100037012 | Yano et al. | Feb 2010 | A1 |
20100100648 | Madukkarumukumana et al. | Apr 2010 | A1 |
20100106886 | Marcu et al. | Apr 2010 | A1 |
20100106901 | Higeta et al. | Apr 2010 | A1 |
20100115193 | Manus et al. | May 2010 | A1 |
20100161882 | Stern et al. | Jun 2010 | A1 |
20100169558 | Honda et al. | Jul 2010 | A1 |
20100169604 | Trika et al. | Jul 2010 | A1 |
20100172180 | Paley et al. | Jul 2010 | A1 |
20100250836 | Sokolov et al. | Sep 2010 | A1 |
20100293420 | Kapil et al. | Nov 2010 | A1 |
20100312947 | Luukkainen et al. | Dec 2010 | A1 |
20110082967 | Deshkar et al. | Apr 2011 | A1 |
20110087804 | Okaue et al. | Apr 2011 | A1 |
20110264860 | Hooker et al. | Oct 2011 | A1 |
20110296088 | Duzly et al. | Dec 2011 | A1 |
20120079171 | Ju et al. | Mar 2012 | A1 |
20120102268 | Smith et al. | Apr 2012 | A1 |
20120131263 | Yeh | May 2012 | A1 |
20120131269 | Fisher et al. | May 2012 | A1 |
20120210326 | Torr et al. | Aug 2012 | A1 |
20130007348 | Fai et al. | Jan 2013 | A1 |
20130138840 | Kegel et al. | May 2013 | A1 |
20130145055 | Kegel et al. | Jun 2013 | A1 |
Number | Date | Country |
---|---|---|
2005200855 | Sep 2004 | AU |
1763036 | Mar 2007 | EP |
10228413 | Aug 1998 | JP |
11143643 | May 1999 | JP |
2000003309 | Jan 2000 | JP |
2003015949 | Jan 2003 | JP |
2004021669 | Jan 2004 | JP |
2006195569 | Jul 2006 | JP |
2006221627 | Aug 2006 | JP |
2000779724 | Mar 2007 | JP |
2007115382 | May 2007 | JP |
2007518166 | Jul 2007 | JP |
20060082040 | Jul 2006 | KR |
WO9965193 | Dec 1999 | WO |
WO2004084231 | Sep 2004 | WO |
WO2005088468 | Jun 2005 | WO |
WO2005066773 | Jul 2005 | WO |
WO2012021380 | Feb 2012 | WO |
Entry |
---|
The Chinese Office Action mailed Apr. 9, 2013 for Chinese patent application No. 200980106241.1, a counterpart foreign application of US patent No. 8,307,180, 4 pages. |
European Search Report for Application No. 09715221.9, dated Oct. 25, 2011, pages. |
JEDEC Standard, “Embedded MultiMediaCard (eMMC) Mechanical Standard,” JESD84-C43, Jun. 2007, 14 pages. |
The Japanese Office Action mailed Jan. 16, 2013 for Japanese patent application No. 2010548134, a counterpart foreign application of US patent No. 8,307,180, 6 pages. |
Lin et al., “A NAND Flash Memory Controller for SDIMMC Flash Memory Card,” IEEE 2007, pp. 933-935. |
Numonyz, “How to boot an embedded system from an eMMCTM equipped with a Microsoft FAT file system.” Application note AN2539, Nov. 2008, pp. 1-25. |
International Search Report for PCT Application No. PCT/FI2009/050083 dated Jun. 3, 2009, pages. |
Standard, “Embedded ZmultiMediaCard(eMMC) eMMC/Card Product Standard, high Capacity, Including Reliable Write, Boot, and Sleep Modes,” (MMCA, 4.3), JSEDD84-A43, Nov. 2007, 166 pages. |
The Japanese Office Action mailed Nov. 25, 2013 for Japanese patent application No. 2013-103695, a counterpart foreign application of US patent No. 8,307,180, 8 pages. |
Japanese Search Report for Application No. 2010-548134, mailed on May 10, 2012, 11 pages. |
English translation of Office Action for Korean Patent Application No. 10-2010-7021534, dated Sep. 30, 2011, 2 pages. |
Translation of Communication from Foreign Patent Office, Decision of Rejection, JP Application No. 2010-548134, mailed Jan. 16, 2013, 3 pages. |
The Japanese Office Action mailed Aug. 27, 2013 for Japanese patent application No. 2010548134, a counterpart foreign application of US patent application No. 8,307,180, 4 pages. |
Office action for U.S. Appl. No. 12/455,763, mailed on Aug. 1, 2013, Luukkainen et al., “Apparatus and method to share host system ram with mass storage memory ram,” 28 pages. |
U.S. Appl. No. 13/358,806, filed Jan. 26, 2012, Mylly et al., “Apparatus and Method to Provide Cache Move with Non-Volatile Mass Memory System,” 45 pages. |
The Korean Office Action mailed Mar. 3, 2014 for Korean patent application No. 2013-7002338, a counterpart foreign application of US patent No. 8,307,180, 5 pages. |
Office Action for U.S. Appl. No. 13/451,951, mailed on Jan. 7, 2014, Kimmo J. Mylly, “Managing Operational State Data in Memory Module,” 24 pages. |
Office Action for U.S. Appl. No. 12/455,763, mailed on Mar. 14, 2014, Luukkainen et al., “Apparatus and method to share host system ram with mass storage memory ram,” 6 pages. |
The PCT Search Report and Written Opinion mailed Sep. 5, 2013 for PCT application No. PCT/US13/37298, 9 pages. |
Apostolakis, et al., “Software-Based Self Testing of Symmetric Shared-Memory Multiprocessors”, IEEE Transactions on Computers, vol. 58, No. 12, Dec. 2009, 13 pages. |
“Embedded MultiMediaCard (eMMC) Mechanical Standard”, JESD84-C43, JEDEC Standard, JEDEC Solid State Technology Association, Jun. 2007, 13 pages. |
“How to Boot an Embedded System for an eMMC Equipped with a Microsoft FAT File System”, AN2539 Numonyx Application Note, Nov. 2008, 25 pages. |
The Japanese Office Action mailed Jan. 7, 2015 for Japanese patent application No. 2013-103695, a counterpart foreign application of US patent No. 8,307,180, 8 pages. |
Li, et al., “A Method for Improving Concurrent Write Performance by Dynamic Mapping Virtual Storage System Combined with Cache Management”, 2011 IEEE 7th International Conference of Parallel Distributed System, Dec. 7-8, 2011, 10 pages. |
Office Action for U.S. Appl. No. 13/358,806, mailed on Nov. 27, 2013, Kimmo J. Mylly, “Apparatus and Method to Provide Cache Move With Non-Volatile Mass Memory System”, 26 pages. |
Office Action for U.S. Appl. No. 13/596,480, mailed on Mar. 13, 2014, Kimmo J. Mylly, “Dynamic Central Cache Memory”, 15 pages. |
Final Office Action for U.S. Appl. No. 13/358,806, mailed on Sep. 10, 2014, Kimmo J. Mylly, “Apparatus and Method to Provide Cache Move With Non-Volatile Mass Memory System”, 27 pages. |
The PCT Search Report and Written Opinion mailed Mar. 6, 2014 for PCT application No. PCT/US13/56980, 11 pages. |
Tanenbaum, “Structured Computer Organization”, Prentice-Hall, Inc, 1984, 5 pages. |
JEDEC Standard, “Embedded MultiMediaCard (eMMC) Product Standard, High Capacity,” JESD84-A42, Jun. 2007, 29 pages. |
The Chinese Office Action mailed Aug. 27, 2014 for Chinese patent application No. 200980106241.1, a counterpart foreign application of US patent No. 8,307,180, 3 pages. |
Final Office Action for U.S. Appl. No. 13/451,951, mailed on Dec. 4, 2014, Kimmo J. Mylly, “Managing Operational State Data of a Memory Module Using Host Memory in Association with State Change”, 24 pages. |
Office Action for U.S. Appl. No. 14/520,030, mailed on Dec. 4, 2014, Olli Luukkainen, “Apparatus and Method to Share Host System RAM with Mass Storage Memory RAM”, 6 pages. |
Number | Date | Country | |
---|---|---|---|
20130332691 A1 | Dec 2013 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 12039672 | Feb 2008 | US |
Child | 13951169 | US | |
Parent | 13645588 | Oct 2012 | US |
Child | 12039672 | US |