-
公开(公告)号: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.
-
公开(公告)号:US09864696B2
公开(公告)日:2018-01-09
申请号:US15010376
申请日:2016-01-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: Ye Li , Lixin Zhang , Rui Hou , Ke Zhang
IPC: G06F12/00 , G06F12/0897 , G06F12/1027 , G06F3/06 , G06F12/0811
CPC classification number: G06F12/0897 , G06F3/0604 , G06F3/064 , G06F3/0683 , G06F12/0811 , G06F12/1027 , G06F2212/1016 , G06F2212/50 , G06F2212/60
Abstract: A multilevel cache-based data read/write method and a computer system. The method includes acquiring a query address of a physical memory data block in which data is to be read/written, acquiring a cache location attribute of the physical memory data block, querying whether a cache is hit until one cache is hit or all caches are missed, where the querying is performed according to the query address in descending order of levels of caches storable for the physical memory data block, and the levels of the caches are indicated by the cache location attribute, and if one cache is hit, reading/writing the data in the query address of the physical memory data block in the hit cache; or, if all caches are missed, reading/writing the data in the query address of the physical memory data block in a memory.
-
公开(公告)号:US09858192B2
公开(公告)日:2018-01-02
申请号:US14928635
申请日:2015-10-30
Applicant: Huawei Technologies Co., Ltd.
Inventor: Lixin Zhang , Liuhang Zhang , Rui Hou , Ke Zhang
IPC: G06F12/00 , G06F12/0862
CPC classification number: G06F12/0862 , G06F2212/1016 , G06F2212/1021 , G06F2212/602 , G06F2212/6026 , G06F2212/608
Abstract: A cross-page prefetching method, apparatus, and system are disclosed, which can improve a prefetching hit ratio of a prefetching device, and further improve efficiency of memory access. The method includes: receiving an indication message, sent by a cache, that a physical address is missing, where the indication message carries a mapped-to first physical address and contiguity information of a first physical page to which the first physical address belongs; acquiring a prefetching address according to the first physical address and a step size that is stored in a prefetching device; and if a page number of a physical page to which the prefetching address belongs is different from a page number of the first physical page, and it is determined, according to the contiguity information of the first physical page, that the first physical page is contiguous, prefetching data at the prefetching address.
-
公开(公告)号:US20160224399A1
公开(公告)日:2016-08-04
申请号:US15059380
申请日:2016-03-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chen Zheng , Ruihua Hou , Jianfeng Zhan , Lixin Zhang
CPC classification number: G06F9/545 , G06F9/468 , G06F12/1027 , G06F13/24 , G06F2212/681
Abstract: A method and an apparatus for accessing a hardware resource are provided. The method includes configuring permission for one or more privileged instructions that are used for hardware access such that when the privileged instructions are used by a user mode application program, the application program can access a hardware resource without trapping into a kernel, and executing the privileged instructions that are encapsulated in the privileged application programming interface (API) that is called at the code level by the application program , and a privileged instruction for direct access to a hardware resource is set and encapsulated into an API, which is deployed in user space in order to reduce system overheads for accessing the hardware resource and improve processing efficiency.
Abstract translation: 提供了一种用于访问硬件资源的方法和装置。 该方法包括配置用于硬件访问的一个或多个特权指令的许可,使得当用户模式应用程序使用特权指令时,应用程序可以访问硬件资源而不会陷入内核,并执行特权 封装在由应用程序在代码级调用的特权应用程序编程接口(API)中的指令以及用于直接访问硬件资源的特权指令被设置并封装到部署在用户空间中的API 以减少用于访问硬件资源的系统开销并提高处理效率。
-
公开(公告)号:US20160196073A1
公开(公告)日:2016-07-07
申请号:US15070532
申请日:2016-03-15
Applicant: Huawei Technologies Co., Ltd.
Inventor: Lixin Zhang , Cong Wang , Rui Hou , Ke Zhang
IPC: G06F3/06
CPC classification number: G06F3/0611 , G06F3/0644 , G06F3/0659 , G06F3/0673 , G06F13/385
Abstract: A memory segment access method and apparatus relates to the field of computer technologies, which are used to resolve a problem of a relatively low memory access bandwidth caused by relatively low utilization of bandwidth resources in a multichannel memory system. The method includes acquiring, by a first scheduler, a quantity of to-be-sent memory access requests in a second scheduler, and receiving, by the first scheduler, a memory access request, and sending the memory access request through a second memory channel corresponding to the second scheduler.
Abstract translation: 存储器段访问方法和装置涉及计算机技术领域,其用于解决由多通道存储器系统中的带宽资源的较低利用率引起的相对低的存储器访问带宽的问题。 该方法包括由第一调度器获取在第二调度器中的要发送的存储器访问请求的数量,以及由第一调度程序接收存储器访问请求,以及通过第二存储器通道发送存储器访问请求 对应于第二调度器。
-
公开(公告)号:US20160173328A1
公开(公告)日:2016-06-16
申请号:US15014184
申请日:2016-02-03
Applicant: Huawei Technologies Co., Ltd.
Inventor: Wentao Bao , Binzhang Fu , Mingyu Chen , Lixin Zhang
CPC classification number: H04L41/0803 , H04L12/42 , H04L12/44 , H04L12/462 , H04L41/142 , H04L41/145 , H04L43/045 , H04L45/02
Abstract: A server connection method and system, which relates to the field of communications technologies, such that servers of a same specification are used to implement an optimal network, thereby reducing complexity of routing implementation which includes, providing ten servers, where each server includes five nodes, and the five nodes of each server are connected head-to-tail in series in a same connection manner, and connecting five nodes of any server in five of the ten servers to five nodes of each of the remaining five servers in a one-to-one correspondence manner, in order to form an optimal network of a Hoffman-Singleton graph.
Abstract translation: 一种与通信技术领域相关的服务器连接方法和系统,使得相同规范的服务器被用于实现最佳网络,从而降低路由实现的复杂性,其中包括提供十个服务器,其中每个服务器包括五个节点 并且每个服务器的五个节点以相同的连接方式串联连接,并将十个服务器中的五个服务器中的五个服务器中的五个节点连接到其余五个服务器中的每个服务器的五个节点, 以形成Hoffman-Singleton图的最佳网络。
-
-
-
-
-