发明名称 Zero-copy data transmission system
摘要 A data transmission system for transmitting a data file from a server to a client device includes a processor, a memory and a network interface device. The memory includes a user space and a kernel space. The data file is stored in the kernel space. The processor receives a transmission request from the client device for transmitting the data file. The processor maps a set of virtual addresses corresponding to the data file to the user space as a mapped data file, and stores a set of physical addresses corresponding to the set of virtual addresses in a set of meta-buffers of a socket created in the user space. The network interface device retrieves the data file from the kernel space based on the set of physical addresses from the set of meta-buffers, and transmits the data file to the client device.
申请公布号 US9584628(B2) 申请公布日期 2017.02.28
申请号 US201514660934 申请日期 2015.03.17
申请人 FREESCALE SEMICONDUCTOR, INC. 发明人 Pathak Arun;Agrawal Hemant;Malhotra Sahil
分类号 H04L29/06;G06F9/54 主分类号 H04L29/06
代理机构 代理人 Bergere Charles E.
主权项 1. A data transmission system, comprising: a memory comprising a plurality of memory locations each having a corresponding physical address associated therewith, wherein the memory further includes: a kernel space for storing a plurality of data files and a page table, wherein the page table includes a mapping between a plurality of virtual addresses and corresponding physical addresses; anda user space; a processor in communication with the memory and configured for: creating a socket in the user space, wherein the socket includes a set of meta-buffers,receiving a data file transmission request,mapping a set of the virtual addresses corresponding to the data file to the user space as a mapped data file,retrieving a set of the physical addresses that correspond to the set of virtual addresses from the page table, andstoring the set of physical addresses in the meta-buffers; and a network interface device, connected to the processor and the memory, for retrieving the set of physical addresses from the meta-buffers, retrieving the data file from the kernel space using the set of physical addresses, and transmitting the data file to a client device.
地址 Austin TX US