commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rico Neubauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JXPATH-178) Contention on functions can be reduced
Date Mon, 03 Aug 2015 07:17:05 GMT

    [ https://issues.apache.org/jira/browse/JXPATH-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14651537#comment-14651537
] 

Rico Neubauer commented on JXPATH-178:
--------------------------------------

Only can provide some high-level tests from our application, don't have a self-contained test
- see below.
Right, java.util.concurrent is not available on JXPath's current target, recognized this after
the patch. backport-util-concurrent could be an alternative.


{panel}
- original (no patch)

10000 processes - 7:09 min.
20000 processes - 15:36 min.
50000 processes - 45:01 min.

- patched version

10000 processes - 7:04 min
20000 processes - 14:46 min
50000 processes - 42:01 min
{panel}

> Contention on functions can be reduced
> --------------------------------------
>
>                 Key: JXPATH-178
>                 URL: https://issues.apache.org/jira/browse/JXPATH-178
>             Project: Commons JXPath
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Rico Neubauer
>            Priority: Minor
>              Labels: multithreaded
>
> Several series of thread dumps showed us that some avoidable synchronization in jxpath
causes plenty of blocked threads waiting on the sync block under heavy load.
> Using concurrent map makes the things better.
> See this for a proposed fix:
> https://github.com/seeburger-ag/commons-jxpath/commit/eeb7f30f761a6a89e03c2c1421c09968412659af.diff



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message