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

Use BB for row cache - To Improve GC performance.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None
    • Linux and Mac

    Description

      Java BB.allocateDirect() will allocate native memory out of the JVM and will help reducing the GC pressure in the JVM with a large Cache.
      From some of the basic tests it shows around 50% improvement than doing a normal Object cache.

      In addition this patch provide the users an option to choose BB.allocateDirect or store everything in the heap.

      Attachments

        1. POC-0001-Config-1945.txt
          7 kB
          Vijay
        2. POC-0003-New_Cache_Providers-1945.txt
          16 kB
          Vijay
        3. POC-0002-Update_existing-1945.txt
          12 kB
          Vijay
        4. JMX-Cache-1945.png
          648 kB
          Vijay
        5. BB_Cache-1945.png
          620 kB
          Vijay
        6. Old_Cahce-1945.png
          617 kB
          Vijay
        7. 0001-Config-1969.txt
          8 kB
          Vijay
        8. 0002-Update_existing-1965.txt
          15 kB
          Vijay
        9. 0003-New_Cache_Providers-1969.txt
          27 kB
          Vijay
        10. 0004-TestCase-1969.txt
          7 kB
          Vijay
        11. 0002-implement-SerializingCacheV2.txt
          19 kB
          Vijay
        12. ASF.LICENSE.NOT.GRANTED--0001-introduce-ICache-InstrumentingCache-IRowCacheProvider.txt
          38 kB
          Jonathan Ellis
        13. ASF.LICENSE.NOT.GRANTED--0002-implement-SerializingCache.txt
          16 kB
          Jonathan Ellis
        14. ASF.LICENSE.NOT.GRANTED--0003-add-ICache.isCopying-method.txt
          6 kB
          Jonathan Ellis
        15. 0004-Null-Check-and-duplicate-bb.txt
          1 kB
          Vijay
        16. 1969-rollup-and-config.txt
          77 kB
          Jon Hermes
        17. 1969_Cache_SVN_Patch.diff
          74 kB
          Vijay
        18. ASF.LICENSE.NOT.GRANTED--0001-introduce-ICache-InstrumentingCache-IRowCacheProvider.txt
          67 kB
          Jonathan Ellis
        19. ASF.LICENSE.NOT.GRANTED--0002-implement-SerializingCache.txt
          11 kB
          Jonathan Ellis
        20. 1969-0001-v2.txt
          47 kB
          Jon Hermes
        21. ASF.LICENSE.NOT.GRANTED--0002-implement-SerializingCache.txt
          14 kB
          Jonathan Ellis
        22. 0002-implement-SerializingCache-SVN-Patch-V3
          17 kB
          Vijay
        23. 0002-implement-SerializingCache-SVN-Patch-V4
          18 kB
          Vijay

        Issue Links

          Activity

            People

              vijay2win@yahoo.com Vijay
              vijay2win@yahoo.com Vijay
              Vijay
              Jonathan Ellis
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: