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

investigate using POSIX_FADV_WILLNEED on compaction

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • 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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned Assign to me
            rustyrazorblade Jon Haddad

            Dates

              Created:
              Updated:

              Slack

                Issue deployment