I am trying this new PMTUD functionality, but it seems it doesn't work.
I have configured:
CONFIG_NET_ICMP_PMTU_ENTRIES = 10
CONFIG_NET_ICMP_PMTU_TIMEOUT = 10
Again I see lots of segments being sent (all with size 1400), and all of
them are responded with the same ICMP reply.
A couple of retransm
On Sun, Jun 4, 2023 at 10:23 PM Fotis Panagiotopoulos
wrote:
> I am trying this new PMTUD functionality, but it seems it doesn't work.
>
> I have configured:
> CONFIG_NET_ICMP_PMTU_ENTRIES = 10
> CONFIG_NET_ICMP_PMTU_TIMEOUT = 10
>
> Again I see lots of segments being sent (all with size 1400), a
As said, this is sendfile(). I do not have control on the size of the
chunks sent. sendfile is also using TCP.
So, sendfile cannot take advantage of PMTUD?
On Sun, Jun 4, 2023 at 5:33 PM Xiang Xiao wrote:
> On Sun, Jun 4, 2023 at 10:23 PM Fotis Panagiotopoulos >
> wrote:
>
> > I am trying this
On Sun, Jun 4, 2023 at 10:40 PM Fotis Panagiotopoulos
wrote:
> As said, this is sendfile(). I do not have control on the size of the
> chunks sent. sendfile is also using TCP.
>
> So, sendfile cannot take advantage of PMTUD?
>
>From thttps://
github.com/apache/nuttx/blob/master/net/tcp/tcp_sendf
As I see, sendfile uses MSS instead of MTU.
Wouldn't it be better to scale also MSS along with MTU when PMTUD is
enabled?
On Sun, Jun 4, 2023 at 5:40 PM Fotis Panagiotopoulos
wrote:
> As said, this is sendfile(). I do not have control on the size of the
> chunks sent. sendfile is also using TCP