Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Linux IO APIs
Mark Veltzer
mark@veltzer.net
The problems with IO APIs
● When you call read(2) your process is put to
sleep until the read ends.
● This sleep lasts qui...
Upcoming SlideShare
Loading in …5
×

Linux io

1,043 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Linux io

  1. 1. Linux IO APIs Mark Veltzer mark@veltzer.net
  2. 2. The problems with IO APIs ● When you call read(2) your process is put to sleep until the read ends. ● This sleep lasts quite some time since you are not supposed to wake up until the buffer is full and reading from disk takes quite some time. ● If the device you are reading from is not disk, but rather network or RAM file system then the sleep time could be much faster.

×