[
https://issues.apache.org/jira/browse/TS-4053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042507#comment-15042507
]
ASF GitHub Bot commented on TS-4053:
------------------------------------
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.
> 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)