Processor and platform-assisted NVDIMM solutions using standard DRAM and integrated memory

By using persistent storage devices to automatically back up and restore DRAM data on standard DRAM and memory-integrated processor platforms, it solves the memory subsystem hotspots, high costs and data security issues of NVDIMM, and achieves more efficient and secure data persistence. Sex and recovery.

CN107636601BActive Publication Date: 2024-10-29INTEL CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN201680030427.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2016-05-23
Publication Date
2024-10-29
Estimated Expiration
2036-05-23

AI Technical Summary

Technical Problem

Existing NVDIMM solutions suffer from memory subsystem hotspots, high cost, low reliability, and insufficient security when data moves between different platforms.

Method used

Processor- and platform-assisted NVDIMM solutions using standard DRAM and integrated storage, automatically backing up and restoring DRAM data using persistent storage devices (such as SSDs) when a power failure is detected, utilizing DMA engines and supercapacitors to provide temporary power, Ensure data durability and security during power outages.

Benefits of technology

It reduces memory costs and verification costs, improves system reliability and data security, avoids NVDIMM size and cost limitations, and supports secure movement and recovery of data between different platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN107636601B_ABST
    Figure CN107636601B_ABST
Patent Text Reader

Abstract

Method and apparatus for implementing a processor and platform-assisted NVDIMM solution using standard DRAM and integrated storage. The method and apparatus enable the automatic copying of selected data in a DRAM device such as a DIMM to a persistent storage device such as an SSD in response to detecting a power unavailable event or an operating system error or failure without any operating system intervention. In one aspect, a platform includes a power supply and a temporary power source integrated in the power supply or separately, such as a capacitor-based energy storage device, a small battery, or a combination of the two. When power becomes unavailable, the temporary power source is used to continue to provide power to selected components in one or more power protection domains. The energy stored in the temporary power source is sufficient to temporarily power the components so that DRAM data can be written to the persistent storage device. When the system restarts, the previously stored DRAM data is restored to one or more DRAM devices from which the data was originally copied.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to processor and platform assisted NVDIMM solutions using standard DRAM and integrated storage. Background Art

[0002] Memory is as ubiquitous to computing as the processor itself, and is present in every computing device. There are generally two types of memory - volatile memory and non-volatile (NV) memory. The most common type of volatile memory is dynamic random access memory (DRAM), which is a common component of essentially every computing device. In general, DRAM may be implemented as a separate component external to the processor or it may be integrated on the processor, such as in a system-on-chip (SoC) architecture. For example, the most common packaging types for DRAM in personal computers, laptops, notebooks, etc. are dual in-line memory modules (DIMMs) and single in-line memory modules (SIMMs). Meanwhile, smartphones and tablets may employ processors with on-die DRAM or otherwise use one or more DRAM chips that are tightly coupled to the processor using flip-chip packaging, etc.

[0003] In the early PC years, the computer's basic input and output system (BIOS) was stored on a read-only memory (ROM) chip that included a type of non-volatile memory. Some of these ROM chips were truly read-only, while others used erasable programmable ROM (EPROM) chips. Subsequently, "flash memory", a type of electrically erasable programmable ROM (EEPROM) technology was developed and became a standard technology for NV memory. Whereas conventional EPROMs must be completely erased before being rewritten, flash memory does not, thus providing far greater usability than EPROMs. In addition, flash memory offers several advantages over conventional EEPROMs, and as such EEPROMs are generally classified as flash EEPROMs and non-flash EEPROMs.

[0004] There are two types of flash memory, which are the names after the NAND and NOR logic gates. NAND type flash memory can be written and read using blocks (or pages) of memory cells. NOR type flash memory allows single bytes to be written or read. Generally speaking, NAND flash memory is more common than NOR flash memory and is used in devices such as USB flash drives (also known as thumb drives), memory cards, and solid-state drives (SSDs).

[0005] DRAM generally has much higher performance than flash memory, including significantly faster read and write access. They are also significantly more expensive than flash memory on a per-memory cell basis. The main disadvantage of DRAM technology is that it requires power to store cell data. Once power is removed, a DRAM cell quickly loses its ability to store data. One advantage of flash memory technology is that it can store data when power is removed. However, flash memory is significantly slower than DRAM, and a given flash memory cell can only be erased and rewritten a limited number of times, such as 100,000 erase cycles.

[0006] In recent years, a hybrid memory module called NVDIMM has been introduced. The NVDIMM supports both the advantages of DRAM technology for fast read and write access and the non-volatile characteristics of NAND memory. Figure 1 As shown in , this is typically accomplished by mounting one or more DRAM devices 100 (e.g., memory chips) on one side of a DIMM 102 and mounting one or more NAND devices 104 and a custom field programmable gate array (FPGA) 106 or application specific integrated circuit (ASIC) (not shown) on the other side of the DIMM. The NVDIMM is connected to a "super" capacitor via a supercapacitor connector 108, which acts as a temporary power source in the event of a DIMM power failure. When system power drops, data residing in DRAM is written to NAND memory and then restored back to DRAM during memory initialization at the next boot.

[0007] Figure 2A computer system 200 is shown having a processor 202 including a central processing unit (CPU) 204, two integrated memory controllers (iMCs) 206 and 208, and an integrated input-output (IIO) interface 210 to which a plurality of PCIe (Peripheral Component Interconnect Express) links 211 are coupled. The iMC 206 is used to control access to a pair of DRAM DIMMs 212 and 214 via respective links 216 and 218 (also labeled Ch (channel) 1 and Ch (channel) 2). The iMC 208 is used to control access to a pair of NVDIMMs 220 and 222 via respective links 224 and 226. The NVDIMM 220 is attached to a supercapacitor 228, and the NVDIMM 222 is attached to a supercapacitor 230. Each of the supercapacitors 228 and 230 is charged during platform power-up and supplies power to its respective NVDIMM 220 and 222 in the event of a power failure. When a power failure is detected, FPGA 106 detects the power failure and copies the DRAM 100 contents to NAND 104 for each of NVDIMMs 220 and 222. During platform power up, after the MRC initializes the DRAM, the MRC requests FPGA 106 to restore the DRAM contents from NAND 104.

[0008] There are several disadvantages to this solution. Because a typical NVDIMM has a DRAM device on one side and a NAND device and an FPGA or ASIC on the other side for storing DRAM content. Therefore, due to the actual land occupied by the NAND and FPGA / ASIC, the total DIMM memory size is reduced. As mentioned above, when the power fails, the DRAM data is written to the NAND and then subsequently written back to the DRAM. In order to ensure signal integrity and power efficiency (known as hot spots), address / data scrambling seeds are used. However, the address / data scrambling seeds can be changed between boots to avoid malicious programs from decisively causing bus efficiency. Therefore, NVDIMMs usually use a mode in which address / data scrambling is disabled, resulting in hot spots or more errors in the memory subsystem.

[0009] The technology used for NAND device management is often very basic, which results in low-quality RAS (reliability, availability, and serviceability). When a DRAM or NAND device fails, the entire NVDIMM needs to be replaced. There are no standards that define supercapacitor size, placement, charging time, etc., resulting in different platform solutions. Moreover, there is no consistent instruction set, which results in different memory reference code (MRC) support. In general, the cost of NVDIMM solutions that exist today is 3 to 4 times the cost of similar sized DRAM DIMMs. In addition, the data stored on the NVDIMM is not protected, so moving the NVDIMM from one system to another may enable access to potentially sensitive data stored on the NVDIMM. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The foregoing aspects of the present invention and many of the attendant advantages will become more readily appreciated as they become better understood by reference to the following detailed description when taken in conjunction with the accompanying drawings in which like reference numerals refer to like parts throughout the various views unless otherwise specified:

[0011] Figure 1 is a schematic diagram illustrating the front and back sides of a conventional NVDIMM;

[0012] Figure 2 is a schematic diagram of an existing NVDIMM solution using a pair of supercapacitors;

[0013] Figure 3a and 3b is a schematic diagram of a first system for implementing an NVDIMM solution using conventional DRAM DIMMs and a persistent storage device according to one embodiment in which a supercapacitor is implemented in a power supply, wherein Figure 3a depicts the system under normal electrical operation, and Figure 3b depicts power protection domain components powered via supercapacitors when AC power input is removed from a power source;

[0014] Figure 4a and 4b is a schematic diagram of a second system for implementing an NVDIMM solution using conventional DRAM DIMMs and a persistent storage device according to an embodiment in which the supercapacitor is separated from the power supply, wherein Figure 4a depicts the system under normal electrical operation, and Figure 4b depicts power protection domain components powered via supercapacitors when AC power input is removed from a power source;

[0015] Figure 5a and 5b Describes details of one embodiment of a processor, wherein Figure 5a depicts the processor when operating at normal power input, and Figure 5b Describes a condition in which input AC power to a power source fails or is otherwise unavailable; Figure 5c is configured to utilize Figure 4a and 4b the processor of the system;

[0016] Figure 6 is a flow chart illustrating operations and logic performed during a power-on process of a platform storing DRAM contents to a persistent backup storage device, according to one embodiment;

[0017] Figure 7 is a flow chart illustrating operations performed during a platform power failure or power outage according to one embodiment;

[0018] Figure 7a is a flow chart illustrating operations performed in response to an operating system failure or error according to one embodiment;

[0019] Figure 8a A multi-socket platform including two nodes is shown according to one embodiment, both nodes being configured to back up persistent DRAM data to a persistent storage device for the node;

