-
1.
公开(公告)号:US20170351525A1
公开(公告)日:2017-12-07
申请号:US15687164
申请日:2017-08-25
Applicant: Huawei Technologies Co., Ltd.
Inventor: Chenxi Wang , Fang Lv , Xiaobing Feng , Ying Liu
CPC classification number: G06F9/3851 , G06F9/30043 , G06F9/3838 , G06F9/5066 , G06F12/08
Abstract: A method and an apparatus for allocating a hardware acceleration instruction to a memory controller to balance load of memory controllers, where the method includes, after dividing a plurality of hardware acceleration instructions into different instruction sets according to dependency relationships among the plurality of hardware acceleration instructions, a first mapping relationship between the instruction sets and memory controllers in a computer system is obtained according to a rule that different instruction sets whose hardware acceleration instructions do not have a dependency relationship are allocated to different memory controllers. After adjusting the first mapping relationship according to load of memory controllers in a first memory controller set to obtain a second mapping relationship between the instruction sets and the memory controllers, hardware acceleration instructions in the instruction sets are allocated to memory controllers in a second memory controller set according to the second mapping relationship.