Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D788AD312 for ; Tue, 14 May 2013 16:46:33 +0000 (UTC) Received: (qmail 52610 invoked by uid 500); 14 May 2013 16:46:33 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 52546 invoked by uid 500); 14 May 2013 16:46:33 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 52533 invoked by uid 99); 14 May 2013 16:46:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 16:46:32 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.215.177 as permitted sender) Received: from [209.85.215.177] (HELO mail-ea0-f177.google.com) (209.85.215.177) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 16:46:27 +0000 Received: by mail-ea0-f177.google.com with SMTP id q14so330434eaj.22 for ; Tue, 14 May 2013 09:46:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=N5cUj+ShhVCdzHXHl43cXdhhzCgJBHS3e+H0/QTxl3U=; b=iOo9iWZ1Tpo5JAKGEbDf1c0oeI7eagJfyLjDmWtBOwyMX9nIus413pQ0kJSqGvQ+xW qL3da6mqwXK126bBlT4oIxdME+1J5OUac3cBz1CutJxAM2ewVqcNTjLZvXmRiDrKcwBp 9MKu2J6HIbJa9v2FSqrEu3d5ESIE4PBwAyT0j8ZwBBuUde3E92cYD3rz03eC4pLUx+HE TFDAqMfIcsXjVs3uI+m5lO04EKYLLYVK7WzVBLbVm4F44mCiyAv6OFF+U/61v/xfQzS3 JdxSnEbwnRjpIBgu+2WIrpZA0ld/P8GexfMC69+qlnqUCW5YgpALO+itW+UpJ4TQlFQk 1CaQ== X-Received: by 10.14.216.201 with SMTP id g49mr62843739eep.42.1368549966517; Tue, 14 May 2013 09:46:06 -0700 (PDT) Received: from Emmanuels-MacBook-Pro.local (ran75-1-78-192-106-184.fbxo.proxad.net. [78.192.106.184]) by mx.google.com with ESMTPSA id c42sm10163990eeb.10.2013.05.14.09.46.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 May 2013 09:46:05 -0700 (PDT) Message-ID: <51926A4D.9080900@gmail.com> Date: Tue, 14 May 2013 18:46:05 +0200 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: comparison of performance between JDBM and Mavibot References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 5/14/13 3:22 PM, Kiran Ayyagari a écrit : > Hi guys, Hi Kiran, > > Below given are some results of performance tests ran with jdbm and > Mavibot > > The specs of the test system are: > > OS: Ubuntu Linux, 32 bit > RAM: 4GB > CPU: Intel core2 duo 1.4GHz > HDD: SAMSUNG SSD Thin uSATA 128GB M > FS type: ext4 > Java: 1.6.0_26 (HotSpot) > > all tests were ran with default JVM parameters > > SearchPerfIT - > SUB level - Delta : 26530( 37690 per s ) /42680, count : 1500000 > OBJECT level - Delta : 25253( 39599 per s ) /38524, count : > 1500000 > ONE level - Delta : 14642( 34145 per s ) /22352, count : 750000 > > SearchPerfIT(mavibot) - > SUB level - Delta : 13079( 76450 per s ) /22880, count : 1500000 > OBJECT level - Delta : 21506( 46498 per s ) /32397, count : > 1500000 > ONE level - Delta : 7916( 63160 per s ) /12214, count : 750000 > > GetRootDsePerfIT - Delta getRootDSE: 6115( 163532 per s ) /9513 > GetRootDsePerfIT(mavibot) - Delta getRootDSE: 6087( 164284 per s ) /9594 > > hasEntryPerfIT - Delta hasEntry: 1574( 63532 per s ) /3254 > hasEntryPerfIT(mavibot) - Delta hasEntry: 1274( 78492 per s ) /2500 > > LookupPerfIT - > Delta rootDSE all attrs : 9687( 103231 per s ) /15412 > Delta all user attrs: 13254( 75448 per s ) /20512 > Delta all attrs: 13460( 74294 per s ) /20289 > Delta Authz : 12157( 82257 per s ) /18712 > Delta rootDSE all user attrs : 9855( 101471 per s ) /14835 > > LookupPerfIT(mavibot) - > Delta rootDSE all attrs : 9500( 105263 per s ) /15177 > Delta all user attrs: 9708( 103007 per s ) /14839 > Delta all attrs: 9639( 103745 per s ) /14550 > Delta Authz : 8863( 112828 per s ) /13517 > Delta rootDSE all user attrs : 9695( 103145 per s ) /14575 > > AddPerfIT - Delta : 1802698( 5 per s ) /2667678 > AddPerfIT (mavibot) - Delta : 54907( 182 per s ) /90782 > > ComparePerfIT - Delta compare: 1921( 52056 per s ) /5062 > ComparePerfIT(mavibot) - Delta compare: 1868( 53533 per s ) /4275 > > DeletePerfIT - Delta deletion: 2294007( 4 per s ) /3485085 > DeletePerfIT(mavibot) - Delta deletion: 72569( 137 per s ) /113611 > > This is impressive ! I'm a bit surprie by the extremely low performance on write. On my computer (MacBook pro, 8Gb, SSD 256Gb, Core2Duo 2.8 Ghz) I can add up to 80 entries per second. If I do the math correctly, I woud get more than 2500 additions per second on my cmputer :-) Ok, we know that Mavibot is really young, and that we still have to reclaim the free pages, which will add some strain on the CPU (but not that much). Currently, the file will grow insanely, as we keep all the versions until we restart the server, something we simply can't let run in production. Anyway, this is just a great result, very promising for the near future ! Also the good point is that Mavibot allows concurrent reads with write - but not concurrent writes - when the current implementatin (using JDBM) serializes every read when a wite is running : a real contention. Many thanks for the hard work, Kiran ! -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com