[0020] Figure 8b Show Figure 8a An embodiment of a multi-socket platform in which DRAM data from two nodes is copied to a persistent storage device on one of the nodes;

[0021] Fig. 9 is a schematic block diagram showing details of the internal architecture of a pair of processors when installed in sockets 2 and 3 of a 4-socket computer platform, according to one embodiment; and

[0022] Fig.10 is a schematic diagram of a system that employs SMI and one or more SMM handlers to flush data in cache to DRAM and copy persistent DRAM to a persistent storage device according to one embodiment. DETAILED DESCRIPTION

[0023] Embodiments of methods and apparatus for implementing processor and platform-assisted NVDIMM solutions using standard DRAM and integrated storage are described herein. In the following description, many specific details are set forth to provide a thorough understanding of embodiments of the present invention. However, those skilled in the relevant art will recognize that the present invention may be practiced without one or more of the specific details, or using other methods, components, materials, etc. In other examples, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the present invention.

[0024] References throughout this specification to "one embodiment" or "an embodiment" mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearance of the phrase "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0025] For clarity, various components in the figures herein may also be referred to by their labels in the figures rather than by specific reference numerals. In addition, reference numerals referring to specific types of components (as opposed to specific components) may be illustrated with the reference numeral followed by "(typ)" meaning "typical". It will be understood that the configuration of these components will be typical for similar components that may exist but are not shown in the drawn figures for simplicity and clarity or for additional similar components that are not labeled with separate reference numerals. On the contrary, "(typ)" should not be interpreted as meaning that the component, element, etc. is typically used for its disclosed function, means, purpose, etc.

[0026] As used herein, the term SSD (solid state disk) is used to describe a type of persistent storage device, such as, but not limited to, PCIe SSD, SATA (serial advanced technology attachment) SDD, USB (universal serial bus) SSD, memory device (MD), or any other type of storage device that can store data within a reasonable amount of time. This can also include network and fiber channel based storage. As an example and without limitation, PCIe interconnections and interfaces are used to illustrate the embodiments herein. However, the use of PCIe is merely exemplary, because other types of interconnections and interfaces can be used, typically including any memory or storage link, such as, but not limited to, DDR3, DDR4, DDR-T, PCIe, SATA, USB, network, etc.

[0027] According to aspects of the embodiments now described, a non-volatile power failure (or power unavailable) memory retention mechanism is provided that solves the defects associated with NVDIMM as described in the background section. In short, the mechanism uses a persistent memory device (such as an SSD) to back up selected data (or all data) on a DRAM DIMM (or other DRAM device) when a power failure / power unavailable condition or an operating system error / failure is detected, and the DRAM data is restored from the persistent memory device during subsequent system initialization. In an embodiment of the solution, the DRAM DIMM, the memory controller, and the IO link that links the processor communicating with the persistent memory device to the DMA (direct memory access) engine (memory copy engine) are power protected so that temporary power is provided to them in the event of a power failure or power unavailable condition. In one embodiment, when the platform power fails / becomes unavailable, the DMA engine detects the condition and reads the DRAM content from the DRAM DIMM and writes the data to the persistent memory device. During platform power-on, the BIOS and / or firmware (FW) reads the data stored on the persistent memory device and restores the data to the DRAM (including any uncorrected memory errors).

[0028] Figure 3a and 3b Selected components of a system 300 for implementing the solution according to one embodiment are shown. System 300 includes a processor 302, which includes a CPU 304, two iMCs 306 and 308, and an IIO interface 310 including a DMA engine 312. iMC 306 is used to control access to a pair of DRAM DIMMs 314 and 316 via corresponding iMC to DRAM DIMM links 318 and 320. iMC 308 is used to control access to a pair of DRAM DIMMs 322 and 324 via corresponding iMC to DRAM DIMM links 326 and 328. A storage device 330 including an SSD or MD is communicatively coupled to the IIO interface 310 via a PCIe (if an SSD) or a memory device (if an MD) link 332.

[0029] The system 300 further includes a power supply 334, which includes a power conditioning circuit 336 and a supercapacitor 338. In the illustrated embodiment, the power supply 334 receives input power from an AC (alternating current) source 340; alternatively, the input power may be received from a battery. Power conditioning circuitry common to most power supplies is used to provide one or more stable and clean voltage outputs, which are coupled via circuitry and / or wiring on the computer platform to provide voltage inputs at appropriate DC (direct current) voltages to various components on the computer platform, such as depicted in the figures herein. Additional circuitry (not shown separately) is typically used to convert the AC input to a DC output and to step down the voltage from 120VAC or another AC input voltage, as is known in the art.

[0030] During normal operation, power supply 334 supplies an appropriate DC voltage to power various platform circuits and components. Upon removal of AC source 340 or the battery source, the power supply will normally cease to provide power to the platform circuits and components. However, power supply 334 is configured to charge supercapacitors 338 during normal operation so that the energy stored in the supercapacitors can be used to temporarily supply power to selected components and circuits on the platform in the event that input power from AC source 340 or the battery source is removed, such as Figure 3b In the illustrated embodiment, the input DC voltage is provided as one or more outputs from the power conditioning circuit 336. However, this is merely an exemplary configuration and is not limiting, as other power conditioning circuits may be employed, either included in the power supply 334 or elsewhere on the platform.

[0031] In addition to capacitor-based energy storage devices, other types of temporary energy storage devices may be utilized, or a combination of different types of temporary energy storage devices may be utilized. For example, a small battery may be used as a temporary power source in place of the supercapacitors shown in the figures herein, which can supply enough power to enable applicable data to be copied from DRAM to persistent storage. Alternatively, a combination of capacitor-based energy storage devices and batteries may be used.

[0032] As in Figure 3b As further shown in FIG. 1 , one or more outputs of the power conditioning circuit 336 are coupled (either directly or via additional circuitry not shown) to each of the DRAM DIMMs 314, 316, 322, and 324, the iMCs 306 and 308, the iMC to DIMM links 318, 320, 326, and 328, the DMA engine 312, the PCIe / PLM link 332, and the storage device 330. As will be discussed and illustrated in further detail below, input power to each of these components may be provided as a direct input, or may be provided by a power supply that is not shown in FIG. 1 for simplicity and clarity. Figure 3b As designated by the cross-hatching pattern, each of the DRAM DIMMs 314, 316, 322, and 324, the iMCs 306 and 308, the iMC-to-DIMM links 318, 320, 326, and 328, the DMA engine 312, the PCIe / PLM link 332, and the storage device 330 are components of a power protection domain.

[0033] In general, the (one or more) power protection domains for a system or platform will include DRAM devices, (one or more) iMCs, (one or more) IO links connected to (one or more) persistent storage devices, (one or more) SSDs (or other types of persistent storage devices), and DMA engines, which can be implemented as hardware or a combination of hardware and firmware. In addition, if (one or more) microcontrollers are used to assist in programming the DMA engine to copy data from DRAM to (one or more) storage devices, then the one or more microcontrollers (not shown) may be included in the power protection domain. Typically, the iMC, PCIe link interface, and DMA engine are integrated inside the processor socket. As shown below with reference Figure 5a , 5b As discussed in Figures 5c and 5c, the processor socket can receive power from a protected power domain source as a separate power input and use this power to power the iMC / PCIe / IIO / DMA engine logic when a normal processor socket power failure is detected. Power for the power protection domain is supplied by a power source such as a supercapacitor or battery / UPS (uninterruptible power supply) (not shown). Optionally, the processor's own onboard logic such as an APIC logic block, a microcontroller, and / or a power control unit (PCU) may be configured to selectively power specific components.

[0034] In one embodiment, when platform power fails or is otherwise removed (e.g., in connection with a planned platform shutdown), the power protection domain is still powered by supercapacitors 338 and power conditioning circuitry 336. In general, supercapacitors will be selected based on the total power required to save applicable DRAM contents to persistent storage device(s) within a reasonable period of time (e.g., approximately 30 seconds to 2 minutes). In one embodiment, the iMC to DRAM DIMM link operates in a power protection domain until the DMA engine completes copying the configured DRAM memory contents to the persistent storage device (e.g., SSD). Similarly, the IO link(s) between the IIO and the SSD(s) (e.g., PCIe link(s)) operates in a power protection domain until the DMA engine completes copying the DRAM contents to the SSD(s).

[0035] As an option, selected portions of DRAM may be stored. For example, if the system has 64GB of DRAM and the user is interested in making only 32GB of DRAM persistent and using the other 32GB for stacking and temporary storage, there is no need to copy all DRAM data to the SSD. In this case, the user may choose how much of the DRAM memory to make persistent by setting an option to tell the system BIOS (or the platform may hard code this option). Based on the size selection, the BIOS may optimally choose the specific DRAM to be power-protected and store only selected areas of the DRAM memory to the SSD and restore them back on the next boot. This allows the memory (SSD) capacity to be selected based on the DRAM that needs to be persistent rather than filling the SSD capacity to cover the total DRAM size in the system.

[0036] Figure 4a and 4b System 400 is shown in which supercapacitor 402 and power conditioning circuit 404 are separated from power supply 406 including power conditioning circuit 408. Figure 4a In normal operating configuration, the power supply 406 operates similar to Figure 3a and 3b 406 supplies power to various platform components and circuits by way of power supply 334 of the embodiment. Additionally, in the illustrated embodiment, power supply 406 provides an input DC voltage to supercapacitor 402. In one embodiment, power conditioning circuit 404 provides one or more isolated outputs that are turned off during normal operation (that is, when power supply 406 is receiving input from AC power source 340). Optionally, depending on the operating state of the platform, outputs from power conditioning circuits 408 and 404 may be coupled via applicable circuitry or otherwise received by components and / or circuits that are configured to provide power received by power conditioning circuit 408 and / or power conditioning circuit 404.

