Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[tao-users] TCP no delay, nagle algorithm

29 views
Skip to first unread message

Michael...@leica-geosystems.com

unread,
May 23, 2008, 2:32:30 AM5/23/08
to tao-...@list.isis.vanderbilt.edu

Hello

I'm using TAO version 1.5a_p5 for Win32.

Can you tell me what's the default value of the tcp protocol properties? Especially i'm interested in the "no-delay" option.
If the no-delay is true, the nagle algorithm is disabled.
http://en.wikipedia.org/wiki/Nagle_algorithm

When searching for this no_delay parameter, the only place where it's initialized is in TAO\tao\Protocols_Hooks.cpp but i cannot find anything related to TCP there..

So can you tell me where i can find the default protocol values?

Regards
Michael

Johnny Willemsen

unread,
May 23, 2008, 2:48:54 AM5/23/08
to Michael...@leica-geosystems.com, tao-...@list.isis.vanderbilt.edu

Hi,

 

See TAO Programmers Guide for the overview of the RTCORBA Protocol properties, there also the defaults are listed. Do note that the TPG is focused at the doc_group distribution of TAO.

 

Regards,

 

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl 

*** Integrated compile and test statistics see http://scoreboard.theaceorb.nl ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** Get your free TAO Programmers Guide copy from http://www.theaceorb.nl ***

Steve Totten

unread,
May 23, 2008, 9:33:14 AM5/23/08
to Johnny Willemsen, tao-...@list.isis.vanderbilt.edu, Michael...@leica-geosystems.com
Hi Michael,

Johnny Willemsen wrote:

> See TAO Programmers Guide for the overview of the RTCORBA Protocol
> properties, there also the defaults are listed. Do note that the TPG is
> focused at the doc_group distribution of TAO.

While you can use the RTCORBA protocol properties, as Johnny
suggests, you can control certain TCP protocol properties using
ORB initialization options (which can be passed via the command
line).

See $TAO_ROOT/docs/Options.html (whether in TAO 1.5a or the DOC
Group distribution):

-ORBNodelay boolean (0|1) Enable or disable the TCP_NODELAY
option (Nagle's algorithm). By default, TCP_NODELAY is enabled.

-ORBRcvSock receive buffer size Specify the size of the
socket receive buffer as a positive, non-zero integer. If not
specified, the ACE_DEFAULT_MAX_SOCKET_BUFSIZ default is used.

-ORBSndSock send buffer size Specify the size of the socket
send buffer as a positive, non-zero integer. If not specified, the
ACE_DEFAULT_MAX_SOCKET_BUFSIZ default is used.


These are also documented in the OCI TAO Developer's Guide.

Steve Totten

> *From:* tao-user...@list.isis.vanderbilt.edu
> [mailto:tao-user...@list.isis.vanderbilt.edu] *On Behalf Of
> *Michael...@leica-geosystems.com
> *Sent:* Friday, May 23, 2008 8:33 AM
> *To:* tao-...@list.isis.vanderbilt.edu
> *Subject:* [tao-users] TCP no delay, nagle algorithm


>
>
>
>
> Hello
>
> I'm using TAO version 1.5a_p5 for Win32.
>
> Can you tell me what's the default value of the tcp protocol properties?
> Especially i'm interested in the "no-delay" option.
> If the no-delay is true, the nagle algorithm is disabled.
> http://en.wikipedia.org/wiki/Nagle_algorithm
>
> When searching for this no_delay parameter, the only place where it's
> initialized is in TAO\tao\Protocols_Hooks.cpp but i cannot find anything
> related to TCP there..
>
> So can you tell me where i can find the default protocol values?
>
> Regards
> Michael

--
----------------------------------------------------------------
Steve Totten, Principal Software Engineer and Partner
Object Computing, Inc. (OCI), St. Louis, MO, USA
http://www.ociweb.com/ http://www.theaceorb.com/
----------------------------------------------------------------

Johnny Willemsen

unread,
May 23, 2008, 9:41:18 AM5/23/08
to Steve Totten, tao-...@list.isis.vanderbilt.edu, Michael...@leica-geosystems.com
Hi,

> > See TAO Programmers Guide for the overview of the RTCORBA Protocol
> > properties, there also the defaults are listed. Do note that the TPG
> is
> > focused at the doc_group distribution of TAO.
>
> While you can use the RTCORBA protocol properties, as Johnny
> suggests, you can control certain TCP protocol properties using
> ORB initialization options (which can be passed via the command
> line).

I was more referring to the defaults, the tables show that TCP_NODELY is
enabled by default. That confirms what Michael needed.

Johnny

0 new messages