[zeromq-dev] zmq epoll loop taking over 50% of application cpu time

Gabriel Lambert gaby_64 at live.ca
Mon Sep 30 20:11:06 CEST 2013

this dramatically impacts performance of libwebsocket by about a factor of 35.
the cause of the performance loss was not evident, oprofile and gprof did not show libzmq
i found it using Zoom profiler.

attached is a test case of libwebsocket with and wihout zmqrps is updated in the chrome console once you press send, using a number in the field will make it send that number of request at once instead of doing request-reply continuously.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130930/ece65b27/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.zip
Type: application/zip
Size: 13175 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130930/ece65b27/attachment.zip>

More information about the zeromq-dev mailing list