[
https://issues.jboss.org/browse/WFCORE-1132?page=com.atlassian.jira.plugi...
]
David Lloyd edited comment on WFCORE-1132 at 11/12/15 4:16 PM:
---------------------------------------------------------------
This analysis is probably wrong:
{quote}The "receive-buffer-size" and "send-buffer-size" management
attributes have a default value of 8192 (bytes) as of 2.0 of the subsystem (that is, since
WildFly 8 onwards). This is obviously a very poor default. On my system at least, the
default buffer sizes are nearer to 100s of kilobytes.
The performance team argues that there should be no default, letting the OS choose.
I'm okay with that, and I'm also okay with changing the default to something more
sensible in the 128k range, depending on what works best for compatibility, etc.{quote}
Still figuring out what's happening here.
was (Author: dmlloyd):
The "receive-buffer-size" and "send-buffer-size" management attributes
have a default value of 8192 (bytes) as of 2.0 of the subsystem (that is, since WildFly 8
onwards). This is obviously a very poor default. On my system at least, the default
buffer sizes are nearer to 100s of kilobytes.
The performance team argues that there should be no default, letting the OS choose.
I'm okay with that, and I'm also okay with changing the default to something more
sensible in the 128k range, depending on what works best for compatibility, etc.
Only set socket send and receive buffer sizes if it is in the
Remoting subsystem configuration
----------------------------------------------------------------------------------------------
Key: WFCORE-1132
URL:
https://issues.jboss.org/browse/WFCORE-1132
Project: WildFly Core
Issue Type: Bug
Components: Remoting
Affects Versions: 2.0.1.Final
Reporter: Andrig Miller
Priority: Blocker
Fix For: 2.0.2.Final (EAP 7)
Original report:
{quote}
In our testing of Wildfy 10 CR4, in the performance lab, we found that one of the
differences between EAP 6.4.x and Wildfly 10 was that EAP does not set the socket send and
receive buffers. We changed the configuration of Wildfly (Undertow) to remove the buffer
parameters from the configuration, and we found that the buffer sizes were still be set to
8k. We hacked XNIO to comment out the setting of these parameters, and latency improved
quite a bit.
So, we need a permanent fix so that the socket send and receive buffers are only set, if
they are specified in the configuration.
{quote}
This applies to the Remoting subsystem configuration, versions 2.0 and onwards, and also
possibly to Undertow, though that subsystem does not appear to use default values.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)