Encina Architecture - Fast Local Transport (FLT)
What is Fast Local Transport (FLT)?
Resolving the problem
FLT is a mechanism used by RQS and SFS to communicate with their clients while running on the same host as the RQS or SFS. The communication mechanism is UNIX named pipes. The default place where these pipes are set up is /tmp. (It is possible to where the pipe files are located by using ENCINA_FLT_PIPE_DIR environment variable.)
FLT is the default communication mechanism when the server and client are on the same host.
If a relatively large number of processes will be using FLT, make sure the number of file descriptors that a process is able to open is appropriate. (The default on Solaris 2.5 is 64 which is not high enough for an RQS serving 15 servers running on the same host).
To control the number of file descriptors for an Encina process, set up the node manager with the desired number of file descriptors. To accomplish this input the following line:
ulimit -n <number>
in the rc.encina.<hostname> script that starts up the node manager.
Also, to control the number of file descriptors used by FLT on the server side, set the environment variable ENCINA_FLT_SERVER_MAX_FDS to the maximum number of file descriptors permitted to be used for FLT. If this environment variable is set to 0, the effect is to turn off FLT.
To control the use of FLT on just one client process, set the environment variable ENCINA_FLT_CLIENT_MAX_FDS to 0 for that specific process.
It is a reasonable troubleshooting step to turn off FLT on either the server or the client (depending on the hypothesis being tested) to determine if the problem disappears.
It is recommended to do performance comparisons with applications using FLT and then without using FLT to determine any performance gains associated with FLT before committing to using it. If planning to restrict the transport to UDP only, then be sure to compare performance with FLT and without FLT while the UDP restrictions are turned on. (FLT introduces a potential for failures that should be weighed against the performance gain it provides. For a given application the performance gain may be so slight as to not warrant its use.)
On AIX there is a fast mechanism for DCE RPC traffic between a client and server on the same host. Run performance tests to make sure using FLT is faster than using the native DCE RPC transport on AIX hosts.
Translate this page: