It is zero-copy
Posted Apr 7, 2006 22:46 UTC (Fri) by giraffedata
In reply to: It is zero-copy
Parent article: Two new system calls: splice() and sync_file_range()
It sounds funny only because you're using "copy" two different ways in the same sentence. When we talk about copying a file, we're talking about copying from disk to disk. When we say zero-copy, we're talking about copying data from memory to memory.
A splice-based file copy does one disk-disk copy, and no memory-memory copy, as contrasted with the traditional file copy that does one disk-disk copy plus two memory-memory copies.
Since the naive observer wouldn't even expect there to be memory-memory copies involved in copying files, "zero copy file copy" shouldn't sound odd at all.
to post comments)