Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 3 Tuning the iProcess Engine Using SWDIR\etc\staffcfg Parameters : STAFF Section : RPCXFRSIZE

RPCXFRSIZE
Section
STAFF
Initial Value
4096
Units
Bytes
Range
512, 1024, 2048, 4096
Description
This setting determines the maximum buffer size used for client/server communication of stream data. This setting is primarily used when reading text files, forms or memos from the server or for copying files down to the client.
As a significant amount of data needs to be read at login time increasing the size of this parameter can have benefits to login time on large systems, particularly over WANs.
Adjusting this value enables you to tune the size and number of packets sent over the network.
Tuning
When considering network performance, particularly over a WAN, it is important to consider the number and size of requests being made over the network.
Any tuning of this parameter needs to take into account the characteristics of the network, in general increasing the size of this parameter to 4096 will reduce the number of network requests and therefore reduce the latency inherent in waiting for a request to be responded to. There may be circumstances on a busy WAN where sending large packets is blocking other requests and therefore causing poor response for other users.
In most cases, network performance problems in iProcess are not caused by the amount of data being transferred but the number of packets being sent. Therefore by increasing the value of RPCXFRSIZE many RPC calls can pass more data than before and therefore less calls are made. Even on a LAN a single RPC round trip can take 25ms irrespective of the size of the packet, i.e. 20 bytes or 4K, therefore 200 RPC calls are likely to take 5 seconds. If by increasing the packet size only 50 RPC calls are made then the total time come down to 1.25 secs.
Example
A procedure does a FileCopy from server to client of a 2Mb file.
Results
While this is a large file and not necessarily a typical operation, you can see there are some benefits.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved