Skip to content

Commit

Permalink
TODO: Update with pread/preadv/readv
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasdemarchi committed Aug 26, 2013
1 parent 1642ec8 commit a8650c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions TODO
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
* Check/benchmark buffered vs unbuffered IO and possibly use mmap.
There are lots of code in plugin issuing one read(2) syscall for
small things like 4 bytes. Setting a proper buffer size (e.g. setvbuf)
and reading all at onece would be better performance-wise. Another option
is to write the common code for handling sigbus and use mmap instead.
and reading all at once would be better performance-wise. Another option
is to write the common code for handling sigbus and use mmap instead.
Check also whether pread/preadv/readv would be an option for some plugins.

0 comments on commit a8650c0

Please sign in to comment.