主权项 |
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. |