[ https://issues.apache.org/jira/browse/CASSANDRA-19679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852378#comment-17852378 ]
Sam Lightfoot commented on CASSANDRA-19679: ------------------------------------------- [~smiklosovic] It turns out _SimpleRestriction_ is new and exists in trunk only. The same code snippet is not present in trunk anywhere, so does not need porting to 5.0. Out of interest, I will profile 5.0 later today as I see other stream usage. > Stream processing for SimpleRestriction::bindAndGetClusteringElements > --------------------------------------------------------------------- > > Key: CASSANDRA-19679 > URL: https://issues.apache.org/jira/browse/CASSANDRA-19679 > Project: Cassandra > Issue Type: Improvement > Components: Legacy/Core > Reporter: Sam Lightfoot > Assignee: Sam Lightfoot > Priority: Normal > Fix For: 5.x > > Attachments: after.png, alloc_after.html, alloc_before.html, > image-2024-06-04-21-55-34-457.png > > Time Spent: 2h 50m > Remaining Estimate: 0h > > Part 2 (of 2) of low-hanging fruit Stream performance improvements. > The second main Stream contributor to allocations and CPU was > SimpleRestriction::bindAndGetClusteringElements, which contributes to 5% of > all allocations for a 50/50 workload. The image attached shows allocation > profiling on _trunk_ (see purple highlighted sections for Stream-related > allocs). > The 'after' profile for a 50/50 workload shows a reduction from 4.58% > allocations down to 1.69%. For a 90/10 (w/r) workload we see 4.28% decrease > to 1.10%. -- 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