Skip to content
Permalink
Browse files
Add documentation, comments, and warning fixes
  • Loading branch information
Manno15 committed Sep 28, 2021
1 parent 86536bb commit 5561b7cc31c9e61bf794b0767823cdf99a0f298a
Showing 2 changed files with 9 additions and 3 deletions.
@@ -259,6 +259,9 @@ applied. The example below will run just the DurabilityWriteSpeedPT.
./bin/performance run <output dir> DurabilityWriteSpeedPT
Some performance tests alter the system properties of the cluster it is trying to test on. These
may require fine-tuning in order to work on some hardware.
There are some utilities for working with the JSON result files, run the `performance` script
with no options to see them.
@@ -68,6 +68,9 @@ public SystemConfiguration getSystemConfig() {
siteCfg.put(Property.TSERV_MINTHREADS.getKey(), "256");
siteCfg.put(Property.TSERV_SCAN_EXECUTORS_DEFAULT_THREADS.getKey(), "32");
siteCfg.put(Property.TABLE_DURABILITY.getKey(), "flush");

// Verify the size of the caches below are smaller than the java heap size given to the tserver.
// The heap size can be found and changed in accumulo-env.sh.
siteCfg.put(Property.TSERV_DATACACHE_SIZE.getKey(), "2G");
siteCfg.put(Property.TSERV_INDEXCACHE_SIZE.getKey(), "1G");

@@ -203,11 +206,11 @@ public static void writeData(Report.Builder reportBuilder, AccumuloClient client

reportBuilder.info("create", t2 - t1, ms, "Time to create table");
reportBuilder.info("split", t3 - t2, ms, "Time to split table");
reportBuilder.info("write", 4 * numRows, t4 - t3, "entries/sec",
reportBuilder.info("write", 4L * numRows, t4 - t3, "entries/sec",
"Rate at which data are written");
reportBuilder.info("compact", 4 * numRows, t5 - t4, "entries/sec",
reportBuilder.info("compact", 4L * numRows, t5 - t4, "entries/sec",
"Rate at which tables are compacted");
reportBuilder.info("fullScan", 4 * numRows, t6 - t5, "entries/sec",
reportBuilder.info("fullScan", 4L * numRows, t6 - t5, "entries/sec",
"Rate at which full table scans take place");
}

0 comments on commit 5561b7c

Please sign in to comment.