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 9081617ACE for ; Sat, 11 Apr 2015 00:53:13 +0000 (UTC) Received: (qmail 10643 invoked by uid 500); 11 Apr 2015 00:53:12 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 10545 invoked by uid 500); 11 Apr 2015 00:53:12 -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 10506 invoked by uid 99); 11 Apr 2015 00:53:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 00:53:12 +0000 Date: Sat, 11 Apr 2015 00:53:12 +0000 (UTC) From: "Andrew Purtell (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HBASE-4569) Simpler implementation for slab cache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-4569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Purtell resolved HBASE-4569. ----------------------------------- Resolution: Not A Problem SlabCache is gone post 0.98 > Simpler implementation for slab cache > ------------------------------------- > > Key: HBASE-4569 > URL: https://issues.apache.org/jira/browse/HBASE-4569 > Project: HBase > Issue Type: Improvement > Components: regionserver > Affects Versions: 0.92.0 > Reporter: Todd Lipcon > Attachments: hbase-4569.txt > > > I spent a little bit of time last night hacking on the slab cache implementation to make it a little simpler. The change is: > - no longer has the composition of SlabCache containing a SingleSizeCache per slab size. SlabCache holds its own slabs > - no longer use guava's map implementations to handle a size-bounded cache. Instead, manages its own LRU linked list > - significantly less clever about synchronization. since this is an L2 cache, it should be less contended than the L1 cache, and I think we can afford to be dumb. > - should have less memory usage since there's only one map entry per key instead of several. -- This message was sent by Atlassian JIRA (v6.3.4#6332)