Linux io
Upcoming SlideShare
Loading in...5
×
 

Linux io

on

  • 818 views

 

Statistics

Views

Total Views
818
Views on SlideShare
818
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Linux io Linux io Presentation Transcript

  • 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 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.