[ 
https://issues.apache.org/jira/browse/OAK-5092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676802#comment-15676802
 ] 

Alex Parvulescu edited comment on OAK-5092 at 11/18/16 2:17 PM:
----------------------------------------------------------------

Also to recap what the impact of tweaking the numbers really is, the segment 
cache (sized by default at {{256mb}}) is the only one directly impacted by 
this, all the other caches use the weigher only to estimate the current memory 
size for the jmx output, their sizes are specified in 'number of items', so no 
impact here.


was (Author: alex.parvulescu):
Also to recap what the impact of tweaking the numbers really is, the segment 
cache (sized by default at {{256mb}}) is the only one directly impacted by 
this, all the other caches use the weigher only to estimate the current memory 
size for the jmx output, their sizes are specified in items, so no impact here.

> 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)

Reply via email to