On Wed, Dec 5, 2012 at 9:35 AM, Alex Kocharin <[email protected]> wrote: > Would it make sense to use AIO if filesystem supports it? How faster it would > be? Did somebody run any benchmarks?
The answer lies somewhere between 'not at all' and 'lots'. >From anecdotal evidence, AIO on FreeBSD and Solaris can give a nice boost. The Samba people reported a 50% increase in random I/O throughput when they switched to AIO on FreeBSD. On the other hand, Linux AIO only works with files opened in O_DIRECT mode. You no longer benefit from the disk cache so in general it will be slower, possibly a lot slower. O_DIRECT only makes sense for very specialized workloads. OS X is not worth considering even if it wasn't broken. No one runs his production systems on OS X. > I don't know what Windows is (sorry, just trolling), but Linux have a lot of > filesystems and it's open. If just one filesystem supports AIO and work with > node.js much better, other will follow. If something silently fall back to > sync IO, file a bugreport against it, it's as simple as this. Yes, well... I've been following the discussions on the LKML since 2006 or 2007. I've little hope of seeing it fixed in our lifetimes. :-( -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en
