-
公开(公告)号:US10684834B2
公开(公告)日:2020-06-16
申请号:US16360951
申请日:2019-03-21
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Hongyuan Liu , Cho-Li Wang , KingTin Lam , Huanxin Lin , Bin Zhang , Junchao Ma
Abstract: Embodiments of the present invention disclose a method and an apparatus for detecting inter-instruction data dependency. The method comprises: comparing a thread number corresponding to a historical access operation with a thread number corresponding to a write access operation, if the thread number corresponding to the write access operation is less than the thread number corresponding to the historical access operation, which indicates existence of data dependency for a to-be-detected instruction, terminating the detection; or comparing a thread number corresponding to a historical write access operation with a thread number corresponding to a read access operation, if the thread number corresponding to the read access operation is less than the thread number corresponding to the historical write access operation, which indicates existence of data dependency for the to-be-detected instruction, terminating the detection.
-
公开(公告)号:US10019178B2
公开(公告)日:2018-07-10
申请号:US14749869
申请日:2015-06-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: KingTin Lam , Wangbin Zhu , Youliang Yan , Cho-Li Wang , Jinghao Shi
IPC: G06F12/00 , G06F13/00 , G06F3/06 , G06F9/50 , G06F12/109 , G06F12/1072
CPC classification number: G06F3/0619 , G06F3/065 , G06F3/0653 , G06F3/067 , G06F9/5016 , G06F12/1072 , G06F12/109 , G06F2212/1024 , G06F2212/656
Abstract: A method and a related device for determining a management mode of a shared virtual memory page are disclosed. In one example, a method is disclosed that includes monitoring frequency or mode of access operation of at least one process accessing the shared virtual memory page; and changing the management mode of the shared virtual memory page to a shared physical memory mode if the monitored frequency or mode of access operation meets a first set condition and a current management mode of the shared virtual memory page is a distributed shared memory mode. The technical solutions provided in the present disclosure can enhance performance of accessing a shared virtual memory.
-
公开(公告)号:US20160306741A1
公开(公告)日:2016-10-20
申请号:US15197358
申请日:2016-06-29
Applicant: Huawei Technologies Co., Ltd.
Inventor: KingTin Lam , Chit Ho Dominic Hung , Cho-Li Wang , Youliang Yan , Wangbin Zhu
CPC classification number: G06F12/08 , G06F3/0604 , G06F3/0647 , G06F3/067 , G06F9/5033 , G06F9/5083 , G06F11/3037 , G06F11/3409 , G06F12/10 , G06F12/1009 , G06F2201/81 , G06F2212/1024
Abstract: An on-chip memory in a many-core system is partitioned, and according to a frequency at which a processor core set in each on-chip partition accesses a virtual memory page in virtual memory space that is shared among multiple processes that belong to a same application program, data corresponding to the virtual memory page is moved to an on-chip memory partition in which a processor core set whose access frequency is high is located such that when the virtual memory page is subsequently accessed, a time delay caused by cross-partition access is reduced.
Abstract translation: 多核系统中的片上存储器被分区,并且根据设置在每个片上分区中的处理器核心的频率访问虚拟存储器空间中的虚拟存储器页面,所述虚拟存储器页面在属于一个 相同的应用程序,对应于虚拟存储器页面的数据被移动到片上存储器分区,其中访问频率高的处理器核心集被定位成使得当虚拟存储器页被随后访问时,由交叉引起的时间延迟 减少了分区访问。
-
-