Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A662D686 for ; Thu, 17 Jan 2013 23:24:42 +0000 (UTC) Received: (qmail 54451 invoked by uid 500); 17 Jan 2013 23:24:40 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 54328 invoked by uid 500); 17 Jan 2013 23:24:40 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 54314 invoked by uid 99); 17 Jan 2013 23:24:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 23:24:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of varun@pinterest.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 23:24:35 +0000 Received: by mail-ie0-f173.google.com with SMTP id e13so5627301iej.32 for ; Thu, 17 Jan 2013 15:24:14 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=/YZwEOb5KvBeyR3VRT8sGbrF44excqa8VPnKHB9goJA=; b=HVVInwsdUIpkR2D3ivLchllr408nrRF2OS8P0wsn4xsIvqw9sRd6wbZAmoj5mgsWZD QOLjvGSPDbrWl1RKdwfgjQ/tcn3kx0yrKMqFj955iAKoLef8ohApdRH6LXHS8j6q5fcm bg/hEYbqwS7UHW0rx8caaj7zpoy++AgriE9zEZMN8uoVZMisYFn/kYFgvtJyemoFEZDR 6M/Q0eAk8t3dcf0Wr+VsmktEDLOA/mekuqyTRocJH7suLZHjKZKQgYb0CJPjQnSYLLz1 qQwEYfp4meNYcLCSC8wT+ZzqVmySBjF8zGWpb4/rkiUw7f2lfglAf/0hEkHo8aYAkl2f I5IA== MIME-Version: 1.0 X-Received: by 10.50.153.194 with SMTP id vi2mr511294igb.15.1358465054512; Thu, 17 Jan 2013 15:24:14 -0800 (PST) Received: by 10.231.233.4 with HTTP; Thu, 17 Jan 2013 15:24:14 -0800 (PST) In-Reply-To: <1358461899.37778.YahooMailNeo@web140603.mail.bf1.yahoo.com> References: <1358461899.37778.YahooMailNeo@web140603.mail.bf1.yahoo.com> Date: Thu, 17 Jan 2013 15:24:14 -0800 Message-ID: Subject: Re: Hbase heap size From: Varun Sharma To: user@hbase.apache.org, lars hofhansl Content-Type: multipart/alternative; boundary=e89a8f234ab10395e604d3844bf3 X-Gm-Message-State: ALoCoQn2gfckD6jMDi+ZncHfdeT545/8qyICOv9UPU+2P7KF0zl6/2tf7gCbXhCMJ2sm4zXB4DQj X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f234ab10395e604d3844bf3 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the info. I am looking for a balance where I have a write heavy work load and need excellent read latency. So 40 % to block cache for caching, 35 % to memstore. But I would like to also reduce the number of HFiles and amount of compaction activity. So, having few number of regions and much larger memstore flush size - like 640M. Could a large memstore flush be a problem in some sense ? Are updates blocked on memstore flush ? In my case, I would expect a 600M sized memstore to materialize into a 200-300M sized HFile. On Thu, Jan 17, 2013 at 2:31 PM, lars hofhansl wrote: > A good rule of thumb that I found is to give each region server a Java > help that is roughly 1/100th of the size of the disk space per region > server. > (that is assuming all the default setting: 10G regions, 128M memstores, > 40% of heap for memstores, 20% of heap for block cache, 3-way replication) > > > That is, if you give the region server a 10G heap, you can expect to be > able to serve about 1T worth of disk space. > > That can be tweaked of course (increase the region size to 20G, if your > load is mostly readonly you shrink the memstores, etc). > That way you can reduce that ratio to 1/200 or even less. > > > I'm sure other folks will have more detailed input. > > > -- Lars > > > > ________________________________ > From: Varun Sharma > To: user@hbase.apache.org > Sent: Thursday, January 17, 2013 1:15 PM > Subject: Hbase heap size > > Hi, > > I was wondering how much folks typical give to hbase and how much they > leave for the file system cache for the region server. I am using hbase > 0.94 and running only the region server and data node daemons. I have a > system with 15G ram. > > Thanks > --e89a8f234ab10395e604d3844bf3--