I am running a computation intensive application on a remote host. Calling from 
ssh on command line, the
application requires about 2.5 seconds.

$ ssh [EMAIL PROTECTED] "nice -n -20 time /root/application"
real    0m2.451s
user    0m2.360s
sys     0m0.072s

I use nice -20 in order to ensure that no other application gets priority 
during the test.

But running the same command on a ChannelExec I have noticed an extra time of 
700ms. Would it be possible that
jsch is delaying the execution on the remote host our causing the application 
to execute more slowly? I
expected that the application could be slower because of the Java 
implementation, but didnt expect that much
slower. Would it be possible that I am missing some important configuration 
when creating the session.

I already chose blowfish cypher to reduce cryptographic overhead.

Best regards,
Daniel Felix Ferber


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
JSch-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to