Hello Martin & Others So that means in python this should do it to enjoy the full multicore power ?
import zmq from multiprocessing import cpu_count zmq_context = zmq.context(cpu_count()) 2011/11/9 rahul r <[email protected]> > > Hey Martin, > > > > When opening a 0mq context, you can specify the number of worker threads > > to use. The idea is that there should be one worker thread per CPU core. > >However, actual finding out of number of cores and assigning one worker > >thread per core is not implemented yet -- feel free to try :) > > 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. ? > 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 ? > > > --Rahul > > > > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > >
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
