[
https://issues.apache.org/jira/browse/TS-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044021#comment-15044021
]
ASF subversion and git services commented on TS-4053:
-----------------------------------------------------
Commit 7bea9298439e8de41ce9350c93754daefe6cc8d0 in trafficserver's branch
refs/heads/master from [~jplevyak]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=7bea929 ]
TS-4053: Add regression tests for hit rate and size for the RAM caches
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.
> Add hit rate and memory usage regressions for RAM cache, tune CLFUS.
> --------------------------------------------------------------------
>
> Key: TS-4053
> URL: https://issues.apache.org/jira/browse/TS-4053
> Project: Traffic Server
> Issue Type: Improvement
> Components: Cache
> Reporter: John Plevyak
> Assignee: John Plevyak
> Priority: Minor
>
> It would be nice to have a hit rate and memory usage regression tests for the
> RAM cache. In particular comparing LRU and CLFUS. Once we have this we can
> tune the CLFUS implementation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)