summaryrefslogtreecommitdiff
path: root/TAO/tests/Thruput/CORBAplus/README
blob: 14ffcd4e0e324a0b1b979cc33efbbb3f937c669a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
		CORBAplus TTCP Benchmark README file

This directory contains a modified version of the TTCP benchmark that
uses the TAO ORB. TTCP is used to measure the throughput of CORBAplus
for sending different data types. This code tests sequences of short,
long, octet, char, double, and richly-typed data such as a struct.

Organization
------------

client.cpp		Client main program
server.cpp		Server main program
ttcp.cpp		Client side stubs
ttcp_s.cpp		Server side skeletons
ttcp.h			Header file for stubs
ttcp_s.h		Header file for the skeletons
ttcp_i.cpp		Implementaion of the interface
ttcp_i.h		Header for the implementation
utils.cpp		Utilities to calculate throughput
ttcp_decls.h		Common declarations

Results
-------
//Throughput results are stored under the results directory. If testing
//for REMOTE transfers, use the ./results/REMOTE directory.

Running the tests
-----------------
Three scripts are provided

(0) run_tests  : run several clients sequentially.  transmits 10Mb

(1) run_server : runs the server. Be sure to change the host name
(2) run_client : runs tests for various data types
(3) run_test : called by run_client

Compiling
---------

Type make

To provide for 2way tests (no data is sent in the reverse
direction. Sender blocks for a minimal ACK), comment out the -DONEWAY
flag from the CPPFLAGS

-Aniruddha Gokhale
(gokhale@cs.wustl.edu)