From e30c0be78e222e708fc5010c5b678a72fc8ca4be Mon Sep 17 00:00:00 2001 From: "William R. Otte" Date: Mon, 12 Apr 2010 14:11:44 +0000 Subject: branching/tagging --- .../Benchmark/descriptors/Benchmark.cad | 34 +++++++ .../descriptors/CIAO_Installation_Data.ini | 5 + .../Benchmark/descriptors/Multi_Threaded.cad | 112 +++++++++++++++++++++ .../Benchmark/descriptors/NOTE.txt | 65 ++++++++++++ .../Benchmark/descriptors/RoundTrip.csd | 46 +++++++++ .../Benchmark/descriptors/RoundTrip.ssd | 43 ++++++++ .../Benchmark/descriptors/RoundTripClient.cad | 49 +++++++++ .../Benchmark/descriptors/RoundTripClient.csd | 44 ++++++++ .../Benchmark/descriptors/RoundTripClient.ssd | 39 +++++++ .../Benchmark/descriptors/Test-IOR.cad | 41 ++++++++ .../Benchmark/descriptors/test-multi-process.dat | 5 + .../Benchmark/descriptors/test.dat | 2 + 12 files changed, 485 insertions(+) create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/Benchmark.cad create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/CIAO_Installation_Data.ini create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/Multi_Threaded.cad create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/NOTE.txt create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.csd create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.ssd create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.cad create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.csd create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.ssd create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/Test-IOR.cad create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/test-multi-process.dat create mode 100644 modules/CIAO/performance-tests/Benchmark/descriptors/test.dat (limited to 'modules/CIAO/performance-tests/Benchmark/descriptors') diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/Benchmark.cad b/modules/CIAO/performance-tests/Benchmark/descriptors/Benchmark.cad new file mode 100644 index 00000000000..6ab0dd70aa0 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/Benchmark.cad @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/CIAO_Installation_Data.ini b/modules/CIAO/performance-tests/Benchmark/descriptors/CIAO_Installation_Data.ini new file mode 100644 index 00000000000..ffe36ca3422 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/CIAO_Installation_Data.ini @@ -0,0 +1,5 @@ +[ComponentInstallation] +DCE:cf88cb97-b5a8-4522-9fa3-e626c75c5470=RoundTripClient_svnt +DCE:568a3872-f7bb-4b3f-baba-44c6824d966d=RoundTripClient_exec +DCE:2498aa68-09aa-478c-8ae1-30ed67924f82=RoundTrip_exec +DCE:88c14bff-5158-4f48-9b22-8a1120e87f76=RoundTrip_svnt diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/Multi_Threaded.cad b/modules/CIAO/performance-tests/Benchmark/descriptors/Multi_Threaded.cad new file mode 100644 index 00000000000..0c0be0cb71c --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/Multi_Threaded.cad @@ -0,0 +1,112 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Remote + + + + + + + + + latency + + + + latency + + + + + + + latency + + + + latency + + + + + + + latency + + + + latency + + + + + + + latency + + + + latency + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/NOTE.txt b/modules/CIAO/performance-tests/Benchmark/descriptors/NOTE.txt new file mode 100644 index 00000000000..7bcd2fbfade --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/NOTE.txt @@ -0,0 +1,65 @@ +This directory contains various XML descriptors and configuration +files required to run benchmarking experiments using CIAO in +different ways. Let's go over a few important files first: + +test.dat: +--------- + + This file describes the deployment daemons CIAO's Assembly_Manager + will contact to instantiate ComponentServer's, home's, and component + instances. Each line specify the name of a installation + "destination" (I used this to specify + destination in various *.cad files) and the corresponding IOR for + the CIAO_Daemon. The first entry is the "default" destination the + deployment framework will use. + + For example, test.dat now contains: + + Default corbaloc:iiop:localhost:10000/ServerActivator + Remote corbaloc:iiop:localhost:12000/ServerActivator + + You can copy and modify the copy to deploy the components in various + different locations to let the application truely "distributed". + For example, changing the remote ServerActivator to: + corbaloc:iiop:deuce.doc.wustl.edu:13000/ServerActivator + + Remember to start up the Assembly_Manager in Step 2 using the + revised "test.dat" you created, and start up the CIAO_Daemon's in + Step 1 according to the specification. + +*.cad: +------ + + These files specify how an application should be composed. The + specification includes, where to install a component, what + implementation to use, and how to connect components together. + Currently, we have: + + Benchmark.cad: Plain vanilla assembly descriptor. This file installs + the RoundTrip component on the location given in test.dat. + RoundTripClient.cad : A descriptor file for the client component + RoundTripClient that uses the interface provided by + RoundTrip. + Test-IOR.cad: This cad file should be used to for testing a CORBA server + with a CIAO client. The IOR of the server should added in + this file. + +There are automated perl scripts that can run the tests to generate the +required results. These are located in the individual component directories +Round Trip and RoundTripClient. The descriptors directory has the required +.cad files that specify the component configuration used in the various +experiments. + +To run a simple CORBA component with a normal client: + cd descriptors; + ../Roundtrip/run_test.pl + + cd descritors; + ../RoundTripClient/run_test.pl + Script that runs two components one acts as a client and the other as the + server. Statistics are printed for RoundTrip latency jitter etc + + cd descritors; + ../RoundTripClient/run_test_ior_cad.pl + Script runs a CORBA server and a CIAO component that acts as a client. + Similar statistics are printed. diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.csd b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.csd new file mode 100644 index 00000000000..ebf8c4e1e15 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.csd @@ -0,0 +1,46 @@ + + + + + + + + + + + + CORBA Component + RoundTrip + + ISIS at Vanderbilt University + + + A RoundTrip component. + + + + + + + + + + + + + + + + + + + + + + createRoundTripHome_Impl + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.ssd b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.ssd new file mode 100644 index 00000000000..b9720b9f2f1 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTrip.ssd @@ -0,0 +1,43 @@ + + + + + + + + + + + + CIAO Servant + Benchmark::RoundTrip Servants + + ISIS at Vanderbilt University + + + Single-Threaded Latency test component for benchmarking. + + + + + + + + + + + + + TAO + + + + + + createRoundTripHome_Servant + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.cad b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.cad new file mode 100644 index 00000000000..d53416195a2 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.cad @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + latency + + + + latency + + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.csd b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.csd new file mode 100644 index 00000000000..c52288e3207 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.csd @@ -0,0 +1,44 @@ + + + + + + + + + + + CORBA Component + RoundTripClient + + ISIS at Vanderbilt University + + + A RoundTripClient component. + + + + + + + + + + + + + + + + + + + + + + createRoundTripClientHome_Impl + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.ssd b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.ssd new file mode 100644 index 00000000000..86397731ed2 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/RoundTripClient.ssd @@ -0,0 +1,39 @@ + + + + + + + + + + CIAO Servant + Benchmark::RoundTripClient Servants + + ISIS at Vanderbilt University + + + Single-Threaded Latency test component for benchmarking. + + + + + + + + + + + + + TAO + + + + + + createRoundTripClientHome_Servant + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/Test-IOR.cad b/modules/CIAO/performance-tests/Benchmark/descriptors/Test-IOR.cad new file mode 100644 index 00000000000..a917affec85 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/Test-IOR.cad @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + latency + + + + + + file://rtserver.ior + + + + + + diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/test-multi-process.dat b/modules/CIAO/performance-tests/Benchmark/descriptors/test-multi-process.dat new file mode 100644 index 00000000000..1570574903b --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/test-multi-process.dat @@ -0,0 +1,5 @@ +Default corbaloc:iiop:localhost:10000/ServerActivator +Remote1 corbaloc:iiop:localhost:12000/ServerActivator +Remote2 corbaloc:iiop:localhost:13000/ServerActivator +Remote3 corbaloc:iiop:localhost:14000/ServerActivator +Remote4 corbaloc:iiop:localhost:15000/ServerActivator \ No newline at end of file diff --git a/modules/CIAO/performance-tests/Benchmark/descriptors/test.dat b/modules/CIAO/performance-tests/Benchmark/descriptors/test.dat new file mode 100644 index 00000000000..d26b3d4e070 --- /dev/null +++ b/modules/CIAO/performance-tests/Benchmark/descriptors/test.dat @@ -0,0 +1,2 @@ +Default corbaloc:iiop:localhost:10000/ServerActivator +Remote corbaloc:iiop:localhost:12000/ServerActivator \ No newline at end of file -- cgit v1.2.1