-
1.
公开(公告)号:US20160034397A1
公开(公告)日:2016-02-04
申请号:US14880587
申请日:2015-10-12
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kingtin Lam , Jinghao Shi , Cho-li Wang , Wangbin Zhu
CPC classification number: G06F12/0817 , G06F9/544 , G06F11/1448 , G06F11/1666 , G06F12/0842 , G06F17/30979 , G06F2201/885 , G06F2212/1016 , G06F2212/1032 , G06F2212/621
Abstract: A method and an apparatus for processing data and a computer system are provided. The method includes copying a shared virtual memory page to which a first process requests access into off-chip memory of a computing node, and using the shared virtual memory page copied into the off-chip memory as a working page of the first process; and before the first process performs a write operation on the working page, creating, in on-chip memory of the computing node, a backup page of the working page, so as to back up original data of the working page. Before a write operation is performed on a working page, page data is backed up in the on-chip memory, so as to ensure data consistency when multiple processes perform an operation on a shared virtual memory page while accessing off-chip memory as less as possible and improving a speed of a program.
Abstract translation: 提供了一种用于处理数据的方法和装置以及计算机系统。 该方法包括将第一进程请求访问的共享虚拟存储器页面复制到计算节点的片外存储器中,以及将复制到片外存储器中的共享虚拟存储器页面复制为第一处理的工作页面; 并且在所述第一处理在所述工作页面上执行写入操作之前,在所述计算节点的片上存储器中创建所述工作页面的备份页面,以便备份所述工作页面的原始数据。 在工作页面执行写入操作之前,页面数据在片上存储器中进行备份,以便在多个进程对共享虚拟内存页执行操作时确保数据一致性,同时访问片外存储器少于 可能并提高程序的速度。
-
公开(公告)号:US09824011B2
公开(公告)日:2017-11-21
申请号:US14880587
申请日:2015-10-12
Applicant: Huawei Technologies Co., Ltd.
Inventor: Kingtin Lam , Jinghao Shi , Cho-li Wang , Wangbin Zhu
IPC: G06F12/08 , G06F11/14 , G06F12/0817 , G06F12/0842 , G06F9/54 , G06F17/30 , G06F11/16
CPC classification number: G06F12/0817 , G06F9/544 , G06F11/1448 , G06F11/1666 , G06F12/0842 , G06F17/30979 , G06F2201/885 , G06F2212/1016 , G06F2212/1032 , G06F2212/621
Abstract: A method and an apparatus for processing data and a computer system are provided. The method includes copying a shared virtual memory page to which a first process requests access into off-chip memory of a computing node, and using the shared virtual memory page copied into the off-chip memory as a working page of the first process; and before the first process performs a write operation on the working page, creating, in on-chip memory of the computing node, a backup page of the working page, so as to back up original data of the working page. Before a write operation is performed on a working page, page data is backed up in the on-chip memory, so as to ensure data consistency when multiple processes perform an operation on a shared virtual memory page while accessing off-chip memory as less as possible and improving a speed of a program.
-