Return-Path: X-Original-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-hama-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B15C7ECE for ; Fri, 23 Sep 2011 00:19:59 +0000 (UTC) Received: (qmail 71243 invoked by uid 500); 23 Sep 2011 00:19:59 -0000 Delivered-To: apmail-incubator-hama-dev-archive@incubator.apache.org Received: (qmail 71205 invoked by uid 500); 23 Sep 2011 00:19:58 -0000 Mailing-List: contact hama-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hama-dev@incubator.apache.org Delivered-To: mailing list hama-dev@incubator.apache.org Received: (qmail 71196 invoked by uid 99); 23 Sep 2011 00:19:58 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 00:19:58 +0000 Received: from localhost (HELO mail-qy0-f175.google.com) (127.0.0.1) (smtp-auth username edwardyoon, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Sep 2011 00:19:58 +0000 Received: by qyk10 with SMTP id 10so18395133qyk.6 for ; Thu, 22 Sep 2011 17:19:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.224.212.1 with SMTP id gq1mr2062582qab.277.1316737197542; Thu, 22 Sep 2011 17:19:57 -0700 (PDT) Received: by 10.229.245.85 with HTTP; Thu, 22 Sep 2011 17:19:57 -0700 (PDT) In-Reply-To: References: Date: Fri, 23 Sep 2011 09:19:57 +0900 Message-ID: Subject: Re: Awesome bench results after removing Thread.sleep in sync() method. From: "Edward J. Yoon" To: hama-dev@incubator.apache.org Content-Type: text/plain; charset=UTF-8 Tested many times debug mode vs. non-debug mode. There is only a small difference: 170 ~ 180 secs vs. 210 ~ 220 secs. ---- 11/09/23 09:15:52 INFO bsp.BSPJobClient: Current supersteps number: 493 11/09/23 09:15:55 INFO bsp.BSPJobClient: Current supersteps number: 504 11/09/23 09:15:58 INFO bsp.BSPJobClient: Current supersteps number: 506 11/09/23 09:16:01 INFO bsp.BSPJobClient: Current supersteps number: 512 11/09/23 09:16:01 INFO bsp.BSPJobClient: The total number of supersteps: 512 Job Finished in 214.089 seconds On Thu, Sep 22, 2011 at 8:58 PM, Thomas Jungblut wrote: > Scripted a fix version: > > http://pastebin.com/WbWWxd2R > > You can test this as well if you like. > > 2011/9/22 Thomas Jungblut > >> And I think we should change this benchmark from random to a stable >> implementation. >> So we should communicate with all of the other peers, not just a random >> peername. >> Then we can precompute (or cache) the tag message and we save the string >> concat operations. We can put them into a directly allocated ByteBuffer as >> well, this will save the serialization. >> But then we cannot compare the results with the versions before. >> >> Additional to the log level change, we can receive a superior performance >> improvement ;) >> >> >> 2011/9/22 Edward J. Yoon >> >>> Haha, obviously it can't be ignored. >>> >>> Unfortunately, I can't access my test machines now. I'll check tomorrow. >>> >>> On Thu, Sep 22, 2011 at 5:05 PM, Thomas Jungblut >>> wrote: >>> > You're going to laugh, but we spend 80% of the time, logging the >>> messages. >>> > Let's change the log level to debug or remove the logging in the bench >>> > example. >>> > >>> > Sadly I still receive >>> > >>> > org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode = >>> >> NoNode for /bsp/job_201109220959_0001/224/ready >>> >> >>> > >>> > and it hangs forever. Current version is after you committed ChiaHung's >>> > patch. >>> > I'm in pseudo-distributed mode with 3 tasks. >>> > >>> > Are you going to bench this without the logging? That would be >>> interesting >>> > though ;D >>> > >>> > 2011/9/22 Thomas Jungblut >>> > >>> >> That is great. I think we can push this under 200s. >>> >> I attach a profiler and send you a list of hotspots. >>> >> >>> >> lg. >>> >> >>> >> 2011/9/22 Edward J. Yoon >>> >> >>> >> By ChiaHung's HAMA-387.patch, hang problem is fixed. >>> >>> >>> >>> And also, on same environment (1 rack, 256 cores), a bench example >>> >>> result is dramatically improved. (184.076 seconds from 307.129 >>> >>> seconds) >>> >>> >>> >>> ---- >>> >>> # core/bin/hama jar >>> >>> examples/target/hama-examples-0.4.0-incubating-SNAPSHOT.jar bench 16 >>> >>> 1000 512 >>> >>> .. >>> >>> 11/09/22 10:27:32 INFO bsp.BSPJobClient: Current supersteps number: >>> 504 >>> >>> 11/09/22 10:27:35 INFO bsp.BSPJobClient: Current supersteps number: >>> 508 >>> >>> 11/09/22 10:27:38 INFO bsp.BSPJobClient: Current supersteps number: >>> 512 >>> >>> 11/09/22 10:27:38 INFO bsp.BSPJobClient: The total number of >>> supersteps: >>> >>> 512 >>> >>> Job Finished in 184.076 seconds >>> >>> >>> >>> Hama 0.4 (r.1163903) was: >>> >>> >>> >>> 16 bytes | 1000 | 512 | 307.129 seconds >>> >>> >>> >>> -- >>> >>> Best Regards, Edward J. Yoon >>> >>> @eddieyoon >>> >>> >>> >> >>> >> >>> >> >>> >> -- >>> >> Thomas Jungblut >>> >> Berlin >>> >> >>> >> mobile: 0170-3081070 >>> >> >>> >> business: thomas.jungblut@testberichte.de >>> >> private: thomas.jungblut@gmail.com >>> >> >>> > >>> > >>> > >>> > -- >>> > Thomas Jungblut >>> > Berlin >>> > >>> > mobile: 0170-3081070 >>> > >>> > business: thomas.jungblut@testberichte.de >>> > private: thomas.jungblut@gmail.com >>> > >>> >>> >>> >>> -- >>> Best Regards, Edward J. Yoon >>> @eddieyoon >>> >> >> >> >> -- >> Thomas Jungblut >> Berlin >> >> mobile: 0170-3081070 >> >> business: thomas.jungblut@testberichte.de >> private: thomas.jungblut@gmail.com >> > > > > -- > Thomas Jungblut > Berlin > > mobile: 0170-3081070 > > business: thomas.jungblut@testberichte.de > private: thomas.jungblut@gmail.com > -- Best Regards, Edward J. Yoon @eddieyoon