Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E7D6C9A6A for ; Wed, 22 May 2013 01:09:35 +0000 (UTC) Received: (qmail 56161 invoked by uid 500); 22 May 2013 01:09:35 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 56086 invoked by uid 500); 22 May 2013 01:09:35 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 56077 invoked by uid 99); 22 May 2013 01:09:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 01:09:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [72.30.239.12] (HELO nm31-vm4.bullet.mail.bf1.yahoo.com) (72.30.239.12) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 May 2013 01:09:27 +0000 Received: from [98.139.215.142] by nm31.bullet.mail.bf1.yahoo.com with NNFMP; 22 May 2013 01:09:05 -0000 Received: from [98.139.212.242] by tm13.bullet.mail.bf1.yahoo.com with NNFMP; 22 May 2013 01:09:05 -0000 Received: from [127.0.0.1] by omp1051.mail.bf1.yahoo.com with NNFMP; 22 May 2013 01:09:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 536287.34799.bm@omp1051.mail.bf1.yahoo.com Received: (qmail 24349 invoked by uid 60001); 22 May 2013 01:09:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369184945; bh=8YeFbQcQM3OGWNWoRDInEljIA8lzQBNmCE1LTSmJhyg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=HPdLgvpFA15QMYx21ajB5VE5OkY9H1N7GmWNdgv0fmpnxbk73fi+K0hRr8OL3ExJrq0GVnfmVwLY/3ydZ/joEyq7lTIJcyy/lDqtfpYCYQhhHIFYzu5rTQ9krMVi2Ott+ZOh60CqXFlYgrgn/cq7z2HJEWL8QvdzArXFxTnJHag= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-RocketYMMF:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=GN6+D9BgUh5PLuRHhy2C9kpqqYhDgPTIwrDjz70c12RqFNXFxNbEx0EyVyJWp3KFlmdl4fFP37i3swbaM5EfBm/OSK9N3H4kodvpRFw6kaXXpNeF2M/2x91DpwoCRjF5Rb+Xo3VF13rShyJ9Oxil6DfbruR5RWa67fFJXfEqOVo=; X-YMail-OSG: BJDAJQ4VM1mWDxdsdLeTz13buT6TQlOHvWcMM26MioI2Mef D4mgBxjtLlxxUh8jd0Vr4.7z5ev2IRL4w1Yv7If4BtG__1DR99Zv3lGdcDlf m3pHlxM8lhfZRc51M5cPAzK6Vnx43v_5eCJiZIY3wV4Qosilj.nEuWrkdGG_ 7thtzLIdx8v7d_WxFuDW5FllpCGTCM2QAFFXCux.BftBdLRdACbfThEW.wl0 k2RG2ogAw7Fs78CAu6K0GAS390sydTr.9oKhaUPrB6qn1NQwM59JqZREl06S 3mJqS6SEyOIUtpkCVwdg9E0FzBhlBxBr3knbnZPvGZ1P7vQa1JKej_._bhAu 1zZ4k6uIfEVyrZijoWC2LHjKmLOqP8a3eDSLadwn4098i6JQv8QMDYSVGn6S YONwZ5Ogemh3ava1E4Fax4oWBY1dfKn1l993SNaFwWqZIwheAHGoe_3HAa0B lynFVk7Dnew2f6paFp7M.ncSJTJKHr75vwmCwjrICQLjmjo8xHNAFrc05EIA gwLydDaqZkl956o2Dgz9YhYAqFN5nDhjFXDnlUSeiFu3kHWql7oxiXnssZ_6 YHOPoZxvBFvUO_lDXkPLslBHmmy4LAc.YdzU.fOuNrlG2Q0ivsnS0SXK.FXO JE9gnzpRQG8gBvjWxBLLeEaV6K1xvy_YbPynIB.u2kiZCYXwHBHQfTEGHqDv 86NlTunPjo1L2iRz0R_b5ybaftJDeJzEzY9Zv Received: from [204.14.239.221] by web140603.mail.bf1.yahoo.com via HTTP; Tue, 21 May 2013 18:08:44 PDT X-Rocket-MIMEInfo: 002.001,SSBqdXN0IGRpZCBhIHNpbWlsYXIgdGVzdCB1c2luZyBQRSBvbiBhIHRlc3QgY2x1c3RlciAoMTYgRE5zL1JTcywgMTU4IG1hcHBlcnMpLgpJIHNldCBpdCB1cCBzdWNoIHRoYXQgdGhlIGRhdGEgZG9lcyBub3QgZml0IGludG8gdGhlIGFnZ3JlZ2F0ZSBibG9jayBjYWNoZSwgYnV0IGRvZXMgZml0IGludG8gdGhlIGFnZ3JlZ2F0ZSBPUyBidWZmZXIgY2FjaGUsIGluIG15IGNhc2UgdGhhdCB0dXJuZWQgb3V0IHRvIGJlIDEwMG0gMWsgcm93cy4KTm93IEkgcmFuIHRoZSBTZXF1ZW50aWFsUmVhZCBhbmQgUmFuZG8BMAEBAQE- X-RocketYMMF: lhofhansl X-Mailer: YahooMailWebService/0.8.142.542 References: Message-ID: <1369184924.94581.YahooMailNeo@web140603.mail.bf1.yahoo.com> Date: Tue, 21 May 2013 18:08:44 -0700 (PDT) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: Unscientific comparison of fully-cached zipfian reading To: "dev@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-1172831624-468683047-1369184924=:94581" X-Virus-Checked: Checked by ClamAV on apache.org ---1172831624-468683047-1369184924=:94581 Content-Type: text/plain; charset=us-ascii I just did a similar test using PE on a test cluster (16 DNs/RSs, 158 mappers). I set it up such that the data does not fit into the aggregate block cache, but does fit into the aggregate OS buffer cache, in my case that turned out to be 100m 1k rows. Now I ran the SequentialRead and RandomRead tests. In both cases I see no disk activity (since the data fits into the OS cache). The SequentialRead run finishes in about 7mins, whereas the RandomRead run takes over 34mins. This is with CDH4.2.1 and HBase 0.94.7 compiled against it and with SCR enabled. The only difference is that in the SequentialRead case it is likely that the next Get can still use the previously cached block, whereas in the RandomRead read almost every Get need to fetch a block from the OS cache (as verified by the cache miss rate, which is roughly the same as the request count per RegionServer). Except for enabling SCR all other settings are close to the defaults. I see 2000-4000 req/s/regionserver and the same number of cache missed per second and RegionServer in the RandomRead, meaning each RegionServer brought in about 125-200mb/s from the OS cache, which seems a tad low. So this would imply that reading from the OS cache is almost 5x slower than reading from the block cache. It would be interesting to explore the discrepancy. -- Lars ________________________________ From: Jean-Daniel Cryans To: "dev@hbase.apache.org" Sent: Wednesday, April 24, 2013 6:01 PM Subject: Unscientific comparison of fully-cached zipfian reading Hey guys, I did a little benchmarking to see what kind of numbers we get from the block cache and the OS cache. Please see: https://docs.google.com/spreadsheet/pub?key=0Ao87IrzZJSaydENaem5USWg4TlRKcHl0dEtTS2NBOUE&output=html Hopefully it gives you some ballpark numbers for further discussion. J-D ---1172831624-468683047-1369184924=:94581--