[
https://issues.apache.org/jira/browse/OAK-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14633750#comment-14633750
]
Michael Dürig commented on OAK-3052:
------------------------------------
[~alex.parvulescu], would it make sense to take this further and prevent the
estimator from running if the threshold is set to 0? In that case compaction
would always run so no need in wasting cycles for estimation. Furthermore it
would give us a way to also disable the estimator as some people where
concerned about its CPU and IO usage on a system where compaction is paused.
> Make compaction gain estimate threshold configurable
> ----------------------------------------------------
>
> Key: OAK-3052
> URL: https://issues.apache.org/jira/browse/OAK-3052
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: segmentmk
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Priority: Minor
> Labels: compaction, gc
> Fix For: 1.3.3
>
> Attachments: OAK-3052-v2.patch, OAK-3052.patch
>
>
> Currently compaction is skipped if the compaction gain estimator determines
> that less than 10% of space could be reclaimed. Instead of relying on a hard
> coded value of 10% we should make this configurable.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)