WO2015074235A1 - 一种内存数据的迁移方法、计算机和装置 - Google Patents
一种内存数据的迁移方法、计算机和装置 Download PDFInfo
- Publication number
- WO2015074235A1 WO2015074235A1 PCT/CN2013/087650 CN2013087650W WO2015074235A1 WO 2015074235 A1 WO2015074235 A1 WO 2015074235A1 CN 2013087650 W CN2013087650 W CN 2013087650W WO 2015074235 A1 WO2015074235 A1 WO 2015074235A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- memory card
- memory
- data
- source
- processor
- Prior art date
Links
- 238000013508 migration Methods 0.000 title claims abstract description 401
- 230000005012 migration Effects 0.000 title claims abstract description 401
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000001960 triggered effect Effects 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 20
- 238000001514 detection method Methods 0.000 claims description 13
- 238000012546 transfer Methods 0.000 claims description 4
- 238000012544 monitoring process Methods 0.000 claims description 2
- 238000012423 maintenance Methods 0.000 abstract description 9
- 230000008569 process Effects 0.000 description 12
- 230000006870 function Effects 0.000 description 4
- 230000007774 longterm Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000013507 mapping Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/1658—Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1417—Boot up procedures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/1666—Error detection or correction of the data by redundancy in hardware where the redundant component is memory or memory area
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/06—Addressing a physical block of locations, e.g. base addressing, module addressing, memory dedication
- G06F12/0646—Configuration or reconfiguration
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0614—Improving the reliability of storage systems
- G06F3/0619—Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0653—Monitoring storage devices or systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
- G06F3/0688—Non-volatile semiconductor memory arrays
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C29/00—Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
- G11C29/70—Masking faults in memories by using spares or by reconfiguring
- G11C29/74—Masking faults in memories by using spares or by reconfiguring using duplex memories, i.e. using dual copies
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/16—Error detection or correction of the data by redundancy in hardware
- G06F11/20—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
- G06F11/2053—Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
- G06F11/2094—Redundant storage or storage space
Definitions
- the present invention relates to computer technology, and more particularly to a method, computer and apparatus for migrating memory data.
- Memory also known as main memory, is one of the most important components in a computer.
- the running of all programs in the computer is done in memory, so the performance of the memory has a huge impact on the computer.
- Memory can be used to temporarily store operational data in the processor and data exchanged with external memory such as a hard disk.
- the processor will transfer the data that needs to be calculated to the memory for calculation.
- the processor will transmit the result, and the operation of the memory determines the stable operation of the computer.
- the server supports more and more memory.
- the latest Intel E7 V2 processor can support up to 2 memory boards in a single processor. Each memory board can support up to 12 memory modules in an 8P. The number of memory modules in the system can reach 192. However, the current failure rate in the system can be as high as 0.1%. Memory failures may not only cause unstable system operation, but may also cause system crashes.
- the prior art cannot implement the migration of the memory data in the computer.
- the data in the failed memory board or the faulty memory module cannot be migrated under the normal operation of the computer, so the fault memory cannot be online maintained. You can only replace the faulty memory board or the faulty memory module after powering off the computer.
- the embodiment of the invention provides a method, a computer and a device for migrating memory data, which can realize the migration of memory data without the computer being powered off.
- an embodiment of the present invention provides a computer, including
- main memory configured to load an instruction stored in the basic input/output system and an instruction of an operating system of the computer, the main memory including one or more memory cards;
- each memory card is configured with a corresponding memory controller
- the processor is configured to execute an instruction of the operating system, and receive a first trigger instruction when executing an instruction of the operating system, and execute the basic input/output system according to the first trigger instruction
- the migration instruction of the memory data the processor performs the following operations according to the migration instruction of the memory data of the basic input/output system: determining a source memory card of the memory data to be migrated; determining a backup memory card for the source memory card;
- the memory controller of the source memory card performs the migration of the memory data;
- the memory controller of the source memory card is configured to receive an indication of the processor, and migrate memory data of the source memory card to the backup memory card according to an instruction of the processor.
- the processor is specifically configured to set the source memory card and the backup memory card to a mirror mode, and send the memory controller to the source memory card a data read command
- the data read command is used to instruct the memory controller of the source memory card to read the memory data of the source memory card, and send a data write command to the memory controller of the source memory card
- the data write command is used to instruct the memory controller of the source memory card to write the read data back to the source memory card
- the memory controller of the source memory card is specifically configured to read according to the data of the processor
- the instruction reads the memory data of the source memory card, receives the data write command sent by the processor, and reads the read according to a mirror mode between the source memory card and the backup memory card
- the memory data of the source memory card is sent to the memory controller of the backup memory card; the memory controller of the backup memory card is configured to write the received memory data of the source memory card to the Back up the memory card.
- the processor is specifically configured to obtain a split migration policy, and according to the split migration policy, the indication The memory controller of the source memory card divides the memory data multiple times.
- the processor is specifically configured to perform the following operations a)-d) according to the split migration policy,
- the memory data of the source memory card is all migrated to the backup memory card, and the operations a)-d) include: a) determining the amount of data to be migrated at a time, indicating that the memory controller of the source memory card will be the current time
- the migrated data volume is migrated to the backup memory card, or the duration of the current migration is determined, and the memory controller of the source memory card is instructed to perform the migration of the memory data during the duration of the current migration;
- the memory of the source memory card The controller is further configured to monitor the error data of the source memory card, if the number of the erroneous data exceeds a threshold, triggering the first triggering instruction; the processor is specifically configured to receive the memory of the source memory card The first trigger instruction triggered by the controller.
- the operating system is further used a startup policy for configuring migration of the memory data, or a startup instruction for receiving migration of the memory data sent by the user, the operating system instructing the processor to generate the first trigger instruction according to the startup policy or the startup instruction.
- an embodiment of the present invention provides a method for migrating memory data, which is used to migrate memory data in a computer, and the method includes:
- the processor of the computer receives a first trigger instruction when executing an instruction of the operating system; the processor executes a migration instruction of the memory data of the basic input/output system according to the first trigger instruction; The processor performs the following operations according to the migration instruction of the memory data of the basic input/output system:
- the method further includes: the processor setting the source memory card and the backup memory card to a mirror mode; the processor indicating the source memory
- the memory controller of the card performs migration of the memory data, so that the memory controller of the source memory card reads the memory data of the source memory card according to the instruction of the processor, and reads the source memory card
- the memory data is written to the backup memory card, including:
- the processor sends a data read command to the memory controller of the source memory card, where the data read command is used to instruct the memory controller of the source memory card to read the memory data of the source memory card;
- the memory controller of the memory card reads the memory data of the source memory card according to the data read instruction of the processor;
- the processor sends a data write command to the memory controller of the source memory card, where the data write command is used to instruct the memory controller of the source memory card to write the read data back to the source memory card ;
- the memory controller of the source memory card receives the data write command sent by the processor, and reads the source memory card according to a mirror mode between the source memory card and the backup memory card.
- the memory data is sent to the memory controller of the backup memory card, so that the memory controller of the backup memory card writes the received memory data of the source memory card to the backup memory card.
- the method further includes: the processor acquiring a split migration policy;
- the split migration policy indicates that the memory controller of the source memory card performs the migration of the memory data multiple times.
- the processor instructs a memory controller of the source memory card to perform memory data multiple times.
- the migration includes: a) the processor determines the amount of data to be migrated at a time, and indicates that the memory controller of the source memory card migrates the data amount of the current migration to the backup memory card, or Determining, by the processor, a duration of the current migration, instructing the memory controller of the source memory card to perform migration of the memory data during the duration of the current migration; b) completing the memory controller in determining the source memory card
- the processor exits the basic input/output system and executes an instruction of an operating system; c) the processor receives a second trigger instruction, the second trigger instruction is used to instruct the processor to return to execute a migration instruction of the memory data of the basic input/output system; d) the processor returns according to the migration instruction of the memory data of the basic input/output system Line steps a), until the source
- the memory of the source memory card The controller monitors the error data of the source memory card, and if the number of the error data exceeds a threshold, the memory controller of the source memory card triggers the first trigger instruction; the processor receives the source The first trigger instruction triggered by a memory controller of the memory card.
- the processor in the computer When the instruction of the operating system is executed, the method further includes: the operating system instruction instructing the processor to generate the first triggering instruction; and then the processor receiving the first triggering instruction generated by itself.
- an embodiment of the present invention provides a basic input/output system, and the basic input and output
- the out system includes computer execution instructions that, when executed by a processor of the computer, perform the following methods:
- the processor further performs the following method according to the computer executing the instruction: setting the source memory card and the backup memory card to a mirror mode; and the memory controller indicating the source memory card performs And migrating the memory data, so that the memory controller of the source memory card reads the memory data of the source memory card according to the indication, and writes the read memory data of the source memory card to the backup Memory card, including:
- the memory controller of the source memory card reads the memory data of the source memory card according to the data read command of the processor, and after receiving the data write command, according to the source memory card and the backup memory card
- the mirror mode of the medium sends the read memory data of the source memory card to the memory controller of the backup memory card.
- the processor further performs the following method according to the computer executing the instruction: acquiring a split migration policy;
- the split migration policy indicates that the memory controller of the source memory card performs the migration of the memory data multiple times.
- the processor indicates that the memory controller of the source memory card is divided into multiple times
- Performing the migration of the in-memory data includes: determining the amount of data to be migrated, indicating that the memory controller of the source memory card migrates the amount of the data that is migrated to the backup memory card, or determining the current migration a duration indicating that the memory controller of the source memory card performs migration of the memory data during the duration of the current migration; after determining that the memory controller of the source memory card completes the current migration, exiting the basic Input and output system and execute the operating system's instruction memory card memory card.
- the basic input/output system further includes: After the memory data of the source memory card is all migrated to the backup memory card, the target memory card pointed to by the system address of the source memory card is changed to the backup memory card.
- the processor after receiving the first triggering instruction, the processor exits the operating system and executes a migration instruction of the memory data of the basic input/output system, and the migration instruction of the memory data of the basic input/output system causes the processing
- the device can determine a source memory card of the memory data to be migrated, determine a backup memory card for the source memory card, and instruct the memory control of the source memory card to read the memory data of the source memory card and read the read
- the memory data of the source memory card is written into the backup memory card, so that the memory data of the source memory card can be migrated, thereby realizing online maintenance of the faulty memory card without the computer being powered off, and solving the prior art. There is a need to power down the entire computer to replace or maintain the failed memory card.
- FIG. 1 is a system block diagram of a computer according to an embodiment of the present invention.
- FIG. 2 is a flowchart of a method for migrating memory data according to an embodiment of the present invention
- FIG. 3 is a flowchart of still another method for migrating memory data according to an embodiment of the present invention
- FIG. 4 is a flowchart of still another method for migrating memory data according to an embodiment of the present invention
- FIG. 5 is a structural diagram of a device according to an embodiment of the present invention. detailed description
- the embodiment of the invention provides a method, a computer and a device for migrating memory data, which can perform memory data migration under normal operation of the computer.
- an example of a computer embodying an embodiment of the present invention may include a main memory 101, a memory controller 102, a processor 105, a Basic Input Output System (BIOS) 104, and a hard disk. (Figure 1 is not shown).
- the main memory 101 includes at least one memory card. In FIG. 1, three memory cards are taken as an example, and the memory cards 101-A, 101-B, and 101-C are used.
- the memory controller 102 is configured to control the main memory 101.
- Each memory card of the main memory 101 can be configured with a corresponding memory controller 102, such as a memory controller 102-A of the memory card 101-A, and a memory.
- the memory controller 102-B of the card 101-B, the memory control of the memory card 101-C is used as a storage medium for the memory, and the memory card may refer to a memory stick or a memory board, or a collection of multiple memory sticks or A collection of multiple memory boards.
- Each memory card is configured with a corresponding memory controller.
- the correspondence between the memory card and the memory controller may be one-to-one, or may be one-to-many or many-to-one.
- FIG. 1 is only one of the embodiments of the present invention.
- the main memory 101 can load an instruction in the BIOS 104 and an instruction of an operating system (OS) 103 of a computer stored in the hard disk when the computer is powered on.
- the device 105 can execute instructions of the BIOS 104 or instructions of an operating system (OS) 103 of the computer, for example, the processor 105 can execute instructions of the BIOS 104 to initialize devices in the computer, and execute The instruction of the OS 103 reads and writes the memory card, wherein the processor 105 mainly refers to a CPU core portion, and may be a CPU core or multiple CPUs. In the embodiment of the present invention, the processor 105 is a collection of a plurality of CPU cores.
- the BIOS 104 can be a processing chip in which a plurality of processing instructions are registered, and the processor 105 can execute the processing instructions.
- the memory card migrated in the present embodiment is referred to as a source memory card in this embodiment.
- the memory cards 101-A and 101-B may be source memory cards
- the memory card 101-C is a backup memory card configured in the embodiment of the present invention.
- the computer specifies a backup memory card 101-C as an example. In fact, multiple backup memory cards can be specified for the computer.
- the purpose of the migration of the memory data in the embodiment of the present invention is to enable the backup memory card to obtain the memory data in the source memory card.
- the copying, copying, or relocation of the memory data may be adopted.
- the above various specific implementation manners are in the category of "migration" in the embodiment of the present invention.
- the BIOS 104 may be modified, for example, by registering a new memory data migration instruction in the BIOS 104, so that the processor executes the memory data migration instruction of the BIOS 104 to implement the migration of the memory data.
- the processor 105 is configured to receive a trigger instruction for memory data migration when executing an instruction of the OS 103, exit the OS 103 according to the trigger instruction of the memory data migration, and execute a migration instruction of the memory data of the BIOS 104, where the BIOS 104
- the migration instruction of the memory data causes the processor to perform the following operations: determining a source memory card of the memory data to be migrated, for example, the source memory card 101-A, and determining a backup memory card for the source memory card, for example, the backup memory
- the card 101-C, and the memory controller 102-A indicating the source memory card, perform the migration of the memory data.
- the memory controller 102-A of the source memory card is configured to receive an indication of the processor, read the memory data of the source memory card 101-A according to the instruction of the processor, and read the read
- the memory data of the source memory card 101-A is written to the backup memory card, and the source memory card 101-A is implemented.
- the data is migrated to the backup memory card 101-C.
- the processor 105 may receive the triggering instruction of the memory data migration when the instruction of the OS is running, exit the OS 103 according to the triggering instruction of the memory data migration, and execute the migration instruction of the memory data of the BIOS 104.
- the data of the source memory card 101-A is written into the backup memory card 101-C, and the memory data of the source memory card 101-A can be migrated without powering off the computer, thereby realizing
- the online maintenance of the faulty memory card solves the problem in the prior art that the entire computer needs to be powered off to replace or maintain the faulty memory card.
- the processor executes the BIOS instruction to complete the migration of the memory data, the data of the memory card where the OS kernel module is located can be migrated, thereby avoiding the problem that the OS kernel module data cannot be migrated through the OS operation. .
- the backup memory card serves as a target device of the memory data to be migrated, and has certain differences from other memory cards in the computer, for example, in the memory data.
- the OS 103 is invisible to the OS 103 before the migration is completed, that is, the OS 103 cannot perform read and write operations on the OS 103; the processor 105 can perform an instruction of the BIOS 104 to perform special initialization on the backup memory card 101-C, so that the backup memory card 101 is -C is ready and can be used normally, but the initialization process avoids assigning a system address to the backup memory card 101-C, thereby making the OS 103 unable to perform any read and write operations on the backup memory card 101-C.
- This ensures that the memory data of the source memory card is completely migrated to the backup card, ensuring that the migrated data will not be overwritten by other data during the migration process, and the migrated memory data is damaged.
- Configuring the backup memory card may include:
- the identifier of the backup memory card is recorded on a storage module of the computer through the OS 103, for example, recorded in an advanced configuration and an electrical fault management interface (Advanced Configuration and Power Management Interface, ACPI) ⁇ l table, the ACPI
- ACPI Advanced Configuration and Power Management Interface
- the list is a collection of information tables in which the OS 103 interacts with the BIOS 104. Both the OS 103 and the BIOS 104 can perform a query operation.
- the memory card is already stored in the computer as a backup memory card;
- the backup memory card is not inserted into the hardware slot, but the slot number of the hardware slot to be inserted by the backup memory card is specified, and the specified slot number is recorded as the identifier of the backup memory card.
- the identifier of the backup memory card is specified and recorded, and the processor 105 can then query the storage module used to record the backup memory card, such as an ACPI list, to determine the backup memory card.
- the backup memory card can be specially initialized so that the backup memory card is ready, and the computer can write the memory data of the source memory card to the backup memory card.
- Initializing the backup memory card requires that the memory card has been inserted into the hardware slot. In fact, when you insert the backup memory card into the hardware slot, you can be very flexible. You can insert it before specifying the backup memory card, or you can specify the backup. After the memory card, and any time before the migration of the memory data is performed. Specifically, the initialized scene can be divided into two types.
- the special initialization of the backup memory card refers to configuring the backup memory card so that the backup memory card is ready and can be used normally, but is invisible to the OS 103; the initialization process includes normal initialization.
- the initialization of the backup memory card may include powering the backup memory card, configuring related performance parameters, and configuring the backup memory.
- the communication connection between the card and the processor in the computer detects whether the backup memory card can perform normal read and write operations and the like.
- the backup memory card is initialized, the system address is not allocated to the backup memory card, so that the OS 103 cannot obtain the system address of the backup memory card, and cannot
- the backup memory card performs any read and write operations, that is, the backup memory card is not ready for the OS, but the OS cannot use the backup memory card. Trigger on memory data migration
- the startup of the migration of the memory data is triggered and started according to the fault condition of the source memory card or the user's requirement, that is, after the computer is powered on, the instruction of the OS 103 is normally executed, according to the received
- the triggering instruction of the memory data migration is switched to the BIOS 104 and executes the instructions of the BIOS 104 to implement the migration of the memory data.
- the processor 105 receives the triggering instruction of the memory data migration, the memory data is migrated and moved, and the fixed source memory card does not need to be specified in advance, and the source is not required to be configured in advance.
- the mirroring relationship between the memory card and the backup memory card Therefore, the embodiment of the present invention is directed to triggering the migration of the memory data by the source memory card, that is, ensuring timely processing of the fault, saving the resources of the computer, and ensuring the high computer. effectiveness.
- the triggering instruction of the memory data migration in the embodiment of the present invention is used to instruct the processor 105 to exit the OS 103 and execute the migration instruction of the memory data of the BIOS 104 to implement the migration of the memory data.
- the embodiment of the present invention may implement a single migration of the memory data, and may also implement multiple migration of the memory data. Therefore, in the embodiment of the present invention, the triggering instruction of the memory data migration may include the first triggering instruction and the second triggering instruction, and The triggering instruction for initiating the memory data migration of the first migration of the memory data is referred to as a first triggering instruction, and the triggering instruction for the memory data migration that triggers the subsequent migration of the memory data is referred to as a second triggering instruction.
- the triggering of the first triggering instruction may be relatively flexible.
- the first triggering instruction may be triggered by the processor 105 according to an instruction of the OS 103, and may also be triggered by the memory controller 102-A of the source memory card.
- a trigger instruction specifically, for example:
- the memory controllers 102-A and 102-B of the source memory card can also monitor the error data of the source memory cards 101-A and 101-B respectively, if the source memory card 101-A or 101-B is incorrect
- the data exceeds the threshold, and the corresponding memory controller can trigger the first trigger instruction, for example, source memory
- the memory controller 102-A triggers the first trigger instruction;
- the processor 105 may receive the first trigger triggered by the memory controller 102-A of the source memory card
- the instruction exits the OS 103 and executes a migration instruction of the memory data of the BIOS 104.
- the first triggering instruction may be a System Management Interrupt (SMI).
- SI System Management Interrupt
- the first triggering instruction may be directly generated by the OS according to a startup instruction of the migration of the memory data sent by the user, or may be generated by the OS according to the migration of the memory data preset by the user in the OS. Start the strategy to generate. For example, the user directly sends an instruction to the OS, and the OS instructs the processor to generate the first trigger instruction according to the instruction of the user, or the startup strategy of starting the migration of the memory data according to the time or the running state of the processor configured by the user in advance in the OS. And when the startup policy is met, the OS instructs the processor to generate the first trigger instruction.
- the processor 105 can receive the first trigger instruction triggered by itself, exit the OS 103, and execute a migration instruction of the memory data of the BIOS 104.
- the migration of the memory data is performed multiple times. Since the processor 105 executes the instruction of the BIOS 104 to perform the migration of the memory data during the process of performing the memory data migration, the instruction of the OS 103 cannot be executed for the processing of the service for a long time, which affects The normal operation of the computer causes other service processing to be in a suspended state for a long time and affects the user's experience. Therefore, the processor 105 can perform the migration of the memory data in multiple times, for example, after completing the memory data migration, the processing.
- the device 105 can exit the BIOS 104, execute the instructions of the OS 103, perform normal service processing, and then exit the OS 103 when the next memory data migration is performed, and perform the migration of the memory data of the BIOS 104 again. Instructions to continue the migration of memory data. This way of migrating the memory data multiple times allows the processor to alternately execute the instructions of the OS 103 and the BIOS 104, and finally completes the migration of the memory data, thereby avoiding the long interruption of the system service and ensuring the normal operation of the system.
- the migration instruction of the memory data of the BIOS 104 may be further improved, so that the processor 105 executes the BIOS 104.
- the split migration policy may be obtained, and the memory controller 102-A of the source memory card is instructed to perform the migration of the memory data multiple times according to the split migration policy, and the split migration policy may be Configuring by the user, for example, the user can specify the amount of data to be migrated each time or the length of each migration according to requirements.
- the processor 105 executes the migration instruction of the memory data of the BIOS 104, the migration may be performed according to the specified each migration.
- the amount of data or the duration of each migration perform the following operations a)-d) until all the memory data of the source memory card 101-A is migrated to the backup memory card 101-C, the operation a) - d) comprising: a) determining the amount of data to be migrated according to the amount of data specified for each migration, indicating that the memory controller 102-A of the source memory card will migrate the current The memory controller 102-A indicating that the source memory card is migrated during the time of the current migration, or according to the operating state of the processor, indicating the location The memory controller 102-A of the source memory card performs memory data migration during a period in which the operating state of the processor is idle, wherein the operating state of the processor is idle state, and the processor occupancy rate is less than the setting. Threshold value
- the second triggering instruction is used to instruct the processor to return an instruction to execute the BIOS 104 to continue the migration of the memory data;
- the processor 105 realizes that the data of the source memory card 101-A is migrated to the backup memory card 101-C in multiple times by the above operations a) -d).
- the second triggering instruction may be triggered by the processor 105 according to the instruction of the OS 103, or may be triggered according to a trigger condition of the pre-configured second triggering instruction, for example,
- the triggering condition of the second triggering instruction is configured in the migration policy, and the triggering condition of the second triggering instruction may include an interval duration of each migration or an operating state of the processor, and the processor 105 may Configuring a memory migration timer to enable the memory migration timer to trigger the second triggering instruction according to the interval duration of each migration, for example, the memory migration timer may be configured on a computer.
- the second triggering instruction is triggered according to its own running state. For example, the processor 105 triggers the second triggering instruction when the running state of the processor is idle.
- the processor 105 may, according to the split migration policy, instruct the memory controller 102-A of the source memory card to migrate the memory data of the source memory card to the The memory card is backed up, so that during the process of performing the memory data migration, the processor can exit the OS 103 to execute the migration instruction of the memory data of the BIOS 104 according to the requirement, or exit the BIOS 104 to execute the instruction of the OS 103 to perform the service processing, so that the The business of the computer can be processed in time to avoid long-term interruption of the computer business caused by a large amount of memory data migration, thereby ensuring the normal operation of the computer.
- the processor 105 may further set the source memory card and the backup memory card to a mirror mode before the migration of the memory data, so that the memory control 102-A of the source memory card may be according to the processor.
- the indication of 105 and the mirroring mode write memory data of the source memory card to the backup memory card.
- the memory controller of the source memory card may be The identifier of the backup memory card is configured in 102-A, and the identifier of the source memory card is configured in the memory controller 109 of the backup memory card, so that the source memory card 101-A and the backup memory card are Set to mirror mode between 101-C.
- the setting of the mirroring mode further includes the operation of establishing a data transmission channel between the source memory card 101-A and the backup memory card 101-C, and the specific implementation is not described herein.
- the processor 104 may further send a data read command to the memory controller of the source memory card according to an instruction of the BIOS 104, where the data read command is used to indicate the source memory.
- the memory controller 102-A of the card reads the data of the source memory card 101-A, and after receiving the response message of the data read command sent by the memory controller 102-A of the source memory card, The memory controller 102-A of the source memory card sends a data write command, and the data write command is used to instruct the memory controller 102-A of the source memory card to write the read data back to the source memory card. 101-A.
- the memory controller 102-A of the source memory card can read the data of the source memory card 101-A according to the data read command sent by the processor 105, and write the command according to the data sent by the processor 105. Writing the read data back to the source memory card 101-A, and the identifier of the backup memory card configured in the memory controller 102-A of the source memory card, and the read data Writing to the memory controller 102-C of the backup memory card, the memory controller 102-C of the backup memory card writes the received data into the backup memory card 101-C, thereby implementing the source memory The data of the card 101-A is migrated to the backup memory card 101-C.
- the processor 105 can migrate all data of the source memory card 101-A to the backup memory card 101-C, ensuring complete migration of the memory data. Moreover, since the source memory card and the backup memory card are set to the mirror mode, when the BIOS executes the OS command, any write operation of the OS to the source memory card is simultaneously written to the backup memory card, thereby ensuring the backup. The accuracy of the memory data that has been migrated on the memory card.
- the processor may further instruct the memory controller 102-A of the source memory card to determine the non-in the source memory card 101-A when performing the migration of the memory data of the BIOS 104. Error data, and marking the detection result according to the detection result, for example, acquiring information of the non-error data determined by the memory controller 102-A of the source memory card, thereby The error detection flag indicates that the memory controller 102-A of the source memory card migrates the non-error data to avoid migrating the error data in the source memory card 101-A to the backup memory card 101-C. A possible computer restart may occur or the backup memory card 101-C may be malfunctioning. About migration conditions
- the processor 105 can check whether the backup memory card 101-C meets the migration condition, that is, whether the data can be migrated as the source memory card 101-A before performing the memory data migration.
- the target device of the data avoids data migration failure due to the fact that the backup memory card 101-C is not initialized or the memory capacity is insufficient.
- the processor executes the migration instruction of the memory data of the BIOS 104, the following operations may also be performed: the memory controller 1012-A indicating the source memory card will use the source memory card 101-A Before the data is migrated to the backup memory card 101-C, it is determined whether the backup memory card 101-C completes initialization, and if the backup memory card 101-C completes initialization, the source memory card 101-A and the The backup memory card 101-C is set to the mirror mode for subsequent migration of the memory data;
- the processor 105 executes the migration instruction of the memory data of the BIOS 104, it may also be determined whether the memory capacity of the backup memory card 101-C is greater than the memory capacity of the source memory card 101-A, if the backup The memory capacity of the memory card 101-C is greater than the memory capacity of the source memory card 101-A, and it is determined that the migration condition is met, and the memory data of the source memory card 101-A may be subsequently migrated to the backup memory. Card 101-C.
- the processor 105 executes the migration instruction of the memory data of the BIOS 104, it may also be determined whether the source memory card 101-A and the backup memory card 101-C belong to the same processor control, if not, Indicates that data of the source memory card 101-A can be migrated to the backup memory card 101-C, thereby setting the source memory card 106 and the backup memory card 107 to a mirror mode for subsequent memory data. migrate. About the replacement of the memory card and the source memory card after the memory data migration is completed After the memory controller 102-A of the source memory card migrates the data of the source memory card 101-A to the backup memory card 101-C, the processor 105 executes the memory data of the BIOS 104.
- the mapping relationship between the system address of the source memory card 101-A and the backup memory card 101-C may be established, and the target memory card pointed to by the system address of the source memory card is changed to the The memory card is backed up, so that the backup memory card 101-C can replace the source memory card 101-A, and take over all read and write operations of the source memory card 101-A by the OS 103.
- the processor 105 can also perform a power-off operation on the source memory card 101-A, so that the computer can be powered off. Removing or replacing the source memory card 101-A solves the problem in the prior art that the entire computer needs to be powered down to replace or maintain the faulty memory card.
- an embodiment of the present invention provides a memory data migration method for migrating memory data in a computer, where the basic input/output system of the computer stores a memory data migration instruction, as shown in the figure. As shown in 2, the method includes:
- the processor of the computer receives the first trigger instruction when executing the instruction of the OS.
- the first triggering command may be triggered by the memory controller of the source memory card according to the fault condition of the source memory card. For example, the memory controller of the source memory card monitors that a source memory card has multiple errors and has reached a preset threshold.
- the first triggering instruction may be triggered to instruct the processor to initiate migration of the memory data to the source memory card that has multiple errors; the first triggering instruction may further trigger, by the OS, the processor to trigger the first according to the indication of the user.
- the triggering instruction for example, when the user has a migration requirement, may actively send a startup instruction to the OS, and the OS instructs the processor to trigger the first triggering instruction according to the startup instruction, and for example, the user may preset a startup policy in the OS, when When the startup strategy is satisfied, the trigger processor triggers the first trigger instruction.
- S202 The processor executes a migration instruction of the memory data of the BIOS according to the first trigger instruction. After acquiring the first triggering instruction, the processor exits the operating system and executes a migration instruction of the memory data of the BIOS, and the migration instruction of the memory data of the BIOS causes the processor to perform steps S203-S205.
- the processor determines, according to the migration instruction of the memory data of the BIOS, a source memory card of the memory data to be migrated.
- the processor determines, according to the migration instruction of the memory data of the BIOS, a backup memory card for the source memory card.
- the processor may determine a target memory card of the source memory card.
- the target memory card is a backup memory card.
- the backup memory card can be pre-configured.
- S205 The processor instructs the memory controller of the source memory card to perform memory data migration according to the migration instruction of the memory data of the BIOS, so that the memory controller of the source memory card is configured according to the processor. Instructing to migrate memory data of the source memory card to the backup memory card.
- the processor may instruct the memory controller of the source memory card to read the memory of the source memory card according to the migration instruction of the memory data of the BIOS. Data, the read data is written to the backup memory card, so that the memory data of the source memory card is migrated to the backup memory card.
- the processor may receive the first trigger instruction, exit the operating system according to the first trigger instruction, and execute a migration instruction of the BIOS data, and the memory data migration instruction of the BIOS And causing the processor to determine a source memory card determining the memory data to be migrated and a backup memory card of the source memory card, and a memory controller indicating the source memory card to write the memory data of the source memory card into the The memory card is backed up, so that the memory data of the source memory card can be migrated when the computer is not powered off, and the online maintenance of the faulty memory card is realized, which solves the problem that the entire computer needs to be powered off in the prior art. Problems with replacement or maintenance of the failed memory card.
- the processor since the processor executes the BIOS instruction to complete the migration of the memory data, the data of the memory card where the OS kernel module is located can be migrated, thereby avoiding the inability to migrate the OS kernel module data. The problem of moving.
- the embodiment of the present invention provides a method for migrating memory data, as shown in FIG. 3, for migrating memory data in a computer, where the BIOS of the computer stores a migration instruction of the memory data.
- the memory data of the source memory card may be migrated to the backup memory card
- the source memory card may be a memory card 101-A
- the backup memory card may be a memory card 101-C
- the memory card 101-C may be It is a memory card that has been inserted into the hardware slot before the computer is turned on. It can also be a temporarily added memory card.
- the identifier of the memory card 101-C is configured in the ACPI list and before the migration is performed.
- the method for migrating the memory data in the embodiment of the present invention may include:
- S301 The processor acquires the identifier of the designated backup memory card according to the instruction of the BIOS and configures it into the ACPI list.
- the processor executes the BIOS instruction, and may present a BIOS start menu for the user, and the user configures the identifier of the designated backup memory card through the BIOS start menu, and the processor may obtain the user.
- the identifier of the configured backup memory card is recorded in the ACPI.
- the processor may also record the identifier of the backup memory card in another storage unit or list, and the processor may subsequently obtain the recorded backup memory.
- the identifier of the card is not limited, and the embodiment of the present invention is not limited herein.
- the identifier of the backup memory card may be a slot number of a slot in which the backup memory card is inserted or a number related to the slot.
- the backup memory card may be inserted into the slot before the computer is booted, or may be inserted into the slot after the computer is booted, if the backup memory card is inserted.
- the identifier of the backup memory card is the slot number of the slot inserted in the current slot. If the backup memory card has not been inserted into the slot, The identifier of the backup memory card may be a slot number of a slot specified by the user, and the backup memory card may be directly inserted into the slot specified by the user.
- Step 301 is an optional step.
- the user does not have to provide the identifier of the backup memory card to the processor when the computer is powered on, and may also provide the identifier of the backup memory card to the processor after the computer is booted.
- the processor executes an instruction of the OS, and the user can provide the identifier of the backup memory card to the processor through the OS.
- the processor initializes the backup memory card according to an instruction of the BIOS, and the initialization process avoids allocating a system address to the backup memory card.
- the computer may be restarted, and the BIOS instruction is executed to perform special initialization on the backup memory card, that is, the initialization process is avoided as the backup memory card.
- the system address is assigned such that the backup memory card is ready, but not visible to the OS.
- the processor when the computer is restarted, the processor will execute an initialization instruction of the BIOS, and the initialization instruction of the BIOS may cause the processor to determine whether the backup memory card has been inserted into the slot. If it is determined that the backup memory card has hardware, the backup memory card may be initialized.
- this step is an optional step.
- the processor may also initialize the backup memory card without restarting the computer, but when the backup memory card needs to be used subsequently, for example, before migration, When the backup memory card is not initialized, the backup memory card is initialized.
- the memory controller of the source memory card monitors the error data of the source memory card, determines whether the error data exceeds a threshold, and if the error data exceeds a threshold, the memory controller of the source memory card triggers A trigger instruction.
- the processor may execute the BIOS instruction to the source memory.
- the memory controller of the card is configured to be within the source
- the memory controller of the memory card can monitor the error data of the source memory card, and when the error data of the source memory card exceeds a threshold, triggering the first trigger instruction, where the first trigger instruction is used to indicate processing
- the device exits the OS and executes a memory data migration instruction of the BIOS to initiate migration of the memory data, wherein the threshold may be configured by the processor to the memory controller of the source memory card when the computer is powered on, so that the source memory
- the memory controller of the card can count the error data in the source memory card after booting, and perform real-time monitoring on the source memory card.
- the error data of each source memory card may be monitored, and when the error data of any one of the source memory cards is monitored to exceed the threshold, the first trigger instruction is triggered. , instructs the BIOS to initiate a memory data migration of the memory card.
- the triggering of the first triggering instruction by the memory controller of the source memory card may be triggered by a computer system management interrupt SMI, and the processor enters the SMI interrupt triggered by the memory controller of the source memory card, and then enters System Management (SM) mode, at which point the processor will exit the OS and execute the BIOS instructions.
- SMI computer system management interrupt
- SM System Management
- the source memory card in the computer can be monitored, and the processor can trigger the first trigger instruction on the faulty source memory card to perform memory data migration, thereby ensuring timely resolution of the fault. And the memory data migration is performed only when the source memory card fails, saving system resources.
- the memory controller of the source memory card may record, in its own register, that the number of error data of the source memory card exceeds a threshold, so as to subsequently instruct the processor to determine the faulty memory card, that is, the source memory card.
- S304 The processor acquires the first trigger instruction, and according to the first trigger instruction, exits an operating system and executes a migration instruction of a memory data of the BIOS.
- the processor After receiving the SMI interrupt, the processor enters a system management mode, at which time the processor exits the OS and executes a migration instruction of the BIOS data, and the memory data migration instruction may cause the processor to perform the step S 305 - Step S 312.
- the processor queries the source according to a migration instruction of the BIOS memory data.
- the memory controller of the memory card determines the source memory card.
- the processor After the booting of the memory data, the processor needs to determine the memory card of the data to be migrated, that is, the source memory card, and the processor may execute the migration instruction of the memory data of the BIOS to determine to trigger the first trigger instruction.
- the memory card corresponding to the source memory controller is a source memory card, for example, querying a register of a memory controller in the computer, and determining the source memory by using information recorded in a register of a memory controller of the source memory card card.
- the processor may further record the identifier of the source memory card into the ACPI list, so that the source memory card may be acquired by reading the ACPI list. Information.
- the processor queries the information according to a migration instruction of the BIOS data of the BIOS.
- the ACPI list determines the identity of the backup memory card.
- the identifier of the backup memory card may be one, and may also be multiple. If the identifiers of the backup memory cards are multiple, the processor may obtain identifiers of the multiple backup memory cards from the ACPI list.
- an identifier of the backup memory card as an identifier of the backup memory card, for example, according to a memory capacity of the source memory card, from the multiple backups Selecting, by the memory card, a memory card having a memory capacity greater than a memory capacity of the source memory card, determining an identifier of the memory card as an identifier of the backup memory card, and, for example, processing the source memory card according to the source memory card And selecting, from the plurality of backup memory cards, a memory card that is not controlled by the same processor as the source memory card, and determining an identifier of the memory card as an identifier of the backup memory card.
- the processor determines, according to the migration instruction of the memory data of the BIOS, whether the backup memory card meets a migration condition.
- the processor Before performing the migration of the memory data of the source memory card, the processor needs to determine whether the backup memory card meets the migration condition, and if the migration condition is met, the memory data is migrated to the source memory card to ensure that the memory data is migrated. Memory data migration goes smoothly, avoiding due to the backup memory Data migration failed due to insufficient memory capacity of the card.
- the determining whether the backup memory card meets the migration condition may be: determining whether the backup memory card is initialized, and if the backup memory card is initialized, indicating that the backup memory card is ready to meet the migration condition. If the step S302 is not performed before the step is performed, that is, if the backup memory card is not initialized, the processor may execute an initialization command of the BISO at this time, and perform special processing on the backup memory card. Initialization, so that the backup memory card is ready to meet the migration conditions.
- determining whether the backup memory card meets the migration condition may be: determining whether a memory capacity of the backup memory card is greater than a memory capacity of the source memory card, and if it is greater than a memory capacity of the source memory card, indicating that Migrating the memory data of the source memory card to the backup memory card, where the backup memory board meets a migration condition; or
- the processor instructs the memory controller of the source memory card to perform a memory patrol operation to determine the source memory according to the migration instruction of the memory data of the BIOS. Non-error data in the card.
- the processor may instruct the memory controller of the source memory card to perform a memory patrol operation to determine non-error data in the source memory card, and mark the detection result according to the detection result, so that When the memory data of the source memory card is subsequently migrated to the backup memory card, only the non-error data in the source memory card can be migrated according to the error detection flag, thereby avoiding migrating the error data to the backup memory. Problems caused by the computer restart caused by the card.
- the memory controller of the source memory card is configured to start a memory patrol operation according to the instruction of the processor, where the memory patrol operation may be, according to a set error detection mechanism, the source memory card
- the memory data is detected to determine which data in the source memory card is erroneous data, and the system address of the erroneous data is marked, that is, the detection flag is marked according to the detection result, so that the subsequent When the row memory data is migrated, the processor is capable of migrating non-error data in the source memory card according to the system address of the erroneous data marked.
- the memory controller of the source memory card may configure its own register after performing the patrol operation, and the processor may query the register to determine whether the patrol operation is completed, when the patrol operation is performed. After the completion, the processor may perform step 309, that is, setting the source memory card and the backup memory card to a mirror mode for performing migration of the memory data.
- This step is an optional step, and the processor does not necessarily instruct the source memory controller to perform a memory patrol operation.
- the processor sets the source memory card and the backup memory card to a mirror mode according to a migration instruction of the BIOS data.
- the processor may set the source memory card and the backup memory card to a mirror mode, and after the mirror mode is set, the memory control of the source memory card can be according to the An indication of the processor writes the memory data of the source memory card to the backup memory card.
- the identifier of the backup memory card may be configured in a memory controller of the source memory card, and the memory of the backup memory card is controlled. Configuring an identifier of the source memory card to set a mirror mode between the source memory card and the backup memory card, so that the source memory card can be the source according to an indication of the processor.
- the memory data of the memory card is sent to the memory controller of the backup memory card, so that the memory controller of the backup memory card writes the memory data of the source memory card to the backup memory card.
- setting the source memory card and the backup memory card to the mirroring mode may further include: the processor copying address configuration information of the memory controller of the source memory card to a memory control of the backup memory card And causing the backup memory card to allocate a system address to the backup memory card according to an address allocation manner of the source memory card.
- the processor instructs the memory controller of the source memory card to perform memory data migration according to the migration instruction of the memory data of the BIOS.
- the processor may instruct the memory controller of the source memory card to perform memory data migration on the source memory card.
- the processor may send a data read command to the memory controller of the source memory card, where the data read command is used to instruct the memory controller of the source memory card to read the memory data of the source memory card.
- the processor may send a data write command to a memory controller of the source memory card, where the data write command is used to indicate the The memory controller of the source memory card writes the read data back to the source memory card, so that the memory controller of the source memory card can read the memory of the source memory card according to the data read command.
- the memory controller of the backup memory card is capable of writing the read data to the backup memory card, realizing migration of memory data, and capable of using the source memory All memory data of the card is migrated to the backup memory card, and not only the data in the source memory card is newly written after the boot memory data migration is migrated.
- the processor executes the instruction of the BIOS to perform the migration of the memory data
- the instruction of the OS cannot be executed for a long time, so the processor can divide Performing the migration of the memory data multiple times. For example, after completing the memory data migration, the processor may exit the BIOS, execute the instructions of the OS, and perform normal service processing until the next memory data migration. After exiting the OS, the memory data migration instruction of the BIOS is executed again to continue the migration of the memory data. This way of migrating memory data multiple times allows the processor to alternately execute OS and BIOS instructions, and finally completes the migration of memory data, avoiding long-term interruption of system services. Prove the normal operation of the system.
- the migration instruction of the memory data of the BIOS may be further improved, for example, each of the migration instructions of the memory data of the BIOS is configured in advance.
- the amount of data of the secondary migration or the duration of each migration, that is, the split migration policy is configured, so that when the processor executes the migration instruction of the memory data of the BIOS, the source memory may be indicated according to the split migration policy.
- the memory controller of the card performs the migration of the memory data in multiple times.
- the processor may instruct the memory controller of the source memory card to perform the migration of the memory data multiple times by the following steps:
- the processor determines, according to the amount of data specified by the each migration, the amount of data to be migrated, and instructs the memory controller of the source memory card to migrate the data amount of the current migration to the backup memory card. Or determining, by the processor, the duration of the current migration to determine the duration of the current migration according to the duration of each migration, and indicating that the memory controller of the source memory card performs the memory data during the duration of the current migration.
- the memory controller 102-A indicating the source memory card performs memory data migration during a period in which the operating state of the processor is idle, wherein the operating state of the processor The idle state may be that the occupancy rate of the processor is less than a set threshold;
- the processor exits the BIOS and executes an instruction of the OS
- the processor receives a second trigger instruction, the second trigger instruction is used to instruct the processor to return an instruction to execute the BIOS to continue the migration of the memory data
- step d) the processor returns to step a) according to the instruction of the BIOS until all the memory data of the source memory card is migrated to the backup memory card.
- step b) when the processor exits the BIOS and executes an instruction of the OS to perform a service process, the source memory board may be read and written, even if the OS uses the processor to perform the The data block A that has been migrated in the source memory card performs a data write operation. Since the mirror mode is set, the memory controller of the source memory card can also write the data of the write operation to the data block A of the backup memory card. , avoiding the loss of data, ensuring the backup memory card and the source Consistency of memory card data.
- the user may also configure a trigger condition of the second triggering instruction in the split migration policy, where the triggering condition of the second triggering command may be an interval duration of each migration, and the processor may migrate from the foregoing The time interval of the each migration is obtained in the policy, and the memory migration timer is configured according to the interval duration of the migration, so that the memory migration timer triggers the second according to the interval duration of each migration.
- Triggering instructions that is, indicating that the processor continues to perform migration of memory data according to the interval duration of each migration, for example, the processor may set the memory migration timer in a south bridge of the computer;
- the triggering condition of the second triggering instruction may also be an operating state of the processor, and the processor may trigger the second triggering instruction according to an operating state of the processor.
- the operating state of the processor may be a processor. In the idle state, or the occupancy rate of the processor is less than a specific threshold, the processor may monitor its own running information in real time when executing the instruction of the OS, and trigger the first time when the occupancy rate of the processor is less than a specific threshold set.
- the second migration instruction causes the processor to exit the OS to execute the instruction of the BIOS according to the second migration instruction triggered by itself, and then continue to perform memory data migration.
- the processor may further utilize a motherboard control unit.
- the mainboard controller monitors the running state of the device and triggers the second triggering command, which is not limited herein.
- the processor may indicate the source memory card according to the address of the error data recorded by the memory controller of the source memory card.
- the memory controller migrates the non-error data in the source memory card to the backup memory card, avoiding the computer restart caused by migrating the wrong data in the source memory card to the backup memory card.
- S311 The processor changes the target memory card pointed to by the system address of the source memory card to the backup memory card according to the migration instruction of the memory data of the BIOS.
- the processor may map the system address of the source memory card to the backup memory card, so that the target memory card pointed to by the system address of the source memory card is changed to
- the backup memory card may replace the source memory card and take over all read and write operations on the source memory card.
- S312 The processor performs a power-off operation on the source memory card according to the migration instruction of the memory data of the BIOS.
- the processor may perform a power-off operation on the source memory card, so that the source memory card may be removed or replaced if the computer is not powered off.
- the problem that the prior art needs to power off the entire computer to replace or maintain the faulty memory card is solved.
- the processor may acquire a first triggering instruction, exit the OS according to the first triggering instruction, and execute a migration instruction of the memory data of the BIOS, where the migration instruction of the memory data of the BIOS causes the
- the processor can determine the source memory card and the backup memory card, and after determining that the backup memory card meets a migration condition, set the source memory card and the backup memory card to a mirror mode, indicating the source
- the memory controller of the memory card writes the memory data of the source memory card to the backup memory card according to the mirroring mode, so that the memory data of the source memory card can be migrated when the computer is not powered off.
- the online maintenance of the faulty memory card is realized, which solves the problem that the prior art needs to power off the entire computer to replace or maintain the faulty memory card.
- the processor starts the migration of the memory data according to the triggered first triggering instruction, and performs the memory data migration only when the source memory card fails or needs to perform the memory data migration, thereby effectively saving system resources.
- the processor executes the BIOS instruction to complete the migration of the memory data, the data of the memory card where the OS kernel module is located can be migrated, thereby avoiding the problem that the OS kernel module data cannot be migrated.
- the processor may further migrate all the data of the source memory card to the backup memory card, instead of only migrating the memory newly written to the source memory card after starting the memory migration.
- the data ensures a complete migration of the in-memory data.
- the processor may further, according to the split migration policy, instruct the memory controller of the source memory card to migrate the memory data of the source memory card to the backup memory card multiple times, so that the memory data migration is performed.
- the processor can exit the OS to execute the memory data migration instruction of the BIOS according to the requirement, or exit the BIOS to execute the OS instruction for business processing, thereby ensuring that the computer business can be processed in time, and avoiding the computer service caused by a large amount of memory data migration.
- the long interruption of the computer ensures the normal operation of the computer.
- the processor is further configured to instruct the memory controller of the source memory card to determine non-error data in the source memory card, and instruct the memory controller of the source memory card to migrate the non-error data to the Backing up the memory card to avoid restarting the computer caused by migrating the wrong data in the source memory card to the backup memory card.
- the processor may further determine whether the backup memory card meets the migration condition, and perform memory data migration on the source memory card if the migration condition is met.
- the memory data migration is ensured smoothly, and the data migration failure due to the problem that the backup memory card is not initialized or the memory capacity is insufficient is avoided.
- the embodiment of the present invention provides a method for migrating memory data, as shown in FIG. 3, for migrating memory data in a computer, where the BIOS of the computer stores a migration instruction of the memory data.
- the memory data of the source memory card can be migrated to the backup memory card
- the source memory card can be a memory card 101-A
- the backup memory card can be a memory card 101-C
- the memory card 101-C can be It is a memory card that has been inserted into the hardware slot before the computer is turned on. It can also be a temporarily added memory card.
- the identifier of the memory card 101-C is configured in the ACPI list and before the migration is performed.
- the method for migrating the in-memory data in the embodiment of the present invention may include:
- S401 The processor configures the identifier of the specified backup memory card into the ACPI list according to an instruction of the OS.
- the processor executes an instruction of the OS, and the user may provide an identifier of the designated backup memory card to the OS, and the processor may acquire the backup memory specified by the user according to the instruction of the OS.
- the identity of the card and is configured into the ACPI list
- the ACPI list is a list that can be accessed by both the BIOS and the OS, so that the processor performs subsequent information.
- the identifier of the backup memory card can also be recorded in other storage units or lists, and the processor is guaranteed to be executed.
- the storage unit or the list may be accessed by the instruction of the OS and the instruction of the BIOS.
- the embodiment of the present invention is not limited herein.
- This step is an optional step.
- the user can also specify the identifier of the backup memory card when the computer is powered on.
- the processor runs the BIOS command, and the user can provide the BIOS with the identifier of the backup memory card.
- the processor may acquire an identifier of the backup unit specified by a user according to an instruction of the BIOS.
- the identifier of the backup unit may be a slot number of a slot in which the backup memory card is inserted or a number related to the slot.
- the backup memory card may be inserted into the slot before the computer is booted, or may be inserted into the slot after the computer is booted, if the backup memory card is inserted.
- the identifier of the backup memory card is the slot number of the slot that is inserted. If the backup memory card has not been inserted into the slot, the identifier of the backup memory card may be specified by the user. The slot number of the slot, the backup memory card can be directly inserted into the slot specified by the user.
- the processor may further initialize the backup memory card according to the instruction of the BIOS, so that the backup memory card is ready for normal use, but is invisible to the OS, that is, the processor executes
- the backup memory card cannot be read or written by the instruction of the OS.
- the backup memory may be in the backup memory.
- the triggering operation on the backup memory card triggers the processor to execute the BIOS initialization command to initialize the backup memory card.
- the backup memory card may be used later.
- the processor further performs initialization of the BIOS to initialize the backup memory card; when the designated backup memory card is inserted into the slot before the computer is powered on, when the computer is powered on.
- the processor executes a BIOS instruction, and the user needs to configure through a BIOS start menu. Determining an identifier of the memory card, causing the processor to execute the BISO instruction,
- S402 The processor configures the identifier of the specified source memory card into the ACPI list according to the instruction of the OS.
- the memory card may be designated as a memory card of the data to be migrated, that is, a source memory card, and the identifier of the source memory card is provided to the OS, and the processor may acquire the identifier of the source memory card specified by the user according to the instruction of the OS, and The identifier of the source memory card is configured in the ACPI list, so that when the processor executes the migration instruction of the memory data of the BIOS, the information of the source memory card can be obtained by reading the ACPI list.
- the identifier is provided to the OS, and the identifier of the source memory card and the backup memory card may be provided together to the OS, so that the processor may separately use the source memory card and the backup memory card
- the identifier is configured in the ACPI list, for example, the identifiers of the source memory card and the backup memory card are configured in the ACPI list through steps 401 and 402, and the source memory card and the backup memory may also be configured.
- the identifiers of the cards are configured together in the ACPI list, which is not limited herein.
- S403 The processor triggers a first trigger instruction according to an instruction of the OS.
- the processor executes the instruction of the OS to perform the service processing
- the migration instruction of the memory data may be sent to the OS, that is, the startup instruction, and the OS according to the migration instruction of the user sending the memory data, the instruction
- the processor generates the first triggering instruction, and the processor generates the first triggering instruction according to an instruction of the OS, where the first triggering instruction is used to instruct the processor to exit the OS and execute memory data of the BIOS. Migration instructions.
- the first triggering instruction may specifically be an SMI.
- the processor may change a pin level of the GPIO according to an instruction of the OS, so that the south bridge chip of the computer (South)
- the SMI is triggered
- the processor may receive the SMI; for example, the processor may configure a register in a south bridge in the computer according to an instruction of the OS, so that the south bridge of the computer
- the processor may receive the SMI.
- the processor may trigger the first triggering command in other manners, which is not limited herein.
- S404 The processor exits the operating system according to the first trigger instruction and executes a migration instruction of the BIOS data.
- the processor After receiving the SMI interrupt, the processor enters a system management mode, at which time the processor exits the OS and executes a migration instruction of the BIOS data, and the memory data migration instruction may cause the processor to perform the step S405 - Step S411.
- S405 The processor queries the ACPI list to determine the source memory card and the backup memory card.
- the processor may query the ACPI list to obtain the recorded source memory card, because the processor records the identifiers of the source memory card and the backup memory card in the ACPI list in advance. And identifying, by the identifier of the backup memory card, the source memory card and the backup memory card according to the identifiers of the source memory card and the backup memory card.
- the processor may obtain identifiers of the plurality of backup memory cards from the ACPI list, and according to the information of the source memory card, from the plurality of the backups. Selecting an identifier of the memory card as the identifier of the backup memory card, for example, selecting a memory capacity from the plurality of backup memory cards that is greater than a memory capacity of the source memory card according to a memory capacity of the source memory card.
- the identifier of the memory card is determined as an identifier of the backup memory card, and, for example, one of the plurality of backup memory cards may be selected from the source according to information of a processor to which the source memory card belongs The memory card does not belong to the memory card controlled by the same processor, and the identifier of the memory card is determined as the identifier of the backup memory card.
- S406 The processor determines whether the backup memory card meets a migration condition.
- S409 The processor instructs a memory controller of the source memory card to perform memory data migration.
- S410 The processor establishes a mapping relationship between a system address of the source memory card and the backup memory card.
- S411 The processor performs a power-off operation on the source memory card.
- the processor may perform a power-off operation on the source memory card, so that the source memory card may be removed or replaced if the computer is not powered off.
- the problem that the prior art needs to power off the entire computer to replace or maintain the faulty memory card is solved.
- the processor may acquire a first triggering instruction, exit the OS according to the first triggering instruction, and execute a migration instruction of the memory data of the BIOS, where the migration instruction of the memory data of the BIOS causes the
- the processor can determine the source memory card and the backup memory card, and after determining that the backup memory card meets a migration condition, set the source memory card and the backup memory card to a mirror mode, indicating the source
- the memory controller of the memory card writes the memory data of the source memory card to the backup memory card according to the mirroring mode, so that the memory data of the source memory card can be migrated when the computer is not powered off.
- the online maintenance of the faulty memory card is realized, which solves the problem that the prior art needs to power off the entire computer to replace or maintain the faulty memory card.
- the processor starts the migration of the memory data according to the triggered first triggering instruction, and performs the memory data migration only when the source memory card fails or needs to perform the memory data migration, thereby effectively saving system resources.
- the processor executes the BIOS instruction to complete the migration of the memory data, the data of the memory card where the OS kernel module is located can be implemented. Line migration avoids the problem of not being able to migrate OS kernel module data. .
- the processor may further migrate all the data of the source memory card to the backup memory card, instead of only migrating the memory newly written to the source memory card after starting the memory migration.
- the data ensures a complete migration of the in-memory data.
- the processor may further, according to the split migration policy, instruct the memory controller of the source memory card to migrate the memory data of the source memory card to the backup memory card multiple times, so that the memory data migration is performed.
- the processor can exit the OS to execute the memory data migration instruction of the BIOS according to the requirement, or exit the BIOS to execute the OS instruction for business processing, thereby ensuring that the computer business can be processed in time, and avoiding a large amount of memory data.
- the processor is further configured to instruct the memory controller of the source memory card to determine non-error data in the source memory card, and instruct the memory controller of the source memory card to migrate the non-error data to the Backing up the memory card to avoid restarting the computer caused by migrating the wrong data in the source memory card to the backup memory card.
- the processor may further determine whether the backup memory card meets the migration condition, and perform memory data migration on the source memory card if the migration condition is met.
- the memory data migration is ensured smoothly, and the data migration failure due to the problem that the backup memory card is not initialized or the memory capacity is insufficient is avoided.
- An embodiment of the present invention provides a basic input/output system.
- the basic input/output system includes a computer execution instruction 501, and the basic input/output system may be a processing chip.
- the computer executes: a method of:
- the computer may further execute the following method according to the computer execution instruction 501: setting the source memory card and the backup memory card to a mirror mode;
- the processor instructs the memory controller of the source memory card to perform migration of the memory data, so that the memory controller of the source memory card reads the memory data of the source memory card according to the instruction of the processor, and The read memory data of the source memory card is written to the backup memory card, including:
- the processor sends a data read command to the memory controller of the source memory card, where the data read command is used to instruct the memory controller of the source memory card to read the memory data of the source memory card; Transmitting, by the memory controller, a data write instruction to the memory controller of the source memory card, where the data write command is used to instruct the memory controller of the source memory card to write the read data back to the source memory card, so that The memory controller of the source memory card reads the memory data of the source memory card according to the data read command of the processor, and after receiving the data write command, according to the source memory card and the backup memory card The mirroring mode between the memory data of the source memory card read is sent to the memory controller of the backup memory card.
- the computer may further execute the following method according to the computer execution instruction 501: the computer acquires a split migration strategy;
- the computer instructs the memory controller of the source memory card to perform the migration of the memory data multiple times according to the split migration policy. Further, the computer instructing the memory controller of the source memory card to perform the migration of the memory data multiple times according to the split migration policy may include:
- the computer After determining that the memory controller of the source memory card completes the current migration, the computer exits the basic input output system and executes an instruction of the operating system. Further, the computer may further execute the following method according to the computer execution instruction 501: the computer determines whether the backup memory card meets a migration condition, and if the migration condition is met, executing the memory indicating the source memory card And the migrating condition includes: The memory of the card is in the valley.
- the computer may further initialize the backup memory card according to the computer execution instruction 501 when the backup memory card is not initialized, wherein the initialization avoids assigning a system address to the backup memory card.
- the computer may perform the following method before the computer indicates that the memory controller of the source memory card performs the migration of the memory data:
- the computer instructs a memory controller of the source memory card to detect non-error data in the source memory card and mark the same;
- the computer instructs the memory controller of the source memory card to migrate the non-error data according to the flag according to the migration instruction of the memory data of the basic input/output system.
- the computer may further execute, according to the computer execution instruction 501, after the memory data of the source memory card is all migrated to the backup memory card, the target memory card pointed to by the system address of the source memory card is changed. For the backup memory card.
- the basic input/output system includes a computer execution instruction 501, so that when the computer executes the computer execution instruction 501, the source memory card of the memory data to be migrated may be determined, and the backup memory is determined for the source memory card.
- Card, the source memory card and the backup memory card are set to a mirror mode, and the memory controller of the source memory card is instructed to write the memory data of the source memory card to the backup memory according to the mirror mode.
- the card can be used to migrate the memory data of the source memory card when the computer is not powered off, thereby realizing the online maintenance of the faulty memory card, and solving the problem that the prior art needs to power off the entire computer to perform faulty memory. Card replacement Or maintenance issues.
- the processor of the computer is a computer execution instruction 501 executing the BIOS to complete the migration of the memory data, the data of the memory card where the OS kernel module is located can be migrated, thereby avoiding the problem that the OS kernel module data cannot be migrated. .
- all data of the source memory card may also be migrated to the backup memory card, instead of only migrating the memory data newly written to the source memory card after starting the memory migration, thereby ensuring A complete migration of in-memory data.
- the memory controller of the source memory card may be instructed to migrate the memory data of the source memory card to the device in multiple times according to the split migration policy.
- the memory card is backed up, so that during the process of performing the memory data migration, the processor can exit the OS executing the BIOS execution instruction 501 according to the requirement, or exit the BIOS to execute the OS instruction for service processing, thereby ensuring the service of the computer.
- the processor is further configured to instruct the memory controller of the source memory card to determine non-error data in the source memory card, and instruct the memory controller of the source memory card to migrate the non-error data to the Backing up the memory card to avoid restarting the computer caused by migrating the wrong data in the source memory card to the backup memory card.
- the processor when the processor executes the instruction 501, the processor may further determine whether the backup memory card meets the migration condition, and if the migration condition is met, The migration of the memory data by the source memory card ensures that the memory data migration is smoothly performed, and the data migration failure caused by the problem that the backup memory card is not initialized or the memory capacity is insufficient is avoided.
- aspects of the invention may take the form of a computer program product, which is a computer readable program code stored on a computer readable medium.
- the computer readable medium can be a computer readable signal medium or a computer readable storage medium.
- Computer readable storage media includes, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor System, device or device, or any suitable combination of the foregoing, such as random access memory
- RAM Read Only Memory
- ROM Read Only Memory
- EPROM Erasable Programmable Read Only Memory
- CD-ROM Portable Read Only Memory
- the processor in the computer reads the computer readable program code stored in the computer readable medium, such that the processor can perform the functional actions specified in each step or combination of steps in the flowchart; A device that functions as specified in each block, or combination of blocks.
- the computer readable program code can execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on the remote computer, or entirely on the remote computer or server.
- the functions noted in the various steps of the flowchart, or in the blocks in the block diagrams may not occur in the order noted. For example, two steps, or two blocks shown in succession may be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
Description
Claims
Priority Applications (9)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
ES13896846.6T ES2612829T3 (es) | 2013-11-22 | 2013-11-22 | Ordenador y método de migración de datos de memoria |
ES16197467T ES2727818T3 (es) | 2013-11-22 | 2013-11-22 | Método, ordenador y aparato para migrar datos de memoria |
JP2016504454A JP6064237B2 (ja) | 2013-11-22 | 2013-11-22 | メモリデータを移行するための方法、コンピュータ、および装置 |
PCT/CN2013/087650 WO2015074235A1 (zh) | 2013-11-22 | 2013-11-22 | 一种内存数据的迁移方法、计算机和装置 |
EP16197467.0A EP3206127B1 (en) | 2013-11-22 | 2013-11-22 | Method, computer, and apparatus for migrating memory data |
EP13896846.6A EP2913754B1 (en) | 2013-11-22 | 2013-11-22 | Memory data migration computer and method |
CN201380002306.4A CN103827834B (zh) | 2013-11-22 | 2013-11-22 | 一种内存数据的迁移方法、计算机和装置 |
US14/709,444 US9424146B2 (en) | 2013-11-22 | 2015-05-11 | Method, computer, and apparatus for migrating memory data |
US15/217,608 US10049010B2 (en) | 2013-11-22 | 2016-07-22 | Method, computer, and apparatus for migrating memory data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2013/087650 WO2015074235A1 (zh) | 2013-11-22 | 2013-11-22 | 一种内存数据的迁移方法、计算机和装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/709,444 Continuation US9424146B2 (en) | 2013-11-22 | 2015-05-11 | Method, computer, and apparatus for migrating memory data |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2015074235A1 true WO2015074235A1 (zh) | 2015-05-28 |
Family
ID=50761184
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2013/087650 WO2015074235A1 (zh) | 2013-11-22 | 2013-11-22 | 一种内存数据的迁移方法、计算机和装置 |
Country Status (6)
Country | Link |
---|---|
US (2) | US9424146B2 (zh) |
EP (2) | EP3206127B1 (zh) |
JP (1) | JP6064237B2 (zh) |
CN (1) | CN103827834B (zh) |
ES (2) | ES2612829T3 (zh) |
WO (1) | WO2015074235A1 (zh) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020051921A1 (en) * | 2018-09-15 | 2020-03-19 | Intel Corporation | Runtime cell row replacement in a memory |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6064237B2 (ja) * | 2013-11-22 | 2017-01-25 | ▲ホア▼▲ウェイ▼技術有限公司Huawei Technologies Co.,Ltd. | メモリデータを移行するための方法、コンピュータ、および装置 |
WO2015074232A1 (zh) * | 2013-11-22 | 2015-05-28 | 华为技术有限公司 | 一种内存数据的迁移方法、计算机和装置 |
CN105701020B (zh) * | 2014-11-28 | 2018-11-30 | 华为技术有限公司 | 一种内存访问的方法、相关装置和系统 |
CN104778098A (zh) * | 2015-04-09 | 2015-07-15 | 浪潮电子信息产业股份有限公司 | 一种内存镜像的方法及系统、一种内存监控器 |
CN106610786A (zh) * | 2015-10-26 | 2017-05-03 | 联车(上海)信息科技有限公司 | 数据存储方法 |
US10289337B1 (en) * | 2015-11-18 | 2019-05-14 | Western Digital Technologies, Inc. | Orientation-based data transfer |
CN105867847B (zh) * | 2016-03-28 | 2018-11-30 | 龙芯中科技术有限公司 | 访存控制方法、装置及系统 |
CN108664362B (zh) * | 2017-03-31 | 2021-06-15 | 龙芯中科技术股份有限公司 | 内存镜像的处理方法、内存控制器及用户设备 |
JP6679122B1 (ja) * | 2019-03-19 | 2020-04-15 | Necプラットフォームズ株式会社 | メモリ障害対処システム、情報処理装置及びメモリ障害対処方法 |
US11900150B2 (en) | 2021-12-29 | 2024-02-13 | Quanta Computer Inc. | Methods and systems for collection of system management interrupt data |
KR20230161864A (ko) * | 2022-05-18 | 2023-11-28 | 창신 메모리 테크놀로지즈 아이엔씨 | 메모리 핫 플러그 방법 및 장치, 메모리 |
CN116909495B (zh) * | 2023-09-14 | 2023-12-15 | 合肥康芯威存储技术有限公司 | 一种存储装置及其控制方法 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040019751A1 (en) * | 2002-07-23 | 2004-01-29 | Sharma Debendra Das | System and method for memory migration in distributed-memory multi-processor systems |
US20040133756A1 (en) * | 2003-01-03 | 2004-07-08 | Shaw Mark E. | System and method for migrating data between memories |
CN102326149A (zh) * | 2011-07-28 | 2012-01-18 | 华为技术有限公司 | 内存迁移的实现方法和装置 |
CN102369511A (zh) * | 2011-09-01 | 2012-03-07 | 华为技术有限公司 | 资源迁移方法、装置及系统 |
CN103198028A (zh) * | 2013-03-18 | 2013-07-10 | 华为技术有限公司 | 一种内存数据迁移方法、装置及系统 |
Family Cites Families (29)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5990810A (en) | 1995-02-17 | 1999-11-23 | Williams; Ross Neil | Method for partitioning a block of data into subblocks and for storing and communcating such subblocks |
US6295591B1 (en) * | 1999-03-30 | 2001-09-25 | International Business Machines Corporation | Method of upgrading and/or servicing memory without interrupting the operation of the system |
US6854070B2 (en) * | 2000-01-25 | 2005-02-08 | Hewlett-Packard Development Company, L.P. | Hot-upgrade/hot-add memory |
US6671786B2 (en) * | 2001-06-07 | 2003-12-30 | Microsoft Corporation | System and method for mirroring memory with restricted access to main physical mirrored memory |
JP2003208358A (ja) * | 2002-01-11 | 2003-07-25 | Hitachi Ltd | 情報処理装置 |
US7035953B2 (en) * | 2002-05-03 | 2006-04-25 | Hewlett-Packard Development Company, L.P. | Computer system architecture with hot pluggable main memory boards |
US7028215B2 (en) * | 2002-05-03 | 2006-04-11 | Hewlett-Packard Development Company, L.P. | Hot mirroring in a computer system with redundant memory subsystems |
US6910106B2 (en) * | 2002-10-04 | 2005-06-21 | Microsoft Corporation | Methods and mechanisms for proactive memory management |
US7299331B2 (en) * | 2003-01-21 | 2007-11-20 | Hewlett-Packard Development Company, L.P. | Method and apparatus for adding main memory in computer systems operating with mirrored main memory |
US7685341B2 (en) | 2005-05-06 | 2010-03-23 | Fotonation Vision Limited | Remote control apparatus for consumer electronic appliances |
US7328380B2 (en) * | 2003-09-11 | 2008-02-05 | Hewlett-Packard Development Company, L.P. | Memory scrubbing logic |
CN100370759C (zh) | 2005-09-06 | 2008-02-20 | 上海华为技术有限公司 | 一种热备份系统和方法 |
CN100399288C (zh) | 2005-09-30 | 2008-07-02 | 联想(北京)有限公司 | 一种内存备份装置和方法 |
JP2007264976A (ja) * | 2006-03-28 | 2007-10-11 | Nec Corp | コンピュータシステム、データ退避方法、及び、プログラム |
US7694093B2 (en) * | 2007-04-27 | 2010-04-06 | Hewlett-Packard Development Company, L.P. | Memory module and method for mirroring data by rank |
US20090006793A1 (en) * | 2007-06-30 | 2009-01-01 | Koichi Yamada | Method And Apparatus To Enable Runtime Memory Migration With Operating System Assistance |
US20090150721A1 (en) * | 2007-12-10 | 2009-06-11 | International Business Machines Corporation | Utilizing A Potentially Unreliable Memory Module For Memory Mirroring In A Computing System |
US8799586B2 (en) | 2009-09-30 | 2014-08-05 | Intel Corporation | Memory mirroring and migration at home agent |
US8407516B2 (en) * | 2009-12-23 | 2013-03-26 | Intel Corporation | Controlling memory redundancy in a system |
EP2526477B1 (en) * | 2010-01-21 | 2015-03-11 | Hewlett Packard Development Company, L.P. | Memory controller |
US8762793B2 (en) * | 2010-08-26 | 2014-06-24 | Cleversafe, Inc. | Migrating encoded data slices from a re-provisioned memory device of a dispersed storage network memory |
TW201222254A (en) * | 2010-11-26 | 2012-06-01 | Inventec Corp | Method for protecting data in damaged memory cells by dynamically switching memory mode |
CN102725746B (zh) * | 2011-07-20 | 2015-01-21 | 华为技术有限公司 | 对分布式计算机系统中内存的管理方法和装置 |
US8661214B2 (en) * | 2011-09-21 | 2014-02-25 | Hitachi, Ltd. | Storage system and data migration processing control method |
CN103959253B (zh) * | 2011-12-01 | 2018-07-17 | 英特尔公司 | 基于硬件的存储器迁移和重新同步方法及系统 |
CN103324582A (zh) | 2013-06-17 | 2013-09-25 | 华为技术有限公司 | 一种内存迁移方法、装置及设备 |
CN107219999B (zh) * | 2013-08-31 | 2020-06-26 | 华为技术有限公司 | 一种服务器中内存模块的数据迁移方法及服务器 |
JP6064237B2 (ja) * | 2013-11-22 | 2017-01-25 | ▲ホア▼▲ウェイ▼技術有限公司Huawei Technologies Co.,Ltd. | メモリデータを移行するための方法、コンピュータ、および装置 |
WO2015074232A1 (zh) * | 2013-11-22 | 2015-05-28 | 华为技术有限公司 | 一种内存数据的迁移方法、计算机和装置 |
-
2013
- 2013-11-22 JP JP2016504454A patent/JP6064237B2/ja active Active
- 2013-11-22 CN CN201380002306.4A patent/CN103827834B/zh active Active
- 2013-11-22 EP EP16197467.0A patent/EP3206127B1/en active Active
- 2013-11-22 ES ES13896846.6T patent/ES2612829T3/es active Active
- 2013-11-22 EP EP13896846.6A patent/EP2913754B1/en active Active
- 2013-11-22 WO PCT/CN2013/087650 patent/WO2015074235A1/zh active Application Filing
- 2013-11-22 ES ES16197467T patent/ES2727818T3/es active Active
-
2015
- 2015-05-11 US US14/709,444 patent/US9424146B2/en active Active
-
2016
- 2016-07-22 US US15/217,608 patent/US10049010B2/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040019751A1 (en) * | 2002-07-23 | 2004-01-29 | Sharma Debendra Das | System and method for memory migration in distributed-memory multi-processor systems |
US20040133756A1 (en) * | 2003-01-03 | 2004-07-08 | Shaw Mark E. | System and method for migrating data between memories |
CN102326149A (zh) * | 2011-07-28 | 2012-01-18 | 华为技术有限公司 | 内存迁移的实现方法和装置 |
CN102369511A (zh) * | 2011-09-01 | 2012-03-07 | 华为技术有限公司 | 资源迁移方法、装置及系统 |
CN103198028A (zh) * | 2013-03-18 | 2013-07-10 | 华为技术有限公司 | 一种内存数据迁移方法、装置及系统 |
Non-Patent Citations (1)
Title |
---|
See also references of EP2913754A4 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020051921A1 (en) * | 2018-09-15 | 2020-03-19 | Intel Corporation | Runtime cell row replacement in a memory |
US11481294B2 (en) | 2018-09-15 | 2022-10-25 | Intel Corporation | Runtime cell row replacement in a memory |
Also Published As
Publication number | Publication date |
---|---|
EP2913754A4 (en) | 2015-09-30 |
EP2913754B1 (en) | 2016-11-09 |
EP3206127A1 (en) | 2017-08-16 |
US20160328178A1 (en) | 2016-11-10 |
JP2016512912A (ja) | 2016-05-09 |
EP2913754A1 (en) | 2015-09-02 |
ES2612829T3 (es) | 2017-05-18 |
US9424146B2 (en) | 2016-08-23 |
CN103827834B (zh) | 2015-09-30 |
US20150242154A1 (en) | 2015-08-27 |
CN103827834A (zh) | 2014-05-28 |
EP3206127B1 (en) | 2019-03-06 |
JP6064237B2 (ja) | 2017-01-25 |
ES2727818T3 (es) | 2019-10-18 |
US10049010B2 (en) | 2018-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2015074235A1 (zh) | 一种内存数据的迁移方法、计算机和装置 | |
WO2015074232A1 (zh) | 一种内存数据的迁移方法、计算机和装置 | |
TWI584196B (zh) | 基本輸入輸出系統回復管理系統、電腦程式產品 以及基本輸入輸出系統回復方法 | |
US10241868B2 (en) | Server control method and server control device | |
TWI724415B (zh) | 多節點儲存系統及其韌體的更新方法 | |
TW201730763A (zh) | 硬體修復方法、硬體修復系統以及計算機可讀取儲存裝置 | |
US20150149750A1 (en) | Bios update with service processor without serial peripheral interface (spi) access | |
WO2018120200A1 (zh) | 一种服务器管理方法和服务器 | |
JP2015088014A (ja) | 計算機の制御方法及び計算機 | |
US10296218B2 (en) | Update control method, update control apparatus, and storage medium | |
CN115599617B (zh) | 总线检测方法、装置、服务器及电子设备 | |
CN105353980B (zh) | 一种内存数据的迁移方法、计算机和装置 | |
TW201327139A (zh) | 節點置換處理方法與使用其之伺服器系統 | |
WO2024000535A1 (zh) | 分区表更新方法、装置、电子设备及存储介质 | |
JP6089543B2 (ja) | 試験方法および処理装置 | |
TW201926073A (zh) | 具有儲存裝置的伺服器及其運作方法 | |
TW202038093A (zh) | 用於監控基板管理控制器之常駐程序的方法 | |
WO2015186226A1 (ja) | 計算機、計算機システム、osブート制御方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
REEP | Request for entry into the european phase |
Ref document number: 2013896846 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2013896846 Country of ref document: EP |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 13896846 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 2016504454 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |