Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 60220 invoked from network); 9 Apr 2010 14:17:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 9 Apr 2010 14:17:41 -0000 Received: (qmail 57282 invoked by uid 500); 9 Apr 2010 14:17:40 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 57214 invoked by uid 500); 9 Apr 2010 14:17:40 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 57207 invoked by uid 99); 9 Apr 2010 14:17:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 14:17:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ronchalant@gmail.com designates 209.85.221.181 as permitted sender) Received: from [209.85.221.181] (HELO mail-qy0-f181.google.com) (209.85.221.181) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Apr 2010 14:17:31 +0000 Received: by qyk11 with SMTP id 11so2645479qyk.13 for ; Fri, 09 Apr 2010 07:17:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=vfzh9r9tWxwc1Ovn/di8c/7Ku9967dtjcXjT+mimIQI=; b=hh2ULJEOHY1hd4k3IBKwFi8yWRPb4BSaSXwpqgwX1PKpqPKq4HYhHGI2g6RQ7M4F+w 8hm8pCLCnkX93kHWyT+J29xHldakvEp/ReSyPkeBT4CTdMfKR8RnTl2EOMhd7+wGhiIx rxG7Out6mfAsdf+xK5nCyeeHLF/YlFQ45hqiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=F9KJBE032HuS4CE94eIJSJDw/ItuAX11MJSyoX4CBLuesmrtIdtnw8ECPoO9WLu8Pr 0lr4Fz+Nnj0DMswbmDXCHoGL6QP3LNsqb9YStbTvgOkiq5FzfHBbcKM8JKAEApdpT8Du x8Sc2tVIjSZct8Z3/io2ahPgFzOOjQy4AEZ9g= Received: by 10.224.35.216 with SMTP id q24mr51321qad.79.1270822630448; Fri, 09 Apr 2010 07:17:10 -0700 (PDT) Received: from lodi-dodi-3.home (pool-96-227-75-103.phlapa.fios.verizon.net [96.227.75.103]) by mx.google.com with ESMTPS id 6sm2989207qwk.51.2010.04.09.07.17.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Apr 2010 07:17:09 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Re: Derby 10.3 Performance From: Ronald Rudy In-Reply-To: <4BBF32DF.5040706@Sun.COM> Date: Fri, 9 Apr 2010 10:17:06 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4BBF32DF.5040706@Sun.COM> To: "Derby Discussion" X-Mailer: Apple Mail (2.1078) X-Virus-Checked: Checked by ClamAV on apache.org Memory is also a big consideration..=20 We've taken to running Derby using the network connector in a separate = JVM entirely running as a daemon/service, which gives a number of = benefits including exclusive rights to memory and the ability to connect = to the database on a test or live system and run queries.. -Ron On Apr 9, 2010, at 9:59:59 AM, Kristian Waagan wrote: > On 09.04.2010 10:39, Rajesh Datla wrote: >> Hi All, >> I like to know the performance utilization of = multi-processors on a machine by Derby 10.3. Does Derby 10.3 utilize all = CPU's on 8 CPU machine?. >>=20 >=20 > Hi Rajesh, >=20 > I cannot give you any hard numbers for 10.3, but I have some general = comments. Hopefully someone else can pitch in with more details. >=20 > First, a fair bit of performance / scalability work has been done = since 10.3. The community is in the process of preparing for the 10.6 = release [1]. I would strongly suggest you use a newer release if = possible. >=20 > Further, how much of the CPU Derby can utilize depends heavliy on the = load, with factors such as: > - number of concurrent connections / queries > - data contention > - access pattern > - IO subsystem (plus read/write ratio and page cache tuning ) >=20 > The Derby engine is multi-threaded and should be able to use the = available CPUs when / if required. To find out the utilization rate you = have to run a test with your app / load. > Note that a single query will only use a single CPU / core. >=20 > I have run an industry standard benchmark on a 32-core machine, and = Derby is able to utilize the CPUs fairly well with that specific load = and configuration (75+%). > I have also seen syntetic benchmarks utilizing around 99% of the CPU = (all data in memory, read only, no data contention), but I doubt you'll = manage that in a real-world app :) > And finally, Derby has to use the CPUs for something useful as well - = I'd recommend a load test to see if Derby fulfills your requirements = (then you can come back to the list and ask questions if you see = unexpected results). >=20 >=20 > Regards, > --=20 > Kristian >=20 > [1] http://wiki.apache.org/db-derby/DerbyTenSixOneRelease >=20 >> Regards >> Raj=20 >=20 >=20