On Mit 04.06.2008 09:52, Marc Lehmann wrote:
On Tue, Jun 03, 2008 at 11:51:47PM +0200, Aleksandar Lazic
<[EMAIL PROTECTED]> wrote:
what do you think, will libeio be able to use the 'best' aio for the
plattform, or are there all only part of the solution?
It would be, but you need to be careful - linux doesn't have working
AIO for normal files - the libc on linux emulates it using threads, and
libeio's threads are much lower on resource usage and are also faster.
I haven't know this, thanks.
[snipp]
so while libeio certainly could transparently use native aio, this
currently isn't on my priority list, as on most platforms it will just
use threads anyways or will not work very well.
if somebody sent a patch for some platform and maintained it, that
would of course be very welcome (especially if some benchmark showed
how this affects resource usage and efficiency), but it is likely too
early to use native aio on most operating systems.
So, you mean threads are the plattform independed solution.
There are some thread implementations out there do you mean the 'build
in' or bundled with libeio, maybe pthreads or something similar?
Aleks
_______________________________________________
libev mailing list
libev@lists.schmorp.de
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev