Large TCP send socket buffer optimizations

Andre Guibert de Bruet andy at siliconlandmark.com
Thu Mar 1 20:53:44 UTC 2007


On Mar 1, 2007, at 11:40 AM, Andre Oppermann wrote:
> Andrew Gallatin wrote:
>> Andre Oppermann writes:
>>  > This patch solves the problem by maintaining an offset pointer  
>> in the socket
>>  > buffer to give tcp_output() the closest mbuf right away  
>> avoiding the traversal
>>  > from the beginning.
>>  >  > With this patch we should be able to compete nicely for the  
>> Internet land
>>  > speed record again.
>> Great news.  I will test soon.
>> Have you found the bug which makes a freebsd sender spew
>> duplicate acks?  This will have a negative affect on
>> any benchmarks..
>
> No, not yet.  And my current test environment doesn't lend itself  
> to reproduce
> the bug easily.  I'm very likely to need further input from you and  
> will send
> you some patches for instrumentation in the near future.

Please CC me on the patches. Did you get a chance to check out the  
pcap that I linked to?

Andy

/*  Andre Guibert de Bruet  * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/*   Code poet / Sysadmin   * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/*   GSM: +1 734 846 8758   * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * C/C++, Java, Perl, PHP, SQL, XHTML, XML */



More information about the freebsd-current mailing list