Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 62A03EA10 for ; Wed, 6 Mar 2013 05:37:15 +0000 (UTC) Received: (qmail 48207 invoked by uid 500); 6 Mar 2013 05:37:14 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 48181 invoked by uid 500); 6 Mar 2013 05:37:14 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 48164 invoked by uid 99); 6 Mar 2013 05:37:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 05:37:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of suonayi2006@163.com designates 220.181.13.144 as permitted sender) Received: from [220.181.13.144] (HELO m13-144.163.com) (220.181.13.144) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Mar 2013 05:37:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Received:Date:From:To:Subject:Content-Type: MIME-Version:Message-ID; bh=9PvgyNle+8eUa32SFd2gLFb8KWKst2byqBUi XT2JASc=; b=WeHfo637RCDqTTB4f+X8Ohd8POE/oxF+Vq8BFP/vzDym03G1k6KM 3J1uaAh54wGs53c2lsUFP1qNUzFK7QT+X2+C4ahmAcEkvhRD/KcYDkD5EcjvcDHC NWZzqnfwmDeTfdpBNpiMvbLeBwBjxcPo9w/24Qgz6A8Bp3dsHg71DDw= Received: from suonayi2006$163.com ( [203.119.80.8] ) by ajax-webmail-wmsvr144 (Coremail) ; Wed, 6 Mar 2013 13:36:46 +0800 (CST) X-Originating-IP: [203.119.80.8] Date: Wed, 6 Mar 2013 13:36:46 +0800 (CST) From: SuoNayi To: Amq Subject: How to ensure LevelDB store uses a JNI driver X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20130201(21528.5249.5248) Copyright (c) 2002-2013 www.mailtech.cn 163com X-CM-CTRLDATA: 80xicmZvb3Rlcl9odG09MTY3ODo4MQ== Content-Type: multipart/alternative; boundary="----=_Part_467539_2104054382.1362548206022" MIME-Version: 1.0 Message-ID: <454695b1.1f35f.13d3e33a9c6.Coremail.suonayi2006@163.com> X-CM-TRANSID: kMGowEBpPULu1TZRpTcGAA--.1998W X-CM-SenderInfo: xvxr0td1lsiiqw6rljoofrz/1tbiFgrXGlEABmAjNgACsx X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_467539_2104054382.1362548206022 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Hi , Can we ensure LevelDB store uses a JNI driver or not via logging? I have deployed brokers on two CentOS servers, one server with LevelDB installation while the other without installation. After changing the logging level to DEBUG, I still can not find logs to indicate that a JNI driver or a pure java implement is used. On the same server my broker was deployed without LevelDB installation at first, I use a simple load producer to send massive messages to measure performance,after that I installed LevelDB and restarted the broker and the load producer. What make me confused is that the performance measure is very close. So I suspect if the JNI driver is used or not. If not used the java LevelDB will be used?Can I assume the JNI driver always performs better than the java driver? Thanks, SuoNayi -- Wangyin SuoNayi2006@163.com ------=_Part_467539_2104054382.1362548206022--