[
https://issues.apache.org/jira/browse/CASSANDRA-15215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17485753#comment-17485753
]
Benedict Elliott Smith commented on CASSANDRA-15215:
----------------------------------------------------
Seemingly clean CI runs (looperTest was an error on my part, and the other two
are tests that fail on other branches). Committed.
https://app.circleci.com/pipelines/github/belliottsmith/cassandra/228/workflows/15695a66-1233-4fd1-9a7d-63b59ab1242c
https://app.circleci.com/pipelines/github/belliottsmith/cassandra/228/workflows/d6491609-e540-4ac6-b2e6-93c84fa73402
> VIntCoding should read and write more efficiently
> -------------------------------------------------
>
> Key: CASSANDRA-15215
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15215
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Compaction, Local/SSTable
> Reporter: Benedict Elliott Smith
> Assignee: Aleksandr Sorokoumov
> Priority: Normal
> Fix For: 3.0.x, 3.11.x, 4.x
>
> Attachments: testWriteRandomLongDOP_final.png,
> writeUnsignedVInt_megamorphic_BB.png, writeUnsignedVInt_megamorphic_DOP.png
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Most vints occupy significantly fewer than 8 bytes, and most buffers have >=
> 8 bytes spare, in which case we can construct the relevant bytes in a
> register and memcpy them to the correct position. Since we read and write a
> lot of vints, this waste is probably measurable, particularly during
> compaction and flush, and can probably be considered a performance bug.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]