[
https://issues.apache.org/jira/browse/OAK-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676766#comment-15676766
]
Alex Parvulescu edited comment on OAK-5092 at 11/18/16 2:17 PM:
----------------------------------------------------------------
Based on above numbers, I'm already thinking about reducing the cache overhead
for the segment cache (set {{SEGMENT_CACHE_OVERHEAD=32}}) and the node
deduplication cache (set {{PRIORITY_CACHE_OVERHEAD=32}}).
It's worth mentioning about the node cache tests that there is very little
value sharing between the items in the cache (each {{RecordId}} has a unique
{{SegmentId}}) which is not the case in real life, but I'm not sure how one can
capture this realistically.
was (Author: alex.parvulescu):
based on above numbers, I'm already thinking about reducing the cache overhead
for the segment cache (set {{SEGMENT_CACHE_OVERHEAD=32}}) and the node
deduplication cache (set {{PRIORITY_CACHE_OVERHEAD=32}}).
> Add support for weighing the cache entries in caches
> ----------------------------------------------------
>
> Key: OAK-5092
> URL: https://issues.apache.org/jira/browse/OAK-5092
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Alex Parvulescu
> Assignee: Alex Parvulescu
> Priority: Minor
> Fix For: 1.6, 1.5.15
>
> Attachments: OAK-5092-v2.patch, OAK-5092.patch
>
>
> Some of the current caches in {{segment-tar}} don't have support for
> evaluation of current weight. I'd like to look into the {{PriorityCache}} and
> {{RecordCache}} we use and possibly add something. this is based on initial
> patch from OAK-4966.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)