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

Michael Semb Wever commented on CASSANDRA-16079:
------------------------------------------------

A suggested plan moving forward was both:
 - look at ten slowest dtests, and see whether they can be broken up, or 
rewritten to in-jvm tests, and
 - providing caching of pre-bootstrapped ccm clusters (based on sha, size, 
config).


The ten slowest dtests can be seen in  !Screenshot 2020-09-19 at 12.32.21.png! 

- dtest.materialized_views_test (64m)
- dtest.replica_side_filtering_test (54m)
- dtest.repair_tests.repair_test (48m)
- dtest.auth_test (38m)
- dtest.disk_balance_test (34m)
- dtest.cqlsh_tests.test_cqlsh_copy (31m)
- dtest.paging_test (27m)
- dtest.repair_tests.incremental_repair_test (21m)
- dtest.compaction_test (19m)

> Improve dtest runtime
> ---------------------
>
>                 Key: CASSANDRA-16079
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16079
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CI
>            Reporter: Adam Holmberg
>            Priority: Normal
>             Fix For: 4.0-beta
>
>         Attachments: Screenshot 2020-09-19 at 12.32.21.png
>
>
> A recent ticket, CASSANDRA-13701, changed the way dtests run, resulting in a 
> [30% increase in run 
> time|https://www.mail-archive.com/[email protected]/msg15606.html]. 
> While that change was accepted, we wanted to spin out a ticket to optimize 
> dtests in an attempt to gain back some of that runtime.
> At this time we don't have concrete improvements in mind, so the first order 
> of this ticket will be to analyze the state of things currently, and try to 
> ascertain some valuable optimizations. Once the problems are understood, we 
> will break down subtasks to divide the work.
> Some areas to consider:
> * cluster reuse
> * C* startup optimizations
> * Tests that should be ported to in-JVM dtest or even unit tests



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to