[0037] Figure 4b A configuration is shown in which the AC power source 340 has failed or has otherwise removed the input power source to the power supply 406. In this configuration, the supercapacitor 402 (via the power conditioning circuit 404) provides input power to selected components in the protected power domain, such as depicted by the DRAM DIMMs 314, 316, 322, and 324, the iMCs 306 and 308, the iMC to DRAM DIMM links 318, 320, 326, and 328, the DMA engine 312, the PCIe / PLM link 332, and the persistent storage device.

[0038] Figure 5a , 5b3 shows additional details of the configuration of processor 302 according to one embodiment. Figure 5a , input power 500 provided by power supply 334 during normal operating conditions is received at a plurality of power input pins 502 on processor 302. In the illustrated embodiment, processor 302 employs a system-on-chip (SoC) architecture that includes multiple cores 504, an APIC block 506, and a PCU 508 in addition to iMCIs 306 and 308 and IIO 310. APIC block 506 manages the interrupt subsystem of processor 302, while power input to various logic blocks and circuits on processor 302 is provided by PCU 508. For example, modern processors have the ability to reduce power to selected logic blocks and / or circuits, such as placing one or more of cores 504 in a reduced power mode or state.

[0039] Figure 5b A configuration is shown in which the AC power source 340 has failed or has otherwise been removed or is unavailable. In response to detecting such an event, the power conditioning circuit 336 is configured to switch its power input to the supercapacitor 338 and continue to provide power to the processor 302 via the power input pin 502. However, logic in the PCU 508 is configured to selectively power the iMCs 306 and 308, the DMA engine 312, and the PCIe / PLM interface 510 upon detecting a condition in which the power input from the power supply 406 is unavailable.

[0040] Figure 5c is configured to utilize Figure 4a and 4b 4. The processor 302a of the system 400 of FIG. 4 is shown in FIG. 4. In this configuration, the processor 302a includes a separate power input pin 512, which is supplied with input power 514 via the supercapacitor 402 and the power conditioning circuit 404. In the illustrated embodiment, various pins (within the processor 302a) between the power input pins 512 are internally connected to each of the iMCs 306 and 308, the DMA engine 312, and the PCIe / PLM interface 510. Optionally, one or more of the cores 504 may receive power via the power input pins 512. As an option, all or a portion of the separate power input pins 512 may be coupled to the PCU 508, which in turn may be coupled to one or more of the iMCs 306 and 308, the DMA engine 312, and the PCIe / PLM interface 510.

[0041] In one embodiment, the DMA engine detects a socket power failure condition and starts reading the local socket DIMM contents and storing (via DMA writes) to the power protected SSD(s). Today, the socket source address decoder (SAD, also known as DRAM rules) allows memory interleaving between sockets. However, in a power failure condition, in one embodiment, it implements a mode in which the entire DRAM contents can be accessed by the DMA engine.

[0042] DRAM memory ranges can be further categorized into volatile and persistent memory regions. In one embodiment, upon power failure or power removal, only the persistent memory region(s) need to be stored to a persistent storage device (e.g., an SSD). This reduces SSD size requirements and the power / time required to save / restore data to and from the SSD. In one embodiment, the DMA engine stores metadata (such as DRAM size, DRAM fill location information, DRAM interleaving, etc.) for system memory configuration to be rebuilt in subsequent platform initialization operations.

[0043] In one embodiment, the DMA engine copies the entire DRAM memory contents including uncorrected memory error conditions to the SSD. In one embodiment, the DMA engine may include additional encryption features to encrypt data written to the SSD. For example, if the data must be platform dependent, the data may be encrypted based on a platform specific TPM (Trusted Platform Module) key. Optionally, if the data written to the DRAM must be protected from unauthorized users, SSD security features such as a passphrase may be enabled.

[0044] In a variation of the foregoing process, in one embodiment, in response to detecting a power failure / unavailable condition, an SMI (System Management Interrupt) is signaled to the BIOS to flush all (one or more) processor caches and then send a signal to the DMA engine to enter power failure mode to save the DRAM contents to the SSD. Fig.10 To describe additional details of the use of SMI.

[0045] When the platform is rebooted, the platform BIOS / FW initializes the DIMMs and SSDs and detects the stored memory images and metadata and restores them to the DIMM(s). In one embodiment, the SSD is partitioned into a persistent DRAM save area and a normal OS use area to allow unused DRAM spare capacity that can be used for the OS. The DRAM spare SSD partition may have a separate passphrase than that used for the normal OS partition. In one embodiment, for additional security, the DMA engine and BIOS are responsible for managing the DRAM spare SSD partition passphrase.

[0046] Figure 6 A flow chart 600 illustrating operations and logic performed during a power-on process of a platform storing DRAM contents to a persistent backup storage device (e.g., an SSD) according to one embodiment is shown. In the following description, it is assumed that persistent (i.e., non-volatile) storage is not interleaved across sockets and that there is DRAM backup storage available for each socket.

[0047] The process begins in a start block 602 where the platform is powered on. DRAM is initialized in a conventional manner in block 604. Next, a system physical address (SPA) range is created for the DRAM memory in block 606. One or more volatile memory and persistent memory SPA ranges are selected in block 608 based on system configuration policy or as a user option. For example, a specific power protected PCIe or PLM link or a specific SSD selection may be employed for this operation. Then in block 610, DRAM backup storage device(s) are determined based on system configuration policy or user option (if applicable).

[0048] In block 612, an IO link is initialized to a persistent DRAM backup storage device (e.g., an SSD). In block 614, the selected power-protected SSD is checked to see if it contains any existing DRAM backup storage by checking metadata. For example, the metadata may be on a specific partition with a platform passphrase for a specific LBA (Logical Block Address) region or for a specific file or for a specific volume.

[0049] In decision block 616, a determination is made whether any DRAM spare metadata exists. If the answer is no, the logic proceeds to block 618 where applicable metadata is created and any applicable platform-specific security-related items for the SDD are enabled. For example, the metadata may include persistent data sizes for a given socket to be implemented.

[0050] If the answer to decision block 616 is yes, or after the operation of block 618 is performed, the logic proceeds to block 620, where the DRAM backup persistent memory stored in the SSD is matched to the selected persistent memory area size in the DRAM. As depicted by decision block 622, if there is no match, the answer to decision block 622 is no, and the logic proceeds to block 624, where the error is marked and the user is provided with options for reconfiguring the platform and / or taking other actions. If there is a match, the answer to decision block 622 is yes, and the logic proceeds to block 626, where the DRAM data stored in the SSD is restored to the (one or more) DRAM persistent SPA ranges including the uncorrected errors along with the persistent DRAM content save state, SSD SMART health information, etc.

[0051] Next, in block 628 the platform waits until (all) (one or more) power-protected persistent DRAM supercapacitors are charged and the preservation of power failure features is enabled. In block 630, the SSD or power-protected persistent partition on the SSD is hidden from the operating system. When power fails, the SSD or partition may be re-enabled for storing data again by supplying credentials. The process is completed in block 632, where the E820 / ACPI table is created and the persistent memory range and SMART health status are presented to the operating system.

[0052] Figure 7 A flow chart 700 illustrating operations performed during a platform power failure or power outage is shown according to one embodiment. The process flow begins in start block 702 where a platform power failure or platform shutdown occurs. The DRAM backup storage SSD or partition is re-enabled in block 704 by supplying appropriate credentials. In block 706, the processor cache(s) and write wait queues are flushed to flush all persistent data in the cache(s) and write wait queues to memory (DRAM). If the platform power does not have sufficient capacity, the operation is ignored and the DMA engine enables the SSD and begins copying data from DRAM to the SSD.

[0053] In block 708, the power protection DMA engine is programmed to copy the persistent area of ​​DRAM to the SSD. In the event of any uncorrected or poisoned errors being detected, the errors are stored in the metadata area. In block 710, the processor enters a power-down state where all PCIe links except the power protection links are turned off, processor-to-processor links (e.g., socket-to-socket links) are turned off, and the CPU core is turned off. Once the DMA engine completes the DRAM copy to the SSD, the element data is updated to indicate that the persistent DRAM save operation to the SSD has been successfully completed, as depicted in block 714. The process is completed in end block 714, where the final platform shutdown process is entered.

[0054] If the platform power supply plus supercapacitors have enough power, all PCIe links except the DRAM backup PCIe link may be turned off and the BIOS can start the DMA engine to start copying DRAM data to the SSD and put all CPU cores into a low power state.

[0055] Figure 8a and 8b Exemplary multi-socket systems 800a and 800b are illustrated, respectively, that include power protection domains and are configured to automatically store DRAM data to persistent storage and then restore the DRAM data upon subsequent startup of operation. Figure 8a and Figure 8b Components having similar numbered reference numbers to those shown in previous figures perform similar functions.

