Matthew Dillon wrote:

> Index: tcp_output.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/netinet/tcp_output.c,v
> retrieving revision 1.39.2.10
> diff -u -r1.39.2.10 tcp_output.c
> --- tcp_output.c      2001/07/07 04:30:38     1.39.2.10
> +++ tcp_output.c      2001/11/30 21:18:10
> @@ -912,7 +912,14 @@
>       tp->t_flags &= ~TF_ACKNOW;
>       if (tcp_delack_enabled)
>               callout_stop(tp->tt_delack);
> +#if 0
> +     /*
> +      * This completely breaks TCP if newreno is turned on
> +      */
>       if (sendalot && (!tcp_do_newreno || --maxburst))
> +             goto again;
> +#endif
> +     if (sendalot)
>               goto again;
>       return (0);
>  }
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
 
OK, I have applied this patch, and FreeBSD 4.4-STABLE now seems to behave 
approximately the same as Linux. There are no extra ACKs, and FreeBSD now coalesces 
pairs of ACKs.


However, performance for one client is still at 25Mb/s with the tbench run, while 
Linux provides around 68Mb/s.


So, it is back to staring at traces. Perhaps I will get a full trace now.


-- 
Richard Sharpe, [EMAIL PROTECTED], LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to