default tcp window values in solaris

When modifying tcp values it is a good idea to take note of the default values since you may need to change them back. An easy way to do this is to use the ndd command to get the relevant tcp parameters.

/usr/sbin/ndd -get /dev/tcp tcp_max_buf
/usr/sbin/ndd -get /dev/tcp tcp_cwnd_max
/usr/sbin/ndd -get /dev/tcp tcp_xmit_hiwat
/usr/sbin/ndd -get /dev/tcp tcp_recv_hiwat

These commands will get the default Solaris 10 values values for the buffer size, window size, transmit limit, and receive limit.

The ndd tool can be used to either set or get network parameters real time. Experimenting with the values can result in much faster network transfers.

Be the first to comment

Leave a Reply