[0056] The multi-socket system 800a includes a pair of nodes (sockets) A and B, each having Figure 3b and 4b 300a and 302b are linked in communication via a socket-to-socket interconnect 802. Each of nodes A and B receives power input from a power supply 334, which supplies power to components and circuits for each node. In general, each of nodes A and B operates independently and includes complete facilities for storing DRAM data to corresponding persistent storage devices 330a and 330b. For example, in response to a power failure or power source removal event, logic in node A including DMA engine 312a will copy applicable DRAM data in the DRAM DIMM of node A to persistent storage device 300a, and similar logic in node B including DMA engine 312b will copy applicable DRAM data in one or more of the DRAM DIMMs of node B to persistent storage device 300b. The memory recovery operations for each of nodes A and B are similar to those described above in flow chart 600.

[0057] exist Figure 8b In the system 800b, the DRAM data on the two nodes A and B is copied to the persistent storage device 330b on the node B. This is facilitated in part via the socket-to-socket interconnect 802, which has now been added to the protected power domain. In one embodiment, the socket-to-socket interconnect 802 includes a Quick Path Interconnect (QPI) link. In another embodiment, the socket-to-socket interconnect 802 includes a Keizer Technology Interconnect (KTI) link. More generally, any existing future Keizer socket-to-socket interconnect may be used. In one embodiment of processors 302a and 302b (such as the one described below with reference to FIG. 1 ), the DRAM data on the two nodes A and B is copied to the persistent storage device 330b on the node B. This is facilitated in part via the socket-to-socket interconnect 802, which has now been added to the protected power domain. In one embodiment, the socket-to-socket interconnect 802 includes a Quick Path Interconnect (QPI) link. In another embodiment, the socket-to-socket interconnect 802 includes a Keizer Technology Interconnect (KTI) link. More generally, any existing future Keizer socket-to-socket interconnect may be used. Fig. 9 ), the socket-to-socket interconnect 802 is connected to a ring interconnect on each processor that is also coupled to the iMC 306 and 308 on each socket. The interconnect can be configured to operate when the processor core is in a reduced power state, thereby enabling data to be transferred from the DRAM DIMM on node A to the persistent storage device 330b on node B. Because the DMA engine can operate independently of the processor's core, the processor core on processor 302b can also be in a reduced power state.

[0058] In system 800b, DRAM data is restored for node B in a similar manner as described in flowchart 600, and the restored DRAM data for node A is transferred from node B to node A via socket-to-socket interconnect 802. In one embodiment, the persistent storage device used to store the DRAM data includes separate provisions for each of nodes A and B. For example, persistent storage device 330b may include separate partitions for storing DRAM data for nodes A and B. In addition, data related to the memory configuration for each of nodes A and B (e.g., SPA data, ACPI tables, credentials, various metadata, etc.) will also be stored in persistent storage device 330b, or otherwise stored on system 800b in a manner in which the data is accessible during DRAM copy and restore operations.

[0059] exist Fig. 9906, each of these ring interconnects includes four separate sets of "wires" or electronic paths connecting each node, thus forming four rings for each of the rings 2 and 3. In actual practice, there are multiple physical electronic paths corresponding to each wire shown. Those skilled in the art will appreciate that the use of a single line to illustrate the connection herein is for simplicity and clarity, because each specific connection may use one or more electronic paths.

[0060] In the context of system 900, a cache coherence scheme may be implemented by using independent message classes. In one embodiment of a ring interconnect architecture, independent message classes may be implemented by employing corresponding wires for each message class. For example, in the aforementioned embodiment, each of Ring 2 and Ring 3 includes four ring paths or wires, which are labeled and referred to herein as AD, AK, IV, and BL. Accordingly, because messages are sent over separate physical interconnect paths, they are independent of each other from a transmission perspective.

[0061] In one embodiment, data is passed between nodes in a cyclic manner, e.g., for each real or logical clock cycle (which may span one or more actual real clock cycles), data advances from one node to an adjacent node in the ring. In one embodiment, various signals and data may travel around the ring in both clockwise and counterclockwise directions. In general, nodes in Ring 2 and Ring 3 may include buffered or unbuffered nodes. In one embodiment, at least some of the nodes in Ring 2 and Ring 3 are unbuffered.

