[infinispan-issues] [JBoss JIRA] (ISPN-5740) HotRod client write buffer is too large

Dan Berindei (JIRA) issues at jboss.org
Tue Sep 15 07:02:00 EDT 2015


     [ https://issues.jboss.org/browse/ISPN-5740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Berindei updated ISPN-5740:
-------------------------------
              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/3708


> HotRod client write buffer is too large
> ---------------------------------------
>
>                 Key: ISPN-5740
>                 URL: https://issues.jboss.org/browse/ISPN-5740
>             Project: Infinispan
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 8.0.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 8.1.0.Alpha1
>
>
> The ISPN-1015 fix added a buffer to the HotRod client transport to reduce the number of syscalls. But that buffer's size is not fixed, instead it's based on {{Socket.getSendBufferSize()}}, which in turn is based on the kernel's {{net.core.wmem_max}}.
> JGroups needs {{net.core.wmem_max}} greater or equal than {{UDP.ucast_send_buf_size}}, which is 1MB by default. That is probably too much for the {{TcpTransport}}'s buffer, because the buffer is also duplicated in the OS.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the infinispan-issues mailing list