-
公开(公告)号:US20180074716A1
公开(公告)日:2018-03-15
申请号:US15696183
申请日:2017-09-06
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
IPC: G06F3/06 , G06F12/128
CPC classification number: G06F3/065 , G06F3/061 , G06F3/0619 , G06F3/0665 , G06F3/0688 , G06F11/1441 , G06F11/2015 , G06F11/3037 , G06F12/08 , G06F12/128 , G06F2201/88 , G06F2201/885 , G06F2212/621
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.
-
公开(公告)号:US10275353B2
公开(公告)日:2019-04-30
申请号:US15696416
申请日:2017-09-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
IPC: G06F3/06 , G06F12/0815 , G06F12/0862 , G06F12/0804 , G06F12/0897 , G06F11/14
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.
-
公开(公告)号:US10929292B2
公开(公告)日:2021-02-23
申请号:US16371391
申请日:2019-04-01
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
IPC: G06F12/08 , G06F12/0815 , G06F3/06 , G06F12/0804 , G06F12/0897 , G06F11/14 , G06F12/0862
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.
-
公开(公告)号:US20170364441A1
公开(公告)日:2017-12-21
申请号:US15696416
申请日:2017-09-06
Applicant: Huawei Technologies Co., Ltd.
Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
IPC: G06F12/0815 , G06F12/0862
CPC classification number: G06F12/0815 , G06F3/061 , G06F3/0623 , G06F3/0653 , G06F3/0656 , G06F3/068 , G06F11/1446 , G06F12/0804 , G06F12/0862 , G06F12/0897 , G06F2212/222 , G06F2212/502 , G06F2212/60 , G06F2212/601 , G06F2212/621
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.
-
公开(公告)号:US10203906B2
公开(公告)日:2019-02-12
申请号:US15696183
申请日:2017-09-06
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
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.
-
-
-
-