Return-Path: X-Original-To: apmail-trafficserver-dev-archive@www.apache.org Delivered-To: apmail-trafficserver-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 3EEC9185DA for ; Sat, 5 Dec 2015 01:00:37 +0000 (UTC) Received: (qmail 21644 invoked by uid 500); 5 Dec 2015 01:00:37 -0000 Delivered-To: apmail-trafficserver-dev-archive@trafficserver.apache.org Received: (qmail 21580 invoked by uid 500); 5 Dec 2015 01:00:37 -0000 Mailing-List: contact dev-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@trafficserver.apache.org Delivered-To: mailing list dev@trafficserver.apache.org Received: (qmail 21567 invoked by uid 99); 5 Dec 2015 01:00:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Dec 2015 01:00:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7BFCAE08EF; Sat, 5 Dec 2015 01:00:36 +0000 (UTC) From: jplevyak To: dev@trafficserver.apache.org Reply-To: dev@trafficserver.apache.org References: In-Reply-To: Subject: [GitHub] trafficserver pull request: TS-4053: Add regression tests for hit ... Content-Type: text/plain Message-Id: <20151205010036.7BFCAE08EF@git1-us-west.apache.org> Date: Sat, 5 Dec 2015 01:00:36 +0000 (UTC) Github user jplevyak commented on the pull request: https://github.com/apache/trafficserver/pull/364#issuecomment-162120619 The upshot is that the two Ram caches use the correct amount of memory (within 2%) and that LRU works better for identically sized objects (because LRU is a very good proxy for hit rate and LRU has less memory overhead) and CLFUS works better for variable/mixed size objects (which is expected since that is what it is trying to do). Note that for large caches, the cost of CLFUS for fixed size approaches zero as the overhead has less effect but the benefit for variable size objects increases. The regression tests at 1MB 16MB and 256MB, but with relatively small objects (16KB) so the results should be applicable to more popular production size RAM caches in the GB(s) range. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---