Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The file scripts/clusterperf.py is the top-level driver that runs the performance benchmarks. It uses scripts/cluster.py to set up a RAMCloud cluster, then invokes the C++ program ClusterPerf on client machines to run benchmarks.
  • You must first have compiled ClusterPerf ("make all" will do that).
  • In addition, you must create a file scripts/localconfig.py that describes the machines available in your cluster. Here Below is a sample file:
    • Note: If you have rcres access, an internal RAMCloud utility, the hosts definition below is unnecessary; leaving host hosts blank (i.e. hosts = []) will cause the scripts to automatically use the machines locked by the current user in rcres. A custom list can still be defined, but it will be validated against servers locked by the user in rcres.
No Format
# This file customizes the cluster configuration for John Ousterhout.
# It is automatically included by config.py.

from config import *

hosts = []
for i in range(41,54):
 hosts.append(('rc%02d' % i,
 '192.168.1.%d' % (100 + i),
 i))

old_master_host = ('rc40', '192.168.1.140', 20)

...