Return-Path: Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: (qmail 79444 invoked from network); 6 Oct 2010 10:22:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Oct 2010 10:22:40 -0000 Received: (qmail 52329 invoked by uid 500); 6 Oct 2010 10:22:38 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 52099 invoked by uid 500); 6 Oct 2010 10:22:36 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 52091 invoked by uid 99); 6 Oct 2010 10:22:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:22:35 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of semykov@yandex.ru designates 77.88.60.125 as permitted sender) Received: from [77.88.60.125] (HELO forward6.mail.yandex.net) (77.88.60.125) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Oct 2010 10:22:27 +0000 Received: from web94.yandex.ru (web94.yandex.ru [77.88.60.18]) by forward6.mail.yandex.net (Yandex) with ESMTP id DA9B8BB082D for ; Wed, 6 Oct 2010 14:22:06 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1286360526; bh=1lMpIMwEOLotis6K9TO+F6d9OmF4FyVILtkSsBM/GTg=; h=From:To:Subject:MIME-Version:Message-Id:Date: Content-Transfer-Encoding:Content-Type; b=hhEcW3/2Gnb88Se5VWzEBLtAywT54Hhlp6xwX4BiHGth3QwtkyuhNZbTdQYzSjdi0 UtS6tT7EeawsSO9+Cp1FTKDO9e2yVqlcb3n0DD+lSv73vYftS5uQWoG3VFRgLs3CbY rrPDEWXAxL7FFaEfwApvyFSKIWWEkjVgAzg2Tupg= Received: from localhost (localhost.localdomain [127.0.0.1]) by web94.yandex.ru (Yandex) with ESMTP id D0E2A19C0018 for ; Wed, 6 Oct 2010 14:22:06 +0400 (MSD) X-Yandex-Spam: 0 X-Yandex-Front: web94.yandex.ru X-Yandex-TimeMark: 1286360526 Received: from fortytwo.axmor.com (fortytwo.axmor.com [91.192.173.242]) by mail.yandex.ru with HTTP; Wed, 06 Oct 2010 14:22:06 +0400 From: Sergey To: java-user@lucene.apache.org Subject: How to find performance bottleneck MIME-Version: 1.0 Message-Id: <260661286360526@web94.yandex.ru> Date: Wed, 06 Oct 2010 14:22:06 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org When running application on Windows XP 32 bit machine the search time is 0.5 second. JVM is IBM Java 5 for 32 bit. But when running the same application on much more powerfull Windows Server 2007 64 bit machine the search time is 3 seconds. JVM is IBM Java 5 for 64 bit. It just does not make any sense to me. Could you help me to find what is causing such poor performance. Maybe there are some tools that I can use. I'm using MMapDirectory for IndexSearcher. Lucene version 3.0.1. Typical search is: (+keywords:cat* +keyword:cat~0.5) AND ((type:black AND catalogs:"57") OR (type:white AND bflag:n AND pflag:n )) I'm running absolutely the same searches on both machines. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org For additional commands, e-mail: java-user-help@lucene.apache.org