Firebird 2.0
Administrators
Manual

TCP NO NAGLE

Purpose

Use the TcpNoNagle parameter to manage packet combination on TCP/IP networks.

Syntax

<no_nagle> ::=
   TcpNoNagle = <boolean>



Semantics

On Linux, by default, the socket library will minimize physical writes by buffering writes before actually sending the data, using an internal algorithm known as Nagle's Algorithm. It was designed to avoid problems with small packets, called tinygrams, on slow networks.

By default, TcpNoNagle is enabled (value 1) when Firebird is installed on Linux. On slow networks, disabling it can actually improve speed.

Note: disabling Nagle's algorithm means setting the TCP_NODELAY option of the socket connection.

Example

The below example enables Nagle's algorithm for this server:

TcpNoNagle = 0



See also

Connection settings: CONNECTION TIMEOUT, IPC NAME, REMOTE SERVICE SETTINGS, REMOTE BIND ADDRESS, REMOTE PIPE NAME, TCP REMOTE BUFFER SIZE, DUMMY PACKET INTERVAL


previous page goto index next page

Legal information