Jump to content

Talk:Splice (system call)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

No Copy?

[edit]

It currently says, "It does so without actually copying the data, in contrast to other data copying techniques, thereby improving I/O performance." But isn't there still copying going on, just all within kernel space? Superm401 - Talk 00:28, 7 January 2009 (UTC)[reply]

I changed some of the "copy" references to "move". Makes more sense. Codes02 (talk) 21:44, 14 October 2009 (UTC)[reply]

Splice()ing file-to-file

[edit]

I've been told that it is not appropriate to use splice() to copy one file to another, and that using the pipe() call to circumvent spice()'s restrictions is also inappropriate, and probably not efficient. It's been also said that sendfile() is the appropriate system call, but that the Linux kernel is buggy, which is why it is not feasible to use sendfile() to write to a file. 216.218.42.90 (talk) 21:41, 27 January 2009 (UTC)[reply]

sendfile() is rewrite using splice/vmplice/tee which is a better api.