[zeromq-dev] profiling czmq applications
Stephen Hemminger
stephen at networkplumber.org
Thu Apr 2 03:23:28 CEST 2015
Linux perf is probably the best. There are lots of tutorials and talks on
it if you look around.
On Wed, Apr 1, 2015 at 9:42 AM, Pieter Hintjens <ph at imatix.com> wrote:
> If you do find a good profiling tool, I'd be interested in knowing
> what you use. I've tried gprof and dtrace without much success.
>
> On Wed, Apr 1, 2015 at 2:05 PM, Stefan Kaes <Stefan.Kaes at xing.com> wrote:
> > Hi,
> >
> > I’ve tried using gperftools to profile a czmq application, with no
> immediate
> > success.
> >
> > Gperftools use interval timers to record stack information and this
> seems to
> > interrupt zpollers.
> >
> > After to patching czmq to ignore errors in zloop_start(), I was able to
> > profile. But the patch is really a brute force hack.
> >
> > My questions:
> >
> > Is this a known problem and are there ways to mitigate it?
> >
> > Or are you using different profiling tools which work better than
> > gperftools?
> >
> > Regards,
> >
> > — stefan
> >
> >
> > _______________________________________________
> > zeromq-dev mailing list
> > zeromq-dev at lists.zeromq.org
> > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
> >
> _______________________________________________
> 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: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150401/20b65bd9/attachment.htm>
More information about the zeromq-dev
mailing list