jimbopalmer
Programmer
The default buffer size for a network session in Solaris is just 8k, but with 16k token ring, FDDI, fast ethernet, and gigabit ethernet, you may well want more buffer space so your CPU can be distracted yet still have buffers to capure network packets. (I think 64k is the max size)
The commands to enlarge these buffers change this session, so need to be run at every startup. we put them in /etc/rc3.d as S95ndd
# Set the TCP hiwater marks to 64K to improve SunSwift SBus
# Adapter performace. JJP 22-Aug-2000
case "$1" in
'start')
echo "Setting local kernel parameters...\c"
ndd -set /dev/tcp tcp_xmit_hiwat 65535
ndd -set /dev/tcp tcp_recv_hiwat 65535
ndd -set /dev/tcp tcp_cwnd_max 65534
echo ""
;;
'stop')
echo "No kernel parameters changed."
;;
*)
echo "Usage:$0 {start|stop}"
;;
esac
exit 0
The one thing you can't give for your heart's desire is your heart. - Lois McMaster Bujold
The commands to enlarge these buffers change this session, so need to be run at every startup. we put them in /etc/rc3.d as S95ndd
# Set the TCP hiwater marks to 64K to improve SunSwift SBus
# Adapter performace. JJP 22-Aug-2000
case "$1" in
'start')
echo "Setting local kernel parameters...\c"
ndd -set /dev/tcp tcp_xmit_hiwat 65535
ndd -set /dev/tcp tcp_recv_hiwat 65535
ndd -set /dev/tcp tcp_cwnd_max 65534
echo ""
;;
'stop')
echo "No kernel parameters changed."
;;
*)
echo "Usage:$0 {start|stop}"
;;
esac
exit 0
The one thing you can't give for your heart's desire is your heart. - Lois McMaster Bujold