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

CRC32 is inefficient on x86

    XMLWordPrintableJSON

Details

    • Semantic
    • Challenging
    • All
    • Hide

      Run CI, the native protocol specification will need to be updated afterwards.

      Show
      Run CI, the native protocol specification will need to be updated afterwards.

    Description

      The client/server protocol specifies CRC24 and CRC32 as the checksum algorithm (cql_protocol_V5_framing.asc). Those however are expensive to compute; this affects both the client and the server.

       

      A better checksum algorithm is CRC32C, which has hardware support on x86 (as well as other modern architectures).

      Attachments

        Issue Links

          Activity

            People

              mmuzaf Maxim Muzafarov
              avi.kivity Avi Kivity
              Maxim Muzafarov
              Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m