MINA SSHD
  1. MINA SSHD
  2. SSHD-13

Avoid SecureRandom.generateSeed on every SSH connection

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Labels:
      None

      Description

      Avoid SecureRandom.generateSeed on every SSH connection

      This is easily 38.9% of our CPU time when establishing a new SSH session. For applications that build and tear down sessions at a high rate, losing ~39% of the time to building a temporary PRNG just for that session is a fairly large waste.

        Activity

        Guillaume Nodet made changes -
        Fix Version/s 0.1.0 [ 12314131 ]
        Guillaume Nodet made changes -
        Assignee Guillaume Nodet [ gnt ]
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Shawn Pearce made changes -
        Field Original Value New Value
        Attachment generate_seed.patch [ 12399595 ]
        Shawn Pearce created issue -

          People

          • Assignee:
            Guillaume Nodet
            Reporter:
            Shawn Pearce
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development