[Ace-users] [ciao-users] : setting RT priority model
Sandro Andrade
sandro.andrade at gmail.com
Sun Nov 18 23:02:37 CST 2007
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
More information about the Ace-users
mailing list