JDK-6444633 : Increase the native socket buffer size.
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-06-28
  • Updated: 2010-04-02
  • Resolved: 2006-07-22
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 6
6 b93Fixed
Related Reports
Relates :  
Description
The java.net native socket buffers are currently set to 2K. This impedes performance
on certain benchmarks such as volano, specifically on Solaris as the extra buffers
are allocated on the heap using malloc, this effect is even more pronounced on 
large MP and CMT systems such as niagaras and v890.

Comments
EVALUATION Increasing the buffer to 8K is relatively safe as java.io and java.util.zip are already using this buffer size, and there is no reason why socket io should not. The stack overruns are already safeguarded in the the vm land by adding extra shadow pages for the stack.
28-06-2006