You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2016/11/21 17:32:40 UTC

[14/14] incubator-mnemonic git commit: MNEMONIC-166 - Add run sort bench section to README

MNEMONIC-166 - Add run sort bench section to README


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

Branch: refs/heads/master
Commit: becaead0e6163e2d0f718800eb7ae99681c0bf20
Parents: 9560658
Author: Wang, Gang(Gary) <ga...@intel.com>
Authored: Sat Nov 19 10:16:55 2016 -0800
Committer: Wang, Gang(Gary) <ga...@intel.com>
Committed: Sat Nov 19 10:22:52 2016 -0800

----------------------------------------------------------------------
 README.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mnemonic/blob/becaead0/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 990df94..cd4da44 100644
--- a/README.md
+++ b/README.md
@@ -287,6 +287,20 @@ To run several test cases:
   $ mvn -Dtest=DurableSinglyLinkedListNGSortTest test -pl mnemonic-computing-services/mnemonic-utilities-service -DskipTests=false
 ```
 
+
+### How to benchmark ?
+To run sort bench workloads.
+```bash
+  $ # generate some input data files with a count parameter that indicates how many random numbers to be generated
+  $ mnemonic-benches/mnemonic-sort-bench/bin/gen_data.py 20000
+  $ # create a configure file that contains all the absolute paths of generated input data files to work on in a batch
+  $ # call the run.py to run the bench workloads with the configure file
+  $ mnemonic-benches/mnemonic-sort-bench/bin/run.py ./sort-files.conf
+  $ # after finished, you can find the result data from the sort_bench_result.log
+  $ less mnemonic-benches/mnemonic-sort-bench/sort_bench_result.log
+```
+
+
 ### Where is the document ?
  * Source code comments
  * [API Documentation](http://nonvolatilecomputing.github.io/Mnemonic/apidocs/index.html)