[jboss-svn-commits] JBL Code SVN: r34537 - in labs/jbosstm/workspace/whitingjr/trunk/performance: src/main/resources and 3 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Aug 5 06:38:58 EDT 2010


Author: whitingjr
Date: 2010-08-05 06:38:57 -0400 (Thu, 05 Aug 2010)
New Revision: 34537

Modified:
   labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/README.txt
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/log4j.xml
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jbossprofiler/ant-profiler.xml
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/MultiThreadedTest.java
   labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/comparrison/ComparrisonTask.java
Log:
Fixed configuration of profiler.

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/README.txt	2010-08-05 10:38:57 UTC (rev 34537)
@@ -68,9 +68,10 @@
       Added capturing Dstat metrics during the profiling run.
       Added charting of the Dstat metrics.
 
+0.8   Added profiler configuration using Ant import.
+      Added support for offline profiling.
+      Added support for jboss profiler.
 
-
-
 Known issues:
 
 * The original performance profiling project called Java Interactive Profiler (JIP) was integrated
@@ -79,11 +80,4 @@
  Integration with profilers has not been abandoned and others can be used. An alternative 
  working profiler configuration is JProfiler. Ideally, at a later date another open source
  profiler will be integrated.
-
-* The connection pooling performance is possibly a scalability bottleneck. Based on lock 
- contention (100+ threads) around the pooling code. More investigation required to confirm
- this. To overcome CPU saturation due to saturation have change the ManagedConnectionFactory
- to bypass the pooling and instead cache the connection per thread.
   
-* The current implementation does not release the connection back to the pool when the cached
- connection feature is used.
\ No newline at end of file

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/README.txt
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/README.txt	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/README.txt	2010-08-05 10:38:57 UTC (rev 34537)
@@ -35,10 +35,14 @@
 prepare meta files
    copy metadata files
 
-execute warmup
+execute warmup stage
    run test case to get the classes loaded and generated
 
-execute tests with profiler
+execute tests for steady state
    start test cases and enable remote JIP
 
-transform the profile XML data
+generate profiling data
+
+generate graphing data
+
+

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/log4j.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/log4j.xml	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/log4j.xml	2010-08-05 10:38:57 UTC (rev 34537)
@@ -23,7 +23,7 @@
 	<appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
 		<errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler" />
 		<param name="Target" value="System.out" />
-		<param name="Threshold" value="INFO" />
+		<param name="Threshold" value="ERROR" />
 
 		<layout class="org.apache.log4j.PatternLayout">
 			<!-- The default pattern: Date Priority [Category] Message\n -->

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jbossprofiler/ant-profiler.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jbossprofiler/ant-profiler.xml	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/main/resources/properties/profiler/jbossprofiler/ant-profiler.xml	2010-08-05 10:38:57 UTC (rev 34537)
@@ -46,16 +46,6 @@
       </fileset>
    </path>
 
-   <taskdef name="enable" classname="org.jboss.profiler.ant.EnableProfilerTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="disable" classname="org.jboss.profiler.ant.DisableProfilerTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="startprofiler" classname="org.jboss.profiler.ant.StartProfilerTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="stopprofiler" classname="org.jboss.profiler.ant.StopProfilerTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="clearsnapshots" classname="org.jboss.profiler.ant.ClearSnapshotsTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="gc" classname="org.jboss.profiler.ant.GCTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="save" classname="org.jboss.profiler.ant.SaveTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="add" classname="org.jboss.profiler.ant.AddClassesTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   <taskdef name="remove" classname="org.jboss.profiler.ant.RemoveClassesTask" classpathref="jbossprofiler.ant.task.classpath"/>
-   
    <taskdef name="regression" classname="org.jboss.profiler.ant.RegressionTask" classpathref="jbossprofiler.ant.task.classpath"/>
 
    <target name="process-profiling-data">

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/MultiThreadedTest.java
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/MultiThreadedTest.java	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/MultiThreadedTest.java	2010-08-05 10:38:57 UTC (rev 34537)
@@ -67,8 +67,8 @@
 
          if (printSummary)
          {
-            this.csvLogger.debug("#threads,    TimeInNano,    TimePerTx,  TxPerSec,   TimeInSecs, Tx");
-            this.csvLogger.debug(String.format("%1$d,  %2$d,   %3$d,   %4$.0f, %5$.0f, %6$d", configuration
+            this.csvLogger.info("#threads,    TimeInNano,    TimePerTx,  TxPerSec,   TimeInSecs, Tx");
+            this.csvLogger.info(String.format("%1$d,  %2$d,   %3$d,   %4$.0f, %5$.0f, %6$d", configuration
                   .getThreadCount(), durationNano, (durationNano) / tx, txPerSec, timeInSecs, tx));
          }
       }

Modified: labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/comparrison/ComparrisonTask.java
===================================================================
--- labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/comparrison/ComparrisonTask.java	2010-08-05 07:54:38 UTC (rev 34536)
+++ labs/jbosstm/workspace/whitingjr/trunk/performance/src/test/java/org/jboss/jbossts/performance/comparrison/ComparrisonTask.java	2010-08-05 10:38:57 UTC (rev 34537)
@@ -40,6 +40,8 @@
    {
       try
       {
+         Timeout timeout = new Timeout(Duration.millis(300l), StopWatch.start(new DefaultDateFactory()));
+         WaitFor.waitUntil(timeout);
          begin();
          findA();
          findB();



More information about the jboss-svn-commits mailing list