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

Memtable slab allocation should scale logarithmically to improve occupancy rate

    XMLWordPrintableJSON

Details

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

    Description

      CASSANDRA-5935 allows option to disable region-based allocation for on-heap memtables but there is no option to disable it for off-heap memtables (memtable_allocation_type: offheap_objects).

      Disabling region-based allocation will allow us to pack more tables in the schema since minimum of 1MB region won't be allocated per table. Downside can be more fragmentation which should be controllable by using better allocator like JEMalloc.

      How about below option in yaml?:
      memtable_allocation_type: unslabbed_offheap_objects

      Thanks.

      Attachments

        1. trunk-7882.txt
          5 kB
          Jay Patel

        Activity

          People

            benedict Benedict Elliott Smith
            pateljay3001 Jay Patel
            Benedict Elliott Smith
            Jay Patel
            Benedict Elliott Smith Benedict Elliott Smith
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: