|
|
Under standard stacks, the IP_DONTFRAGMENT socket option, which is at the IPPROTO_IP level, is used to disable IP fragmentation. IP fragmentation on a socket is disabled by default. On the RT-TCP/IP stack, you can use this option to enable IP fragmentation. For more information on socket options, see http://msdn.microsoft.com/en-us/library/ms738586%28VS.85%29.aspx.
The following table specifies the optimized buffer sizes that may be used in this release with send, sendto, recv, and recvfrom.
|
Socket Type |
Optimized Buffer Size (bytes) |
|
SOCK_STREAM |
1460 |
|
SOCK_DGRAM |
1472 |
To change the Hal timer period:
See the RtxTcpIp NIC Driver section for modifying the LatencyRecvUpdated value in the configuration INI file.
NOTE: Changing the LatencyRecvUpdated value to a non-zero value in the RT-TCP/IP configuration file is only suggested if you are experiencing packet resend and large latency. Changing the LatencyRecvUpdated value can result in a general increased throughput latency.
NOTE: Decreasing the RTX Hal Timer Period can result in a general performance hit.
The RT-TCP/IP stack improves performance by implementing no-copy mode. In this mode the driver makes use of stack's internal device queue to limit the number of packets that it must buffer internally. When RT-TCP/IP submits an outgoing packet to the device driver, the device driver copies the packet into an internal driver buffer, and starts transmission if previous transmission is not already in progress. It then returns immediately to stack without waiting for transmission to complete.