On 19/11/2013 12:55am, Tim Peters wrote:
[Richard Oudkerk]
I tried using multiprocessing.Pipe() and send_bytes()/recv_bytes() to send
messages between processes:

   8 bytes messages  -- 525,000 msgs/sec
   15 bytes messages -- 556,000 msgs/sec

So the size of small messages does not seem to make much difference.

To the contrary, the lesson is clear:  to speed up multiprocessing,
the larger the messages the faster it goes ;-)

Ah, yes.  It was probably round the other way.

--
Richard

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to