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

Use direct i/o for sequential operations (compaction/streaming)

    XMLWordPrintableJSON

Details

    Description

      Investigate using linux's direct i/o for operations where we read sequentially through a file (repair and bootstrap streaming, compaction reads, and so on). Direct i/o does not go through the kernel page page, so it should leave the hot cache pages used for live reads unaffected.

      Note: by using direct i/o, we will probably take a performance hit on reading the file we're sequentially scanning through (that is, compactions may get slower), but the goal of this ticket is to limit the impact of these background tasks on the main read/write functionality. Of course, I'll measure any perf hit that is incurred, and see if there's any mechanisms to mitigate it.

      Attachments

        Activity

          People

            aweisberg Ariel Weisberg
            jasobrown Jason Brown
            Ariel Weisberg
            Stefania Alborghetti
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: