Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 34968 invoked from network); 2 Mar 2004 08:24:54 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Mar 2004 08:24:54 -0000 Received: (qmail 69132 invoked by uid 500); 2 Mar 2004 08:24:27 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 68950 invoked by uid 500); 2 Mar 2004 08:24:26 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 68932 invoked from network); 2 Mar 2004 08:24:26 -0000 Received: from unknown (HELO smtp.web.de) (217.72.192.208) by daedalus.apache.org with SMTP; 2 Mar 2004 08:24:26 -0000 Received: from [217.82.126.28] (helo=vaio) by smtp.web.de with smtp (WEB.DE 4.99 #605) id 1Ay5Cf-0005HP-00 for dev@cocoon.apache.org; Tue, 02 Mar 2004 09:24:38 +0100 Reply-To: From: "Marco Rolappe" To: Subject: AW: JCS Based Cache Date: Tue, 2 Mar 2004 09:23:37 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Sender: m_rolappe@web.de X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N hi corin, > -----Urspr�ngliche Nachricht----- > Von: dev-return-56510-m_rolappe=web.de@cocoon.apache.org > [mailto:dev-return-56510-m_rolappe=web.de@cocoon.apache.org]Im Auftrag > von Corin Moss > Gesendet: Dienstag, 2. M�rz 2004 08:59 > An: dev@cocoon.apache.org > Betreff: RE: JCS Based Cache > > > > You have a good point there - I'm simply going to have to replace > the DefaultPersistentStore at my end (for testing only of course ;) > > One thing that has occurred to me whilst hammering the JISP based > store, and looking at the code in a bit more depth, is that all > of the perceived problems come as a result of the incredibly high > iowait generated whilst accessing the store (mostly while writing > I think.) I notice that the AbstractReadWriteStore within the > Excalibur components uses FIFOReadWriteLock as the lock - has > anyone got much experience with this? If there's a bug in there, > it's possible that it's not relinquishing locks properly - which > would most likely manifest in very high iowait (I theorise ;) I > know that there are known issues with our version of JISP, but > I'd like to be reassured first-hand that the read/write lock > implementation we're currently using is totally robust. I think the slow part was more due to JISP serializing out the index (slooow) on each writing access (remove, store, etc.). unrelinquished locks would probably have manifested themselves in other ways (e.g. complete lockup), but I might be wrong