[jboss-cvs] JBoss Messaging SVN: r7193 - in trunk: src/main/org/jboss/messaging/core/config/impl and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Jun 4 00:13:57 EDT 2009
Author: clebert.suconic at jboss.com
Date: 2009-06-04 00:13:56 -0400 (Thu, 04 Jun 2009)
New Revision: 7193
Modified:
trunk/docs/user-manual/en/configuration-index.xml
trunk/docs/user-manual/en/perf-tuning.xml
trunk/docs/user-manual/en/persistence.xml
trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java
Log:
adding new parameters on docs with TODOs
Modified: trunk/docs/user-manual/en/configuration-index.xml
===================================================================
--- trunk/docs/user-manual/en/configuration-index.xml 2009-06-04 03:42:04 UTC (rev 7192)
+++ trunk/docs/user-manual/en/configuration-index.xml 2009-06-04 04:13:56 UTC (rev 7193)
@@ -295,14 +295,27 @@
</row>
<row>
<entry><link linkend="configuring.message.journal"
- >journal-buffer-reuse-size</link></entry>
+ >journal-aio-flush-on-sync</link></entry>
+ <entry>Boolean</entry>
+ <entry>TODO</entry>
+ <entry>False</entry>
+ </row>
+ <row>
+ <entry><link linkend="configuring.message.journal"
+ >journal-aio-buffer-timeout</link></entry>
<entry>Long</entry>
- <entry>the journal will try and re use any buffers smaller than this
- size (in bytes)</entry>
- <entry>1024</entry>
+ <entry>TODO</entry>
+ <entry>20000</entry>
</row>
<row>
<entry><link linkend="configuring.message.journal"
+ >journal-aio-buffer-size</link></entry>
+ <entry>Long</entry>
+ <entry>TODO</entry>
+ <entry>128 MiB</entry>
+ </row>
+ <row>
+ <entry><link linkend="configuring.message.journal"
>journal-sync-transactional</link></entry>
<entry>Boolean</entry>
<entry>if true wait for transaction data to be synchronized to the journal
Modified: trunk/docs/user-manual/en/perf-tuning.xml
===================================================================
--- trunk/docs/user-manual/en/perf-tuning.xml 2009-06-04 03:42:04 UTC (rev 7192)
+++ trunk/docs/user-manual/en/perf-tuning.xml 2009-06-04 04:13:56 UTC (rev 7193)
@@ -21,11 +21,6 @@
<para>Use AIO journal. If using Linux, try to keep your journal type as AIO.</para>
</listitem>
<listitem>
- <para>AIO re-use cache. Keep <literal>journal-buffer-reuse-size</literal> to an
- average size of your records on the journal. The record is composed by the
- message body, properties and about 100 bytes per message.</para>
- </listitem>
- <listitem>
<para>Max IO. If using AIO, keep <literal>journal-max-aio</literal> accordingly to
your disk capacity. If in a thread dump you see too many write requests waiting
on <literal>AsynchronousFile.write</literal> you may be out of space on the
Modified: trunk/docs/user-manual/en/persistence.xml
===================================================================
--- trunk/docs/user-manual/en/persistence.xml 2009-06-04 03:42:04 UTC (rev 7192)
+++ trunk/docs/user-manual/en/persistence.xml 2009-06-04 04:13:56 UTC (rev 7193)
@@ -177,14 +177,17 @@
journal.</para>
</listitem>
<listitem>
- <para><literal>journal-buffer-reuse-size</literal></para>
- <para>Creating direct byte buffers is an expensive operation, so the journal will
- attempt to re-use any buffers with a size less than this setting, in bytes. If
- this value is set to <literal>-1</literal> then the journal will not attempt to
- re-use any buffers. This setting only takes effect if the journal is <literal
- >AIO</literal>. The default value for this setting is <literal
- >1024</literal> bytes.</para>
+ <para><literal>journal-aio-flush-on-sync</literal></para>
+ <para>TODO.</para>
</listitem>
+ <listitem>
+ <para><literal>journal-aio-buffer-timeout</literal></para>
+ <para>TODO.</para>
+ </listitem>
+ <listitem>
+ <para><literal>journal-aio-buffer-size</literal></para>
+ <para>TODO.</para>
+ </listitem>
</itemizedlist>
</section>
<section id="installing-aio">
Modified: trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java 2009-06-04 03:42:04 UTC (rev 7192)
+++ trunk/src/main/org/jboss/messaging/core/config/impl/FileConfiguration.java 2009-06-04 04:13:56 UTC (rev 7193)
@@ -22,11 +22,18 @@
package org.jboss.messaging.core.config.impl;
-import org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl;
import static org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.DEFAULT_RETRY_INTERVAL;
import static org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.DEFAULT_RETRY_INTERVAL_MULTIPLIER;
-import static org.jboss.messaging.core.config.impl.ConfigurationImpl.DEFAULT_CLUSTER_RETRY_INTERVAL;
+import java.io.InputStreamReader;
+import java.io.Reader;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+import org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl;
import org.jboss.messaging.core.config.TransportConfiguration;
import org.jboss.messaging.core.config.cluster.BridgeConfiguration;
import org.jboss.messaging.core.config.cluster.BroadcastGroupConfiguration;
@@ -43,14 +50,6 @@
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.net.URL;
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-
/**
* ConfigurationImpl
* This class allows the Configuration class to be configured via a config file.
More information about the jboss-cvs-commits
mailing list