[Ace-users] Re: [tao-users] TAO ORB Configuration

Douglas C. Schmidt schmidt at dre.vanderbilt.edu
Tue Sep 11 20:39:02 CDT 2007


Hi,

        Thanks for using the PRF!

>TAO VERSION: 1.6
>
>ACE VERSION: 5.6
>
>HOST MACHINE and OPERATING SYSTEM:
>Fedora Core 4 (2.6.11)
>
>TARGET MACHINE and OPERATING SYSTEM, if different from
>HOST:
>COMPILER NAME AND VERSION (AND PATCHLEVEL): gcc 4.0.2
>20051125
>
>THE $ACE_ROOT/ace/config.h FILE: config-linux.h
>
>THE $ACE_ROOT/include/makeinclude/platform_macros.GNU
>FILE:
>platform-linux.GNU
>
>CONTENTS OF
>$ACE_ROOT/bin/MakeProjectCreator/config/default.features
>(used by MPC when you generate your own makefiles):
>
>
>Dear all,
>
>I have reading FAQ and documentation online about TAO.

Great!  Kudos to you for reading the material carefully - you ask some
very deep and interesting questions below!

>    From the ORB configuration point of view, you can
> select the TAO thread pool model following a leader &
> followers behaviour (default settings). 

Right.

> Could it be used with RTCORBA as well? 

RTCORBA uses the Leader/Followers pattern, as described in the paper at

http://www.cs.wustl.edu/~schmidt/PDF/OM-01.pdf

> In fact, having RTCORBA features enabled, I mean if it's possible to
> use it together with, for example, a CLIENT_PROPAGATED policy. Does
> server pay attention to priorities issues in such case?

I'm not sure what you're asking here, but TAO's RTCORBA ORB uses the
Leader/Followers pattern for its thread pool implementation.

> If I decide to use a Real-Time CORBA thread pool model, is there any
> way to use a L&F model with this kind of pool? (For example, setting
> a TP Reactor type)

TAO's RTCORBA thread pool already uses the Leader/Followers pattern,
so you don't need to do anything special.  There are examples of how
to do this in

TAO_ROOT/tests/RTCORBA/Thread_Pool
TAO_ROOT/tests/RTCORBA/Dynamic_Thread_Pool

> As far as I know, I need to spawn some threads in TAO
> pool explicity but not in RTCORBA model. 

That's correct.

> Maybe it has no sense, but if I spawn some threads in ORB main loop
> and call create_threadpool RTCORBA operation, what would be the
> system behaviour?

Insanity and chaos ;-)

> Fortunately, my last question ;) is Reactor-per-Lane default
> architecture in both thread pool models?

No - only the TAO's RTCORBA ORB implements the Reactor-per-Lane model.
TAO non-RTCORBA ORB implementation doesn't know anything about lanes.

Take care,

     Doug
-- 
Dr. Douglas C. Schmidt                       Professor and Associate Chair
Electrical Engineering and Computer Science  TEL: (615) 343-8197
Vanderbilt University                        WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203                          NET: d.schmidt at vanderbilt.edu



More information about the Ace-users mailing list