-
1.
公开(公告)号:US20180121351A1
公开(公告)日:2018-05-03
申请号:US15853874
申请日:2017-12-25
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Zigang Zhang , Jin Xiong , Dejun Jiang
CPC classification number: G06F12/0646 , G06F3/064 , G06F12/0246 , G06F2212/1024 , G06F2212/222 , G06F2212/7201 , G06F2212/7205 , G11C8/06
Abstract: A storage system includes a storage device and a managing device. The managing device receives a data write request, determines a data category of a to-be-written data page, designates different logical blocks for to-be-written data pages of different data categories, and sends a data write instruction to the storage device, where the data write instruction carries to-be-written data pages corresponding to at least one designated logical block. The storage device is configured to receive the data write instruction, and write the to-be-written data page corresponding to the at least one designated logical block to a physical block corresponding to the at least one designated logical block, where to-be-written data pages written to each physical block are corresponding to a same logical block.
-
公开(公告)号:US10318165B2
公开(公告)日:2019-06-11
申请号:US15357408
申请日:2016-11-21
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fei Xia , Mingyu Chen , Dejun Jiang , Jin Xiong
IPC: G06F3/06 , G06F12/00 , G06F12/0868
Abstract: A data operating method, device, and system are provided. The method includes: receiving an operation instruction sent by a CPU; when the operation instruction is a read instruction, reading a first data block in the block device and returning to-be-read data in the first data block to the CPU; or when the operation instruction is a write instruction, writing, into a cache, to-be-written data indicated by the write instruction, and writing, into the block device, a second data block that includes the to-be-written data. The method is used to operate data in a block device.
-
公开(公告)号:US20170060752A1
公开(公告)日:2017-03-02
申请号:US15347776
申请日:2016-11-09
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Wei Wei , Lixin Zhang , Jin Xiong , Dejun Jiang
IPC: G06F12/0868 , G06F3/06 , G06F12/128 , G06F12/122
CPC classification number: G06F12/0868 , G06F3/061 , G06F3/0619 , G06F3/0631 , G06F3/065 , G06F3/068 , G06F3/0685 , G06F12/08 , G06F12/122 , G06F12/128 , G06F2212/604
Abstract: A data caching method and a computer system are provided. In the method, when a miss of an access request occurs and a cache needs to determine a to-be-replaced cache line, not only a historical access frequency of the cache line but also a type of a memory corresponding to the cache line needs to be considered. A cache line corresponding to a DRAM type may be preferably replaced, which reduces a caching amount in the cache for data stored in a DRAM and relatively increase a caching amount for data stored in an NVM., For an access request for accessing the data stored in the NVM, corresponding data can be found in the cache whenever possible, thereby reducing cases of reading data from the NVM. Thus, a delay in reading data from the NVM is reduced, and access efficiency is effectively improved.
Abstract translation: 提供了数据缓存方法和计算机系统。 在该方法中,当出现访问请求的错过并且高速缓存需要确定待替换的高速缓存行时,不仅高速缓存行的历史存取频率,而且与高速缓存行对应的存储器的类型也需要 被考虑。 可以优选地替换对应于DRAM类型的高速缓存行,这降低了存储在DRAM中的数据的高速缓存中的缓存量,并且相对地增加了存储在NVM中的数据的高速缓存量。对于访问所存储的数据的访问请求 在NVM中,尽可能在缓存中找到相应的数据,从而减少从NVM读取数据的情况。 因此,降低了从NVM读取数据的延迟,并且有效地提高了访问效率。
-
公开(公告)号:US11010056B2
公开(公告)日:2021-05-18
申请号:US16415940
申请日:2019-05-17
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fei Xia , Mingyu Chen , Dejun Jiang , Jin Xiong
IPC: G06F3/06 , G06F12/0871 , G06F12/121 , G06F12/0868 , G06F12/00
Abstract: A data operating method, device, and system are provided and relate to the computer field, so as to resolve a prior-art problem of low efficiency of performing a data operation on a block device by a CPU. The method includes: receiving an operation instruction sent by a CPU; when the operation instruction is a read instruction, reading a first data block in the block device and returning to-be-read data in the first data block to the CPU; or when the operation instruction is a write instruction, writing, into a cache, to-be-written data indicated by the write instruction, and writing, into the block device, a second data block that includes the to-be-written data. The method is used to operate data in a block device.
-
公开(公告)号:US20190272099A1
公开(公告)日:2019-09-05
申请号:US16415940
申请日:2019-05-17
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fei Xia , Mingyu Chen , Dejun Jiang , Jin Xiong
IPC: G06F3/06 , G06F12/0871 , G06F12/0868 , G06F12/121
Abstract: A data operating method, device, and system are provided and relate to the computer field, so as to resolve a prior-art problem of low efficiency of performing a data operation on a block device by a CPU. The method includes: receiving an operation instruction sent by a CPU; when the operation instruction is a read instruction, reading a first data block in the block device and returning to-be-read data in the first data block to the CPU; or when the operation instruction is a write instruction, writing, into a cache, to-be-written data indicated by the write instruction, and writing, into the block device, a second data block that includes the to-be-written data. The method is used to operate data in a block device.
-
公开(公告)号:US10241919B2
公开(公告)日:2019-03-26
申请号:US15347776
申请日:2016-11-09
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Wei Wei , Lixin Zhang , Jin Xiong , Dejun Jiang
IPC: G06F12/0868 , G06F3/06 , G06F12/122 , G06F12/128 , G06F12/08
Abstract: A data caching method and a computer system are provided. In the method, when a miss of an access request occurs and a cache needs to determine a to-be-replaced cache line, not only a historical access frequency of the cache line but also a type of a memory corresponding to the cache line needs to be considered. A cache line corresponding to a DRAM type may be preferably replaced, which reduces a caching amount in the cache for data stored in a DRAM and relatively increase a caching amount for data stored in an NVM. For an access request for accessing the data stored in the NVM, corresponding data can be found in the cache whenever possible, thereby reducing cases of reading data from the NVM. Thus, a delay in reading data from the NVM is reduced, and access efficiency is effectively improved.
-
公开(公告)号:US20170068452A1
公开(公告)日:2017-03-09
申请号:US15357408
申请日:2016-11-21
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fei Xia , Mingyu Chen , Dejun Jiang , Jin Xiong
IPC: G06F3/06 , G06F12/0868
CPC classification number: G06F3/061 , G06F3/064 , G06F3/0656 , G06F3/0659 , G06F3/0673 , G06F3/0676 , G06F12/0868 , G06F12/0871 , G06F12/121 , G06F2212/1016 , G06F2212/312 , G06F2212/461
Abstract: A data operating method, device, and system are provided. The method includes: receiving an operation instruction sent by a CPU; when the operation instruction is a read instruction, reading a first data block in the block device and returning to-be-read data in the first data block to the CPU; or when the operation instruction is a write instruction, writing, into a cache, to-be-written data indicated by the write instruction, and writing, into the block device, a second data block that includes the to-be-written data. The method is used to operate data in a block device.
Abstract translation: 提供数据操作方法,设备和系统。 该方法包括:接收CPU发送的操作指令; 当操作指令是读取指令时,读取块装置中的第一数据块并将第一数据块中的读取数据返回给CPU; 或者当操作指令是写入指令时,将写入指令所指示的写入数据写入高速缓存,并向块装置写入包括待写入数据的第二数据块。 该方法用于在块设备中操作数据。
-
公开(公告)号:US20150317246A1
公开(公告)日:2015-11-05
申请号:US14798094
申请日:2015-07-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Fei Xia , Dejun Jiang , Wei Wei , Jin Xiong
IPC: G06F12/02
CPC classification number: G06F12/0253 , G06F12/0238 , G06F12/0246 , G06F2212/202 , G06F2212/702 , G06F2212/7205 , G06F2212/7211
Abstract: A memory reclamation method and apparatus are disclosed. The memory reclamation method is performed by a processor for reclaiming memory pages of a non-volatile memory (NVM) in a terminal device. In the method, the processor receives a memory reclamation request message including a reclamation identifier which is used to indicate a quantity of memory pages requested to be reclaimed. Then, the processor reclaims inactive memory pages of the NVM according to the reclamation identifier in ascending order of the write times of inactive memory pages of the NVM. According to the memory reclamation method, a page having a relatively small quantity of inactive memory page write times of the NVM is reclaimed first, and a page having a relatively large quantity of inactive memory page write times of the NVM is reclaimed later.
Abstract translation: 公开了一种存储器回收方法和装置。 存储器回收方法由用于回收终端设备中的非易失性存储器(NVM)的存储器页面的处理器执行。 在该方法中,处理器接收包括回收标识符的存储器回收请求消息,该回收标识符用于指示请求回收的存储器页面的数量。 然后,处理器根据回收标识符以NVM的非活动存储器页面的写入时间的升序顺序回收NVM的非活动存储器页面。 根据存储器回收方法,首先回收具有相对少量NVM的非活动存储器页面写入时间的页面,并且稍后再现具有NVM的相对大量非活动存储器页面写入时间的页面。
-
-
-
-
-
-
-