Abstract:
When a data backup apparatus is powered on, a quantity of dead blocks and a quantity of live blocks are counted. After the data backup apparatus is powered off, a proportion occupied by dead blocks corresponding to each sequence access identifier at the power-on time point in a total quantity of sampled cache blocks corresponding to the sequence access identifier, is calculated according to the counted quantities of dead blocks and live blocks that correspond to the sequence access identifier at the time point when the data backup apparatus is powered on. The calculated proportion is compared with a preset threshold, and a dead block in a volatile memory unit is predicted according to a comparison result. During backup, a cache block that is predicted to be a dead block is not backed up.
Abstract:
When a data backup apparatus is powered on, a quantity of dead blocks and a quantity of live blocks are counted. After the data backup apparatus is powered off, a proportion occupied by dead blocks corresponding to each sequence access identifier at the power-on time point in a total quantity of sampled cache blocks corresponding to the sequence access identifier, is calculated according to the counted quantities of dead blocks and live blocks that correspond to the sequence access identifier at the time point when the data backup apparatus is powered on. The calculated proportion is compared with a preset threshold, and a dead block in a volatile memory unit is predicted according to a comparison result. During backup, a cache block that is predicted to be a dead block is not backed up.
Abstract:
In a data write control method, a write control apparatus currently runs a program in a write-back mode in which data are written to a volatile memory. When the apparatus detects that a quantity of dirty blocks in the volatile memory has reached a threshold, it predicts a first amount of execution progress of the program within a prediction time period under an assumption of the apparatus being in a write-through mode in which data are written to the volatile memory and a non-volatile memory. The apparatus also predicts a second amount of execution progress of the program within the prediction time period under an assumption of the apparatus being in the write-back mode. When the predicted first amount of execution progress exceeds the predicted second amount of execution progress, the apparatus switches from the write-back mode to the write-through mode.
Abstract:
A data write control method includes detecting a quantity of dirty blocks in a first memory when a write control apparatus is in write-back mode; separately predicting execution progress of a program run by a processor within a danger time period in the two write modes when the quantity of dirty blocks reaches a first preset threshold; when it is predicted that the execution progress of the program run by the processor within the danger time period in write-through mode is faster than the execution progress of the program run by the processor within the danger time period in write-back mode, switching a current data write mode to the write-through mode; and detecting the quantity of dirty blocks when the write control apparatus is in write-through mode and switching the current data write mode to the write-back mode when the quantity of dirty blocks decreases to a second preset threshold.
Abstract:
The present disclosure discloses a method for determining a drive letter, including: obtaining a number of a port connecting a redundant array of independent disk RAID controller to an exchange chip and a location number, of a disk, meeting a report condition in each RAID group under the control of the RAID controller, where the location number, of the disk, meeting the report condition is a location number, of a disk, on a preset location after location numbers of all disks included in each RAID group when each RAID group is configured, are sorted according to a preset sequence; and determining a drive letter corresponding to each RAID group according to the number of the port connecting the RAID controller to the exchange chip and the location number, of the disk, meeting the report condition in each RAID group.
Abstract:
A data write control method includes detecting a quantity of dirty blocks in a first memory when a write control apparatus is in write-back mode; separately predicting execution progress of a program run by a processor within a danger time period in the two write modes when the quantity of dirty blocks reaches a first preset threshold; when it is predicted that the execution progress of the program run by the processor within the danger time period in write-through mode is faster than the execution progress of the program run by the processor within the danger time period in write-back mode, switching a current data write mode to the write-through mode; and detecting the quantity of dirty blocks when the write control apparatus is in write-through mode and switching the current data write mode to the write-back mode when the quantity of dirty blocks decreases to a second preset threshold.
Abstract:
The present disclosure discloses a method for determining a drive letter, including: obtaining a number of a port connecting a redundant array of independent disk RAID controller to an exchange chip and a location number, of a disk, meeting a report condition in each RAID group under the control of the RAID controller, where the location number, of the disk, meeting the report condition is a location number, of a disk, on a preset location after location numbers of all disks included in each RAID group when each RAID group is configured, are sorted according to a preset sequence; and determining a drive letter corresponding to each RAID group according to the number of the port connecting the RAID controller to the exchange chip and the location number, of the disk, meeting the report condition in each RAID group.
Abstract:
Embodiments of the present invention relate to a method and an apparatus for processing RAID configuration information, and a RAID controller. The RAID includes a number of hard disks. The method includes detecting whether a new hard disk exists in the plurality of hard disks. When it is detected that the new hard disk exists in the plurality of hard disks, writing the pre-configured RAID configuration information corresponding to its hard disk number to the new hard disk, so that the new hard disk becomes a hard disk in the RAID.
Abstract:
In a subrack with multiple boards, in order to enable a server board and at least one client board of the multiple boards to access a same storage device, an embodiment server board acquires, physical information of at least one physical storage device. Then the server board sends a client board the physical information to enable the client board to establish a virtue storage device and receives a first request for accessing the virtual storage device sent from the client board. The server board convertes the first request for accessing the virtual storage device into a second request for accessing the physical storage device, and sends the second request for accessing the physical storage device to a storage controller connected to the physical storage device in order to enable the storage controller to send relevant data to the client.