[ 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]