|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.giraph.benchmark.GiraphBenchmark
org.apache.giraph.benchmark.RandomMessageBenchmark
public class RandomMessageBenchmark
Random Message Benchmark for evaluating the messaging performance.
| Nested Class Summary | |
|---|---|
static class |
RandomMessageBenchmark.RandomMessageBenchmarkMasterCompute
Master compute associated with RandomMessageBenchmark. |
static class |
RandomMessageBenchmark.RandomMessageBenchmarkWorkerContext
WorkerContext forRandomMessageBenchmark. |
static class |
RandomMessageBenchmark.RandomMessageVertex
Actual message computation (messaging in this case) |
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
RandomMessageBenchmark()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.giraph.benchmark.GiraphBenchmark |
|---|
getConf, run, setConf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public RandomMessageBenchmark()
| Method Detail |
|---|
public Set<BenchmarkOption> getBenchmarkOptions()
GiraphBenchmark
getBenchmarkOptions in class GiraphBenchmark
protected void prepareConfiguration(GiraphConfiguration conf,
org.apache.commons.cli.CommandLine cmd)
GiraphBenchmark
prepareConfiguration in class GiraphBenchmarkconf - Configurationcmd - Command line
public static void main(String[] args)
throws Exception
args - Typically, this is the command line arguments.
Exception - Any exception thrown during computation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||