Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8158690

GET request via HTTP/2 has a huge delays due to Nagle’s Algorithm and Delayed ACK clash

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b125
    • CPU:
      generic
    • OS:
      linux, os_x

      Description

      HttpClient has a poor performance with HTTP/2 get requests on Linux platforms. Benchmark is able to perform 25 requests/sec. At the same moment alternative Jetty HTTP/2 client produces up to ~9000 requests per seconds.
      Similar issue is on MacOSX (490 requests per second).
      There is no issue on Solaris & Windows.

      Analysis has shown that the problem is TCP Nagle’s Algorithm and Delayed ACK clash. Like described here: http://www.stuartcheshire.org/papers/NagleDelayedAck/


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skuksenko Sergey Kuksenko
              Reporter:
              skuksenko Sergey Kuksenko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: