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

Investigate changes to threading model for network consumers to improve performance for small messages

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Normal
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      See CASSANDRA-7029 for original discussion.

      We can (maybe) optimise the threading model for network consumers: since we generally process very small messages (200 bytes not at all implausible), the thread signalling costs on the processing thread can actually dramatically impede throughput. In general it costs ~10micros to signal (and passing the message to another thread for processing in the current model requires signalling). For 200-byte messages this caps our throughput at 20MB/s.

        Attachments

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              benedict Benedict Elliott Smith Assign to me
              Reporter:
              benedict Benedict Elliott Smith
              Authors:
              Benedict Elliott Smith

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment