Obtaining and Using Codes

Welcome to the download page for DDS test codes. This document describes how to obtain the latest test codes for DDS benchmarking. Note that this is a ongoing benchmark projects, so the codes and the documentations are subject to constant changes. Please contact ming xiong should you run into any problems.

Getting Started

1.Download freely available test codes

   The latest test codes package can be downloaded  from here. Please note that the package includes the current snapshot of the test codes, which are not well documented, so it may only serve as a reference for now. We are in the process of cleaning up our codes and adding necessary comments. It should be updated in the near future.

2.Prerequisite
   

Instructions for Compiling Codes

NDDS
To build and install the latest test code for NDDS, here is what you need to do:

  1. Install the latest version of NDDS as mentioned earlier and set up the environment variables properly
  2. Install latest version of ACE as mentioned earlier and set up the environment varaibles.
  3. Navigate to the performance/NDDS
  4. do 'make -f makefile_TP_Packet_i86Linux2.6gcc3.4.3'
Splice
To build and install the latest test code for Splice, here is what you need to do:
  1. Install the latest version of Splice as mentioned earlier and set up the environment variables properly
  2. Install latest version of ACE as mentioned earlier and set up the environment varaibles.
  3. Navigate to the performance/Splice
  4. do './BUILD'
TAO_DDS
To build and install the latest test code for TAO_DDS, here is what you need to do:
  1. Download the latest version of free TAO_DDS from here as mentioned earlier and set up the environment variables properly
  2. Install latest version of ACE as mentioned earlier and set up the environment varaibles.
  3. Navigate to performance/TAO_DDS/TypeNoKeyBounded
  4. make
  5. Navigate to performance/TAO_DDS/TCP
  6. do 'make'

Instructions for running the tests manually

NDDS
1-to-many throughput test

  1. Set up the NDDS_DISCOVERY_PEERS on the various nodes where you deploy your applications/participants.
  2. Start the subscribers at the subscriber nodes by doing
     ./objs/i86Linux2.6gcc3.4.3/subscriber -pn 100 - sn 10000 -Size [datasize: 4 - 16384] -role [unique index number starting from 1] -r [result file]
  3. After all the subscribers are up and running, do this at the publisher side
     ./objs/i86Linux2.6gcc3.4.3/publisher -pn 100 - sn 10000 -Size [datasize: 4 - 16384]  -r [result file]
  4. Check the result file at each node
Splice
1-to-many throughput test

  1. Start the subscribers at the subscriber side by doing
    ./start_pub.pl
  2. Start the publisher at the publisher by doing
    ./start_pub.pl
  3. Check result files
TAO_DDS
1-to-many throughput test
  1. Choose a seperate node and run the InfoRepo service
    ./start_repo.pl
  2. Start the subscribers at the subscriber side by doing
    ./start_pub.pl
  3. Start the publisher at the publisher by doing
    ./start_pub.pl
  4. Check result files


Instructions for running the tests using benchmark scripts

We have developed a DDS Benchmark Environment (DBE) to let you use specifially designed benchmark scripts to run the test without having to start them manually at different nodes. To run the tests using DBE, please refer to Test Suite.




DOC group welcomes you to help us improve our test codes. If you have questions and comments, please send them to ming.xiong@vanderbilt.edu

Back to DDS Web Page .