Discussion:
[omniORB] GIOP doesn't handle the flow well if the latency increases to WAN speeds.
Stephane Martin
2010-08-09 21:33:11 UTC
Permalink
HI All,



We have a application uses the GIOP protocol, a layer 7 protocol (same
level as HTTP) to transport data over the network. It seems that the
GIOP protocol has a fragmentation process as well, just as TCP. However,
GIOP doesn't handle the flow well if the latency increases to WAN
speeds.



Does the solution is to change the harder coded buffer size ?





See example of trace of our application :



3063 6438 3439 3066 3263 6531 6162 6433 0cd8490f2ce1abd3

6536 6636 6136 3265 3937 3665 3761 6661 e6f6a62e976e7afa

0030 3020 0000 0000 ba00 0000 0000 0000 .00 ............

fc5d 0000 ca9d 0000 75fd 2402 0e00 0000 .]......u.$.....

564d 532d 4241 592d 5730 3034 3300 3034 VMS-BAY-W0043.04

0700 0000 6161 6761 7069 0030 1700 0000 ....aagapi.0....

464b 5472 616e 7361 6374 696f 6e42 6f61 FKTransactionBoa

7264 2e65 7865 002e 5009 0000 2100 0000 rd.exe..P...!...

6330 3064 3934 3439 3739 6436 3633 3730 c00d944979d66370

6633 3662 3161 3036 3034 6363 6134 3439 f36b1a0604cca449

0030 3030 0600 0000 0e20 0000 0000 0000 .000..... ......

005e 0000 ca9d 0000 6bb5 2702 0e00 0000 .^......k.'.....

564d 532d 4241 592d 5730 3034 3300 2030 VMS-BAY-W0043. 0

0700 0000 6161 6761 7069 0030 1700 0000 ....aagapi.0....

464b 5472 616e 7361 6374 696f 6e42 6f61 FKTransactionBoa

7264 2e65 7865 002e 2c0b 0000 2100 0000 rd.exe..,...!...

6133 3761 6434 6530 3061 3664 6436 3031 a37ad4e00a6dd601

3062 6235 3363 3339 3165 3235 3133 6462 0bb53c391e2513db

002e 2e2e 0000 0000 a500 0000 0000 0000 ................

0e5e 0000 ca9d 0000 1205 3702 0e00 0000 .^........7.....

564d 532d 4241 592d 5730 3033 3300 3420 VMS-BAY-W0033.4

0900 0000 6162 6572 6861 756c 006f 6d2f ....aberhaul.om/

1700 0000 464b 5472 616e 7361 6374 696f ....FKTransactio

6e42 6f61 7264 2e65 7865 0065 8c0e 0000 nBoard.exe.e....

2100 0000 3732 3463 6236 6432 6362 3466 !...724cb6d2cb4f

6361 3236 3366 3335 6335 3239 3365 3634 ca263f35c5293e64

3430 6131 0034 3631 0000 0000 3200 0000 40a1.461....2...

0000 0000 2d5e 0000 ca9d 0000 8cde 7d02 ....-^........}.

0e00 0000 564d 532d 4241 592d 5731 3230 ....VMS-BAY-W120

3000 696d 0900 0000 6367 6c61 697a 6f74 0.im....cglaizot

0020 3030 1900 0000 464b 4170 706c 6963 . 00....FKApplic

6174 696f 6e4d 616e 6167 6572 2e65 7865 ationManager.exe

0066 6666 540f 0000 2100 0000 6633 3165 .fffT...!...f31e

3731 3365 3037 3436 3738 3133 6163 3033 713e07467813ac03

3265 3538 6564 6366 6330 6164 0039 2036 2e58edcfc0ad.9 6

0000 0000 0000 0000 0000 0000 315e 0000 ............1^..

ca9d 0000 fa23 7f02 0e00 0000 564d 532d .....#......VMS-

4241 592d 5731 3231 3700 3030 0800 0000 BAY-W1217.00....

6463 6f72 7465 7300 1700 0000 464b 5472 dcortes.....FKTr

