summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Cubit/TAO/MT_Cubit/README.tests
blob: c81387596f6749c39cc3fdd42c5bd3173026144a (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
// $Id$

Note: this file is in very rough version.  Updates are coming soon.

ORB/OS CPU processing Overhead Test
-----------------------
1. Execute the following command to obtain latency for CORBA requests:

   ./client -u 10000000 

NOTE:  This runs a copy of the server in the same process as the client
and executes 10,000,000 CORBA requests.  Take a note of the total latency (L1).

2. Execute the following command to obtain latency for collocated calls:

   ./client -u 10000000 -l

NOTE:  The total latency is L2.

The percentage of overhead is calculated in the following way:

% Overhead = ( (L1 - L2) / L1 ) * 100


Latency Test
------------------------
-- configuration:
  (1) su to root when running Solaris or LynxOS.
  (2) Make yourself an Administrator in Windows NT

on the server side:
   ./server -f ior -t 2 &
on the client side:
   ./client -f ior -t 2 -n 4000 -x

NOTE: run_same is a script that automates the running of the latency
tests.  This script output everything to a file.

Context Switch Test
-------------------
Use the same arguments as the latency test, and add "-c"

NOTE: For Windows NT use a tool like Microsoft Spy that is installed with 
MS Visual C++ to obtain the context switch data.