<html><head></head><body bgcolor="#FFFFFF"><div>You could also use erlang's built in tracing, though the timings wouldn't be highly accurate. Both approaches would require a pretty deep understanding of the code base to make sense of.</div><div><br></div><div>In most cases, it's better to measure things from an overall system standpoint, unless you're trying to benchmark internal changes to the broker.</div><div><br></div><div>So, what is it the OP is trying to do wih these numbers? Presumably there's some goal which the performance measurements and intended to help meet? What are we trying to achieve here? I don't remember having to benchmark tomcat or Postgres internals like that, when trying to make architectural decisions or plan SLAs around those technologies, some I'm curious why benchmarking rabbit at such a low level is desirable outside the development team. Not that we're opposed to folks doing this mind you - I'm quite happy to share some info about how to use erlang's tracing, dtrace/system-tap, etop and other tools of you're really keen on doing so. I just wonder why our MulticastMain performance measurememt tool isn't enough for your benchmarking requirements.</div><div><br></div><div>Cheers,</div><div>Tim</div><div><br>On 7 Oct 2013, at 08:39, Alvaro Videla <<a href="mailto:videlalvaro@gmail.com">videlalvaro@gmail.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><div dir="ltr">Hi,<div><br></div><div>If you have a DTrace capable OS, you could compile Erlang with DTrace support and then profile every single detail from RabbitMQ. </div><div><br></div><div>Not sure if that works in your case.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Alvaro</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 2:31 AM, Suchak Jani <span dir="ltr"><<a href="mailto:suchakjani@gmail.com" target="_blank">suchakjani@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>Hi<br><br></div>Do we have any profiling inside rabbitmq server. <br><br></div>
I want to measure the time it takes for a message to be written to a clustered durable queue, across two nodes on different boxes in a network.<br clear="all">
<div><div><div><div><br></div><div>Within that time i would like to know<br></div><div>1) network time<br></div><div>2) disk io time<br></div><div>3) processing time<br></div><div>4) any other relevant time rabbit would take to process the message. <br>
<span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888"><div><br>-- <br>Regards<br><br>Suchak Jani<br><br></div></font></span></div></div></div></div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>rabbitmq-discuss mailing list</span><br><span><a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a></span><br><span><a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a></span><br></div></blockquote></body></html>