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 C095E11BEE for ; Sat, 21 Jun 2014 21:16:45 +0000 (UTC) Received: (qmail 45086 invoked by uid 500); 21 Jun 2014 21:16:45 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 45000 invoked by uid 500); 21 Jun 2014 21:16:45 -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 44987 invoked by uid 99); 21 Jun 2014 21:16:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jun 2014 21:16:44 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URIBL_DBL_REDIR X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrew.purtell@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Jun 2014 21:16:40 +0000 Received: by mail-oa0-f51.google.com with SMTP id j17so8773478oag.38 for ; Sat, 21 Jun 2014 14:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=N3Y0o6/Gu82UKn60rpgsEixCIWmJQaKEm67bF9OUdjU=; b=aj5uGMIvt4AAthwr81EWLJttnZjCY5ZUIK92TSLyPWmsS3oZHn2fM4+FjwXhIGRU5T VBkL31OMtSZ7zLghDUxPc6rx88G2a74zlBkgqYAd9atE8QHB3mDIVFszCvHAsaiNltCi OOyEASWhNWzKmYS2mOkSXzYg9YnyN+FaoceltntJuZtLaTHlB/UPq0eZItlcwN0z6sRy 4ljUKCMMp2ikm8UpSE686mDdbOA6b7IN52Td++unLuzC0/FIkpNMhJn/mQw7XZoAJ0Jv Y5oqU8kcku2NtLuyEB5ob2ShVZAZMBScI8rwZLsy6Ue/4bQDbC/OUDISUe0OK3um2wRs EXfw== X-Received: by 10.60.120.98 with SMTP id lb2mr12042281oeb.52.1403385380414; Sat, 21 Jun 2014 14:16:20 -0700 (PDT) MIME-Version: 1.0 Sender: andrew.purtell@gmail.com Received: by 10.202.189.4 with HTTP; Sat, 21 Jun 2014 14:15:40 -0700 (PDT) From: Andrew Purtell Date: Sat, 21 Jun 2014 14:15:40 -0700 X-Google-Sender-Auth: feij1t8157Q6deNxbuo7o8vB_Bc Message-ID: Subject: Regionserver CPU flame graphs collected from YCSB workloads To: "dev@hbase.apache.org" Content-Type: multipart/alternative; boundary=047d7b339dbd152abd04fc5f1f71 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b339dbd152abd04fc5f1f71 Content-Type: text/plain; charset=UTF-8 I was testing 0.98.4-SNAPSHOT with YCSB on a small testbed for HBASE-11297 and took a small detour to try out collection and processing of Brendan Gregg's Java flame graphs ( http://www.brendangregg.com/blog/2014-06-12/java-flame-graphs.html) They seemed to turn out well. I want to look at them more closely next week. For your viewing enjoyment. Traces were collected from the usual experiment, a 5 slave cluster with 5 concurrent YCSB clients generating a target aggregate load of 100,000 ops/second. Each RegionServer has 8 GB of heap and bucket cache enabled backed by 24 GB of off heap memory. The test table schema is all defaults except I turned on FAST_DIFF block encoding because I was also curious about its CPU usage profile (along with that of the bucket cache). One RegionServer was instrumented with Jeremy Manson's lightweight accurate Java profiler, with the kMaxStackTraces and kMaxFramesToCapture options in src/globals.h changed to 100000 and 128, respectively, out of pessimism and expectations for the running time of the experiment. Workload A: https://db.tt/oTqTmGIE Workload B: https://db.tt/jy3E5fh3 Workload C: https://db.tt/yFxgKROq Workload D: https://db.tt/36Ux659r Workload E: https://db.tt/Or2UuTKi Workload F: https://db.tt/4Wud5il4 For more information on flame graphs and how to read them, see http://www.slideshare.net/brendangregg/blazing-performance-with-flame-graphs -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White) --047d7b339dbd152abd04fc5f1f71--