616e 7361 6374 696f 6e42 6f61 7264 2e65 ansactionBoard.e

7865 002e 340d 0000 2100 0000 6362 3863 xe..4...!...cb8c

3433 3932 6330 3937 6237 3665 6134 3464 4392c097b76ea44d

6235 3766 3437 3633 6337 3533 0030 3020 b57f4763c753.00

0000 0000 2b00 0000 0000 0000 335e 0000 ....+.......3^..

ca9d 0000 d460 7f02 0e00 0000 564d 532d .....`......VMS-

4241 592d 5731 3231 3700 3030 0800 0000 BAY-W1217.00....

6463 6f72 7465 7300 1700 0000 464b 5472 dcortes.....FKTr

616e 7361 6374 696f 6e42 6f61 7264 2e65 ansactionBoard.e

7865 0020 0007 0000 2100 0000 3339 3862 xe. ....!...398b

3962 6138 6533 3961 3264 6330 6563 6638 9ba8e39a2dc0ecf8

3665 6261 3261 3037 6434 3264 0074 2e2e 6eba2a07d42d.t..

0000 0000 2b00 0000 0000 0000 375e 0000 ....+.......7^..

ca9d 0000 a619 8202 0e00 0000 564d 532d ............VMS-

4241 592d 5731 3231 3700 2058 0800 0000 BAY-W1217. X....

6463 6f72 7465 7300 1700 0000 464b 5472 dcortes.....FKTr

616e 7361 6374 696f 6e42 6f61 7264 2e65 ansactionBoard.e

7865 0034 6c04 0000 2100 0000 6539 3365 xe.4l...!...e93e

3237 3866 3530 6231 3436 3331 3339 6535 278f50b1463139e5

3631 6464 6464 3435 3831 6239 0066 2036 61dddd4581b9.f 6

0000 0000 2a00 0000 0000 0000 435e 0000 ....*.......C^..

ca9d 0000 e771 9302 0e00 0000 564d 532d .....q......VMS-

4241 592d 5730 3034 3200 6d65 0600 0000 BAY-W0042.me....

6d6e 6f65 6c00 6320 1900 0000 464b 4170 mnoel.c ....FKAp

706c 6963 6174 696f 6e4d 616e 6167 6572 plicationManager

2e65 7865 0020 5f56 080e 0000 2100 0000 .exe. _V....!...

6631 3639 3366 3936 3962 3761 3532 3261 f1693f969b7a522a

3732 6633 3332 6462 6463 3930 3036 6533 72f332dbdc9006e3

0035 3030 0000 0000 0000 0000 0000 0000 .500............

4c5e 0000 ca9d 0000 aa6b 9602 0f00 0000 L^.......k......

564d 532d 4c49 532d 5354 5250 3034 0036 VMS-LIS-STRP04.6

0b00 0000 7365 7276 5f74 7265 6d61 0032 ....serv_trema.2

0c00 0000 7472 616e 7361 6374 696f 6e00 ....transaction.

b82e 0000 2100 0000 3535 6530 3335 6634 ....!...55e035f4

3261 3432 3830 3034 3962 3030 3635 6132 2a4280049b0065a2

3033 3063 3530 3033 0037 3520 0500 0000 030c5003.75 ....

0000 0000 0000 0000 4d5e 0000 ca9d 0000 ........M^......

43f9 9602 0f00 0000 564d 532d 4c49 532d C.......VMS-LIS-

5354 5250 3034 0031 0b00 0000 7365 7276 STRP04.1....serv

5f74 7265 6d61 0030 0c00 0000 7472 616e _trema.0....tran

7361 6374 696f 6e00 b82e 0000 2100 0000 saction.....!...

3132 3666 6162 3739 3234 6632 3830 3832 126fab7924f28082

3538 6339 3935 3365 6564 3965 3132 3432 58c9953eed9e1242

0039 2049 0200 0000 0000 0000 0000 0000 .9 I............

4e5e 0000 ca9d 0000 62f9 9602 0f00 0000 N^......b.......

564d 532d 4c49 532d 5354 5250 3034 0033 VMS-LIS-STRP04.3

0b00 0000 7365 7276 5f74 7265 6d61 0056 ....serv_trema.V

0c00 0000 7472 616e 7361 6374 696f 6e00 ....transaction.

b82e 0000 2100 0000 3265 3932 3631 3535 ....!...2e926155

3463 3862 3666 6666 6330 3238 6534 3530 4c8b6fffc028e450

3439 3564 3661 3330 0056 616c 0200 0000 495d6a30.Val....

0000 0000 0000 0000 4f5e 0000 ca9d 0000 ........O^......

81f9 9602 0f00 0000 564d 532d 4c49 532d ........VMS-LIS-

5354 5250 3034 0034 0b00 0000 7365 7276 STRP04.4....serv

5f74 7265 6d61 002e 0c00 0000 7472 616e _trema......tran

7361 6374 696f 6e00 b82e 0000 2100 0000 saction.....!...

6661 6132 3335 6638 3664 3966 6162 6531 faa235f86d9fabe1

3862 3964 3837 6437 6132 6235 3630 3162 8b9d87d7a2b5601b

0054 7970 0400 0000 0000 0000 0000 0000 .Typ............

515e 0000 ca9d 0000 eb78 9802 0e00 0000 Q^.......x......

564d 532d 4241 592d 5730 3034 3200 3020 VMS-BAY-W0042.0

0600 0000 6d6e 6f65 6c00 312e 1700 0000 ....mnoel.1.....

464b 5472 616e 7361 6374 696f 6e42 6f61 FKTransactionBoa

7264 2e65 7865 0035 900a 0000 2100 0000 rd.exe.5....!...

3632 6561 6437 3537 3831 6231 3363 3466 62ead75781b13c4f

6663 3931 3530 6338 3338 6536 3666 3132 fc9150c838e66f12

0030 3020 0000 0000 0700 0000 0000 0000 .00 ............

525e 0000 ca9d 0000 5bba 9a02 0f00 0000 R^......[.......

564d 532d 4c49 532d 5354 5250 3034 004e VMS-LIS-STRP04.N

0b00 0000 7365 7276 5f74 7265 6d61 0030 ....serv_trema.0

0c00 0000 7472 616e 7361 6374 696f 6e00 ....transaction.

b82e 0000 2100 0000 3966 3063 3234 6132 ....!...9f0c24a2

3030 3166 3133 6239 6235 6466 3833 3931 001f13b9b5df8391

6463 6430 3732 3933 0030 2030 0400 0000 dcd07293.0 0....

4a04 0000 0000 0000 545e 0000 ca9d 0000 J.......T^......

ced0 9d02 0e00 0000 564d 532d 4241 592d ........VMS-BAY-

5731 3231 3700 6634 0800 0000 6463 6f72 W1217.f4....dcor

7465 7300 1700 0000 464b 5472 616e 7361 tes.....FKTransa

6374 696f 6e42 6f61 7264 2e65 7865 004e ctionBoard.exe.N

640c 0000 2100 0000 6339 6631 6637 3134 d...!...c9f1f714

3833 3837 6563 3433 3836 3137 6330 3537 8387ec438617c057

3830 6162 6537 3335 0034 3520 0100 0000 80abe735.45 ....

3502 0000 0000 0000 555e 0000 ca9d 0000 5.......U^......

31e9 9e02 0e00 0000 564d 532d 4241 592d 1.......VMS-BAY-

5730 3034 3200 3030 0600 0000 6d6e 6f65 W0042.00....mnoe

6c00 3030 1700 0000 464b 5472 616e 7361 l.00....FKTransa

6374 696f 6e42 6f61 7264 2e65 7865 000a ctionBoard.exe..

d40f 0000 2100 0000 6432 6531 3036 6231 ....!...d2e106b1

6132 3361 3035 3465 3737 6536 3761 3961 a23a054e77e67a9a

6338 3861 3833 3135 004e 554d 0000 0000 c88a8315.NUM....

0400 0000 0000 0000 565e 0000 ca9d 0000 ........V^......

e1c8 9f02 0f00 0000 564d 532d 4c49 532d ........VMS-LIS-

5354 5250 3034 0034 0b00 0000 7365 7276 STRP04.4....serv

5f74 7265 6d61 004c 0c00 0000 7472 616e _trema.L....tran

7361 6374 696f 6e00 b82e 0000 2100 0000 saction.....!...

3033 3831 6261 6530 6662 3363 3139 3537 0381bae0fb3c1957

3035 6437 6565 6137 3364 3235 6664 6237 05d7eea73d25fdb7

0045 5f44 0000 0000 0000 0000 0000 0000 .E_D............

575e 0000 ca9d 0000 6788 a002 0f00 0000 W^......g.......

564d 532d 4c49 532d 5354 5250 3034 0066 VMS-LIS-STRP04.f

0b00 0000 7365 7276 5f74 7265 6d61 005f ....serv_trema._

0c00 0000 7472 616e 7361 6374 696f 6e00 ....transaction.

b82e 0000 2100 0000 6530 6539 3539 3434 ....!...e0e95944

3830 3834 6366 3662 6434 3238 6138 3461 8084cf6bd428a84a

3137 3837 3439 3136 0059 5045 0100 0000 17874916.YPE....

0000 0000 0000 0000 585e 0000 ca9d 0000 ........X^......

8688 a002 0f00 0000 564d 532d 4c49 532d ........VMS-LIS-

5354 5250 3034 0054 0b00 0000 7365 7276 STRP04.T....serv

5f74 7265 6d61 0066 0c00 0000 7472 616e _trema.f....tran

7361 6374 696f 6e00 b82e 0000 2100 0000 saction.....!...

6131 3336 6338 6435 3065 3634 3037 3066 a136c8d50e64070f

3662 6263 3735 3637 3134 3638 6266 3036 6bbc75671468bf06

0035 3420 0100 0000 0000 0000 0000 0000 .54 ............

595e 0000 ca9d 0000 0cac a002 0e00 0000 Y^..............

564d 532d 4241 592d 5730 3034 3200 414d VMS-BAY-W0042.AM

0600 0000 6d6e 6f65 6c00 3539 0a00 0000 ....mnoel.59....

6d64 2d73 7461 7475 7300 3420 0406 0000 md-status.4 ....

2100 0000 6335 3432 3632 3934 6533 6635 !...c5426294e3f5

3666 6135 6261 6635 3466 6664 3732 6537 6fa5baf54ffd72e7

6364 6533 0020 3530 0000 0000 0000 0000 cde3. 50........

0000 0000 ....

omniORB: Invoke 'bye' on remote: root/MDSD/Context<24153>

omniORB: sendChunk: to giop:tcp:10.111.75.24:11214 60 bytes

omniORB:

4749 4f50 0102 0100 3000 0000 0c00 0000 GIOP....0.......

0300 0000 0000 0000 1300 0000 ff4d 4453 .............MDS

44ff 436f 6e74 6578 7400 3234 3135 3300 D.Context.24153.

0400 0000 6279 6500 0000 0000 ....bye.....

omniORB: inputMessage: from giop:tcp:10.111.75.24:11214 24 bytes

omniORB:

4749 4f50 0102 0101 0c00 0000 0c00 0000 GIOP............

0000 0000 0000 0000 ........

omniORB: omniRemoteIdentity deleted.

omniORB: ObjRef(IDL:trema.com/Message_Delivery/Message_Context:1.0) --
deleted.

omniORB: State root/FK<0> (active) -> deactivating

omniORB: POA(FK) etherealising object root/FK<0> (deactivating).

id: IDL:trema.com/Message_Delivery/Client_Handler:1.0

omniORB: State root/FK<0> (deactivating) -> etherealising

omniORB: Removing root/FK<0> (etherealising) from object table

omniORB: Object table entry root/FK<0> (dead) deleted.

omniORB: RefCountServantBase has zero ref count -- deleted.

Message Delivery Service Status:

PID: 10332

Started at: 06/08/2010 01:08:29

Total # of messages: 818049

Total # of connections: 376

Current # of connections: 41



ID S Host Program PID User In # Out # Pending
#

------------------------------------------------------------------------
--

23779 VMS-LIS-S FKPrintSe 17392 SYSTEM 0 0
0

23784 VMS-LIS-S miud.exe 12048 SYSTEM 0 750224
0

23785 VMS-LIS-S activityd 12540 SYSTEM 350 6
0

23786 VMS-LIS-S transd.ex 8060 SYSTEM 1788 0
0

23787 VMS-LIS-S ssld.exe 5724 SYSTEM 584236 0
0

23788 VMS-LIS-S micd.exe 14140 SYSTEM 230452 128544
0

23875 VMS-BAY-W FKApplica 3836 aberhaul 0 0
0

23877 VMS-BAY-W FKRateBoa 2628 jhkim 0 103430
0

23953 VMS-BAY-W FKApplica 2880 aagapi 0 0
0

23965 VMS-BAY-W FKTransac 3392 aagapi 77 1584
0

23969 VMS-BAY-W FKApplica 2416 jhkim 0 0
0

23975 VMS-BAY-W FKReport. 3284 jhkim 0 20017
0

24001 VMS-BAY-W FKApplica 2016 agitzing 0 0
0

24002 VMS-BAY-W FKTransac 1624 agitzing 0 920
0

24008 VMS-BAY-W FKTransac 6544 jhkim 0 880
0

24010 VMS-LIS-S transacti 11960 serv_trem 0 0
0

24018 VMS-BAY-W FKApplica 2504 dcortes 0 0
0

24040 VMS-BAY-W FKTransac 2500 aagapi 0 189
0

24049 VMS-BAY-W FKTransac 7492 jhkim 0 189
0

24051 VMS-BAY-W FKTransac 7500 jhkim 0 189
0

24057 VMS-BAY-W FKTransac 7604 jhkim 0 186
0

24060 VMS-BAY-W FKTransac 2384 aagapi 6 8206
0

24064 VMS-BAY-W FKTransac 2860 aagapi 0 165
0

24078 VMS-BAY-W FKTransac 3724 aberhaul 0 50
0

24109 VMS-BAY-W FKApplica 3924 cglaizot 0 0
0

24113 VMS-BAY-W FKTransac 3380 dcortes 0 43
0

24115 VMS-BAY-W FKTransac 1792 dcortes 0 43
0

24119 VMS-BAY-W FKTransac 1132 dcortes 0 42
0

24131 VMS-BAY-W FKApplica 3592 mnoel 0 0
0

24140 VMS-LIS-S transacti 11960 serv_trem 5 0
0

24141 VMS-LIS-S transacti 11960 serv_trem 2 0
0

24142 VMS-LIS-S transacti 11960 serv_trem 2 0
0

24143 VMS-LIS-S transacti 11960 serv_trem 4 0
0

24145 VMS-BAY-W FKTransac 2704 mnoel 0 7
0

24146 VMS-LIS-S transacti 11960 serv_trem 4 1098
0

24148 VMS-BAY-W FKTransac 3172 dcortes 1 565
0

24149 VMS-BAY-W FKTransac 4052 mnoel 0 4
0

24150 VMS-LIS-S transacti 11960 serv_trem 0 0
0

24151 VMS-LIS-S transacti 11960 serv_trem 1 0
0

24152 VMS-LIS-S transacti 11960 serv_trem 1 0
0

24153 VMS-BAY-W md-status 1540 mnoel 0 0
0

omniORB: omniRemoteIdentity deleted.

omniORB: ObjRef(IDL:trema.com/Message_Delivery/Service:1.0) -- deleted.

omniORB: Preparing to shutdown ORB.

omniORB: Destroying POA(RootPOA).

omniORB: Destroying POA(FK).

omniORB: Deactivating all POA(FK)'s objects.

omniORB: Waiting for requests to complete on POA(FK).

omniORB: Requests on POA(FK) completed.

omniORB: Etherealising POA(FK)'s objects.

omniORB: Destruction of POA(FK) complete.

omniORB: Deactivating all POA(RootPOA)'s objects.

omniORB: Waiting for requests to complete on POA(RootPOA).

omniORB: Requests on POA(RootPOA) completed.

omniORB: Etherealising POA(RootPOA)'s objects.

omniORB: Stopping serving incoming endpoints.

omniORB: giopServer waits for completion of rendezvousers and workers

omniORB: throw giopStream::CommFailure from
giopStream.cc:828(0,NO,COMM_FAILURE_

UnMarshalArguments)

omniORB: throw giopStream::CommFailure from
giopStream.cc:828(0,NO,COMM_FAILURE_

UnMarshalArguments)

omniORB: throw giopStream::CommFailure from
giopStream.cc:828(0,NO,COMM_FAILURE_

UnMarshalArguments)

omniORB: Client connection refcount = 1

omniORB: Client connection refcount = 1

omniORB: Client connection refcount = 1

omniORB: giopServer back from waiting.

omniORB: Destruction of POA(RootPOA) complete.

omniORB: Shutting-down all incoming endpoints.

omniORB: TCP endpoint shut down.

omniORB: Disable ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0)
root/<...L..

......>

omniORB: omniRemoteIdentity deleted.

omniORB: Disable ObjRef() key<0x4e616d6553657276696365>

omniORB: Disable ObjRef() key<0x4e616d6553657276696365>

omniORB: omniRemoteIdentity deleted.

omniORB: 3 object references present at ORB shutdown.

omniORB: ORB shutdown is complete.

omniORB: Deinitialising omniDynamic library.

omniORB: Shutdown close connection to giop:tcp:10.111.75.24:11214

omniORB: Scan for idle connections (1281096889,381000000)

omniORB: Client connection refcount (forced) = 0

omniORB: Client close connection to giop:tcp:10.111.75.24:11214

omniORB: Shutdown close connection to
giop:tcp:vms-lis-strp04.apps01.valeo:11213



omniORB: Client connection refcount (forced) = 0

omniORB: Client close connection to giop:tcp:10.111.75.24:11213

omniORB: Shutdown close connection to giop:tcp:10.111.75.24:11213

omniORB: Client connection refcount (forced) = 0

omniORB: Client close connection to giop:tcp:10.111.75.24:11213

omniORB: 0 remaining bidir ropes deleted.

omniORB: Scan for idle connections done (1281096889,381000000).

omniORB: 3 remaining ropes deleted.

omniORB: Clear endPoint options.

omniORB: AsyncInvoker: thread id = 4 has exited. Total threads = 6

omniORB: AsyncInvoker: thread id = 5 has exited. Total threads = 6

omniORB: AsyncInvoker: thread id = 1 has exited. Total threads = 6

omniORB: AsyncInvoker: thread id = 7 has exited. Total threads = 6

omniORB: AsyncInvoker: thread id = 3 has exited. Total threads = 6

omniORB: AsyncInvoker: thread id = 2 has exited. Total threads = 6

omniORB: AsyncInvoker: deleted.

omniORB: ObjRef(IDL:omg.org/CosNaming/NamingContextExt:1.0) -- deleted.

omniORB: ObjRef() -- deleted.

omniORB: ObjRef() -- deleted.

omniORB: No more references to the ORB -- deleted.

omniORB: Final clean-up

omniORB: Released 333 static TypeCodes.

omniORB: Deleted 11 nil object references and 2 other tracked objects.

omniORB: Final clean-up completed.





Regards,

Stephane



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100809/2faf01b1/attachment-0001.htm
Thomas Lockhart
2010-08-09 23:25:45 UTC
Permalink
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100809/feb64ae9/attachment.htm
Loading...