accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject [1/6] git commit: ACCUMULO-2253 Add quartiles to scalability test results
Date Fri, 13 Jun 2014 15:40:27 GMT
Repository: accumulo
Updated Branches:
  refs/heads/1.5.2-SNAPSHOT b664f51d8 -> edfc56bc1
  refs/heads/1.6.1-SNAPSHOT 8b2f2dce8 -> dda7a605a
  refs/heads/master 668c9e3a8 -> 1392992bd


ACCUMULO-2253 Add quartiles to scalability test results

Signed-off-by: Mike Drob <mdrob@cloudera.com>


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/edfc56bc
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/edfc56bc
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/edfc56bc

Branch: refs/heads/1.5.2-SNAPSHOT
Commit: edfc56bc146914c6ffc0dc01509498fe58a1fce7
Parents: b664f51
Author: Vikram Srivastava <vikrams@cloudera.com>
Authored: Wed Jan 29 09:28:10 2014 -0800
Committer: Mike Drob <mdrob@cloudera.com>
Committed: Fri Jun 13 11:27:55 2014 -0400

----------------------------------------------------------------------
 test/system/scalability/run.py | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/edfc56bc/test/system/scalability/run.py
----------------------------------------------------------------------
diff --git a/test/system/scalability/run.py b/test/system/scalability/run.py
index df86545..5544234 100755
--- a/test/system/scalability/run.py
+++ b/test/system/scalability/run.py
@@ -140,10 +140,13 @@ def runTest(testName, siteConfig, testDir, numNodes, fdata):
     avg = (float(totalMs) / numClients) / 1000
     median = times[int(numClients/2)] / 1000
     max = times[numClients-1] / 1000
+    q1 = times[int(numClients/4)] / 1000
+    q3 = times[int((3*numClients)/4)] / 1000
 
-    log('Tservs\tClients\tMin\tAvg\tMed\tMax\tEntries\tMB')
-    log('%d\t%d\t%d\t%d\t%d\t%d\t%dM\t%d' % (numNodes, numClients, min, avg, median, max,
totalEntries / 1000000, totalBytes / 1000000))
-    fdata.write('%d\t%d\t%d\t%d\t%d\t%d\t%dM\t%d\n' % (numNodes, numClients, min, avg, median,
max, totalEntries / 1000000, totalBytes / 1000000))
+    log('Tservs\tClients\tMin\tQ1\tAvg\tMed\tQ3\tMax\tEntries\tMB')
+    resultStr = '%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%dM\t%d' % (numNodes, numClients, min, q1,
avg, median, q3, max, totalEntries / 1000000, totalBytes / 1000000)
+    log(resultStr)
+    fdata.write(resultStr + '\n')
     fdata.flush()
 
     time.sleep(5)


Mime
View raw message