Hi,<div><br></div><div>There are lots of possible reasons for this, including that "measuring anything accurately is hard". </div><div><br></div><div>What problem are you trying to solve?</div><div><br></div><div>
alexis</div><div><br><br><div class="gmail_quote">2012/3/26 陈鸿钦 <span dir="ltr"><<a href="mailto:chen-hongqin@163.com">chen-hongqin@163.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="line-height:1.7;font-size:14px;font-family:arial"><div><div style="line-height:1.7;font-size:14px;font-family:arial"><div style="line-height:1.7;font-size:14px;font-family:arial"><div>hi, </div><div>can you tell me why TPS is too high at first and sometimes maybe even more higher(maybe over 30000/s) when I send messages to rabbitmq cluster concurrently? thanks!</div>
<div> </div>
<div><img src="cid:167f98b$1$1364eb77cb1$Coremail$chen-hongqin@163.com" style="line-height:1.7"></div>
<div> </div>
<div> </div></div></div><div>Some infos about this test:</div><div>1. all the messages are same and each message size is 1kb.</div><div><div>2. 300 queues created by multiple Producers at start and messages sent to the queues are random </div>
<div>3. All messages are persistent and queues are all durable</div></div><div>4. 3 nodes consists of a rabbitmq cluster and all the nodes are in the same host but different ports</div><div>the host info:</div><div><table border="1" cellspacing="0" cellpadding="0" style="border-collapse:collapse;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-width:initial;border-color:initial">
<tbody><tr><td width="284" valign="top" style="width:213.05pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:windowtext;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">JAVA </span><span>version</span><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif"><u></u><u></u></span></p>
</td><td width="284" valign="top" style="width:213.05pt;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-top-color:windowtext;border-right-color:windowtext;border-bottom-color:windowtext;border-top-width:1pt;border-right-width:1pt;border-bottom-width:1pt;border-left-style:none;border-left-width:initial;border-left-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" align="left" style="text-align:left;vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04)<u></u><u></u></span></p>
</td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">JAVA </span><span lang="EN-US" style="font-size:12pt"><font face="宋体">VM</font></span></p>
</td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)<u></u><u></u></span></p>
</td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">CPU<u></u><u></u></span></p></td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" align="left" style="text-align:left"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Intel(R) Xeon(R) CPU E5504 @2.00GHz<u></u><u></u></span></p></td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><font face="'Liberation Serif', serif">number of cores</font></p></td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">8</span></p></td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span>memory</span><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif"><u></u><u></u></span></p></td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">33011192kb<u></u><u></u></span></p></td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Erlang</span><span lang="EN-US" style="font-size:12pt"><font face="宋体"> VM</font></span></p>
</td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Erlang R15B (erts-5.9) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false]<u></u><u></u></span></p>
</td></tr><tr><td width="284" valign="top" style="width:213.05pt;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-color:windowtext;border-bottom-color:windowtext;border-left-color:windowtext;border-right-width:1pt;border-bottom-width:1pt;border-left-width:1pt;border-top-style:none;border-top-width:initial;border-top-color:initial;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">RabbitMQ</span><span lang="EN-US" style="font-size:12pt"><font face="宋体"> version</font></span></p>
</td><td width="284" valign="top" style="width:213.05pt;border-top-style:none;border-top-width:initial;border-top-color:initial;border-left-style:none;border-left-width:initial;border-left-color:initial;border-bottom-style:solid;border-bottom-color:windowtext;border-bottom-width:1pt;border-right-style:solid;border-right-color:windowtext;border-right-width:1pt;padding-top:0cm;padding-right:5.4pt;padding-bottom:0cm;padding-left:5.4pt">
<p class="MsoNormal" style="vertical-align:baseline"><span lang="EN-US" style="font-size:12pt;font-family:'Liberation Serif',serif">Release 2.7.1<u></u><u></u></span></p></td></tr></tbody></table></div><br><div> </div>
<br><span title="neteasefooter"><span></span></span></div></div><br><br><span title="neteasefooter"><span></span></span><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>