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

Michael Haberler mail17 at mah.priv.at
Mon Sep 30 22:04:41 CEST 2013


fyi - this was posted to the zeromq-dev list

I've written a zmq/libwebsocket application, but I did use Andrew's libev based variant ; I did not look into performance implications though since my requirements are low

- Michael



Anfang der weitergeleiteten Nachricht:

> Von: Gabriel Lambert <gaby_64 at live.ca>
> Betreff: [zeromq-dev] zmq epoll loop taking over 50% of application cpu time
> Datum: 30. September 2013 20:11:06 MESZ
> An: "zeromq-dev at lists.zeromq.org" <zeromq-dev at lists.zeromq.org>
> Antwort an: ZeroMQ development list <zeromq-dev at lists.zeromq.org>
> 
> 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 zmq
> rps 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.
> 
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130930/4f8c62c1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.zip
Type: application/zip
Size: 13175 bytes
Desc: not available
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130930/4f8c62c1/attachment.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130930/4f8c62c1/attachment-0001.html>


More information about the Libwebsockets mailing list