[Swift-commit] r4295 - trunk/libexec/log-processing

wozniak at ci.uchicago.edu wozniak at ci.uchicago.edu
Wed Apr 6 15:41:46 CDT 2011


Author: wozniak
Date: 2011-04-06 15:41:46 -0500 (Wed, 06 Apr 2011)
New Revision: 4295

Modified:
   trunk/libexec/log-processing/README.txt
Log:
Notes on how to make a basic load plot


Modified: trunk/libexec/log-processing/README.txt
===================================================================
--- trunk/libexec/log-processing/README.txt	2011-04-06 20:40:58 UTC (rev 4294)
+++ trunk/libexec/log-processing/README.txt	2011-04-06 20:41:46 UTC (rev 4295)
@@ -1,8 +1,23 @@
 
-To properly generate log plots, you must:
+To properly generate log plots, you must enable VDL/Karajan logging.
 
-1) Enable VDL/Karajan logging.
-
 Make sure log4.properties contains:
+--------------------------------------
+log4j.logger.swift=DEBUG
+--------------------------------------
 
-log4j.logger.swift=DEBUG
+To make a basic load plot:
+
+* Generate the LOG (may set log4j.logger.swift=INFO for this one)
+  (assuming the log is titled swift-run.log)
+* Make the execute transitions file:
+  make LOG=swift-run.log execute.transitions
+  These transitions are relative to the Unix epoch
+* Make the start time file (this contains the earliest timestamp)
+  make LOG=swift-run.log start-time.tmp
+* Normalize the transition times
+  ./normalise-event-start-time < execute.transitions > execute.norm
+* Build up a load data file:
+  ./accumulate-load.pl < execute.norm > load.data
+* Plot with the JFreeChart-based plotter:
+  lines.zsh load.cfg load.eps load.data




More information about the Swift-commit mailing list