发明名称 Proxy based data transfer utilizing direct memory access
摘要 A method for transferring data utilizing direct memory access. The method includes a computer processor establishing a networking connection, using a proxy, between at least a first computing entity and a second computing entity. The method further includes determining a shared memory space for the established networking connection between at least the first computing entity and the second computing entity. The method further includes allocating the shared memory space from heap memory. The method further includes transmitting data over the established networking connection between at least the first computing entity and the second computing entity utilizing a direct memory access protocol and the allocated shared memory space.
申请公布号 US9632974(B1) 申请公布日期 2017.04.25
申请号 US201615297360 申请日期 2016.10.19
申请人 International Business Machines Corporation 发明人 Cai Junjie;Liu Xin Peng;Lu Chuan Sheng
分类号 G06F15/167;G06F15/173;H04L29/08;H04L29/06 主分类号 G06F15/167
代理机构 代理人 Simek Daniel R.
主权项 1. A computer system for communicating data utilizing direct memory access, the computer system comprising: one or more computer processors; one or more computer readable storage media; and program instructions stored on the computer readable storage media for execution by at least one of the one or more processors, the program instructions comprising: program instructions to establish a networking connection, using a proxy, between at least a first computing entity and a second computing entity, wherein the program instructions to establish the networking connection further comprises: program instructions to establish, utilizing the proxy, the network connection between the first computing entity and the second computing entity utilizing a transport layer of a network architecture, wherein establishing the network connection includes: program instructions to establish an socket secure (SOCKS) session, wherein the SOCKS session utilizes transmission control protocol (TCP); program instructions to redirect an invocation of a first set of one or more application programming interfaces (APIs) corresponding to the first computing entity and the second computing entity that transfer the data utilizing networking, to a second set of one or more APIs, wherein the second set of one or more APIs enables the direct memory access protocol; program instructions to determine a shared memory space for the established networking connection between at least the first computing entity and the second computing entity; program instructions to allocate the shared memory space from heap memory, wherein the program instructions to determine the shared memory space further comprises: program instructions to determine a relationship of the first computing entity and the second computing entity based at least in part on a corresponding first socket connection and a second socket connection within a global sockets registry table; andprogram instructions to allocate the shared memory space from the heap memory based, at least in part on the determined relationship of the first computing entity and the second computing entity; program instructions to transmit data over the established networking connection between at least the first computing entity and the second computing entity utilizing a direct memory access protocol and the allocated shared memory space, wherein the program instructions to transmit data over the established networking connection further comprises: program instructions to determine a write pointer and a read pointer pair corresponding to one or more memory addresses of the allocated shared memory space, wherein the one or more memory addresses are related to transmitted data;program instructions to modify the write pointer based, at least in part, on transmitting a first block of data, of the transmitted data, from the first computing entity to the allocated shared memory space, wherein the write pointer is modified utilizing the proxy; andprogram instructions to modify the read pointer based, at least in part, on transmitting a second block of data, of the transmitted data, from the allocated shared memory space to the second computing entity, wherein the read pointer is modified utilizing the proxy.
地址 Armonk NY US