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

Checksum improvement for CommitLog

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 1.1.1
    • None
    • None
    • JVM

    Description

      When compression is on, Currently we see checksum taking up about 40% of the CPU more than snappy library.
      Looks like hadoop solved it by implementing their own checksum, we can either use it or implement something like that.
      http://images.slidesharecdn.com/1toddlipconyanpeichen-cloudera-hadoopandperformance-final-111110132228-phpapp01-slide-15-768.jpg?1321043717

      in our test env it provided 50% improvement over native implementation which uses jni to call the OS.

      Attachments

        1. 0001-CASSANDRA-3610-v4.patch
          34 kB
          Vijay
        2. 0001-use-pure-java-CRC32.patch
          7 kB
          Vijay
        3. 0001-use-pure-java-CRC32-v2.patch
          37 kB
          Vijay
        4. 0001-use-pure-java-CRC32-v3.patch
          37 kB
          Vijay
        5. crc32Test.xlsx
          66 kB
          Vijay
        6. TestCrc32Performance.java
          5 kB
          Vijay
        7. TestCrc32Performance.java
          3 kB
          Vijay

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: