Scattergather
Scatter-gather refers to a class of techniques for transferring data where the memory involved is non-contiguous. Instead of moving a single contiguous block, a list of address-length pairs is used to describe multiple chunks of memory. The operation can scatter data from a source to multiple destinations or gather data from multiple sources into a single destination. The list is commonly called a scatter-gather list or an I/O vector.
In parallel and distributed computing, scatter and gather are common collective operations. MPI, for example, provides
In I/O and hardware, scatter-gather appears in two related contexts. Scatter-gather I/O uses an array of buffers
Benefits of scatter-gather include reduced data copying, efficient handling of fragmented buffers, and better utilization of