patch for test (Was: tcp_output starving -- is due to mbuf get delay?)

Jin Guojun [NCS] j_guojun at
Fri Apr 18 07:41:59 PDT 2003

I have modified the sockbuf and mbuf operation to double the throughput over
high bandwidth delay product path.

The patch is available at:

The current modification is for tcp transmission only.

I have adapted some code of uipc_socket2.c from Sam Leffler

for tcp receiver, but it has not been tested yet, so the tcp_input.p is empty.

I ignored all record chain (m_nextpkt) related code. The details is explained at

Once the tcp_input code is tested, I will submit the patch to bugs at
I may submit the patch regardless if tcp_input code works or not, because the
sender (server) is more important in high-speed network than the receiver

It is appreciated if any one can verify the patch and provide feedback.

------------ Jin Guojun ----------- v --- j_guojun at ---
Distributed Systems Department
M/S 50B-2239                            Ph#:(510) 486-7531 Fax: 486-6363
Lawrence Berkeley National Laboratory,  Berkeley, CA 94720

More information about the freebsd-performance mailing list