Feature request: ability to use libeio with multiple event loops
Brandon Black
blblack at gmail.com
Thu Dec 22 15:54:44 CET 2011
On Thu, Dec 22, 2011 at 7:53 AM, Hongli Lai <hongli at phusion.nl> wrote:
> I know that, but as you can read from my very first email I was planning
> on running I threads, with I=number of cores, where each thread has 1 event
> loop. My question now has got nothing to do with the threads vs events
> debate. Marc is claiming that running I *processes* instead of I threads is
> faster thanks to MMU stuff and I'm asking for clarification.
>
Right, so either way an argument based on 2 threads per core is irrelevant,
which is the argument you made in point (2) earlier. It doesn't make sense
to argue about the benefits of threads under a layout that's know to be
suboptimal in larger ways. The threads-vs-procs debate is about 1
thread-per-core vs 1-proc-per-core, not N-threads-per-core vs
N-procs-per-core.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20111222/983f69b2/attachment.html>
More information about the libev
mailing list