Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 82959 invoked from network); 31 Jul 2006 18:48:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Jul 2006 18:48:29 -0000 Received: (qmail 91192 invoked by uid 500); 31 Jul 2006 18:48:17 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 91164 invoked by uid 500); 31 Jul 2006 18:48:17 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 91135 invoked by uid 99); 31 Jul 2006 18:48:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 11:48:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Jul 2006 11:48:16 -0700 Received: from ajax.apache.org (localhost [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B15C2D4972 for ; Mon, 31 Jul 2006 19:47:55 +0100 (BST) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Mon, 31 Jul 2006 18:47:55 -0000 Message-ID: <20060731184755.748.48935@ajax.apache.org> Subject: [Db-derby Wiki] Update of "DerbyLruCacheManager" by GokulSoundararajan X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by GokulSoundararajan: http://wiki.apache.org/db-derby/DerbyLruCacheManager ------------------------------------------------------------------------------ 1. '''CLOCK-Pro: an effective improvement of the CLOCK replacement''' - Song Jiang, Feng Chen, and Xiaodong Zhang [http://www.cs.wm.edu/hpcs/WWW/HTML/publications/papers/TR-05-3.pdf Link] == Status/Updates == + + === July 31, 2006 === + + With some simple code changes, I modified the mirrored cache implementation to have almost no overhead (only 1% now). + I have posted the results of my Zipf workload that I execute through the {{{T_CacheService}}} unit test. I'm using an approximation to ClockPro which gives pretty good performance. It is comparable to my earlier results that I got from simulation. The ClockPro approximation is like 2Q but the LRU lists are replaced with Clock. This avoids the overhead of shifting items to the top of the stack. I'll post more details later. + + See the results of the mirrored cache implementation compared to the original Clock already in Derby. + + Graphs: + [http://www.eecg.toronto.edu/~gokul/soc/final-impl-results.png PNG] + [http://www.eecg.toronto.edu/~gokul/soc/final-impl-results.pdf PDF] + === July 21, 2006 ===