Try TT Now

TTM Network Administration

Advanced TTM Daemon Configuration

Overview

For advanced configuration of TTM, you can use the parameters shown in the following example. lists the advanced parameters. For further information on Advanced TTM Configuration, contact TT Support.

ttmd.cfg Example

Example ttmd.cfg Advanced Configuration

<TTMConfiguration>

<General>

# Logging type StdErr, File, both, none

LoggingType = File

# tracing level normal, trace1, trace2, trace3, trace4

TracingLevel = normal

# Number of days log files will be kept for

LogFileHistory = 10

# Request Port

RequestPort = 10200

# If true, only local communications (on the same box) allowed

local = false

TcpNoDelay = True

</General>

<MulticastGroups>

> = 239.255.239.7

</MulticastGroups>

<LocalServices>

<Service1>

Service = 8900

# accumulator_timeout is in microseconds, must be less than # 5000001 usec (5 seconds) or we'll default to 0 (off)

accumulator_timeout = 50000

# accumulator_mtu is in bytes

accumulator_mtu = 800

TcpNoDelay = True

</Service1>

<Service2>

Service = 8901

# accumulator_timeout is in microseconds, must be less than

# 5000001 usec (5 seconds) or we'll default to 0 (off)

accumulator_timeout = 25000

# accumulator_mtu is in bytes

accumulator_mtu = 1250

TcpNoDelay = True

</Service2>

</LocalServices>

</TTMConfiguration>

ttmd.cfg Advanced Parameters

Advanced Configuration Parameters
ParameterDescription
RequestPort

By default, ttmd.cfg installs with RequestPort set to 10200. RequestPort sets the local port over which TTM communicates.

Warning

If you need to change the port over which TTM communicates, do so through the Guardian GUI. Do not edit the value directly in the ttmd.cfg file unless you run only TTM as a stand-alone application on this machine.

local

ttmd.cfg installs with a default local setting of false. local uses the following settings:

  • true: TTM communicates only on the local machine
  • false: TTM communicates over the network
Note

Use true only on isolated machines that do not connect to a network (i.e., Simulation machines).

TcpNoDelay (also called tcp_no_delay)

Sets whether the TTM Daemon on a Host Daemon Nagles its price feed over a remote (TCP/IP) connection. Nagling better conserves bandwidth by consolidating price updates. If you do not set your TTM Daemon to Nagle price data, price-feed performance increases but the TTM Daemon consumes additional bandwidth.

Available values include:

  • true: Sets the Host Daemon to send its price data without Nagling.
  • false: Sets the Host Daemon to Nagle its price data.

If TcpNoDelay is set to an invalid value or is missing, the TTM Daemon behaves as if set to true.

For Host Daemons, TT recommends that you set the value to false.

If you use accumulation rather than Nagling, set this value to true Refer to the accumulator_timeout and accumulator_mtu parameter descriptions in this table.

Note

TcpNoDelay can be configured for all services by setting the TcpNoDelay value in the <general> section, or by individual service by setting the TcpNoDelay value in the <Service#> section under <LocalServices>. The client-side RemoteTcpNoDelay parameter overrides this setting.

accumulator_timeout

The number of microseconds that TTM collects packets into a single message (range: 0 to 5000000 microseconds, default: 0, disabled). The message is sent when either the accumulator_timeout or accumulator_mtu is reached.

If accumulator_timeout is set to a value greater than 5000000 microseconds (5 seconds), accumulation is disabled and the system generates the following message:

WARNING - Disabling accumulation. AccumulatorTimeout out of range (X). Valid range 0 - 5000000 µs.

To disable accumulation, set accumulator_timeout or accumulator_mtu to 0. For more information about accumulation refer to Accumulation.

Note

accumulator_timeout is set per service in the <LocalService> section.

accumulator_mtu

The number of bytes of data the system will collect into a single message before sending the message out (range: 0 to 32000 bytes, default: 1460 bytes). The message is sent when either the accumulator_timeout or accumulator_mtu is reached. To disable accumulation, set accumulator_timeout or accumulator_mtu to 0. For more information about Accumulation refer to Accumulation.

Note

accumulator_mtu is set per service in the <LocalService> section.