-
公开(公告)号:US10152233B2
公开(公告)日:2018-12-11
申请号:US15428527
申请日:2017-02-09
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Jun Xu , Junfeng Zhao , Yuangang Wang
Abstract: A file management method, a distributed storage system, and a management node are disclosed. In the distributed storage system, after receiving a file creation request sent by a host for requesting to create a file in a distributed storage system, a management node allocates, to the file, first virtual space from global virtual address space of the distributed storage system, where local virtual address space of each storage node in the distributed storage system is corresponding to a part of the global virtual address space. Then, the management node records metadata of the file, where the metadata of the file includes information about the first virtual space, and the information about the first virtual space is used to point to local virtual address space of a storage node that is used to store the file. Further, the management node sends, the information about the first virtual space to the host.
-
公开(公告)号:US20180314646A1
公开(公告)日:2018-11-01
申请号:US16028265
申请日:2018-07-05
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jun Xu , Yongbing Huang , Yuangang Wang
IPC: G06F12/121 , G06F12/0871 , G06F12/0804
CPC classification number: G06F12/121 , G06F3/06 , G06F12/0804 , G06F12/0871 , G06F12/122 , G06F2212/1021
Abstract: A cache management method, a cache controller, and a computer system are provided. In the method, the cache controller obtains an operation instruction; when a destination address in the operation instruction hits no cache line cache line in a cache of the computer system, and the cache includes no idle cache line, the cache controller selects a to-be-replaced cache line from a replacement set, where the replacement set includes at least two cache lines; and the cache controller eliminates the to-be-replaced cache line from the cache, and stores, in the cache, a cache line obtained from the destination address. According to the cache management method, system overheads of cache line replacement can be reduced, and cache line replacement efficiency can be improved.
-
公开(公告)号:US20180267927A1
公开(公告)日:2018-09-20
申请号:US15980496
申请日:2018-05-15
Applicant: HUAWEI TECHNOLOGIES CO.,LTD.
Inventor: Jun Xu , Yunfeng Shao , Xiao Yang
CPC classification number: G06N20/00 , G06F16/00 , G06K9/6288
Abstract: Embodiments of the present invention provide a model, which relate to the field of machine learning and intend to reduce a data transmission amount and implement dynamical adjustment of computing resources during model parameter fusion. The method includes: dividing, by an ith node, a model parameter of the ith node into N blocks, where the ith node is any node of N nodes that participate in a fusion, and 1≤i≤N≤M; receiving, by the ith node, ith model parameter blocks respectively sent by other nodes of the N nodes than the ith node; fusing, by the ith node, an ith model parameter block of the ith node and the ith model parameter blocks respectively sent by the other nodes, so as to obtain the ith general model parameter block; and distributing, by the ith node, the ith general model parameter block to the other nodes of the N nodes.
-
公开(公告)号:US10067684B2
公开(公告)日:2018-09-04
申请号:US15606423
申请日:2017-05-26
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jun Xu , Guanyu Zhu , Yuangang Wang
Abstract: A file access method and apparatus, and a storage device are presented, where the file access method is applied to a storage device in which a file system is established based on a memory. The storage device obtains, according to a file identifier of a to-be-accessed first target file, an index node of the first target file in metadata, where the index node of the first target file stores information about first virtual space of the first target file in global virtual space. The storage device maps the first virtual space onto second virtual space of a process, and performs addressing on an added file management register to access the first target file according to a start address of the first virtual space and a base address of a page directory of the global file page table stored in the file management register.
-
公开(公告)号:US20180173643A1
公开(公告)日:2018-06-21
申请号:US15895615
申请日:2018-02-13
Applicant: Huawei Technologies Co., Ltd.
Inventor: Qun Yu , Jun Xu , Yuangang Wang
IPC: G06F12/14 , G06F3/06 , G06F12/1027 , G06F12/02 , G06F9/54
CPC classification number: G06F12/145 , G06F3/0622 , G06F9/545 , G06F12/0246 , G06F12/0292 , G06F12/1027 , G06F12/14 , G06F2212/1032 , G06F2212/1052 , G06F2212/463 , G06F2212/656 , G06F2212/68 , G06F2212/681 , G06F2212/683 , G06F2212/7201 , G06F2212/7207
Abstract: A file data access method and a computer system, where the method includes accessing a page global directory (PGD) of the process using PGD space when accessing first file data by a process, determining, based on access to the PGD and according to a first virtual address of the first file data in file system space, a first PGD entry in the PGD, linking a file page table of the process to the first PGD entry, where the file page table points to a physical address of the file data such that a processor retrieves a first physical address of the first file data in a memory according to the first virtual address using the PGD and the file page table, and accessing the first file data according to the first physical address.
-
公开(公告)号:US20170300255A1
公开(公告)日:2017-10-19
申请号:US15639512
申请日:2017-06-30
Applicant: Huawei Technologies Co., Ltd.
Inventor: Jun Xu , Guanyu Zhu , Haiyan Liu
IPC: G06F3/06
CPC classification number: G06F3/0619 , G06F3/0659 , G06F3/0673 , G06F9/38 , G06F12/084 , G06F12/0842
Abstract: A method and an apparatus for detecting a transaction conflict and a computer system are provided. The method is applied to a computer system whose memory is a non-volatile memory, where the memory includes at least two memory areas. The at least two memory areas have different detection policies. According to the method, a memory controller receives addresses in at least two operation instructions of a first transaction. Then, the memory controller executes, according to a first detection policy of a first memory area, conflict detection on at least one operation instruction that is to access the first memory area, and executes, according to a second detection policy of a second memory area, conflict detection on at least one operation instruction that is to access the second memory area, so as to obtain a conflict detection result of the first transaction.
-
公开(公告)号:US20170286150A1
公开(公告)日:2017-10-05
申请号:US15631585
申请日:2017-06-23
Applicant: Huawei Technologies Co., Ltd.
Inventor: Huaqing Wang , Wenlong Huang , Jun Xu
CPC classification number: G06F9/466 , G06F9/30 , G06F9/54 , G06F11/14 , G06F11/3636 , G06F12/0238 , G06F16/00 , G06F17/00
Abstract: A transaction processing method, an apparatus, and a computer system are provided. According to the method, after receiving a transaction processing request, status information of the transaction is recorded in a non-volatile memory, where the transaction processing request carries transaction data of a transaction, where the status information of the transaction includes a transaction status, a transaction identifier, and an address, and where the transaction status is an uncommitted state. The transaction data is written to the non-volatile memory according to the address. Then, the transaction status of the transaction is modified to a committed state according to the transaction identifier. Further, after writing the transaction data to an external memory of the computer system from the non-volatile memory, the transaction status of the transaction is modified to a backup state according to the transaction identifier. A transaction data processing speed can be increased in the foregoing manner.
-
-
-
-
-
-