3

We're benchmarking some code that we've converted to use sendfile(), the linux zero-copy system call. What's the term for the traditional read()/write() loop that sendfile() replaces? I.e., in our report I want to say "zerocopy is X millisecs, and ??? is Y millisecs." What word/phrase should I use?

Daniel Trebbien
  • 38,421
  • 18
  • 121
  • 193
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465

3 Answers3

1

"Traditional data copying approach"

zaf
  • 22,776
  • 12
  • 65
  • 95
1

Programmed I/O (PIO) would be appropriate, I think.

tzaman
  • 46,925
  • 11
  • 90
  • 115
1

Just "copy"?......

Ollie Saunders
  • 7,787
  • 3
  • 29
  • 37