Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Speeding up fast ethernet perfomance

Status
Not open for further replies.

jimbopalmer

Programmer
Jul 20, 2001
2,904
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top