Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 72026 invoked from network); 24 Nov 2006 16:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2006 16:18:26 -0000 Received: (qmail 95253 invoked by uid 500); 24 Nov 2006 16:18:34 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 95180 invoked by uid 500); 24 Nov 2006 16:18:33 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 95169 invoked by uid 99); 24 Nov 2006 16:18:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 08:18:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 08:18:23 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8C0B67142C3 for ; Fri, 24 Nov 2006 08:18:03 -0800 (PST) Message-ID: <5965588.1164385083571.JavaMail.jira@brutus> Date: Fri, 24 Nov 2006 08:18:03 -0800 (PST) From: =?utf-8?Q?Holger_Hoffst=C3=A4tte_=28JIRA=29?= To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (POOL-93) Reduce contention by making borrow & return more independent from each other In-Reply-To: <3816516.1164381842025.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://issues.apache.org/jira/browse/POOL-93?page=3Dcomments#action_1= 2452492 ]=20 =20 Holger Hoffst=C3=A4tte commented on POOL-93: --------------------------------------- One more note on the benchmarks: all this was done on a single-core P4 2.4G= Hz. Experiments on a dual-core Opteron show that even with JDK6 not more th= an 120% CPU load was attained because of the overall contention, most likel= y borrowObject(). My guess is that more expensive validate/return factory methods will give m= ore concrete results of increased throughput. > Reduce contention by making borrow & return more independent from each ot= her > -------------------------------------------------------------------------= --- > > 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=C3=A4tte > Attachments: GKOP-relaxedSyncOnReturn.patch, relaxedReturnObjectB= enchmark.txt > > > Currently borrow & return are completely blocked from each other, while a= t least the factory-based validation & destruction can be handled independe= ntly. A few simple changes narrow the synchronization blocks yet retain ove= rall correctness. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://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