network transfer performance

Michael Cronenworth mike at cchtml.com
Fri Jun 15 00:17:39 CEST 2012


Hello,

I have developed a GnuTLS client/server app. The server and client live
on the same machine and are using the system loopback for talking to
each other.

It takes about 10 seconds to transfer 100MB (byte) of data from the
server to the client. If I use SSH (SCP/SFTP) to transfer files through
localhost, I see about 14MB per second speeds. This speed seems low,
too, but shows my app is doing about as good as it can. Running iperf
reports my loopback can get about 30 gigabits per second so there is no
bottleneck there.

Yes, I realize SSL connections have overhead, but with my system[1] I
feel like data transfer should be faster than 10MB/second.

Is what I am seeing normal (AES processing) or is there anything I can
do to speed any of this up?

Thanks,
Michael

[1]
Core i5 750 (quad core 2.6ghz)
8GB RAM
Fedora 17 x86_64
GnuTLS 2.12.17
Priorities: "NONE:+VERS-TLS1.1:+AES-256-CBC:+RSA:+SHA1:+COMP-NULL"




More information about the Gnutls-help mailing list