[omniORB] shared memory transport for intra-machine objects

Sai-Lai Lo S.Lo@orl.co.uk
03 Nov 1998 19:34:41 +0000


>>>>> Andy Tai writes:

> (Sorry if you receive this twice. I sent this yesterday but did not see it
> show up on the mailing list.)

> I wonder if the current version of OmniORB (2.6.1) does any optimization for
> data transfer between two addressing spaces in the same machine?   For
> example, does it automatically use shared memory for such transport?

No, tcp/ip loopback is used when the two communicating processes are on the
same machine.

Having said that, we do have an implementation to use shared memory as a
transport. Depending on the OS, you get around 10-15 percent reduction in
round trip time. We have not integrated the transport into the omniORB
release because automatic transport selection is still work in
progress. 

Also, I have my reservation in using shared memory. At least with
the System V shared memory primitives, there is no bullet proof way to clean
up the shared memory when one or both communication processes die.

Regards,
Sai-Lai


-- 
Dr. Sai-Lai Lo                          |       Research Scientist
                                        |
E-mail:         S.Lo@orl.co.uk          |       Olivetti & Oracle Research Lab
                                        |       24a Trumpington Street
Tel:            +44 223 343000          |       Cambridge CB2 1QA
Fax:            +44 223 313542          |       ENGLAND