[zeromq-dev] debugging performance problems
Ian Barber
ian.barber at gmail.com
Mon May 16 15:51:07 CEST 2011
On Mon, May 16, 2011 at 2:40 PM, Andrew Hume <andrew at research.att.com>wrote:
> i can increase the number of processes in various parts of the processing
> graph,
> but how can i effectively figure out what to increase? ordinarily, i would
> look at
> which processes have increasing input queue lengths. but 0mq doesn't do
> that.
> all i can measure is the memory footprint which starts increasing,
> sometimes
> alarmingly quickly, but mostly steadily. i can't tell if the memory usage
> is from
> fragmentation, or an input queue, or output queue.
>
There was quite a discussion about this sort of monitoring at the unconf, so
there may be some more library level functionality coming that helps. That
said, have you tried lowering the HWM to a minimum value, and collecting
statistics on how often that is hit? If you're experiencing congestion at a
certain point, the queue size should grow beyond the minimums fairly quickly
I would guess.
Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110516/760a1fd7/attachment-0001.htm>
More information about the zeromq-dev
mailing list