Skip to content

TCP packet size too small causing poor throughput #3803

@shirhatti

Description

@shirhatti

Originally reported by @mateanticevic

I have the same problem and noticed something strange. There's a huge amount of TCP packets as they are way below the MTU size limit. I reckon this is the cause of the slow download. This happens only with IIS in front of Kestrel. With Kestrel alone it doesn't happen.

AspNetCore MVC 1.1.1 ~675kB ~11500 packets ~2s download

image

Tested a similar call in an old app with Web forms and the difference is obvious.

Web forms ~675kB ~750 packets ~200ms download

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-iisIncludes: IIS, ANCM

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions