Zero-Copy Objects System
- Created: Saturday, 01 October 2011
Zero-copy objects (ZCOs) are abstract data access representations designed to minimize I/O (input/output) in the encapsulation of application source data within one or more layers of communication protocol structure. They are constructed within the heap space of a “Simple Data Recorder” (SDR) data store to which all participating layers of the stack must have access. Each ZCO contains general information enabling access to the core source data object (an item of application data), together with (a) a linked list of zero or more specific “extents” that reference portions of this source data object, and (b) linked lists of protocol header and trailer capsules. The concatenation of the headers (in ascending stack sequence), the source data object extents, and the trailers (in descending stack sequence) constitute the transmitted data object constructed from the ZCO.
This scheme enables a source data object to be encapsulated in a succession of protocol layers without ever having to be copied from a buffer at one layer of the protocol stack to an encapsulating buffer at a lower layer of the stack. For large source data objects, the savings in copy time and reduction in memory consumption may be considerable.
This work was done by Scott C. Burleigh of ACRO for NASA’s Jet Propulsion Laboratory.
This Brief includes a Technical Support Package (TSP).
Zero-Copy Objects System (reference NPO-41627) is currently available for download from the TSP library.
Please Login at the top of the page to download.