From: Avi K. <av...@qu...> - 2008-04-17 12:53:29
|
Carsten Otte wrote: > Anthony Liguori wrote: >> There is a 5th option. Do away with the use of posix aio. We get >> absolutely no benefit from it because it's limited to a single >> thread. Fabrice has reverted a patch to change that in the past. > How about using linux aio for it? It seems much better, because it > doesn't use userspace threads but has a direct in-kernel > implementation. I've had good performance on zldisk with that, and > it's stable. Linux-aio is nice except that you can't easily complete network and disk requests simulateneously (no IO_CMD_POLL yet). This means you need an additional thread. -- error compiling committee.c: too many arguments to function |