public class RandomMessageBenchmark extends GiraphBenchmark
Modifier and Type | Class and Description |
---|---|
static class |
RandomMessageBenchmark.RandomMessageBenchmarkMasterCompute
Master compute associated with
RandomMessageBenchmark . |
static class |
RandomMessageBenchmark.RandomMessageBenchmarkWorkerContext
WorkerContext forRandomMessageBenchmark. |
static class |
RandomMessageBenchmark.RandomMessageComputation
Actual message computation (messaging in this case)
|
Modifier and Type | Field and Description |
---|---|
static String |
AGG_SUPERSTEP_TOTAL_BYTES
All bytes sent during this superstep
|
static String |
AGG_SUPERSTEP_TOTAL_MESSAGES
All messages during this superstep
|
static String |
AGG_SUPERSTEP_TOTAL_MILLIS
All millis during this superstep
|
static String |
AGG_TOTAL_BYTES
All bytes sent during this application
|
static String |
AGG_TOTAL_MESSAGES
All messages during this application
|
static String |
AGG_TOTAL_MILLIS
All millis during this application
|
static int |
DEFAULT_NUM_BYTES_PER_MESSAGE
Default bytes per message
|
static int |
DEFAULT_NUM_MESSAGES_PER_EDGE
Default messages per edge
|
static String |
NUM_BYTES_PER_MESSAGE
How many bytes per message
|
static String |
NUM_MESSAGES_PER_EDGE
How many messages per edge
|
static String |
SUPERSTEP_COUNT
How many supersteps to run
|
static String |
WORKERS_NUM
Workers 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, setConf
public 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()
GiraphBenchmark
getBenchmarkOptions
in class GiraphBenchmark
protected void prepareConfiguration(GiraphConfiguration conf, org.apache.commons.cli.CommandLine cmd)
GiraphBenchmark
prepareConfiguration
in class GiraphBenchmark
conf
- Configurationcmd
- Command lineCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.