On Wednesday, November 9, 2011, rahul r wrote:
> Just want to double check that I understood, your saying if i run zmq in > ideal conditions , i will still have one worker thread for each CPU core. > That is , if i have a dual core system i will have totally 2 worker > threads each for one core. ? > > Not quite. You're confusing worker threads and I/O threads. You need 1 I/O thread for each gigabyte/second of data you're transferring in or out of a process, roughly. Then you can split the remaining cores among worker threads. The context option sets the number of I/O threads, not worker threads. Each process has its own I/O thread or threads. It's unlikely you'll get real scaling on a 2-core box. Under 4 cores, use 1 I/O thread and a handful of worker threads. -Pieter
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
