diff options
Diffstat (limited to 'TAO/performance-tests/Cubit/TAO/IDL_Cubit/README')
-rw-r--r-- | TAO/performance-tests/Cubit/TAO/IDL_Cubit/README | 56 |
1 files changed, 20 insertions, 36 deletions
diff --git a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/README b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/README index bb41a392d52..1bca7dedcb2 100644 --- a/TAO/performance-tests/Cubit/TAO/IDL_Cubit/README +++ b/TAO/performance-tests/Cubit/TAO/IDL_Cubit/README @@ -21,17 +21,17 @@ NOTES: The IDL_Cubit server used to run a Naming Service so the client the factory IOR between the server and the client. server: -======= +------- -% server [-ORBEndpoint <endpoint>] - [-d] [-f <ior_output_file>] +% server [-ORBendpoint <endpoint>] + [-d] [-o <ior_output_file>] Options: ------- -d Debug flag (It is additive more -d flags will increase the debugging level). --f Outputs the cubit_factory IOR to a file. +-o Outputs the cubit_factory IOR to a file. When the server is started and you have used the -d flag, you should see as the first line of output something that looks like the follow: @@ -48,43 +48,23 @@ Using -d turns on debugging messages. It is additive, i.e., the more silently ignored. client: -======= +------- -% client [client options] +% client [-d] [-x] <-f cubit_factory_ior_file> <-k cubit_factory_ior> -n <iterations> -IDL_Cubit Client Options: -------------------------- +Options: +------- -d Debug flag -x Tells the server to shutdown. -f Reads the cubit factory IOR from the file -k Reads the cubit factory IOR from commandline -n no. of iterations --t Enable a test (see below for a list of valid tests) --z Disable a test (see below for a list of valid tests) - -Valid IDL_Cubit test arguments are: - - void - octet - short - long - struct - union - small_octet_seq - small_long_seq - small_struct_seq - large_octet_seq - large_long_seq - large_struct_seq - mixin - rti_data - one_way The following are the three ways of giving the CubitFactory IOR to the client: 1. From a file using the -f option. (This file can be produced using - the -f option of the server.) + the -o option of the server.) 2. Directly on the commandline using the -k option. @@ -97,7 +77,7 @@ collocation_test: This test demonstrates how collocation optimization improve performance of collocated objects. Run the test without any argument to see results with collocation optimization. Run it with -<-ORBCollocation no> to perform the same test without the +<-ORBcollocation no> to perform the same test without the optimization. Notice that the executable of collocation_test is generated in the subdirectory ./collocation/. @@ -125,7 +105,7 @@ Sample Run, Using files to communicate IOR: 1. Start the server. -% server -ORBEndpoint iiop://tango:20000 -ORBObjRefStyle URL -f theior +% server -ORBendpoint iiop://tango:20000 -ORBobjrefstyle url -o theior IDL_Cubit:SERVER @@ -146,18 +126,22 @@ Factory received OK Sample Run, passing the IOR on the command line, on VxWorks: ------------------------------------------------------------ -> ld < server - -> spa server, "-ORBObjRefStyle", "URL" + -> spa main, "-ORBobjrefstyle", "url" IDL_Cubit: server The IOR is: <iiop://1.0@samba:1028/U/child_poa/factory> -> ld < client - -> spa client, "-k", "iiop://1.0@samba:1028/U/child_poa/factory" + -> spa main, "-k", "iiop://1.0@samba:1028/U/child_poa/factory" Enter <number> to select, anything else to stop: 2 The IOR provided to the client is the IOR that the server printed out. Be sure to replace the <> with "". +NOTE: if you built your VxWorks executables with g++, replace "main" +with "ace_main" above. See ACE-INSTALL.html for an explanation of why +ACE renames "main" to "ace_main" with g++ on VxWorks. + Using JAVA to access the IDL Cubit test: ---------------------------------------- @@ -193,14 +177,14 @@ for ALL. server: ------ -$rsh host_name arun path_to_server -f path_to_ior_file -ORBDottedDecimalAddresses 1 <server_options> +$rsh host_name arun path_to_server -o path_to_ior_file -ORBdotteddecimaladdresses 1 <server_options> You DONT have to use -ORBdotteddecimaladdresses 1 if you have TAO_USE_DOTTED_DECIMAL_ADDRESSES defined in your config.h file. e.g., -$rsh tambora1 arun /IDL_Cubit/server -f /ior --ORBDottedDecimalAddresses 1 -ORBObjRefStyle URL +$rsh tambora1 arun /IDL_Cubit/server -o /ior +-ORBdotteddecimaladdresses 1 -ORBobjrefstyle url client: ------- |