Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-13

Avoid SecureRandom.generateSeed on every SSH connection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • 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.

      Attachments

        1. generate_seed.patch
          2 kB
          Shawn Pearce

        Activity

          People

            gnodet Guillaume Nodet
            spearce Shawn Pearce
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: