Andrew Gallatin 已写入:
Raymond LI - Sun Microsystems - Beijing China writes:
> Andrew Gallatin 已写入:
>
> >Are there any tuning tips for getting good endstation
> >performance out of a Solaris machine with a 10GbE nic?
> >With linux it seems to be something of an art form...
> >
> >
> If it supports jumbo frame, to enable it will sure get much better
> performance.
> If TCP, try tuning below parameters by ndd:
> tcp_xmit_hiwat, tcp_recv_hiwat
> And try to add a line "set ip:ip_squeue_fanout=1" in /etc/system.
It looks like Solaris sets the MSS to 8192 even though the MTU is
larger (9014). I've (or actually iperf) tried to set the MSS via:
setsockopt( inSock, IPPROTO_TCP, TCP_MAXSEG, (char*) &newMSS, len );
but that returns an error.
Is the limit of 8192 tweakable in some global way?
You can check your system for following parameters and tune them:
ndd /dev/tcp tcp_mss_def_ipv4
ndd /dev/tcp tcp_mss_max_ipv4
On my system with ixgb, the MSS is 8960 and works fine.
1 0.00000 11.0.1.166 -> 11.0.1.212 TCP D=5001 S=52833 Syn Seq=79745287
Len=0 Win=53760 Options=<mss 8960,nop,wscale 0,nop,nop,sackOK>
2 0.00506 11.0.1.212 -> 11.0.1.166 TCP D=52833 S=5001 Syn Ack=79745288
Seq=78359506 Len=0 Win=53760 Options=<mss 8960,nop,wscale 0,nop,nop,sackOK>
3 0.00002 11.0.1.166 -> 11.0.1.212 TCP D=5001 S=52833 Ack=78359507
Seq=79745288 Len=0 Win=53760
Thanks,
Drew
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]