[
https://issues.apache.org/jira/browse/CASSANDRA-15452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jon Haddad updated CASSANDRA-15452:
-----------------------------------
Summary: Improve disk access patterns during compaction compaction (was:
investigate using POSIX_FADV_DONTNEED on compaction)
> Improve disk access patterns during compaction compaction
> ---------------------------------------------------------
>
> Key: CASSANDRA-15452
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15452
> Project: Cassandra
> Issue Type: Improvement
> Components: Legacy/Local Write-Read Paths, Local/Compaction
> Reporter: Jon Haddad
> Priority: Normal
>
> On read heavy workloads Cassandra performs much better when using a low read
> ahead setting. In my tests I've seen an 5x improvement in throughput and
> more than a 50% reduction in latency. However, I've also observed that it
> can have a negative impact on compaction throughput.
> We should investigate using the POSIX_FADV_WILLNEED on files we're compacting
> to see if we can improve performance and reduce page faults. This should be
> combined with an internal read ahead style buffer that Cassandra manages,
> similar to a BufferedInputStream but with our own machinery.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]