On 11/09/2011 10:11 AM, 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. ?
Yes. But you have to specify the number "2" by hand at the moment. Also, the worker threads have no affinity to CPU cores and we rely on the OS to use one thread per core rather than placing all the worker threads on the same CPU. Note that this functionality is not implemented bacause AFAIK there's no POSIX interface for doing it. It would have to be done on OS-by-OS basis. > So , if i have to only worry about hardware manifestation ( maximum > utilization of all my cores ) and not manually assignment of worker > thread to core. I dont have to make any changes in 0mq context ? Yes, but with the above caveats. Martin _______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
