[Ace-users] [ciao-users] : setting RT priority model
Sandro Andrade
sandro.andrade at gmail.com
Mon Nov 19 20:31:01 CST 2007
Hello,
Looking at the TAO source code I got your message from the following fragment:
file $TAO_ROOT/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
// NOT_SPECIFIED PriorityModel processing.
if (poa.priority_model () ==
TAO::Portable_Server::Cached_Policies::NOT_SPECIFIED)
{
priority_model = "RTCORBA::NOT_SPECIFIED";
}
I'm not an experienced RT_CORBA programmer but I guess RT-CORBA
priority model should be adjusted by configuring a specific policy in
the RT-POA.
Are you doing some kind of POA policies configuration ?
Certainly, the TAO's gurus are likely to provide you further information.
Thanks,
Sandro
On Nov 19, 2007 10:55 PM, Ricardo Perrone <perrone at rocketmail.com> wrote:
> Hi Sandro,
>
> yes... the application is running wtih root privilegies. The message "RTCORBA::NOT_SPECIFIED" appears only in debug level, but without it the application appears to work fine. However i am not sure if the priority model was configured correctly because of this message.
>
> Thanks
> Ricardo
>
> Message: 2
> Date: Mon, 19 Nov 2007 02:02:37 -0300
> From: "Sandro Andrade" <sandro.andrade at gmail.com>
> Subject: Re: [ciao-users] : setting RT priority model
> To: "CIAO Users Mailing List" <ciao-users at cse.wustl.edu>
> Message-ID:
> <b3dbd38b0711182102k6904a448v52a53960db6f7efc at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> Hi Ricardo,
>
> Are you running your application with root privilegies ? I think
> RT-CORBA TAO's implementation requires super user privilegies for a
> successful execution.
>
> Thanks,
> Sandro
>
> On Nov 19, 2007 1:08 AM, Ricardo Perrone <perrone at rocketmail.com>
> wrote:
> >
> > Hi all,
> >
> >
> > CIAO version 0.6.10
> > TAO version 1.6.10
> > ACE VERSION: 5.6.1
> >
> > HOST MACHINE and OPERATING SYSTEM:
> > Centrino Duo Core, Ubuntu 7.0.4-Feisty, kernel
> 2.6.20-16-generic
> >
> > COMPILER NAME AND VERSION (AND PATCHLEVEL):
> > gcc (GCC) 4.1.2
> >
> > THE $ACE_ROOT/ace/config.h FILE:
> > #include "ace/config-linux.h"
> >
> > THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE:
> > no_hidden_visibility=1
> > include
> > /usr/local/ACE_wrappers/include/makeinclude/platform_linux.GNU
> >
> > CONTENTS OF $ACE_ROOT/bin/MakeProjectCreator/config/default.features:
> > [there is no default.features file, but the gnuace and global
> > features]
> > qt=1
> > fl=1
> > tk=1
> > xt=1
> > cidl=1
> > sctp=1
> > zlib=1
> >
> > DOES THE PROBLEM AFFECT:
> > COMPILATION? no
> >
> > SYNOPSIS:
> >
> > Trying to setting priority model (SERVER_DECLARED) with the 99
> priority value.
> >
> > DESCRIPTION:
> >
> >
> > I am trying to configure RT policies in rt-configure.csr, with
> priority model set to SERVER_DECLARED and the server priority set to 99. The
> threads in Pool Lane have the same priority value 99. But i am little
> confuse with debug messages. If i specify the server priority why it
> show me RTCORBA::NOT_SPECIFIED ? Another question about ....is there way
> to configure one priority value to CLIENT_PROPAGATED priority model in
> xml descriptor?
> >
> > Debug:
> > TAO (12534|3068738448) - Codeset_Manager_i::process_service_context,
> using tcsc = 00010001, tcsw = 00010109
> > (12534|3068738448): RTCORBA::NOT_SPECIFIED processing using default
> thread pool original thread CORBA/native priority 50/50 not changed
> > NAResource_Config_Manager::init_resources
> > NAResource_Config_Manager::init_resource added policy set :
> Policy_RegistroTemp with 0 policies
> > NAResource_Config_Manager::init_resource added policy set :
> Policy_Monitor with 0 policies
> > RTResource_Config_Manager::init_resource.
> > -RTResource_Config_Manager::print_resource threadpool_with 1, lanes:
> Thread_Pool_Lane_Sensor
> > Lane 0:
> > Priority: 99
> > Static: 5
> > Dynamic: 0
> > Stack size: 0
> > Borrowing: N
> > Buffering N
> > Max Buffered: 0
> > Buffer Size 0
> > -RTResource_Config_Manager::print_resource threadpool_with 1, lanes:
> Thread_Pool_Lane_Monitor
> > Lane 0:
> > Priority: 99
> > Static: 5
> > Dynamic: 0
> > Stack size: 0
> > Borrowing: N
> > Buffering N
> > Max Buffered: 0
> > Buffer Size 0
> > -RTResource_Config_Manager::print_resource connection 1 bands:
> Connection_Monitor
> > Band 0 Prio: 98 -- 99
> > -RTResource_Config_Manager::print_resource connection 1 bands:
> Connection_Sensor
> > Band 0 Prio: 98 -- 99
> > RTResource_Config_Manager::init_resource threadpool_with 1, lanes:
> Thread_Pool_Lane_Sensor
> > TAO (12534|3068738448) - creating thread at (corba:native) priority
> 99:99
> >
> >
> > Thanks
> > Ricardo
> >
> >
> >
> >
> >
> ____________________________________________________________________________________
> > Never miss a thing. Make Yahoo your home page.
> > http://www.yahoo.com/r/hs
> >
> > _______________________________________________
> > ciao-users mailing list
> > ciao-users at mail.cse.wustl.edu
> > http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
> >
>
>
>
> --
>
> Sandro Santos Andrade
> --------------------------------------------------------
> Distributed Systems Laboratory (LaSiD)
> Computer Science Department (DCC)
> Federal University of Bahia
> Brazil
>
>
>
> ------------------------------
>
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
>
>
> End of ciao-users Digest, Vol 16, Issue 3
> *****************************************
>
>
>
>
>
> ____________________________________________________________________________________
> Get easy, one-click access to your favorites.
> Make Yahoo! your homepage.
>
> http://www.yahoo.com/r/hs
>
> _______________________________________________
> ciao-users mailing list
> ciao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/ciao-users
>
--
Sandro Santos Andrade
--------------------------------------------------------
Distributed Systems Laboratory (LaSiD)
Computer Science Department (DCC)
Federal University of Bahia
Brazil
More information about the Ace-users
mailing list