~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/CIAO/performance-tests/Benchmark/descriptors/NOTE.txt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
This directory contains various XML descriptors and configuration
2
 
files required to run benchmarking experiments using CIAO in
3
 
different ways.  Let's go over a few important files first:
4
 
 
5
 
test.dat:
6
 
---------
7
 
 
8
 
  This file describes the deployment daemons CIAO's Assembly_Manager
9
 
  will contact to instantiate ComponentServer's, home's, and component
10
 
  instances.  Each line specify the name of a installation
11
 
  "destination" (I used this to specify <processcollocation>
12
 
  destination in various *.cad files) and the corresponding IOR for
13
 
  the CIAO_Daemon.  The first entry is the "default" destination the
14
 
  deployment framework will use.
15
 
 
16
 
  For example, test.dat now contains:
17
 
 
18
 
      Default corbaloc:iiop:localhost:10000/ServerActivator
19
 
      Remote  corbaloc:iiop:localhost:12000/ServerActivator
20
 
 
21
 
  You can copy and modify the copy to deploy the components in various
22
 
  different locations to let the application truely "distributed".
23
 
  For example, changing the remote ServerActivator to:
24
 
    corbaloc:iiop:deuce.doc.wustl.edu:13000/ServerActivator
25
 
 
26
 
  Remember to start up the Assembly_Manager in Step 2 using the
27
 
  revised "test.dat" you created, and start up the CIAO_Daemon's in
28
 
  Step 1 according to the specification.
29
 
 
30
 
*.cad:
31
 
------
32
 
 
33
 
  These files specify how an application should be composed.  The
34
 
  specification includes, where to install a component, what
35
 
  implementation to use, and how to connect components together.
36
 
  Currently, we have:
37
 
 
38
 
  Benchmark.cad: Plain vanilla assembly descriptor.  This file installs
39
 
                 the RoundTrip component on the location given in test.dat.
40
 
  RoundTripClient.cad : A descriptor file for the client component
41
 
                        RoundTripClient that uses the interface provided by
42
 
                        RoundTrip. 
43
 
  Test-IOR.cad: This cad file should be used to for testing a CORBA server
44
 
                with a CIAO client. The IOR of the server should added in
45
 
                this file. 
46
 
 
47
 
There are automated perl scripts that can run the tests to generate the
48
 
required results. These are located in the individual component directories
49
 
Round Trip and RoundTripClient. The descriptors directory has the required
50
 
.cad files that specify the component configuration used in the various
51
 
experiments.
52
 
 
53
 
To run a simple CORBA component with a normal client: 
54
 
  cd descriptors;
55
 
  ../Roundtrip/run_test.pl
56
 
 
57
 
  cd descritors;
58
 
  ../RoundTripClient/run_test.pl
59
 
  Script that runs two components one acts as a client and the other as the
60
 
  server. Statistics are printed for RoundTrip latency jitter etc
61
 
 
62
 
 cd descritors;
63
 
 ../RoundTripClient/run_test_ior_cad.pl 
64
 
 Script runs a CORBA server and a CIAO component that acts as a client. 
65
 
 Similar statistics are printed.