Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
-
None
-
Performance
-
Normal
-
All
-
None
Description
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.