[0062] Each of rings 2 and 3 includes a plurality of nodes 904. Each node labeled Cbo n (where n is a number) is a node corresponding to a processor core that shares the same number n (as identified by the core's engine number n). There are other types of nodes shown in system 900, including QPI nodes 3-0, 3-1, 2-0 and 2-1, IIO nodes, and PCIe nodes. Each of QPI nodes 3-0, 3-1, 2-0 and 2-1 is operatively coupled to a corresponding QPI agent 3-0, 3-1, 2-0 and 2-1. The IIO node is operatively coupled to the IIO interface 310. Similarly, the PCIe node is operatively coupled to PCIe interfaces 912 and 914. Further shown are a number of nodes labeled "X"; these nodes are used for timing purposes. It should be noted that QPI, IIO, PCIe, and X nodes are merely exemplary of one embodiment architecture, and other architectures may have more or fewer nodes of each type or none at all. In addition, other types of nodes (not shown) may also be implemented. In some embodiments (such as shown in various figures herein), the IIO interface will include one or more PCIe interfaces.

[0063] Each of the QPI agents 3-0, 3-1, 2-0, and 2-1 includes circuitry and logic for facilitating the transfer of QPI packets between the QPI agents and the QPI nodes to which they are coupled. The circuitry includes ingress and egress buffers, depicted as ingress buffers 916, 918, 920, and 922, and egress buffers 924, 926, 928, and 930.

[0064] System 900 also shows two additional QPI agents 1-0 and 1-1, each corresponding to a QPI node on the ring of CPU sockets 0 and 1 (neither the ring nor the node are shown). As before, each QPI agent includes ingress and egress buffers, shown as ingress buffers 932 and 934, and egress buffers 936 and 938.

[0065] In the context of maintaining cache coherence in a multi-processor (or multi-core) environment, various mechanisms are employed to ensure that data is not corrupted. For example, in system 900, each of the processor cores 902 corresponding to a given CPU is provided with access to shared memory storage associated with the socket, which will typically include one or more banks of DRAM packaged as DIMMs or SIMMs. As discussed above, the DRAM DIMMs for the system are accessed via one or more memory controllers, such as those depicted by memory controller 0 and memory controller 1, which are shown as being connected to local agent node 0 (HA0) and local agent node 1 (HA 1), respectively.

[0066] As each of the processor cores executes its corresponding code, various memory accesses will be performed. As is well known, modern processors use one or more levels of memory cache to store memory lines that are closer to the cache of the core, thereby achieving faster access to such memory. However, this necessitates copying memory from shared (i.e., main) memory storage to local caches, meaning that multiple copies of the same memory line may exist in the system. In order to maintain memory integrity, cache coherence protocols such as MESI (Common, Exclusive, Shared, Invalid) or MESIF (Common, Exclusive, Shared, Invalid, Forwarded) are used.

[0067] It is also common to have multiple levels of cache, where the cache closest to the processor core has the least latency and smallest size, and caches further away will be larger but have more latency. For example, a typical configuration might employ a first and second level cache, commonly referred to as an L1 and L2 cache. Another common configuration might further employ a third level or L3 cache.

[0068] In the context of system 900, the highest level of cache is referred to as the last level cache or LLC. For example, the LLC for a given core might typically include an L3-type cache if L1 and L2 caches are also employed, or might typically include an L2-type cache if the only other cache is an L1 cache. Of course, this could be extended to additional cache levels, with the LLC corresponding to the last (i.e., highest) level of cache.

[0069] exist Fig. 9 In the illustrated configuration of , each processor core 902 includes a processing engine 942 coupled to an L1 or L1 / L2 cache 944, which is "private" to that core. At the same time, each processor core is also co-located with an assigned "slice" of LLC 946, where each of the other cores can access all of the assigned slices. In one embodiment, the assigned LLC is physically distributed among the N cores using N blocks divided by corresponding address ranges. In this distribution scheme, all N cores communicate with all N LLC slices, using address hashing to find the "local" slice for any given address. Appropriate interconnect circuitry is employed to facilitate communication between cores and slices; however, for simplicity and clarity, the LLC is not shown in FIG. Fig. 9 Such circuitry is not shown.

[0070] As further illustrated, each of the nodes 904 associated with the processor core 902 in the system 900 is also associated with a cache agent 948 that is configured to perform messaging related to signal and data origination and receipt in conjunction with a consistent cache protocol implemented by the system, wherein each cache agent 948 handles cache-related operations corresponding to addresses mapped to its collocated LLC 946. In addition, in one embodiment, each of the home agents HA0 and HA1 employs a respective cache filter 950 and 952, and the various caches and home agents access and update cache line usage data stored in a respective directory that is implemented in a portion of a shared memory (not shown). Those skilled in the art will recognize that other techniques may be used to maintain information about cache line usage.

[0071] According to one embodiment, a single QPI node may be implemented to bond to a pair of socket-to-socket QPI links to facilitate a pair of QPI links to an adjacent socket. This is logically Fig. 9 As shown in other drawings herein by a dashed ellipse surrounding a pair of QPI nodes within the same socket, indicating that the pair of nodes may be implemented as a single node.

[0072] In some embodiments, during the DRAM copy and restore operations discussed above with reference to flowcharts 600 and 700, various memory access and cache access operations are performed to first flush cached memory in the L1 / L2 and LLC caches (if applicable) to DRAM, copy DRAM data marked as persistent to a persistent storage device, and then restore the persistent DRAM data back to DRAM. Depending on the particular implementation (e.g., a DMA engine-based approach, an SMI / SMM handler approach, etc.), power will be provided to various components on the processor under the control of the APIC 506 and / or PCU 508.

[0073] In one embodiment, memory services are facilitated using corresponding message classes including messages forwarded between nodes and across QPI links (if applicable), so that various agents can access data stored in DRAM (or cache level) and forward the data to other agents. This enables one or more agents on a "local" socket to access data in a memory on a "remote" socket. For example, in the context of system 800b, node B is a local socket and node A is a remote socket. Therefore, an agent on node B can send a message requesting access to data in the DRAM accessed via a memory controller on node B to an agent on node A (e.g., a local agent). In response, the agent retrieves the requested data and returns it to the requested agent via one or more messages. In the context of system 800b, the ring in the processor in system 900 is protected by power and therefore enables it to transmit messages (including data contained in the message) when the main power source of the platform is unavailable.

[0074] Fig.10 The system 1000 that employs SMI and system management mode (SMM) to copy data to a persistent storage device in response to detecting a power failure or power source removal event is illustrated. As described above, in one embodiment, SMI is used to flush data in (one or more) processor caches to DRAM before performing a persistent DRAM data copy. In one embodiment, if sufficient power from a supercapacitor is available, the DRAM copy operation is implemented via SMM using one of the processor cores.

[0075] SMI and SMM operate in the following manner. In response to an SMI interrupt, the processor stores its current context (i.e., information about the current operation, including its current execution mode, stack and register information, etc.), and switches its execution mode to its SMM. SMM handlers are then dispatched in order to determine whether they are appropriate handlers for servicing SMI events. This determination is made very early in the SMM handler code so that there is almost no delay in determining which handler is appropriate. When the handler is identified, it is allowed to execute to complete the servicing SMI event. After servicing the SMI event, an RSM (restart) instruction is issued to revert the processor to its previous execution mode using the previously saved context data. The end result is that SMM operations are completely transparent to the operating system.

[0076] In one embodiment, in addition to flushing cache data to DRAM, one or more SMM handlers are configured to copy DRAM data in one or more of the DRAM DIMMs 314, 316, 322, and 324 to a persistent storage device in response to an SMI that is invoked in response to detecting a power failure / power source removal event. In system 1000, in response to a power failure / power source removal event, power is supplied (via supercapacitor 338 and power conditioning circuit 336) to a core 1002 in CPU 304 on which one or more SMM handlers are executed. In general, core 1002 can copy DRAM data to a persistent storage device using conventional data transfer techniques in which data is transferred from system memory resources to storage resources in a manner that does not employ DMA engine 312. Alternatively, various data transfer operations can be offloaded to a DMA engine, in which case power will also be provided to the DMA engine (not shown).

[0077] In addition to automatically copying DRAM data to persistent storage in response to power failure / removal events, embodiments can be configured to perform similar operations in response to operating system errors or fault events. For example, in conjunction with the failure of the Microsoft Windows operating system, a "blue screen" or "blue screen of death" (BSOD) event occurs, in which a blue screen with text indicating a fault condition is utilized to replace the Windows graphical interface. Under certain fault conditions, enough operating systems are still accessible so that the continued part can dump memory contents into storage (usually dumped into large logs or debug files). In general, the dumped memory contents cannot be used to restore system state before the BSOD event. In certain BSOD events, the operating system may only write out a small amount of data.

[0078] In one or more embodiments, the platform hardware and / or firmware is configured to detect a BSOD event and copy applicable DRAM data to a persistent storage device in a manner similar to that described herein in response to a power failure or power source removal event. In one embodiment, a DMA engine is used to perform DRAM data copy operations and associated data transfers. In another embodiment, an SMI and one or more associated SMM handlers are used to perform DRAM data copy operations.

[0079] In one embodiment, executing Figure 7a The process begins in a start block 703 where an operating system error or failure event (such as a BSOD) is detected. In response, a similar operation is performed as described above with reference to Figure 7The operations depicted in blocks 704 , 706 , 708 , 710 , 712 , and 714 are performed in a manner described by flowchart 700 .

[0080] For data persistence across power failures / shutdowns, embodiments of the solutions proposed herein provide several advantages over existing NVDIMM solutions. In particular, the proposed solution. As discussed above, due to NAND and FPGA actual block usage, the available NVDIMM sizes today contain about half of the DRAM capacity (they can have), so the overall OS visible memory capacity is reduced to half using existing NVDIMM methods, resulting in reduced workload performance. According to an embodiment, standard DRAM DIMMs are used instead of NVDIMMs, so the OS visible persistent memory size is the same as the DRAM size, so there is no reduction in the overall memory available for workloads compared to DRAM.

[0081] The proposed solution has a much lower total cost of ownership. On a per memory cell basis (e.g., per gigabyte of memory), existing NVDIMM solutions cost 3 to 4 times as much as DRAM. The cost for persistent DRAM using the proposed solution is the DRAM cost plus the SSD cost (assuming the processor supports power failure copy from DRAM to SSD feature). For the same capacity, the cost of SSD is much less (approximately 1 / 10) than DRAM. Therefore, the total cost of persistent DRAM memory using the proposed invention is approximately 1.2 times the cost of DRAM alone (assuming double the DRAM capacity SSD provision).

[0082] Another advantage is reduced verification costs. The proposed solution supports the use of standard DRAM DIMMs and SSDs in the platform. Therefore, no additional DIMM verification or validation verification is required, compared to additional work on memory reference codes (MRCs) to support NVDIMMs and additional verification and validation of NVDIMMs.

[0083] The proposed solution provides lower service costs. As discussed above, this enables the use of conventional DRAM DIMMs and SSDs instead of much more expensive NVDIMMs. This supports simply replacing the DRAM DIMMs when a DRAM DIMM fails. In existing NVDIMMs, if a single NVDIMM fails, all data is unrecoverable if the data is interleaved across multiple DIMMs. Conversely, in the embodiments herein, if a failed DRAM device is identified during boot, the user can replace the DRAM device with a new DRAM device and then recover the DRAM data from the SSD to the DRAM device.

[0084] It also enables replication of the stored memory configuration on another platform (such as a replacement platform) without requiring a strict 1:1 NVDIMM configuration in the other platform (being used to store DRAM data). In existing NVDIMMs, the NVDIMMs must be moved and populated with the same interleaving order. For example, if three NVDIMMs are interleaved, if the NVDIMMs are moved from one to another, all NVDIMMs need to be moved and populated in the same position and configured for the same interleaving. In the disclosed solution, if DRAM data from three DIMMs is interleaved and the data is stored in an SSD, the SSD may be moved to another system having a configuration including one DRAM DIMM or two DRAM DIMMs, as long as sufficient DRAM capacity is available.

[0085] The proposed solution also provides additional advantages. For example, in various embodiments, the entire DRAM is written to the persistent storage, or alternatively, a selected portion of the DRAM is written to the persistent storage. Existing NVDIMMs only provide full-size persistent capacity or zero-size persistent capacity.

[0086] DRAM data can also be written using a protected persistent storage scheme (data at rest protection) where existing NVDIMMs do not provide security features. In embodiments disclosed herein, security measures for storing data on an SSD (or other persistent storage device) can be applied to store DRAM data.

[0087] RAID support may also be implemented during save / restore operations. For example, the storage device subsystem may have a RAID configuration in which various RAID-based storage schemes (including mirroring and striping storage schemes to provide additional data storage reliability) may be used to store DRAM data.

[0088] One or more embodiments may be configured to make high-speed memory such as MCDRAM (high-speed multi-channel DRAM) persistent. Currently there is no NVDIMM solution that can be used to make MCDRAM persistent. In the scheme described herein, if the MCDRAM is power-protected, the MCDRAM area of ​​the system DRAM can be stored to the SSD during a power failure.

[0089] Additional aspects of the subject matter described herein are set forth in the following numbered clauses:

[0090] 1. A method for saving data in a dynamic random access memory (DRAM) in a computer platform to a persistent storage device, wherein the computer platform includes a main power source for providing power to components in the computer platform during normal operation, the computer platform including the persistent storage device and running an operating system during normal operation, the method comprising: detecting a power unavailable condition in which power is no longer supplied to the computer platform by the main power source; and in response to detecting the power unavailable condition,

[0091] Automatically copies data from DRAM to persistent storage without OS intervention.

[0092] 2. The method of clause 1, wherein the computer platform includes a processor including a plurality of caches, the method further comprising flushing data in the cache to the DRAM before copying the data in the DRAM to the persistent storage device.

[0093] 3. The method of clause 1 or 2, further comprising:

[0094] defining at least one region of the DRAM address space to include persistent DRAM;

[0095] configuring a persistent storage area on a persistent storage device in which the data in the persistent DRAM is to be stored; and

[0096] The data copied from the persistent DRAM is stored in the persistent storage area.

[0097] 4. The method of any of the preceding clauses, wherein the computer platform includes a power-protected direct memory access (DMA) engine, the method further comprising programming the power-protected DMA engine to copy data in the DRAM to a persistent storage device.

[0098] 5. The method of any of the preceding clauses, wherein the computer platform further comprises:

[0099] A processor comprising:

[0100] at least one memory controller including a first memory controller; and

[0101] an input-output (IO) interface including a direct memory access (DMA) engine;

[0102] at least one DRAM device storing therein data to be preserved prior to the power unavailable condition, operatively coupled to the first memory controller via a first memory controller to DRAM device link; and

[0103] IO links that couple persistent storage devices to IO interfaces,

[0104] The method further includes providing temporary power to multiple power protection components in the computer platform in response to detecting a power unavailable condition, wherein the multiple power protection components include a first memory controller, a DMA engine, at least one DRAM device, a first memory controller to DRAM device link, an IO link coupling a persistent storage device to an IO interface, and a persistent storage device.

[0105] 6. The method of clause 5, wherein the temporary power is provided via a capacitor-based power circuit.

[0106] 7. The method of clause 5, wherein the temporary power is provided via a battery.

[0107] 8. The method of clause 5, wherein temporary power is provided via a combination of a capacitor-based power circuit and a battery.

[0108] 9. The method of any of the preceding clauses, further comprising:

[0109] determining during a platform initialization operation whether the persistent storage device stores any DRAM data previously copied from DRAM to the persistent storage device in response to a power unavailable condition; and

[0110] The DRAM data is restored to the one or more DRAM devices from which the DRAM data was copied.

[0111] 10. The method of clause 9, wherein the DRAM data is stored in a scrambled format before being copied to the persistent storage device, and the DRAM data is restored using a non-scrambled format.

[0112] 11. The method of clause 10, wherein the DRAM data is stored in a memory that includes an error correction code, and the DRAM data copied to the persistent storage device includes data identifying an uncorrected error condition.

[0113] 12. The method of claim 1, wherein data in DRAM is automatically copied to a persistent storage device without operating system intervention by using a system management interrupt (SMI) and one or more system management mode (SMM) handlers, wherein the SMI is invoked in response to detecting a power unavailable condition, which dispatches one or more SMM handlers to service the SMI by copying the DRAM data to the persistent storage device.

[0114] 13. A computing platform having a mains power source, comprising:

[0115] A processor comprising:

[0116] at least one memory controller including a first memory controller; and

[0117] an input-output (IO) interface including a direct memory access (DMA) engine;

[0118] at least one dynamic random access memory (DRAM) device including a first DRAM device operatively coupled to the first memory controller via a first memory controller to DRAM device link;

[0119] a persistent storage device operatively coupled to the IO interface via an IO link; and

[0120] a temporary power source operatively coupled to each of the first memory controller, the persistent storage device, the IO link, the first DRAM device, and the first memory controller to DRAM device link, wherein the temporary power source is configured to supply power to each of the first memory controller, the persistent storage device, the IO link, the first DRAM device, and the first memory controller to DRAM device link for a limited period of time in the event of a condition in which a primary power source is no longer supplying power to the computer platform;

[0121] Wherein the computer platform is configured to detect a condition in which a primary power source no longer supplies power to the computer platform, and wherein in response to detecting the condition, the IO interface is configured to copy data stored in the first DRAM to a persistent storage device via the DMA engine.

[0122] 14. The computer platform of clause 13, wherein the computing platform is further configured to restore data previously copied from the first DRAM device to the persistent storage device by copying the data from the persistent storage device to the first DRAM device via the DMA engine during the platform initialization operation performed.

[0123] 15. The computing platform of claim 13 or 14, wherein the computing platform comprises a plurality of DRAM devices, comprising DRAM dual in-line memory modules (DIMMs), each coupled to a memory controller via a memory controller to DRAM DIMM link, wherein a temporary power source is configured to supply power to each of the plurality of DRAM DIMMs, each memory controller, and each memory controller to DRAM DIMM link in the event of a condition in which a primary power source no longer supplies power to the computer platform; and wherein in response to detecting a condition in which the primary power source no longer supplies power to the computer platform, the IO interface is configured to copy data stored on each of the plurality of DRAM DIMMs to a persistent storage device via a DMA engine.

[0124] 16. The computing platform of clause 15, wherein the processor comprises at least two memory controllers, each memory controller being coupled to at least two DRAM DIMMs.

[0125] 17. The computer platform of claim 15, wherein the computing platform is further configured to recover data previously copied from each of the plurality of DRAM DIMMs to a persistent storage device by copying the previously copied data from the persistent storage device to each of the DRAM DIMMs via a DMA engine during a platform initialization operation performed, wherein upon data recovery each DRAM DIMM stores the same data that was stored therein prior to the occurrence of a condition in which a main power source no longer supplies power to the computer platform.

[0126] 18. The computer platform of any of clauses 13-17, wherein the IO link comprises a Peripheral Controller Interconnect Express (PCIe) link.

[0127] 19. The computer platform of any of clauses 13-18, wherein the persistent storage device comprises a solid state drive (SSD).

[0128] 20. The computer platform of any of clauses 13-19, wherein the processor includes at least one processor cache and manages a write wait queue, and wherein in response to detecting an unavailable power condition, the data in the at least one processor cache and the write wait queue is refreshed to the first DRAM device before the data is copied from the first DRAM device to the persistent storage device.

[0129] 21. A computer platform of any of clauses 13-20, wherein the processor comprises a central processor unit (CPU) having multiple cores, and the IO interface is coupled to multiple IO links, and wherein in response to detecting an unavailable power condition, the processor enters a power-down state in which all IO links except a power protection link have their power reduced, and the cores operate in a reduced power state.

[0130] 22. The computer platform of any of clauses 13-20, wherein upon completion of copying the data from the DRAM device to the persistent storage device, metadata stored in the persistent storage device is updated to indicate that the data has been successfully saved to the persistent storage device.

[0131] 23. The computer platform of any of clauses 13-22, wherein the temporary power source is a capacitor-based power circuit.

[0132] 24. The computer platform of any of clauses 13-23, wherein the temporary power source is a battery.

[0133] 25. The computer platform of any of clauses 13-24, wherein the temporary power source comprises a combination of a capacitor-based power circuit and a battery.

[0134] 26. The computer platform of any of clauses 13-25, wherein the at least one memory controller further includes a second memory controller, the second DRAM device is operatively coupled to the second memory controller via a second memory controller to DRAM device link, and wherein the temporary power source is further operatively coupled to the second memory controller and the second DRAM device, and wherein the IO interface is further configured to copy data stored in the second DRAM device to a persistent storage device via a DMA engine.

[0135] 27. The computer platform of any of clauses 13-25, wherein the at least one DRAM device includes a second DRAM device coupled to the first memory controller via a second memory controller to DRAM device link operation, and wherein the IO interface is further configured to copy data stored in the second DRAM device to a persistent storage device via a DMA engine.

[0136] 28. The computer platform of clause 13, wherein the computer platform further comprises logic configured to:

[0137] determining during a platform initialization operation whether the persistent storage device stores any DRAM data previously copied from DRAM to the persistent storage device in response to a power unavailable condition; and

[0138] The DRAM data is restored to the one or more DRAM devices from which the DRAM data was copied.

[0139] 29. The computer platform of clause 28, wherein the DRAM data is stored in a scrambled format before being copied to the persistent storage device, and the DRAM data is restored using a non-scrambled format.

[0140] 30. A processor configured to be installed in a computer platform including a power supply having a main power input source, one or more dynamic random access memory (DRAM) devices, and a persistent storage device, the processor comprising:

[0141] a plurality of processor cores operatively coupled to an interconnect;

[0142] at least one memory controller including a first memory controller and a memory controller interface operatively coupled to the interconnect and configured to engage with a first memory controller to DRAM device link when the processor is installed in the computer platform, the first memory controller to DRAM device link being coupled to a first DRAM device at an opposite end;

[0143] an input-output (IO) interface operatively coupled to the interconnect and comprising a link interface for an IO link to which a persistent storage device is coupled;

[0144] a direct memory access (DMA) engine; and

[0145] Logic configured to perform the following upon operation of the processor;

[0146] detecting a power unavailable condition in which a primary power input source is no longer supplying power to the power supply; and in response to detecting the condition,

[0147] The DRAM data stored in the first DRAM device is copied to the persistent storage device.

[0148] 31. The processor of clause 30, further comprising a direct memory access (DMA) engine, and wherein the DRAM data stored in the first DRAM device is copied to the persistent storage device via the DMA engine.

[0149] 32. The processor of claim 30, wherein the processor is configured to implement a system management interrupt (SMI) and operate in a system management mode (SMM), and further wherein the processor is configured to invoke the SMI while operating and in response to a power unavailable condition and dispatch one or more SMM handlers to service the SMI by copying DRAM data stored in the first DRAM device to a persistent storage device.

[0150] 33. A processor of any of clauses 30-32, wherein the processor further includes an APIC (Advanced Programmable Interrupt Controller) logic block and at least one of a power control unit (PCU), and in response to detecting the condition, at least one of the APIC logic block and the PCU is configured to provide power to selected components in the processor to enable DRAM data to be copied to a persistent storage device while reducing power to other components of the processor that are not employed to facilitate the transfer of data to the persistent storage device via the DRAM data copy.

[0151] 34. The processor of any of clauses 30-33, wherein the computing platform comprises a multi-socket platform having a plurality of sockets and comprising a first socket having a local socket and a second socket having a remote socket and a socket-to-socket interconnect between the first socket and the second socket, wherein the processor is configured to cause instances of the processor to be installed in respective local and remote sockets, and wherein the processor further comprises a socket-to-socket interconnect interface configured to couple to the socket-to-socket interconnect, and further wherein the processor comprises logic configured to, in response to detecting a power unavailable condition and when the processor is installed in a local socket, perform the following:

[0152] copying data from one or more DRAM devices accessed via one or more memory controllers on the processor to a persistent storage device; and

[0153] Interfaces with a processor in a remote socket to copy data from one or more DRAM devices accessed via one or more memory controllers mounted on the processor in the remote socket to a persistent storage device.

[0154] 35. The processor of any of clauses 30-34, wherein upon completion of copying the data from the first DRAM device to the persistent storage device, the processor is configured to send the data via the IO link to update metadata stored in the persistent storage device to indicate that the data has been successfully saved to the persistent storage device.

[0155] 36. A processor of any of clauses 30-33, wherein the first memory controller and memory controller interface are configured to engage with a second memory controller to DRAM device link coupled at an opposite end of the second DRAM device when the processor is installed in a computer platform, and wherein the logic is further configured to copy DRAM data stored in the second DRAM device to a persistent storage device during operation of the processor and in response to detecting a power unavailability condition.

[0156] 37. A processor of any of clauses 30-33, wherein the at least one memory controller includes a second memory controller and a second memory controller interface configured to engage with a second memory controller to DRAM device link coupled at an opposite end of a second DRAM device when the processor is installed in a computer platform, and wherein the logic is further configured to copy DRAM data stored in the second DRAM device to a persistent storage device upon operation of the processor and in response to detecting a power unavailability condition.

[0157] Although some embodiments have been described with reference to specific implementations, other implementations are possible according to some embodiments. In addition, the arrangement and / or order of elements or other features illustrated in the drawings and / or described herein need not be arranged in the particular manner illustrated and described. According to some embodiments, many other arrangements are possible.

[0158] In each system shown in the figure, each element may have the same reference numeral or different reference numerals to suggest that the represented element may be different and / or similar in some cases. However, the element may be flexible enough to have different embodiments and utilize some or all of the systems shown or described herein. The various elements shown in the figure may be the same or different. Which one is called the first element and which one is called the second element is arbitrary.

[0159] In this description and claims, the terms "coupled" and "connected," along with their derivatives, may be used. It should be understood that these terms are not intended to be synonymous with each other. Rather, in certain embodiments, "connected" may be used to indicate that two or more elements are in direct physical or electrical contact with each other. "Coupled" may mean that two or more elements are in direct physical or electrical contact. However, "coupled" may also mean that two or more elements are not in direct contact with each other, but still cooperate or interact with each other.

[0160] An embodiment is an implementation or example of the invention. References in the specification to "an embodiment," "one embodiment," "some embodiments," or "other embodiments" mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least some embodiments of the invention, but not necessarily in all embodiments of the invention. The various appearances of "an embodiment," "one embodiment," or "some embodiments" do not necessarily all refer to the same embodiment.

[0161] Not all components, features, structures, characteristics, etc. described and illustrated herein need to be included in one or more specific embodiments. For example, if the specification states that a component, feature, structure, or characteristic "may", "might", "could", or "can" be included, then that particular component, feature, structure, or characteristic is not required to be included. If the specification or claims refer to "one" or "an" element, that does not mean that there is only one such element. If the specification or claims refer to "additional" elements, that does not exclude the presence of more than one additional element.

[0162] As discussed above, various aspects of the embodiments herein may be facilitated by corresponding software and / or firmware components and applications (such as software and / or firmware executed by an embedded processor or embedded logic, etc.). Therefore, embodiments of the present invention may be used as or used to support execution on a processor, processing core or embedded logic or on a virtual machine running on a processor or core, or otherwise implemented or implemented on or in a computer-readable or machine-readable non-transient storage medium, software program, software module and / or firmware. Computer-readable or machine-readable non-transient storage media include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer). For example, a computer-readable or machine-readable non-transient storage medium includes any mechanism that provides (i.e., stores and / or transmits) information in a form accessible to a computer or computing machine (e.g., a computing device, an electronic system, etc.), such as a recordable / non-recordable medium (e.g., a read-only memory (ROM), a random access memory (RAM), a disk storage medium, an optical storage medium, a flash memory device, etc.). The content may be directly executable ("object" or "executable" form), source code, or differential code ("incremental" or "inserted" code). A computer-readable or machine-readable non-transitory storage medium may also include a storage or database from which content may be downloaded. A computer-readable or machine-readable non-transitory storage medium may also include a device or product having content stored thereon when sold or delivered. Thus, delivering a device having stored content or providing content for downloading via a communication medium may be understood as providing an article of manufacture including a computer-readable or machine-readable non-transitory storage medium having such content as described herein.

