
HOW TO RUN THE PERFORMANCE SUITE
================================

Deprecated

Create a directory <...> on target machine on cluster, and copy from
repository SystemDS/system-ds: machine/cluster:

   scripts/algorithms   to <...>/algorithms
   scripts/datagen      to <...>/datagen
   scripts/perftest     to <...>/perftest

Also copy:

   // Edit sparkDML and set SPARK_HOME and SYSTEMDS_ROOT.
   scripts/sparkDML.sh     to <...>/perftest/
   target/system-ds-5.0-SNAPSHOT.jar  to <...>/perftest/SystemDS.jar
   test/config/SystemDS-config.xml to <...>/perftest/SystemDS-config.xml

   chmod -R +x <...>/./*                        // Change permissions

Customize in runAll*.sh to choose data sizes as well as in gen*Data.sh.

Following alternative run modes are supported from <...>/perftest/

   ./runAll.sh $1 $2                // run all test

   ./runAll.sh myperftest SPARK     // example

   $1 is used as a relative path in hdfs to store generated data,
   intermediate results, etc. $2 can be MR, SPARK, or ECHO. ECHO is
   meant for debugging the scripts as it just goes through all the
   scripts and outputs the invoked command line parameters.

   The scripts append to a trace/time file ./times.txt, and output log
   files in folder ./logs/*

   Below scripts can be invoked accordingly, e.g.

   ./runAllBinomial.sh $1 $2
   ./runAllClustering.sh $1 $2
   ./runAllMultinomial.sh $1 $2
   ./runAllRegression.sh $1 $2
   ./runAllStats.sh $1 $2
   ./runAllDimensionReduction.sh $1 $2

   ./genBinomialData.sh $1 $2
   ./genMultinomialData.sh $1 $2
   ./genClusteringData.sh $1 $2
   ./genDescriptiveStatisticsData.sh $1 $2
   ./genStratStatisticsData.sh $1 $2
   ./genDimensionReductionData.sh $1 $2
