You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2012/09/26 21:23:02 UTC

svn commit: r1390687 - /hbase/trunk/src/docbkx/developer.xml

Author: stack
Date: Wed Sep 26 19:23:01 2012
New Revision: 1390687

URL: http://svn.apache.org/viewvc?rev=1390687&view=rev
Log:
HBASE-6884 Update documentation on unit tests

Modified:
    hbase/trunk/src/docbkx/developer.xml

Modified: hbase/trunk/src/docbkx/developer.xml
URL: http://svn.apache.org/viewvc/hbase/trunk/src/docbkx/developer.xml?rev=1390687&r1=1390686&r2=1390687&view=diff
==============================================================================
--- hbase/trunk/src/docbkx/developer.xml (original)
+++ hbase/trunk/src/docbkx/developer.xml Wed Sep 26 19:23:01 2012
@@ -475,17 +475,18 @@ report: "[INFO] Tests are skipped". It's
 <para>
 By default, <code>$ mvn test -P runAllTests</code> runs 5 tests in parallel.
 It can be increased on a developer's machine. Allowing that you can have 2
-tests in parallel per core, and you need about 2Gb of memory per test,
-if you have a 8 cores and 24Gb box, you can have 16 tests in parallel.
-To run 16 in parallel, do this:
-<command>mvn test -P runAllTests -Dsurefire.secondPartThreadCount=16</command>.
+tests in parallel per core, and you need about 2Gb of memory per test (at the
+extreme), if you have an 8 core, 24Gb box, you can have 16 tests in parallel.
+but the memory available limits it to 12 (24/2), To run all tests with 12 tests
+in parallell, do this:
+<command>mvn test -P runAllTests -Dsurefire.secondPartThreadCount=12</command>.
 To increase the speed, you can as well use a ramdisk. You will need 2Gb of memory
 to run all tests. You will also need to delete the files between two test run.
 The typical way to configure a ramdisk on Linux is:
 <programlisting>$ sudo mkdir /ram2G
 sudo mount -t tmpfs -o size=2048M tmpfs /ram2G</programlisting>
 You can then use it to run all HBase tests with the command:
-<command>mvn test -P runAllTests -Dsurefire.secondPartThreadCount=16 -Dtest.build.data.basedirectory=/ram2G</command>
+<command>mvn test -P runAllTests -Dsurefire.secondPartThreadCount=12 -Dtest.build.data.basedirectory=/ram2G</command>
 </para>
 </section>