[ https://issues.apache.org/jira/browse/SSHD-742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981725#comment-15981725 ]
Guillaume Nodet commented on SSHD-742: -------------------------------------- So the graph you show leads to roughly 6.000 req/sec for a single client. Given the additional layers (encryption, mac computation, etc...),I'm not sure what you really expect here. One good comparison would be to replicate the test with a native ssh client / server to see how much requests you can have, that could be a good point of comparison, but comparing http to ssh is like comparing apple and oranges ;-) > Are there any ways to improve performance? > ------------------------------------------ > > Key: SSHD-742 > URL: https://issues.apache.org/jira/browse/SSHD-742 > Project: MINA SSHD > Issue Type: Question > Affects Versions: 1.4.0 > Environment: https://github.com/maseev/sshd-echo > Reporter: Miron Aseev > Priority: Minor > > I created a simple client-server application (see the environment section) > that uses MINA SSHD library, just to test the performance. I was quite > disappointed because the throughput was particularly low - 2400 requests per > second on average on localhost. > According to Java Flight Recorder, the application spends most of its time in > ChannelPipedInputStream/ChannelPipedOutputStream on different monitor objects. > Is there any way I can improve the performance? The documentation is kinda > sparse and doesn't mention any tuning suggestions. Maybe I can avoid using > these piped streams somehow or set some parameters related to the transport > layer? > All suggestions are greatly appreciated. -- This message was sent by Atlassian JIRA (v6.3.15#6346)