Invention Grant
- Patent Title: Data write control apparatus and method
-
Application No.: US15696416Application Date: 2017-09-06
-
Publication No.: US10275353B2Publication Date: 2019-04-30
- Inventor: Hehe Li , Yongpan Liu , Qinghang Zhao , Rong Luo , Huazhong Yang
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Conley Rose, P.C.
- Priority: CN201510101154 20150306
- Main IPC: G06F3/06
- 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.
Public/Granted literature
- US20170364441A1 Data Write Control Apparatus and Method Public/Granted day:2017-12-21
Information query