[0163] The various components described herein as processes, servers or tools described above can be devices for performing the functions described. The operations and functions performed by the various components described herein can be implemented by software running on a processing element, via embedded hardware, etc., or any combination of hardware and software. Such components may be implemented as software modules, hardware modules, special hardware (e.g., application specific hardware, ASIC, DSP, etc.), embedded controllers, hard-wired circuits, hardware logic, etc. Software content (e.g., data, instructions, configuration information, etc.) may be provided via a product including a computer-readable or machine-readable non-transient storage medium, which provides the content of instructions that can be executed. The content can cause a computer to perform various functions / operations described herein.

[0164] As used herein, a list of items joined by the term "at least one of" may mean any combination of the listed terms. For example, the phrase "at least one of A, B, or C" may mean A; B; C; A and B; A and C; B and C; or A, B, and C.

[0165] The above description of the illustrated embodiments of the present invention (including what is described in the Abstract) is not intended to be exhaustive or to limit the present invention to the precise forms disclosed. Although specific embodiments and examples of the present invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the present invention as will be appreciated by those skilled in the relevant art.

[0166] These modifications may be made to the invention in light of the above detailed description. The terms used in the appended claims should not be interpreted as limiting the invention to the specific embodiments disclosed in the specification and the drawings. Rather, the scope of the invention is determined entirely by the appended claims, which are to be interpreted in accordance with established claim interpretation principles.

