diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2013-08-23 14:45:48 -0300 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2013-08-26 19:20:10 -0300 |
commit | a8650c0cff2db4704e6fadeba9529800519b7817 (patch) | |
tree | 75e0f29399c133e3340e199a217f9ebfcf2fcaf4 /TODO | |
parent | 1642ec80634150d732baed760fe893d5a7155219 (diff) | |
download | lightmediascanner-a8650c0cff2db4704e6fadeba9529800519b7817.tar.gz lightmediascanner-a8650c0cff2db4704e6fadeba9529800519b7817.tar.bz2 lightmediascanner-a8650c0cff2db4704e6fadeba9529800519b7817.zip |
TODO: Update with pread/preadv/readv
Diffstat (limited to 'TODO')
-rw-r--r-- | TODO | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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.
\ No newline at end of file + 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.
\ No newline at end of file |