Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 81D62200B8F for ; Thu, 15 Sep 2016 22:29:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 80787160ABA; Thu, 15 Sep 2016 20:29:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id CA2C0160AC6 for ; Thu, 15 Sep 2016 22:29:21 +0200 (CEST) Received: (qmail 15408 invoked by uid 500); 15 Sep 2016 20:29:20 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 15327 invoked by uid 99); 15 Sep 2016 20:29:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2016 20:29:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A60D62C1B75 for ; Thu, 15 Sep 2016 20:29:20 +0000 (UTC) Date: Thu, 15 Sep 2016 20:29:20 +0000 (UTC) From: "Hadoop QA (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-4177) TinyLFU-based BlockCache MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 15 Sep 2016 20:29:22 -0000 [ https://issues.apache.org/jira/browse/ACCUMULO-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15494436#comment-15494436 ] Hadoop QA commented on ACCUMULO-4177: ------------------------------------- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} xml {color} | {color:blue} 0m 3s {color} | {color:blue} jrunscript was not available. {color} | | {color:red}-1{color} | {color:red} pre-patch {color} | {color:red} 0m 0s {color} | {color:red} JAVA_HOME is not defined. {color} | \\ \\ || Subsystem || Report/Notes || | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12802787/ACCUMULO-4177.patch | | JIRA Issue | ACCUMULO-4177 | | Optional Tests | asflicense xml javac javadoc unit compile findbugs checkstyle | | uname | Linux asf906.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-ACCUMULO-Build/test_framework/yetus-0.3.0/lib/precommit/personality/accumulo.sh | | git revision | master / c48a2ba | | Console output | https://builds.apache.org/job/PreCommit-ACCUMULO-Build/41/console | | Powered by | Apache Yetus 0.3.0 http://yetus.apache.org | This message was automatically generated. > TinyLFU-based BlockCache > ------------------------ > > Key: ACCUMULO-4177 > URL: https://issues.apache.org/jira/browse/ACCUMULO-4177 > Project: Accumulo > Issue Type: Improvement > Affects Versions: 2.0.0 > Reporter: Ben Manes > Fix For: 2.0.0 > > Attachments: ACCUMULO-4177.patch > > > [LruBlockCache|https://github.com/apache/accumulo/blob/master/core/src/main/java/org/apache/accumulo/core/file/blockfile/cache/LruBlockCache.java] appears to be based on HBase's. I currently have a patch being reviewed in [HBASE-15560|https://issues.apache.org/jira/browse/HBASE-15560] that replaces the pseudo Segmented LRU with the TinyLFU eviction policy. That should allow the cache to make [better predictions|https://github.com/ben-manes/caffeine/wiki/Efficiency] based on frequency and recency, such as improved scan resistance. The implementation uses [Caffeine|https://github.com/ben-manes/caffeine], the successor to Guava's cache, to provide concurrency and keep the patch small. > Full details are in the JIRA ticket. I think it should be easy to port if there is interest. -- This message was sent by Atlassian JIRA (v6.3.4#6332)