summaryrefslogtreecommitdiff
path: root/TAO/IIOP/tests/Thruput_test/README
blob: 628ef0c50a46b34b07c9ead0c428536a901b9228 (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
48
49
50
		TAO_TTCP Benchmark README file

This directory contains a modified version of the TTCP benchmark that
uses the TAO ORB. TAO_TTCP is used to measure the throughput of TAO
for sending different data types. This code tests sequences of short,
long, octet, char, double, and richly-typed data such as a struct.
This benchmark uses an interpretive form of marshaling the data by
using the dynamic invocation interfaces provided by the TAO ORB.

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

client.cpp		Client main program
server.cpp		Server main program
ttcpC.cpp		Client side stubs
ttcpS.cpp		Server side skeletons
ttcpC.h			Header file for stubs
ttcpS.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

(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

TO-DO
-----


-Aniruddha Gokhale