public class RandomMessageBenchmark extends GiraphBenchmark
| Modifier and Type | Class and Description | 
|---|---|
| static class  | RandomMessageBenchmark.RandomMessageBenchmarkMasterComputeMaster compute associated with  RandomMessageBenchmark. | 
| static class  | RandomMessageBenchmark.RandomMessageBenchmarkWorkerContextWorkerContextforRandomMessageBenchmark. | 
| static class  | RandomMessageBenchmark.RandomMessageComputationActual message computation (messaging in this case) | 
| Modifier and Type | Field and Description | 
|---|---|
| static String | AGG_SUPERSTEP_TOTAL_BYTESAll bytes sent during this superstep | 
| static String | AGG_SUPERSTEP_TOTAL_MESSAGESAll messages during this superstep | 
| static String | AGG_SUPERSTEP_TOTAL_MILLISAll millis during this superstep | 
| static String | AGG_TOTAL_BYTESAll bytes sent during this application | 
| static String | AGG_TOTAL_MESSAGESAll messages during this application | 
| static String | AGG_TOTAL_MILLISAll millis during this application | 
| static int | DEFAULT_NUM_BYTES_PER_MESSAGEDefault bytes per message | 
| static int | DEFAULT_NUM_MESSAGES_PER_EDGEDefault messages per edge | 
| static String | NUM_BYTES_PER_MESSAGEHow many bytes per message | 
| static String | NUM_MESSAGES_PER_EDGEHow many messages per edge | 
| static String | SUPERSTEP_COUNTHow many supersteps to run | 
| static String | WORKERS_NUMWorkers for that superstep | 
| Constructor and Description | 
|---|
| RandomMessageBenchmark() | 
| Modifier and Type | Method and Description | 
|---|---|
| Set<BenchmarkOption> | getBenchmarkOptions()Get the options to use in this benchmark. | 
| static void | main(String[] args)Execute the benchmark. | 
| protected void | prepareConfiguration(GiraphConfiguration conf,
                    org.apache.commons.cli.CommandLine cmd)Process options from CommandLine and prepare configuration for running
 the job. | 
getConf, run, setConfpublic static final String SUPERSTEP_COUNT
public static final String NUM_BYTES_PER_MESSAGE
public static final int DEFAULT_NUM_BYTES_PER_MESSAGE
public static final String NUM_MESSAGES_PER_EDGE
public static final int DEFAULT_NUM_MESSAGES_PER_EDGE
public static final String AGG_SUPERSTEP_TOTAL_BYTES
public static final String AGG_TOTAL_BYTES
public static final String AGG_SUPERSTEP_TOTAL_MESSAGES
public static final String AGG_TOTAL_MESSAGES
public static final String AGG_SUPERSTEP_TOTAL_MILLIS
public static final String AGG_TOTAL_MILLIS
public static final String WORKERS_NUM
public Set<BenchmarkOption> getBenchmarkOptions()
GiraphBenchmarkgetBenchmarkOptions in class GiraphBenchmarkprotected void prepareConfiguration(GiraphConfiguration conf, org.apache.commons.cli.CommandLine cmd)
GiraphBenchmarkprepareConfiguration in class GiraphBenchmarkconf - Configurationcmd - Command lineCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.