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

Reduce Bloom Filter Garbage Allocation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.0.5
    • None
    • None

    Description

      Just spotted that we allocate potentially large amounts of garbage on bloom filter lookups, since we allocate a new long[] for each hash() and to store the bucket indexes we visit, in a manner that guarantees they are allocated on heap. With a lot of sstables and many requests, this could easily be hundreds of megabytes of young gen churn per second.

      Attachments

        1. tmp3.patch
          7 kB
          Benedict Elliott Smith
        2. tmp2.patch
          6 kB
          Benedict Elliott Smith
        3. tmp.diff
          5 kB
          Benedict Elliott Smith

        Activity

          People

            benedict Benedict Elliott Smith
            benedict Benedict Elliott Smith
            Benedict Elliott Smith
            Jonathan Ellis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: