Method and apparatus for managing data transfer in a computer memory
Abstract
The present invention relates to a method of transferring data from an application buffer to a network socket, in which memory usage faults are reduced. In one embodiment, the method for managing data transfer in a computer memory includes transferring data from an application program memory to a network stack using zero copy data transfer, monitoring the number of potential copy on write (COW) faults generated during the transfer of data for the application program, and controlling the transferring of data so that if the number of potential COW faults exceeds a predetermined threshold for the application then in subsequent data transfers from the application program, data is copied to another memory location before transferring the data to the network stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for managing data transfer in a computer memory of a client computer connected via a TCP/IP network to a server computer comprising the steps of: determining whether a zero copy data transfer provided by page remapping is active for an application program when a learning threshold has been exceeded, wherein said determination is based on a threshold percentage of potential copy on write (COW) faults recorded for said application program in each of previous data transfers from an application program memory in the computer memory to a network socket in a kernel memory, wherein a kernel
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (5)
- "doc.sun.com: Solaris Tracin Guide"; http://dacs.dun.com/app/docs/doc/817-6223/6mlkidllkq?a=view, Nov. 2, 2005.
- "doc.sun.com: Solaris Tracin Guide"; http://dacs.sun.com/app/docs/doc/8176223/6mlkidllkq?a=view, Nov. 2, 2005.
- M. Nelson, et al; "Copy-On-Write for Sprite"; Proceedings of the Summer 1988 USENIX Conference, 1998, pp. 187-201.
- M.Nelson et al.,"Copy-On-Write for Sprite";Proceedings of the Summer 1988 USENIX Conference,1998,pp. 187-201.
- Phillips et al "Shared Page Tables, First Result," http://www.ussg.iu.edu/hepmail/linux/kernel/0202.1/11070.html, Feb. 12, 2002.