[jboss-jira] [JBoss JIRA] (JGRP-1980) Improve throughput under contention for FlowControl.Credit

Bela Ban (JIRA) issues at jboss.org
Fri Jan 22 03:55:00 EST 2016


    [ https://issues.jboss.org/browse/JGRP-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152252#comment-13152252 ] 

Bela Ban edited comment on JGRP-1980 at 1/22/16 3:54 AM:
---------------------------------------------------------

Correction: {{needsToSendCreditRequest()}} is only called when there are insufficient credits left, so this is *not* 50%!


was (Author: belaban):
Correction: {{needsToSendCerditRequest()}} is only called when there are insufficient credits left, so this is *not* 50%!

> Improve throughput under contention for FlowControl.Credit
> ----------------------------------------------------------
>
>                 Key: JGRP-1980
>                 URL: https://issues.jboss.org/browse/JGRP-1980
>             Project: JGroups
>          Issue Type: Enhancement
>    Affects Versions: 3.6.6
>            Reporter: Sanne Grinovero
>            Assignee: Bela Ban
>             Fix For: 3.6.8
>
>         Attachments: bla.java
>
>
> The methods {{org.jgroups.protocols.FlowControl.Credit.decrementIfEnoughCredits(long, long)}} and {{org.jgroups.protocols.FlowControl.Credit.decrementAndGet(long)}} are contending the locks on class synchronization when stress testing JGroups.
> Wondering if we can think of polishing the implementation, although it looks like challenging.



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


More information about the jboss-jira mailing list