selfrando icon indicating copy to clipboard operation
selfrando copied to clipboard

Use sendfile() to copy files faster in TrapLinker

Open ahomescu opened this issue 7 years ago • 0 comments

We currently use the read/write syscall pair to implement file copying in TrapLinker. For higher throughput (as well as avoiding copying file contents in and out of user space), we should use sendfile instead. This syscall copies data between files directly from kernel space, so it should be much faster.

ahomescu avatar Jun 13 '17 21:06 ahomescu