[
https://issues.jboss.org/browse/JBJCA-1305?page=com.atlassian.jira.plugin...
]
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)