[ https://issues.apache.org/jira/browse/CASSANDRA-18873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17768591#comment-17768591 ]
Branimir Lambov commented on CASSANDRA-18873: --------------------------------------------- {quote} * ReadSmallPartitionsBench (assertion error) * ReadWidePartitionsBench (assertion error) {quote} These two tests need larger memtable size allocation to produce useable output. One way to "fix" this is to replace {{INMEM}} with {{NO}} for the default {{flush}}, which will make it ignore the fact that part of the data is in an sstable; another is to reduce the default {{count}} by an order of magnitude. Both of these changes would make the test less suitable for what it is primarily meant to measure (access time with a non-trivial data size in a single memtable/sstable). > Fix broken JMH benchmarks > ------------------------- > > Key: CASSANDRA-18873 > URL: https://issues.apache.org/jira/browse/CASSANDRA-18873 > Project: Cassandra > Issue Type: Bug > Components: Test/benchmark > Reporter: Jacek Lewandowski > Priority: Normal > Attachments: BenchTimeTest.java, > jmh-AtomicBtreePartitionUpdateBench.log, jmh-BloomFilterSerializerBench.log, > jmh-KeyLookupBench.log, jmh-ReadSmallPartitionsBench.log, > jmh-ReadWidePartitionsBench.log > > > The following benchmarks are broken: > * {{ZeroCopyStreamingBench}} > * {{MutationBench}} > * {{FastThreadLocalBench}} > * {{AtomicBTreePartitionUpdateBench}} (OOM on Jenkins) > * {{ReadSmallPartitionsBench}} (assertion error) > * {{ReadWidePartitionsBench}} (assertion error) > * {{BloomFilterSerializerBench}} (NPE) > * {{KeyLookupBench}} (IAE) > Additionally, those benchmarks take too much time to run: > * {{BTreeUpdateBench}} ~ 58 hours > * {{AtomicBTreePartitionUpdateBench}} ~ 5 hours > * {{BTreeTransformBench}} ~ 2.5 hours > Here the complete list of estimated benchmark times: > {noformat} > Estimated time for CacheLoaderBench: ~5 s > Estimated time for LatencyTrackingBench: ~26 s > Estimated time for SampleBench: ~30 s > Estimated time for ReadWriteBench: ~30 s > Estimated time for MutationBench: ~30 s > Estimated time for CompactionBench: ~35 s > Estimated time for DiagnosticEventPersistenceBench: ~40 s > Estimated time for ZeroCopyStreamingBench: ~44 s > Estimated time for BatchStatementBench: ~110 s > Estimated time for DiagnosticEventServiceBench: ~120 s > Estimated time for MessageOutBench: ~144 s > Estimated time for BloomFilterSerializerBench: ~144 s > Estimated time for FastThreadLocalBench: ~156 s > Estimated time for HashingBench: ~156 s > Estimated time for ChecksumBench: ~208 s > Estimated time for StreamingTombstoneHistogramBuilderBench: ~208 s > Estimated time for PendingRangesBench: ~ 5 m > Estimated time for DirectorySizerBench: ~ 5 m > Estimated time for instance.ReadSmallPartitionsBench: ~ 5 m > Estimated time for PreaggregatedByteBufsBench: ~ 7 m > Estimated time for AutoBoxingBench: ~ 8 m > Estimated time for OutputStreamBench: ~ 13 m > Estimated time for BTreeBuildBench: ~ 13 m > Estimated time for StringsEncodeBench: ~ 20 m > Estimated time for instance.ReadWidePartitionsBench: ~ 21 m > Estimated time for btree.BTreeBuildBench: ~ 30 m > Estimated time for BTreeSearchIteratorBench: ~ 31 m > Estimated time for btree.BTreeTransformBench: ~ 138 m > Estimated time for btree.AtomicBTreePartitionUpdateBench: ~ 288 m > Estimated time for btree.BTreeUpdateBench: ~58 h > Total estimated time: ~69 h > {noformat} > I'd like to add a test which estimates the benchmark times and fails if a > single benchmark estimated run time is longer than xxx minutes. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org