Andrew Gallatin 已写入:
Raymond LI - Sun Microsystems - Beijing China writes:
> >
> Yes, it is set to 9000. Could you try to run below dtrace on the sys and
> see the output?
>
> tcp_wput_data:entry
> {
> printf("mss: %d\n", ((tcp_t *)arg0)->tcp_mss);
> printf("if_mtu: %d\n", ((tcp_t *)arg0)->tcp_if_mtu);
> }
Ah, that shows the "correct" mss.
Then if snooping the 3-way handshake of TCP on your system, it will show
a correct mss being negotiated.
I think the problem is that the data is coming through
sendfile(), and something else is chopping it at 8KB blocks.
Try use "write" instead and see.
Drew
_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]