jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Mueller (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-1112) CacheManager interval between recalculation of cache sizes should be configurable
Date Tue, 18 Sep 2007 07:40:43 GMT

     [ https://issues.apache.org/jira/browse/JCR-1112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Mueller resolved JCR-1112.
---------------------------------

    Resolution: Cannot Reproduce

In my view, the root cause (why does recalculation take so long, are there hundreds of caches?)
should be understood and fixed. Just changing the interval would hide another problem, and
may cause out of memory error.

To solve this problem the root cause of the problem needs to be reproducible (but maybe the
solution will be different then).

> CacheManager interval between recalculation of cache sizes should be configurable
> ---------------------------------------------------------------------------------
>
>                 Key: JCR-1112
>                 URL: https://issues.apache.org/jira/browse/JCR-1112
>             Project: Jackrabbit
>          Issue Type: New Feature
>          Components: core
>            Reporter: Przemo Pakulski
>            Assignee: Thomas Mueller
>            Priority: Minor
>         Attachments: JCR-1112.txt
>
>
> Currently interval between recaluclation of cahce size is hard coded to 1000 ms. Resizing/recalculation
of cache size is quite expensive method (especially getMemoryUsed on MLRUItemStateCache is
time consuming)
> Depending on the configuration, we realized that under some load up to 10-15% percent
of CPU time (profiler metrics) could be spend doing such recalculations. It does not seem
to be needed to resize cache every second. Best this interval should be configurable in external
config. file with other cache settings (like memory sizes).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message