[jboss-jira] [JBoss JIRA] (JBJCA-1305) Performance degradation using fair semaphores in heavily contended workloads

John O'Hara (JIRA) issues at jboss.org
Tue Dec 8 05:34:00 EST 2015


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

John O'Hara commented on JBJCA-1305:
------------------------------------

I think that a configurable option would be a good idea, allowing users to determine how the semaphore should behave for different use cases.

> Performance degradation using fair semaphores in heavily contended workloads
> ----------------------------------------------------------------------------
>
>                 Key: JBJCA-1305
>                 URL: https://issues.jboss.org/browse/JBJCA-1305
>             Project: IronJacamar
>          Issue Type: Enhancement
>          Components: Core
>    Affects Versions: WildFly/IronJacamar 1.3.1.Final
>            Reporter: John O'Hara
>            Assignee: Jesper Pedersen
>
> Under heavy contention, a fair semaphore causes performance degradation for threads trying to acquire a permit from the semaphore.  Changing the semaphore to not fair alleviates the performance degradation under heavy contention.



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


More information about the jboss-jira mailing list