[infinispan-issues] [JBoss JIRA] (ISPN-11377) Change default flow control protocol back to UFC/MFC
Dan Berindei (Jira)
issues at jboss.org
Fri Feb 21 12:57:19 EST 2020
Dan Berindei created ISPN-11377:
-----------------------------------
Summary: Change default flow control protocol back to UFC/MFC
Key: ISPN-11377
URL: https://issues.redhat.com/browse/ISPN-11377
Project: Infinispan
Issue Type: Task
Components: Configuration, Core
Affects Versions: 11.0.0.Alpha1, 10.1.2.Final, 9.4.18.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Fix For: 10.1.3.Final, 11.0.0.Alpha2
The server default configuration started using {{UFC_NB}} and {{MFC_NB}} in order to avoid blocking on the Netty event loop threads, slowing client requests, and then the core default configurations started using {{UFC_NB}} and {{MFC_NB}} as well with ISPN-9886.
Unfortunately the _NB variants aren't really non-blocking: they have an extra queue for messages that require more credits, but that queue is limited (2MB by default), and once the queue is full, they also block. They also have much more complex locking than the blocking variants: we actually had to increase max_credits from 2MB to 3MB in order to get the same performance with {{UFC_NB}} that we had with {{UFC}}.
We're changing the defaults back to {{UFC}} and {{MFC}} while we investigate possible alternatives to avoid blocking.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list