Claims

1. A method for saving data in a dynamic random access memory (DRAM) in a computer platform to a persistent storage device, wherein the computer platform includes a main power source for providing power to components in the computer platform during normal operation, the computer platform including the persistent storage device and running an operating system during normal operation, the method comprising: detecting a power unavailable condition in which power is no longer supplied to the computer platform by a primary power source; and in response to detecting the power unavailable condition, Automatically copy all of DRAM or only selected portions of DRAM to persistent storage without operating system intervention, Wherein the computer platform includes a processor including a plurality of caches, the method further includes flushing data in the cache to the DRAM before copying the data in the DRAM to the persistent storage device, wherein the dynamic random access memory (DRAM) and the persistent storage device are separate devices in the computer platform and are not integrated into a dual in-line memory module, and Wherein automatically copying all of DRAM or only a selected portion of DRAM to a persistent storage device without operating system intervention is implemented by a processor using a system management interrupt (SMI) and one or more system management mode (SMM) handlers, wherein the SMI is invoked in response to detecting a power unavailable condition, which dispatches one or more SMM handlers to service the SMI by copying DRAM data to the persistent storage device.

2. The method according to claim 1, further comprising: defining at least one region of the DRAM address space to include persistent DRAM; configuring a persistent storage area on a persistent storage device in which the data in the persistent DRAM is to be stored; and The data copied from the persistent DRAM is stored in the persistent storage area.

3. The method of any of the preceding claims, wherein the computer platform includes a power-protected direct memory access (DMA) engine, the method further comprising programming the power-protected DMA engine to copy data in the DRAM to the persistent storage device.

4. The method according to claim 1 or 2, wherein the computer platform further comprises: A processor comprising: at least one memory controller including a first memory controller; and an input-output (IO) interface including a direct memory access (DMA) engine; at least one DRAM device storing therein data to be preserved prior to the power unavailable condition, operatively coupled to the first memory controller via a first memory controller to DRAM device link; and IO links that couple persistent storage devices to IO interfaces, The method further includes providing temporary power to multiple power protection components in the computer platform in response to detecting a power unavailable condition, wherein the multiple power protection components include a first memory controller, a DMA engine, at least one DRAM device, a first memory controller to DRAM device link, an IO link coupling a persistent storage device to an IO interface, and a persistent storage device. 5 . The method of claim 4 , wherein the temporary power is provided via at least one of a capacitor-based power circuit and a battery.

6. The method according to any one of claims 1, 2 and 5, further comprising: determining during a platform initialization operation whether a persistent storage device is storing any DRAM data that was previously copied from DRAM to the persistent storage device in response to a power unavailable condition; as well as The DRAM data is restored to the one or more DRAM devices from which the DRAM data was copied.

7. The method of claim 6, wherein the DRAM data is stored in a scrambled format before being copied to the persistent storage device, and the DRAM data is restored using a non-scrambled format.

8. A computer platform having a mains power source, comprising: A processor comprising: at least one memory controller including a first memory controller; and an input-output (IO) interface including a direct memory access (DMA) engine; at least one dynamic random access memory (DRAM) device including a first DRAM device operatively coupled to the first memory controller via a first memory controller to DRAM device link; a persistent storage device operatively coupled to the IO interface via an IO link; and a temporary power source operatively coupled to each of the first memory controller, the persistent storage device, the IO link, the first DRAM device, and the first memory controller to DRAM device link, wherein the temporary power source is configured to supply power to each of the first memory controller, the persistent storage device, the IO link, the first DRAM device, and the first memory controller to DRAM device link for a limited period of time in the event of a condition in which a primary power source is no longer supplying power to the computer platform; wherein the computer platform is configured to detect a condition in which a main power source no longer supplies power to the computer platform, and wherein in response to detecting the condition, the IO interface is configured to copy, by the processor, all data stored in the first DRAM or only a selected portion of the first DRAM to a persistent storage device without operating system intervention by using a system management interrupt (SMI) and one or more system management mode (SMM) handlers, wherein the SMI is invoked in response to detecting the power unavailable condition, which dispatches the one or more SMM handlers to service the SMI by copying the DRAM data to the persistent storage device; Wherein the processor includes at least one processor cache and manages a write wait queue, and wherein in response to detecting an unavailable power condition, data in the at least one processor cache and the write wait queue is refreshed to the first DRAM device before being copied from the first DRAM device to the persistent storage device, and wherein the dynamic random access memory (DRAM) and the persistent storage device are independent devices in the computer platform and are not integrated into a dual in-line memory module.

