[
https://issues.apache.org/jira/browse/CASSANDRA-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei Deng updated CASSANDRA-3234:
--------------------------------
Labels: lcs (was: )
> LeveledCompaction has several performance problems
> --------------------------------------------------
>
> Key: CASSANDRA-3234
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3234
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Jonathan Ellis
> Assignee: Jonathan Ellis
> Labels: lcs
> Fix For: 1.0.0
>
> Attachments:
> 0005-use-Array-and-Tree-backed-columns-in-compaction-v2.patch,
> 0005-use-Array-and-Tree-backed-columns-in-compaction-v3.txt,
> 0005-use-Array-and-Tree-backed-columns-in-compaction-v4.patch,
> 0006-avoid-echoedRow-when-checking-shouldPurge-is-more-ex.patch,
> 0006-avoid-echoedRow-when-checking-shouldPurge-is-more-ex.patch,
> 0006-avoid-echoedRow-when-checking-shouldPurge-is-more-ex.patch,
> ASF.LICENSE.NOT.GRANTED--0001-optimize-single-source-case-for-MergeIterator.txt,
> ASF.LICENSE.NOT.GRANTED--0002-add-TrivialOneToOne-optimization.txt,
> ASF.LICENSE.NOT.GRANTED--0003-fix-leveled-BF-size-calculation.txt,
> ASF.LICENSE.NOT.GRANTED--0004-avoid-calling-shouldPurge-unless-necessary.txt,
> ASF.LICENSE.NOT.GRANTED--0005-use-Array-and-Tree-backed-columns-in-compaction.txt
>
>
> Two main problems:
> - BF size calculation doesn't take into account LCS breaking the output apart
> into "bite sized" sstables, so memory use is much higher than predicted
> - ManyToMany merging is slow. At least part of this is from running the full
> reducer machinery against single input sources, which can be optimized away.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)