Starting the ASPerf Master

Procedure

  1. Run the relevant examples to invoke the ASPerf master for each of the APIs:
    Java Invocation java ASPerf -metaspace examplems -member_name master
    .NET Invocation ASPerf.exe -metaspace examplems -member_name master
    C Invocation ASPerf.exe -metaspace examplems -member_name master

    The ASPerf master joins the ASPerfCtrl space as a leech. When you start the ASPerf master, you see the following message until an ASPerf slave is started:

    Waiting for the control space to be ready (no slave connected yet)...

  2. After an ASPerf slave is started, the master continues, and you see the following prompt, which allows you to enter commands to cause the remote invocation of methods on the slaves:

    Invoke on slaves (enter 'h' for help):

    The following are some of the remote invocation methods that can be invoked using the ASPerf master:

    • LatencyGet, LatencyPut, LatencyTake

      Returns the execution times when space operations are individually performed. For example, by default, LatencyPut returns the time it takes to store 1000 tuples of data into a space by doing 1000 puts.

    • ThroughputGet, ThroughputPut, ThroughputTake

      Returns the execution times when space operations are performed as batches. For example, by default, ThroughputPut returns the time it takes to store 1000 tuples of data into a space by putting the tuples into the space in batches of 100.

      To see the full list of commands, enter h at the prompt after the ASPerf master starts up.