[JBoss JIRA] Created: (JGRP-457) Optimization: make threads return immediately if NAKACK has another active thread for the same sender
by Bela Ban (JIRA)
Optimization: make threads return immediately if NAKACK has another active thread for the same sender
-----------------------------------------------------------------------------------------------------
Key: JGRP-457
URL: http://jira.jboss.com/jira/browse/JGRP-457
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.5
In NAKACK, when a thread places a message for sender S into the NakReceiverWindow NRW, it subsequently acquires a lock on NRW (lock by sender) and removes as many messages as possible and passes them up.
If many threads do this at the same time, all threads but one are blocked, and - when finally unblocked - usually return. This causes context switches and possibly cache flushing, so a better way would be to have the threads check whether another thread is already removing messages using a CAS operation *before* acquiring the lock.
The effect should be that no threads will wait on the lock unnecessarily, and thus fewer context switches, and more threads available to the pool.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
2 days, 18 hours
[JBoss JIRA] (WFCORE-2895) Save memory in dynamic RuntimeCapability ServiceName creation
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2895?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2895:
-------------------------------------
Description:
RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
Also RuntimeCapability should not create a ServiceName even if the cap has no serviceValueType.
was:
RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
As a side task look into why we create a ServiceName even if the cap has no serviceValueType.
> Save memory in dynamic RuntimeCapability ServiceName creation
> -------------------------------------------------------------
>
> Key: WFCORE-2895
> URL: https://issues.jboss.org/browse/WFCORE-2895
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
> Also RuntimeCapability should not create a ServiceName even if the cap has no serviceValueType.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 4 months
[JBoss JIRA] (WFCORE-2895) Save memory in dynamic RuntimeCapability ServiceName creation
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2895?page=com.atlassian.jira.plugi... ]
Brian Stansberry updated WFCORE-2895:
-------------------------------------
Priority: Major (was: Minor)
> Save memory in dynamic RuntimeCapability ServiceName creation
> -------------------------------------------------------------
>
> Key: WFCORE-2895
> URL: https://issues.jboss.org/browse/WFCORE-2895
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
>
> RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
> As a side task look into why we create a ServiceName even if the cap has no serviceValueType.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 4 months
[JBoss JIRA] (WFCORE-2895) Save memory in dynamic RuntimeCapability ServiceName creation
by Brian Stansberry (JIRA)
[ https://issues.jboss.org/browse/WFCORE-2895?page=com.atlassian.jira.plugi... ]
Brian Stansberry reassigned WFCORE-2895:
----------------------------------------
Assignee: Brian Stansberry
> Save memory in dynamic RuntimeCapability ServiceName creation
> -------------------------------------------------------------
>
> Key: WFCORE-2895
> URL: https://issues.jboss.org/browse/WFCORE-2895
> Project: WildFly Core
> Issue Type: Enhancement
> Components: Domain Management
> Reporter: Brian Stansberry
> Assignee: Brian Stansberry
> Priority: Minor
>
> RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
> As a side task look into why we create a ServiceName even if the cap has no serviceValueType.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 4 months
[JBoss JIRA] (WFCORE-2895) Save memory in dynamic RuntimeCapability ServiceName creation
by Brian Stansberry (JIRA)
Brian Stansberry created WFCORE-2895:
----------------------------------------
Summary: Save memory in dynamic RuntimeCapability ServiceName creation
Key: WFCORE-2895
URL: https://issues.jboss.org/browse/WFCORE-2895
Project: WildFly Core
Issue Type: Enhancement
Components: Domain Management
Reporter: Brian Stansberry
Priority: Minor
RuntimeCapability.fromBaseCapability results in a new RuntimeCapability that creates it's ServiceName by parsing the base capability's string name instead of using its existing ServiceName. This wastes memory since the strings end up being duplicated.
As a side task look into why we create a ServiceName even if the cap has no serviceValueType.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 4 months
[JBoss JIRA] (WFLY-8867) Legacy protocol property resource operations do not work for legacy protocols
by Jason Greene (JIRA)
[ https://issues.jboss.org/browse/WFLY-8867?page=com.atlassian.jira.plugin.... ]
Jason Greene commented on WFLY-8867:
------------------------------------
Yes the management model is supposed to retain compatibility. The exception is a major release, and in that case it's ok if we have a migration operation. In the case of elytron we have addressed compatibility by preserving the old and new subsystems.
> Legacy protocol property resource operations do not work for legacy protocols
> -----------------------------------------------------------------------------
>
> Key: WFLY-8867
> URL: https://issues.jboss.org/browse/WFLY-8867
> Project: WildFly
> Issue Type: Bug
> Components: Clustering
> Affects Versions: 11.0.0.Alpha1
> Reporter: Paul Ferraro
> Assignee: Paul Ferraro
> Priority: Blocker
>
> QE Cc [~mnovak], [~okalman], [~mstyk], [~pkremens]
> Cc [~kabirkhan], [~jason.greene]
> See steps to reproduce. The question is, to what degree should CLI commands be backward compatible with 7.0? XML configurations pasted from 7.0 are OK in this case.
> I previously thought these changes were OK (once documented in migration guide), but after discussion with the rest of the QE team, the most common opinion is that CLI commands should be 100% backward compatible with 7.0, which is not the case here.
> [~bilge] since this is not stated anywhere I know, can you confirm that CLI commands in 7.1 need to be backward compatible with 7.0?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 4 months