[omniORB] Server Performance

John D. Heintz jheintz@isogen.com
Mon, 12 Mar 2001 10:51:14 -0600


Duncan Grisby wrote:

> On Tuesday 27 February, "W. Eliot Kimber" wrote:
> 
> 
>> We are building a multi-user system using OmniPy 1.3/OmniORB 3.x as the
>> server ORB. We are having some performance issues that are almost
>> certainly problems in our code, but I wanted to make sure we hadn't
>> overlooked some obvious configuration option with OmniORB (for example,
>> we only get 50% processor utilization regardless of the number of active
>> client connections we make, which seems odd). I've gone through all the
>> 3.0 docs looking for any performance tuning hints, and didn't find any,
>> which suggests that there aren't any.
> 
> 
> There aren't really any parameters you can tune in omniORB. The only
> thing which might be relevant is the maxTcpConnectionPerServer
> setting, which determines how many connections a client will open to a
> particular server. Unless you have heavily multi-threaded clients,
> that won't affect you.

Hmm.  We are trying to run either one single threaded client at full 
speed or many ( hundreds for stress testing ) spread across several 
boxes at one time.

> 
> Do you have a two processor machine by any chance?  Python has a
> global interpreter lock, meaning that only one thread can run Python
> code at any one time. That would explain your 50% processor
> utilisation if you do a reasonable amount of work in Python.

We do have a two processor machine.  We are also aware of Python's 
global interpreter lock  ;-(

To take advantage of the dual-proc we are planning on running the 
database and two CORBA servers on the machine.  We are using ZODB for 
Python persistence and plan on using ZEO to distribute client 
connections.  See http://www.zope.org for details.

The processor behavior that we are seeing it that both processors max 
out at about 40-50%.  Is this what you would expect to see from Python's 
global lock?

> 
> Other than that, I don't have any good suggestions I'm afraid.

Thanks!

> 
> Cheers,
> 
> Duncan.



-- 
. . . . . . . . . . . . . . . . . . . . . . . .

John D. Heintz | Senior Engineer

1016 La Posada Dr. | Suite 240 | Austin TX 78752
T 512.633.1198 | jheintz@isogen.com

w w w . d a t a c h a n n e l . c o m