[SYSTEMML-1925] Fix consistency SystemML configuration properties

This patch creates consistency in terms of a common prefix for all
configuration properties. Before we used the prefixes dml, systemml, or
none, which is now consolidated to sysml.

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

Branch: refs/heads/gh-pages
Commit: 27e06a56d8549e7e85d5f02a84cb7eb761eb01a4
Parents: d74abab
Author: Matthias Boehm <[email protected]>
Authored: Wed Sep 20 22:17:50 2017 -0700
Committer: Matthias Boehm <[email protected]>
Committed: Thu Sep 21 11:54:09 2017 -0700

----------------------------------------------------------------------
 beginners-guide-caffe2dml.md |  8 ++++----
 standalone-guide.md          | 24 ++++++++++++------------
 2 files changed, 16 insertions(+), 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/systemml/blob/27e06a56/beginners-guide-caffe2dml.md
----------------------------------------------------------------------
diff --git a/beginners-guide-caffe2dml.md b/beginners-guide-caffe2dml.md
index 7671c32..12b21d4 100644
--- a/beginners-guide-caffe2dml.md
+++ b/beginners-guide-caffe2dml.md
@@ -152,8 +152,8 @@ Iter:2000, validation loss:173.66147359346, validation 
accuracy:97.4897540983606
 
 - Print the generated DML script along with classification report:  
`lenet.set(debug=True)`
 - Print the heavy hitters instruction and the execution plan (advanced users): 
`lenet.setStatistics(True).setExplain(True)`
-- (Optional but recommended) Enable [native 
BLAS](http://apache.github.io/systemml/native-backend): 
`lenet.setConfigProperty("native.blas", "auto")`
-- Enable experimental feature such as codegen: 
`lenet.setConfigProperty("codegen.enabled", 
"true").setConfigProperty("codegen.plancache", "true")`
+- (Optional but recommended) Enable [native 
BLAS](http://apache.github.io/systemml/native-backend): 
`lenet.setConfigProperty("sysml.native.blas", "auto")`
+- Enable experimental feature such as codegen: 
`lenet.setConfigProperty("sysml.codegen.enabled", 
"true").setConfigProperty("sysml.codegen.plancache", "true")`
 - Force GPU execution (please make sure the required jcuda dependency are 
included): lenet.setGPU(True).setForceGPU(True)
 
 Unlike Caffe where default train and test algorithm is `minibatch`, you can 
specify the
@@ -242,13 +242,13 @@ If you are using OpenBLAS, please ensure that it was 
built with `USE_OPENMP` fla
 For more detail see http://apache.github.io/systemml/native-backend
 
 ```python
-caffe2dmlObject.setConfigProperty("native.blas", "auto")
+caffe2dmlObject.setConfigProperty("sysml.native.blas", "auto")
 ```
 
 - Turn on the experimental codegen feature. This should help reduce 
unnecessary allocation cost after every binary operation.
 
 ```python
-caffe2dmlObject.setConfigProperty("codegen.enabled", 
"true").setConfigProperty("codegen.plancache", "true")
+caffe2dmlObject.setConfigProperty("sysml.codegen.enabled", 
"true").setConfigProperty("sysml.codegen.plancache", "true")
 ```
 
 - Tuned the [Garbage 
Collector](http://spark.apache.org/docs/latest/tuning.html#garbage-collection-tuning).
 

http://git-wip-us.apache.org/repos/asf/systemml/blob/27e06a56/standalone-guide.md
----------------------------------------------------------------------
diff --git a/standalone-guide.md b/standalone-guide.md
index a401c30..7116f25 100644
--- a/standalone-guide.md
+++ b/standalone-guide.md
@@ -324,18 +324,18 @@ The `l2-svm-predict.dml` algorithm is used on our test 
data sample to predict th
 The console output should show the accuracy of the trained model in percent, 
i.e.:
 
     15/09/01 01:32:51 INFO api.DMLScript: BEGIN DML run 09/01/2015 01:32:51
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating localtmpdir with value 
/tmp/systemml
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating scratch with value 
scratch_space
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating optlevel with value 2
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating numreducers with value 10
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating jvmreuse with value false
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating defaultblocksize with 
value 1000
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating dml.yarn.appmaster with 
value false
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating dml.yarn.appmaster.mem 
with value 2048
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating dml.yarn.mapreduce.mem 
with value 2048
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating dml.yarn.app.queue with 
value default
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating cp.parallel.ops with value 
true
-    15/09/01 01:32:51 INFO conf.DMLConfig: Updating cp.parallel.io with value 
true
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.localtmpdir with 
value /tmp/systemml
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.scratch with value 
scratch_space
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.optlevel with value 2
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.numreducers with 
value 10
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.jvmreuse with value 
false
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.defaultblocksize 
with value 1000
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.yarn.appmaster with 
value false
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.yarn.appmaster.mem 
with value 2048
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.yarn.mapreduce.mem 
with value 2048
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.yarn.app.queue with 
value default
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.parallel.ops with 
value true
+    15/09/01 01:32:51 INFO conf.DMLConfig: Updating sysml.parallel.io with 
value true
     Accuracy (%): 74.14965986394557
     15/09/01 01:32:52 INFO api.DMLScript: SystemML Statistics:
     Total execution time:              0.130 sec.

Reply via email to