Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 58326 invoked from network); 26 Mar 2007 20:53:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 20:53:22 -0000 Received: (qmail 2602 invoked by uid 500); 26 Mar 2007 20:53:28 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 2574 invoked by uid 500); 26 Mar 2007 20:53:28 -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 2563 invoked by uid 99); 26 Mar 2007 20:53:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 13:53:28 -0700 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 212.27.42.35 is neither permitted nor denied by domain of elecharny@gmail.com) Received: from [212.27.42.35] (HELO smtp5-g19.free.fr) (212.27.42.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 13:53:19 -0700 Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by smtp5-g19.free.fr (Postfix) with ESMTP id 2872B8C28; Mon, 26 Mar 2007 22:52:58 +0200 (CEST) Message-ID: <460832A9.10806@gmail.com> Date: Mon, 26 Mar 2007 22:52:57 +0200 From: Emmanuel Lecharny User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Apache Directory Developers List CC: matt@hogstrom.org Subject: Benchmarks feedback Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have done some benchmarks on the powerfull server on which Matt was kind enough to give me an access (8 dual core CPUs, 11 131 mogomips, 20 Gb mem !). The results are pretty preliminary, and a little bit disappointing. Here are the tests I did : - 4 clients requesting the server; - each client doing 10 000 random requests for each run; - 12 runs for each client with a fixed number of thread; - a number of thread being 1, 2, 4, 5, 8, 10, 20 and 50. the best result I reached was around 1600 req/s, CPU peaked to 300 % (which means that no more than 3 cpus out of 16 where used), a maximum of 20% total CPU out of which 2,5% system. Not exactly brillant. I would have excpected that the CPU would have been more working more, so I guess something is wrong (contention, or not enough threads, or threads not being distributed enough, or simply not enough clients ). The last point (not enough client) should not be the reason : with only one client, I almost reached the same level of performance, and each new client added does not make a lot of difference (maybe 10% more requests being fulfilled ...) I don't think either that threads are not correctly distributed on the CPUs, because I tried with Sun JVM and Jrockit, and I get similar results, always above 250% (which means that threads are really distributed). However, I have no idea on how to know which CPU is a thread running on (any clue ?) So, contention. I did some other tests : 1) always requesting the same entry 2) requesting the rootDSE only Both tests should be running without any disk access (any idea on how to get some info about disk access, btw ?). Here are the results (same clients, same number of requests 1) same entry : around 4500 req/s, which is 3 times the number with random searches. CPU peaked to 400%, no more... 2) rootDSE : 11500 req/s. Same CPU peak. I have one more test to run, I want to setup a higher cache size, to see if it has some impact on the first scenario results. Ok, I will really appreciates any idea, any suggestion, any information whcih can help to find out why we are so limited. Thanks a lot for the server, Matt, this is really helpfull ! You will deserve a bunch of beers in may :) (let's say one beer for eacj thousand requests per second we can get :) Emmanuel