9. The computer platform of claim 8, wherein the computer platform is further configured to restore data previously copied from the first DRAM device to the persistent storage device by copying the data from the persistent storage device to the first DRAM device via the DMA engine during the platform initialization operation performed.

10. The computer platform of claim 9, wherein the computer platform comprises a plurality of DRAM devices, comprising DRAM dual in-line memory modules (DIMMs), each coupled to a memory controller via a memory controller to DRAM DIMM link, wherein a temporary power source is configured to supply power to each of the plurality of DRAM DIMMs, each memory controller, and each memory controller to DRAM DIMM link in the event of a condition in which a primary power source no longer supplies power to the computer platform; and wherein in response to detecting a condition in which the primary power source no longer supplies power to the computer platform, the IO interface is configured to copy data stored on each of the plurality of DRAM DIMMs to a persistent storage device via a DMA engine.

11. The computer platform of claim 10, wherein the processor comprises at least two memory controllers, each memory controller being coupled to at least two DRAM DIMMs.

12. The computer platform of claim 10 , wherein the computer platform is further configured to restore data previously copied from each of the plurality of DRAM DIMMs to a persistent storage device by copying the previously copied data from the persistent storage device to each of the DRAM DIMMs via a DMA engine during a platform initialization operation being performed, wherein upon data restoration each DRAM DIMM stores the same data that was being stored prior to the occurrence of a condition in which a main power source no longer supplies power to the computer platform.

13. The computer platform of any one of claims 8-12, wherein the IO link comprises a Peripheral Controller Interconnect Express (PCIe) link.

14. The computer platform of any one of claims 8-12, wherein the persistent storage device comprises a solid state drive (SSD).

15. A computer platform according to any one of claims 8-12, wherein the processor includes a central processor unit (CPU) having multiple cores, and the IO interface is coupled to multiple IO links, and wherein in response to detecting an unavailable power condition, the processor enters a power-down state in which all IO links except a power protection link have their power reduced, and the cores operate in a reduced power state.

16. The computer platform of any one of claims 8-12, wherein upon completion of copying the data from the DRAM device to the persistent storage device, metadata stored in the persistent storage device is updated to indicate that the data has been successfully saved to the persistent storage device.

17. A processor configured to be installed in a computer platform including a power supply having a main power input source, one or more dynamic random access memory (DRAM) devices, and a persistent storage device, the processor comprising: a plurality of processor cores operatively coupled to an interconnect; at least one memory controller including a first memory controller and a memory controller interface operatively coupled to the interconnect and configured to engage with a first memory controller to DRAM device link coupled at an opposite end to a first DRAM device when the processor is installed in the computer platform; an input-output (IO) interface operatively coupled to the interconnect and comprising a link interface for an IO link to which a persistent storage device is coupled; Direct memory access (DMA) engine; Multiple caches; as well as Logic configured to perform the following upon operation of the processor; detecting a power unavailable condition in which a primary power input source is no longer supplying power to the power supply; and in response to detecting the condition, copying all DRAM data stored in the first DRAM device or only a selected portion of the first DRAM device to a persistent storage device without operating system intervention; wherein in response to detecting the unavailable power condition, the data in the at least one processor cache and the write wait queue is flushed to the first DRAM device before the data is copied from the first DRAM device to the persistent storage device, wherein the dynamic random access memory (DRAM) and the persistent storage device are separate devices in the computer platform and are not integrated into a dual inline memory module, and wherein the processor is configured to implement a system management interrupt (SMI) and operate in a system management mode (SMM), and further wherein the processor is configured to, when operating and in response to a power unavailable condition, invoke the SMI and dispatch one or more SMM handlers to service the SMI by: copying DRAM data stored in a first DRAM device, or only a selected portion of the first DRAM device, to a persistent storage device without operating system intervention.

18. The processor of claim 17, further comprising a direct memory access (DMA) engine, and wherein the DRAM data stored in the first DRAM device is copied to the persistent storage device via the DMA engine.

19. A processor according to any one of claims 17-18, wherein the processor further includes at least one of an APIC (Advanced Programmable Interrupt Controller) logic block and a power control unit (PCU), and in response to detecting the condition, at least one of the APIC logic block and the PCU is configured to provide power to selected components in the processor to enable DRAM data to be copied to a persistent storage device, while reducing power to other components on the processor that are not employed to facilitate the transfer of data to the persistent storage device via the DRAM data copy.

20. The processor of any of claims 17-18, wherein the computer platform comprises a multi-socket platform having a plurality of sockets and comprising a first socket having a local socket and a second socket having a remote socket and a socket-to-socket interconnect between the first socket and the second socket, wherein the processor is configured to cause instances of the processor to be installed in respective local and remote sockets, and wherein the processor further comprises a socket-to-socket interconnect interface configured to couple to the socket-to-socket interconnect, and further wherein the processor comprises logic configured to, in response to detecting a power unavailable condition and when the processor is installed in a local socket, perform the following: copying data from one or more DRAM devices accessed via one or more memory controllers on the processor to a persistent storage device; and Interfaces with a processor in a remote socket to copy data from one or more DRAM devices accessed via one or more memory controllers mounted on the processor in the remote socket to a persistent storage device.

21. The processor of any one of claims 17-18, wherein upon completion of copying the data from the first DRAM device to the persistent storage device, the processor is configured to send data via an IO link to update metadata stored in the persistent storage device to indicate that the data has been successfully saved to the persistent storage device.

22. A computer readable medium having stored thereon instructions which, when executed, cause a computing device to perform the method of any one of claims 1 to 7.

23. An apparatus for saving data in a dynamic random access memory (DRAM) in a computer platform to a persistent storage device, wherein the computer platform includes a main power source for providing power to components in the computer platform during normal operation, the computer platform including the persistent storage device and running an operating system during normal operation, the apparatus comprising: means for detecting a power unavailable condition in which power is no longer supplied to the computer platform by a primary power source; and for responding to detecting the power unavailable condition, means for automatically copying all of DRAM or only selected portions of DRAM to a persistent storage device without operating system intervention, wherein the computer platform includes a processor including a plurality of cache memories, the apparatus further comprising means for flushing data in the cache memories to the DRAM before copying the data in the DRAM to the persistent storage device, and wherein the dynamic random access memory (DRAM) and the persistent storage device are separate devices in the computer platform and are not integrated into a dual inline memory module, Wherein automatically copying all of DRAM or only a selected portion of DRAM to a persistent storage device without operating system intervention is implemented by a processor using a system management interrupt (SMI) and one or more system management mode (SMM) handlers, wherein the SMI is invoked in response to detecting a power unavailable condition, which dispatches one or more SMM handlers to service the SMI by copying DRAM data to the persistent storage device.

24. The apparatus according to claim 23, further comprising: means for defining at least one region of the DRAM address space to include persistent DRAM; means for configuring, on a persistent storage device, a persistent storage area in which data in the persistent DRAM is to be stored; as well as Means for storing data copied from the persistent DRAM into a persistent storage area.

25. The apparatus of any of the preceding claims, wherein the computer platform includes a power-protected direct memory access (DMA) engine, the apparatus further comprising means for programming the power-protected DMA engine to copy data in the DRAM to the persistent storage device.

26. The apparatus according to claim 23 or 24, wherein the computer platform further comprises: A processor comprising: at least one memory controller including a first memory controller; and an input-output (IO) interface including a direct memory access (DMA) engine; at least one DRAM device storing therein data to be preserved prior to the power unavailable condition, operatively coupled to the first memory controller via a first memory controller to DRAM device link; and IO links that couple persistent storage devices to IO interfaces, The apparatus further includes means for providing temporary power to a plurality of power protection components in the computer platform in response to detecting a power unavailable condition, wherein the plurality of power protection components include a first memory controller, a DMA engine, at least one DRAM device, a first memory controller to DRAM device link, an IO link coupling a persistent storage device to an IO interface, and a persistent storage device.

27. The apparatus of claim 26, wherein temporary power is provided via at least one of a capacitor-based power circuit and a battery.

28. The apparatus according to any one of claims 23, 24 and 27, further comprising: means for determining during a platform initialization operation whether a persistent storage device is storing any DRAM data previously copied from DRAM to the persistent storage device in response to a power unavailable condition; as well as Means for restoring DRAM data to one or more DRAM devices from which the DRAM data was copied.

29. The apparatus of claim 28, wherein the DRAM data is stored in a scrambled format before being copied to the persistent storage device, and the DRAM data is restored using a non-scrambled format.

Citation Information

Patent Citations

  • System and Method for High-Performance, Low-Power Data Center Interconnect Fabric

    US20130089104A1

  • Prevention of data loss due to power failure

    CN101099135A

  • Hybrid nonvolatile memory

    CN101960430A

  • Data manipulation at power fail

    CN102541684A

  • Data storage systems

    US20050117418A1