JDK-8294610 : java/net/vthread/HttpALot.java is slow on Linux
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-29
  • Updated: 2022-10-03
  • Resolved: 2022-10-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 20
20 masterFixed
Related Reports
Relates :  
Relates :  
Description
This test runs in 5-6s on macOS and Windows. On Linux it takes 60-70s.
Comments
Changeset: fd594302 Author: Jaikiran Pai <jpai@openjdk.org> Date: 2022-10-01 09:17:53 +0000 URL: https://git.openjdk.org/jdk/commit/fd594302f79b934c9eca713d84313b73f4899aa3
01-10-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10504 Date: 2022-09-30 09:10:05 +0000
30-09-2022

I've opened a PR with a change which improves the test run duration on Linux https://github.com/openjdk/jdk/pull/10504. Additionally, we will be investigating if anything additional needs to be done in the JDK networking layer to improve this situation without the use of TCP_NODELAY. Those experiments will be carried out under another existing JBS issue https://bugs.openjdk.org/browse/JDK-6968351
30-09-2022

Sean Coffey has suggested this may be related to Nagle and Jakikrian has done some initially testing with -Dsun.net.httpserver.nodelay=true.
29-09-2022