Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15452

investigate using POSIX_FADV_WILLNEED on compaction

    XMLWordPrintableJSON

    Details

    • Change Category:
      Performance
    • Complexity:
      Normal
    • Platform:
      All
    • Impacts:
      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              rustyrazorblade Jon Haddad
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: