From mahout-user-return-1162-apmail-lucene-mahout-user-archive=lucene.apache.org@lucene.apache.org Wed Jul 29 13:07:34 2009 Return-Path: Delivered-To: apmail-lucene-mahout-user-archive@minotaur.apache.org Received: (qmail 41422 invoked from network); 29 Jul 2009 13:07:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 29 Jul 2009 13:07:34 -0000 Received: (qmail 19101 invoked by uid 500); 29 Jul 2009 13:07:34 -0000 Delivered-To: apmail-lucene-mahout-user-archive@lucene.apache.org Received: (qmail 19050 invoked by uid 500); 29 Jul 2009 13:07:34 -0000 Mailing-List: contact mahout-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-user@lucene.apache.org Delivered-To: mailing list mahout-user@lucene.apache.org Received: (qmail 19040 invoked by uid 99); 29 Jul 2009 13:07:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2009 13:07:34 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nfantone@gmail.com designates 209.85.210.183 as permitted sender) Received: from [209.85.210.183] (HELO mail-yx0-f183.google.com) (209.85.210.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jul 2009 13:07:25 +0000 Received: by yxe13 with SMTP id 13so1474234yxe.29 for ; Wed, 29 Jul 2009 06:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PffdfIMljXAW/CZur6f6aAcOfQLXRwokzoKVcpLPGgs=; b=QTWmVMkLtsxaMQDVx7eW2EpFD0cJj1ducKRocXTkDP1W/B1Gw2xQUgvmdRcJ3tWPzn 2KeSGJqpy8VHo9EI2X3qs1l9oHMx/O6JGyrDtOk7Bvzw35+IA8BbFW/YN6Z+Y+A4zfBu CxVmcXFLWG7HVRGbcDd/C/0RaUsV2Eub/tCiU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=E8xhu/aLc1uQKF7uTgDyuWGBNpmkuuH5wV3w8zYSnxUmvY5/+rETB13TUyooZppXIi QddPVJictA1EjFKlRiFDnDGPSHq0NcHsqbsG7L3Zyh0go3DtzRtaAEiOyWbD0wzOQ9aU nIKQj8lglVggFtCFbZxlbvwCEZqSgN7+2sEN0= MIME-Version: 1.0 Received: by 10.150.191.6 with SMTP id o6mr1528447ybf.77.1248872824302; Wed, 29 Jul 2009 06:07:04 -0700 (PDT) In-Reply-To: <37ffc8080907281519n4c6bec08o1241dd53cc6abdb8@mail.gmail.com> References: <37ffc8080907280716occ7251w67564d40da610dfe@mail.gmail.com> <37ffc8080907281519n4c6bec08o1241dd53cc6abdb8@mail.gmail.com> Date: Wed, 29 Jul 2009 10:07:04 -0300 Message-ID: <37ffc8080907290607j30214b1ehf1e770d7d75b626d@mail.gmail.com> Subject: Re: Distance calculation performance issue From: nfantone To: mahout-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Grant, I took a look at your patch. It seems as though you did something similar to what I did. However, I believe that there's still room for improvement as there are things being calculated unnecessarily for no apparent reason. Could you please read my previous post? At least the "excursus" bit. I may be totally wrong, though: some particular parts were a bit obscure to me. Perhaps you (or Shashikant) can throw some light in there? We might be able to release a bigger/better patch. >> =C2=A0I think your data set ran, for 10 iterations, in just over 2 minut= es >> and that was with the profiler hooked up, too. Um... I also did that and, while it was considerably faster than before, it took about ~2hs to complete (it used to take days, mind you), using a 4 node hadoop cluster. The actual vector clustering only, that is the final step, took just over an hour: Started at: Tue Jul 28 17:44:20 ART 2009 Finished at: Tue Jul 28 18:46:24 ART 2009 Finished in: 1hrs, 2mins, 4sec How exactly did you launch the job? What convergence delta did you choose? Hoy many clusters did you set up initially?