[
https://issues.apache.org/jira/browse/CASSANDRA-18212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Capwell updated CASSANDRA-18212:
--------------------------------------
Fix Version/s: 4.2
Source Control Link:
https://github.com/apache/cassandra/commit/35f8da66f9b05d18b4177f8d2e1b86c772ad2221
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
> Reduce memory allocations of calls to ByteBufer.duplicate() made in
> org.apache.cassandra.transport.CBUtil#writeValue
> --------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-18212
> URL: https://issues.apache.org/jira/browse/CASSANDRA-18212
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/Local Write-Read Paths
> Reporter: Natnael Adere
> Assignee: Natnael Adere
> Priority: Normal
> Fix For: 4.2
>
> Attachments: DiskBased.png, allocations-after.html,
> allocations-before.html
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> Currently,
> org.apache.cassandra.transport.CBUtil#writeValue(java.nio.ByteBuffer,
> io.netty.buffer.ByteBuf) calls ByteBufer.duplicate() and is found to be 20%
> of memory allocations in production. No changes have been made to reduce this
> but there is discussion related to the issue in CASSANDRA-13741. Attached
> below are the performance result for disk based queries and mostly memory
> based queries.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]