commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holger Hoffstätte (JIRA) <j...@apache.org>
Subject [jira] Commented: (POOL-93) Reduce contention by making borrow & return more independent from each other
Date Fri, 24 Nov 2006 16:18:03 GMT
    [ http://issues.apache.org/jira/browse/POOL-93?page=comments#action_12452492 ] 
            
Holger Hoffstätte commented on POOL-93:
---------------------------------------

One more note on the benchmarks: all this was done on a single-core P4 2.4GHz. Experiments
on a dual-core Opteron show that even with JDK6 not more than 120% CPU load was attained because
of the overall contention, most likely borrowObject().
My guess is that more expensive validate/return factory methods will give more concrete results
of increased throughput.


> Reduce contention by making borrow & return more independent from each other
> ----------------------------------------------------------------------------
>
>                 Key: POOL-93
>                 URL: http://issues.apache.org/jira/browse/POOL-93
>             Project: Commons Pool
>          Issue Type: Improvement
>    Affects Versions: Nightly Builds
>            Reporter: Holger Hoffstätte
>         Attachments: GKOP-relaxedSyncOnReturn.patch, relaxedReturnObjectBenchmark.txt
>
>
> Currently borrow & return are completely blocked from each other, while at least
the factory-based validation & destruction can be handled independently. A few simple
changes narrow the synchronization blocks yet retain overall correctness.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message