Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2013 20:02:23 -0800
From:      Vijay Singh <vijju.singh@gmail.com>
To:        net@freebsd.org
Subject:   Avoiding duplicate ACKs in TCP
Message-ID:  <CALCNsJSmVOAUr88QTbsN5Ewz6AfT2oeQYB1JNfFc7VOUxWunfw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
All. I am working on an in-kernel application using socket upcalls. I
see a lot of TCP DUP ACKs due the call to tcp_usr_rvcd(). However if I
avoid this in the upcall using the  MSG_SOCALLBCK flag to soreceive()
the throughput of the test goes down due to missing window updates. I
am wondering if there is a way to avoid this, perhaps by sending the
window update based on data read by the application.

-vijay



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCNsJSmVOAUr88QTbsN5Ewz6AfT2oeQYB1JNfFc7VOUxWunfw>