You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by or...@apache.org on 2016/11/03 15:44:13 UTC
svn commit: r1767909 -
/qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml
Author: orudyy
Date: Thu Nov 3 15:44:13 2016
New Revision: 1767909
URL: http://svn.apache.org/viewvc?rev=1767909&view=rev
Log:
QPID-7479: Change memory estimation formulas to account for worst case scenarios when messages are persistent and TLS is used
Modified:
qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml
Modified: qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml
URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml?rev=1767909&r1=1767908&r2=1767909&view=diff
==============================================================================
--- qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml (original)
+++ qpid/java/trunk/doc/java-broker/src/docbkx/runtime/Java-Broker-Runtime-Memory.xml Thu Nov 3 15:44:13 2016
@@ -214,12 +214,14 @@
<para>
<informalequation>
<mathphrase>
- memory<subscript>heap</subscript> = 15 MB + 15 kB * N<subscript>sessions</subscript> + 1 kB * N<subscript>messages</subscript> + 17 kB * N<subscript>connections</subscript>
+ memory<subscript>heap</subscript> = 15 MB + 15 kB * N<subscript>sessions</subscript> + 1.5 kB * N<subscript>messages</subscript> + 17 kB * N<subscript>connections</subscript>
</mathphrase>
</informalequation>
+ </para>
+ <para>
<informalequation>
<mathphrase>
- memory<subscript>direct</subscript> = 2 MB + (200 B + averageSize<subscript>msg</subscript> *2)* N<subscript>messages</subscript> + 512 kB * N<subscript>connections</subscript>
+ memory<subscript>direct</subscript> = 2 MB + (200 B + averageSize<subscript>msg</subscript> *2)* N<subscript>messages</subscript> + 1MB * N<subscript>connections</subscript>
</mathphrase>
</informalequation>
Where <mathphrase>N</mathphrase> denotes the total number of connections/sessions/messages on the broker. Furthermore, for direct memory only the messages that have not been flown to disk are relevant.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org